Skip to content

v0.4.2 - Fix Invitation Key toggle and Timezone Settings persistence

Choose a tag to compare

@RashiMrBRD RashiMrBRD released this 18 Jan 11:30
· 9 commits to master since this 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

Full Changelog: https://github.com/RashiMrBRD/Inventory-System/blob/master/CHANGELOG.md