Cockatrice/cockatrice/src
Bryce! 0de92c06f8
[Spoilers] Preserve spoiler files through update and reload failures (#7707)
* Preserve spoiler files and serialize update reloads

* Surface spoiler removal reload failures and allow disabled-state retry

* Address review feedback on spoiler update lifecycle

Only remove the spoiler file when the user unchecks the setting; opening
Settings no longer queues an unrequested reload for a leftover file.
Remove the spoilersUpdatedSuccessfully signal, which had no receiver.

* Fix spoiler settings state after reopen and while disabled

Reopen Settings while an application-owned update is running: the new page
now observes that updater, so the button reads Updating... and re-enables
on completion instead of offering a second update that cancels the first.
Observation does not take ownership: only updaters the page creates are
retired with deleteLater, because the launch check is stack-allocated.

When spoilers are off, the hint now describes what Reload Card Database
actually does, stays readable, and wraps instead of clipping.

---------

Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
2026-11-04 18:24:19 +01:00
..
client [Spoilers] Preserve spoiler files through update and reload failures (#7707) 2026-11-04 18:24:19 +01:00
database/interface [Refactor] Move game logic into libcockatrice_game (#7437) 2026-10-31 18:44:15 +01:00
filters [Fonts] Restore DeckList Serif default and live-update all role readers (#7541) 2026-11-04 07:57:55 +01:00
game_graphics [Server/Client/Protocol] Shuffle or reorder player seats before a game starts (#7398) 2026-11-04 15:44:50 +01:00
interface [Spoilers] Preserve spoiler files through update and reload failures (#7707) 2026-11-04 18:24:19 +01:00
installer_close_server.cpp [Installer] Graceful close and a way out of a stuck update (#7687) 2026-10-31 15:32:59 +01:00
installer_close_server.h [Installer] Graceful close and a way out of a stuck update (#7687) 2026-10-31 15:32:59 +01:00
main.cpp [Tests] Replay XML test files through a headless runner (#7694) 2026-11-04 06:23:43 +01:00
main.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
single_instance_manager.cpp [Client] Improve card database update visibility (#7458) 2026-10-09 11:07:48 +02:00
single_instance_manager.h [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00