Cockatrice/oracle
Lukas Brübach 18b2896bf5 Fix the Oracle refresh verdict and cover the parser write path
A background refresh that already installed cards.xml exited 1 when the
token save afterwards failed, so the client kept its old in-memory
database and reported the update as failed. Return the same verdict
main() already computes: a reject after the database was written is a
successful update.

Cover the writer Oracle actually uses: add a short-write death test for
CockatriceXml4Parser::saveToFile, which reverted to QFile would truncate
an installed database without any test noticing.

Route a failed background token download through reject() instead of a
modal box on a hidden wizard, which left the client waiting with no
timeout and blocked later updates. Test the first non-space byte in
place rather than copying the payload, and report an import refusal with
the importer's own message.
2026-11-04 17:27:59 +01:00
..
resources Update macOS Monterey app icon (#4805) 2023-08-06 17:46:03 -04:00
src Fix the Oracle refresh verdict and cover the parser write path 2026-11-04 17:27:59 +01:00
translations Updates for project Cockatrice and language ru (#7561) 2026-10-17 16:43:14 +02:00
CMakeLists.txt Preserve installed card databases when Oracle refresh fails 2026-11-01 20:15:02 -05:00
oracle.desktop Add icon to oracle 2014-08-07 17:27:15 +02:00
oracle.qrc Add icon to oracle 2014-08-07 17:27:15 +02:00
oracle.rc Add icon to oracle 2014-08-07 17:27:15 +02:00
oracle_en@source.ts Update translation source strings (#7397) 2026-10-04 21:08:47 +02:00