Cockatrice/oracle
Lukas Brübach 4aab93f3b6 [Oracle] Fix Scryfall tag requests and the retry loop
api.scryfall.com rejects requests that lack an Accept header with HTTP 400, and QNetworkAccessManager does not add one. Send application/json for the bulk metadata request and */* for the tag file, and surface the URL plus Scryfall's JSON error body when a request fails.

A failed tag load used to call next(), which re-ran validatePage() and started the same failing download again, trapping the user in an error loop. Stay on the page instead, drop the unusable database, and tell the user they can retry, change the source, or untick the option to import without tags. Also explain parent tags inline with a real Scryfall hierarchy example.
2026-11-08 20:13:45 +01:00
..
resources Update macOS Monterey app icon (#4805) 2023-08-06 17:46:03 -04:00
src [Oracle] Fix Scryfall tag requests and the retry loop 2026-11-08 20:13:45 +01:00
translations Updates for project Cockatrice and language ru (#7561) 2026-10-17 16:43:14 +02:00
CMakeLists.txt [Oracle] Load card tags from a tag database during import 2026-11-08 19:59:04 +01: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