What's Changed
- Add support for PWA
- Added graceful shutdown
- Show tooltip with album info
- Links in the favorite tooltips
- Added status interface
- Improved Full Scan, Cleanup Thumbnails
- When extracting photo info check flag for thumbnails
- Do not block thumbnails when scanning new album
- Improved retrieval of thumbnails: hashing function
- Improved cmd arguments, option for default thumbnail path
- URLs to open photos in Lightbox
- Added header Cache-Control in responses
- FIX: Avoid scanning same album concurrently
- FIX: Performance degradation in cache DB
- FIX: Not clearing text from album search
- FIX: concurrency issue when reading/writing pseudo albums
Full Changelog: v1.5.2...v1.6.0
IMPORTANT
Upgrading to v1.6.0 requires to rebuild CacheDB and Thumbnails, because Cache DB was upgraded and the thumbnail hashing function was improved.
To migrate your existing thumbnails, open server
folder. Then:
-
Edit the function
TestMigrateThumbnailsV10
in the filemigrations_test.go
and adjust the configuration for your collection -
Then run:
go test -v github.com/rigon/photo-gallery -run TestMigrateThumbnailsV10
-
Repeat for every collection you have
-
Delete any reaming thumbnail files