mirror of
https://github.com/DRYTRIX/TimeTracker.git
synced 2026-05-19 12:50:11 -05:00
12074fc29b
- Make InstallationConfig config dir overridable via INSTALLATION_CONFIG_DIR so tests and CI use a writable path instead of /data (fixes PermissionError on redirect to /admin/settings after logo upload). - Set INSTALLATION_CONFIG_DIR in conftest before app import and in ci-comprehensive.yml for integration-tests and full-test-suite jobs. - In Settings.get_settings(), add _session_in_flush() and a re-entrancy guard to skip add+commit when called during another commit's flush, fixing ResourceClosedError in currency_display test setup. - Update test_installation_config fixture to set INSTALLATION_CONFIG_DIR so it continues to use its temp dir with the new env-based behavior.