Breaking Changes#
There has been major rework to settings and environment variables in this release. Please review the docs and update environment variables where required to ensure compatibility as some legacy keys have been deprecated.
Added#
- Added settings tab to the admin panel to manage config from within the site itself.
- Added the
DATABASE_SYNC_FROM_CONFIG
environment variable to re-sync the settings with the environment variables. - Added the
MAX_GALLERY_COUNT
environment variable to limit how many galleries users can create. - Added the
DEMO_MODE
environment variable to display messaging on a demo site for users to test.
Updated#
- Moved settings keys from strings to constant variables to better manage them reduce the risk of typos.
- Added no-cache to some views to increase security and prevent stale views being displayed.
- Updated the gallery to auto refresh on add or removal of items.
Removed#
- Removed support for legacy pre-v1.5.0 environment variables which were previously handled by a migrator helper. These will no longer be supported going forwards as they haven't been included in the docs for some time now.
Bug Fixes#
- Fixed an issue whereby guest gallery creation was failing or creating with the wrong secret key.
Changelog - https://github.com/Cirx08/WeddingShare/compare/1.5.11.4...1.6.0