Removed MooTools, minor API tidy-ups
This may be the final release of QIS that supports Python 2.6 and 2.7. It is becoming increasingly hard to maintain compatibility with Python 2.6 in particular, with standard tools such as pip
having now dropped support for 2.6 in their latest releases. Python 2.7 also has less than 2 years of support remaining.
The python3
branch of QIS is working well, it is fully up to date with master
and all tests are passing. Once the build scripts and documentation have been updated, this branch will be released as QIS v3 and will support Python 3.4+ only.
v2.6.0 Removal of MooTools from the public JavaScript libraries. The zoom viewer, gallery, and slideshow are now implemented in vanilla JavaScript and have no other dependencies. A nice side effect of this is that animations are much smoother, and CPU usage lower.
As part of this, support for IE8 is dropped and there are a number of changes to the filenames and paths of the JavaScript libraries, so this should arguably be a major release. An upgrade script is provided that keeps compatibility with v2.5 in the majority of cases - please follow the upgrading guide.
- Remove MooTools library from the public image viewers, gallery and slideshow
- Use CORS instead of JSONP in the image viewers, gallery and slideshow
- Standardise JavaScript file naming
- Drop support for IE8 and below
- Allow indexing of images in robots.txt
v2.6.1 API URL changes for better consistency
- Most API URLs required a trailing slash, but some required no trailing slash, so this inconsistency has been fixed for:
https://images.example.com/api/v1/list/
https://images.example.com/api/v1/details/
https://images.example.com/api/v1/token/
https://images.example.com/api/v1/upload/
- The previous URLs (without a trailing slash) are still supported
- Fixed regression in v2.6.0 with image zooming direction
v2.6.2 Bumped Python dependencies to the latest supported versions
v2.6.3 Bug fixes
- Fix image zooming on touch-screen enabled laptops
- This is an improvement but different devices and browsers seem to be confused in whether they should send touch or mouse events
- Fix longest response time stats (they were last minute instead of last hour)
v2.6.4 Folder list API change
The folder list function has been changed, but only to affect folders that contain non-image files. Previously non-image files were silently hidden, which could have been misleading and introduced a bug with pagination. All files are now returned, along with a new supported
flag in the data that indicates whether each file is a supported image type. With this change the API now matches the existing behaviour of folder browsing in the admin user interface.
- Return all files in a folder, plus a new
supported
flag to indicate whether each file is a supported image - Fix for data loading race condition on startup
- Improved error handling at startup, try to get error messages into
qis.log
even if the application is unable to start