Releases: sixem/ivfi-node
Releases · sixem/ivfi-node
1.2.2
Changes
Features
- [feature] - Added an option to restrict the authorization to only affect certain routes (docs).
- [feature] - Added an option to use a local image file as a favicon (docs).
- [feature] - Added support for adding custom HTML metadata (docs).
- [feature] - Added support for directory-specific configuration files (docs).
Backend
- [update] - The fetching of file information (using
fs.stat()
) on the backend should now be somewhat faster. This should decrease the page generation time, at least for subsequent requests. - [update] - Any requests made to a directory without a trailing slash will now be redirected to have a trailing slash.
Gallery
- [fix] - Corrected the position of the error message that appears when an image fails to load in the gallery.
- [fix] - Reverse search options will now correctly update when an image is being hovered during the navigation event.
- [update] - Replaced the swiping events with a new one (swiped-events). This should improve navigational swiping on mobile, making it more consistent.
General
- [fix] - Made mobile checks using JavaScript consistent with the same mobile queries used in the style sheets.
- [update] - Error pages should now use any custom favicons set.
- [update] - Directory URLs should now consistently have a trailing slash added to them. This applies to any anchor hrefs et cetera.
1.2.1
Unlisted major changes
- [update] - The project has been completely rewritten, renamed and updated to be in line with its PHP version.
Patch-specific changes (version 1.2.1 only)
General
- [update] - The project has been updated to use TypeScript.
- [update] - Added a new module for handling events.
- [update] - The default file size units are now KiB, MiB, and GiB to better denote that a kilobyte is considered to be 1024 bytes in the script.
Design
- [update] - Improved the organization of the stylesheets.
- [update] - The stylesheets have been improved and made more efficient.
Gallery
- [update] - The list toggle button should now occupy a persistent amount of space when toggling between states.
- [update] - An active loading state in the gallery will no longer stop the client from navigating, and the loading of an item can now be cancelled by navigating to another item.
- [update] - Improved some of the loading of items in the gallery.
- [fix] - The transition when navigating from a video or image to another image or video should now be a lot smoother.
Other
- [update] - The documentation has been updated.
1.1.62
1.1.61
General
- Added a
themes.default
option. - A relative path can now be used to set the browsable directory.
Gallery
- The left and right arrow keys will now attempt to seek through any videos instead of navigating.
- Video volume should now be retained when changing source.
- Better
set.itemInfo()
handling. - The script will now request any hanging requests to be stopped once changing video source. This is an attempt to clear any old requests from multi-request videos (mostly longer videos) as this was causing the next request to be blocked once enough requests got stuck.