v0.4.2-alpha - Fix Invitation Key toggle and Timezone Settings persistence
Pre-release
Pre-release
What's Changed
Bug Fixes
- Fixed Invitation Key toggle requiring multiple page refreshes to reflect state changes by implementing comprehensive cache-busting strategies
- Fixed Timezone Settings not persisting selected timezone and resetting to default values
- Fixed page-loader script overwriting server-side data attributes with cached values
Technical Details
- Added HTTP cache control headers to login.php to prevent HTML page caching
- Added data attributes directly to body tag for immediate availability of configuration values
- Removed data attribute setting from page-loader.php to prevent overwriting server-side values
- Changed cache-busting parameter for page-loader to use timestamp for fresh load on every request
- Added PHP opcode cache invalidation in settings.php when config file is updated
- Prioritized session timezone over database timezone values
- Removed problematic session update logic that was overwriting session timezone with database value
- Added error logging for database update failures in timezone settings
Note: This is an alpha release for testing purposes.