mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-11-01 10:42:23 +01:00
- In imagePreferences.js, distinguish pre-persistence failures from post-save cleanup failures using err.globalSaved and err.phase. - In imagePreferences.js, notify listeners of global policy updates on partial success before propagating cleanup failure. - In imageModels.js, retain the persisted target state on admin toggle when global persistence succeeds but cleanup fails. - In imageModels.js, reconcile admin toggle with authoritative server state via readImagePreferences() after ambiguous or partial failures. - In imageModels.js, report partial success accurately without suppressing preference cleanup error messages. - Add regression coverage in test_settings_save_response_ok_js.py for cleanup HTTP 500, cleanup network rejection, successful cleanup, and failed global POST.