Commit Graph

1105 Commits

Author SHA1 Message Date
Georges-Antoine Assi
df68dc9bd9 Merge both odyssey 2 platform 2025-10-03 16:28:02 -04:00
Georges-Antoine Assi
da10fffae3 change title of series xs platform 2025-10-03 16:25:59 -04:00
Georges-Antoine Assi
ab06a321e0 Check if user is enabled before generating auth tokne 2025-10-03 09:34:40 -04:00
Georges-Antoine Assi
c95b5b586b only set hltb if some properties exist 2025-10-02 17:38:41 -04:00
Georges-Antoine Assi
d11c83fc4a update hltb api endpoint 2025-10-02 10:58:20 -04:00
Georges-Antoine Assi
746453f953 Merge pull request #2499 from rommapp/romm-2490
[ROMM-2490] Multi download endpoint
2025-10-01 09:22:06 -04:00
Georges-Antoine Assi
896b9edd17 Show indicator if platform not identified 2025-09-30 21:22:07 -04:00
Georges-Antoine Assi
46c6fde3d1 [ROMM-2490] Multi download endpoint 2025-09-30 11:23:48 -04:00
Michon van Dooren
240f348f92 Add support for OIDC role claim 2025-09-29 22:27:10 +02:00
Georges-Antoine Assi
b5776be475 Split rom.multi into more specific fields 2025-09-25 18:48:27 -04:00
Georges-Antoine Assi
e473cbe698 Move url_cover checks to scan_handler 2025-09-24 09:52:49 -04:00
Georges-Antoine Assi
1bd7b69b2c set url_cover to fake tld 2025-09-23 22:29:21 -04:00
Georges-Antoine Assi
c0716c05af fix type for test 2025-09-23 18:38:28 -04:00
Georges-Antoine Assi
3a3bffe699 progressive scan steps for each game 2025-09-23 10:23:57 -04:00
Georges-Antoine Assi
6eed0b6c7f Set platform metadata slugs on models in DB 2025-09-22 21:48:45 -04:00
Georges-Antoine Assi
082024d704 only apply fields with values 2025-09-21 21:40:42 -04:00
Georges-Antoine Assi
e349ce6104 changes from bot review 2025-09-21 20:51:30 -04:00
Georges-Antoine Assi
b3a1b6a361 add to example config 2025-09-21 19:23:20 -04:00
Georges-Antoine Assi
4a8ddd7b22 Merge branch 'master' into romm-2095 2025-09-21 19:01:48 -04:00
Georges-Antoine Assi
97ad3ff61a Merge pull request #2464 from rommapp/romm-2438
[ROMM-2438] Add metadata sources admin page
2025-09-21 17:57:26 -04:00
Georges-Antoine Assi
5d9119ebe1 [ROMM-2467] Uncompress gzipped images 2025-09-21 16:06:45 -04:00
Georges-Antoine Assi
ce4809ea9c add region and language priority 2025-09-21 09:38:00 -04:00
Georges-Antoine Assi
fa221726bb Add scan metadata priority to config 2025-09-20 23:25:43 -04:00
Georges-Antoine Assi
2481bac019 refine states 2025-09-20 19:48:52 -04:00
Georges-Antoine Assi
7a5185fe22 complete rest of handler 2025-09-20 19:38:26 -04:00
Georges-Antoine Assi
8c33a95637 remove hartbeat from bh endpoint 2025-09-20 17:57:38 -04:00
Georges-Antoine Assi
e9f7da09f9 add metadata status page and heartbeats 2025-09-20 09:19:15 -04:00
Georges-Antoine Assi
c4bd619091 fix bugs from bot review 2025-09-18 16:38:32 -04:00
Georges-Antoine Assi
fe2a7e7bff Add launchbox to manual match window 2025-09-18 16:34:40 -04:00
Georges-Antoine Assi
afc92e73ee Implement file tag matching for HLTB 2025-09-17 11:07:08 -04:00
Georges-Antoine Assi
bdd80a8527 reduce priority of hltb and ra 2025-09-17 10:53:21 -04:00
Georges-Antoine Assi
bfa7901efe fix tests 2025-09-16 18:00:07 -04:00
Georges-Antoine Assi
0d89c15f1b generate hltb correctly 2025-09-16 10:48:26 -04:00
Georges-Antoine Assi
6032792e2f changes from pr review 2025-09-16 09:11:33 -04:00
Georges-Antoine Assi
f9f76e1d18 add rommm header to all requests 2025-09-15 11:13:33 -04:00
Georges-Antoine Assi
4ed1d82a46 add platform checks 2025-09-15 10:28:32 -04:00
Georges-Antoine Assi
123b3f6b8b create makeshift howlongtobeet handler 2025-09-14 19:39:38 -04:00
Georges-Antoine Assi
debc6c4cab run formatter 2025-09-11 22:35:19 -04:00
Georges-Antoine Assi
3c4113f8a8 Merge branch 'master' into flashpoint-metadata-handler 2025-09-11 21:27:48 -04:00
Michael Manganiello
a6bdd84148 misc: Add missing language codes
This list was created based on latest DAT files from No-Intro and
Redump.org.

With all those extracted files in a folder, this command retrieved
language codes from filenames (only considering games with at least two
languages, to avoid false positives):

```shell
rg -N "^.*game name=\"(.*?)\".*" -r '$1' | \
    rg -N "^.* \(([A-Z][a-z](,[A-Z][a-z])+)\).*" -r '$1' | \
    rg -N -o "[A-Z][a-z]" | \
    sort | \
    uniq -c
```
2025-09-11 17:38:36 -03:00
Georges-Antoine Assi
4be34d8194 Merge branch 'master' into romm-1333 2025-09-09 21:08:51 -04:00
Michael Manganiello
336b3d58c1 fix: Database JSON array utils
Fix existing JSON array util `json_array_contains_value`, and add two
new utils: `json_array_contains_any` and `json_array_contains_all`.
These utils have been tested with arrays of strings and integers, on the
following database engine versions:

- PostgreSQL: 12, 13, 14, 15, 16, 17, 18
- MySQL: 8.0, 8.4, 9.0, 9.4
- MariaDB: 10.5, 10.6, 10.11, 11.4, 11.8, 12.0
2025-09-08 21:39:46 -03:00
Georges-Antoine Assi
34b4ef99bb fix comments 2025-09-07 23:05:01 -04:00
Georges-Antoine Assi
d7e85ba633 [ROMM-1333] Use metadata tag in filename to match game 2025-09-07 14:12:30 -04:00
Georges-Antoine Assi
b1126b9bf4 [ROMM-2039] ADd special case for screenshots during scan 2025-09-06 08:37:52 -04:00
Georges-Antoine Assi
bf631cfa74 fix updating image preview + force webp 2025-09-05 09:42:25 -04:00
Georges-Antoine Assi
d1ecff395b [ROMM-2344] Ignore RA manuals on scan 2025-09-04 23:11:04 -04:00
Michael Manganiello
e4e3928d1b misc: Apply import sorting 2025-09-04 11:17:00 -03:00
Michael Manganiello
d216bad78b misc: Add MetadataHandler's is_enabled method
Convert `MetadataHandler` to an abstract base class and add an
`is_enabled` class method that allows every metadata handler to
independently report whether it is enabled based on its configuration.

This avoids the need for global variables in the config module, allowing
us to change the enabled state of a metadata handler at runtime if
needed.
2025-09-03 22:13:28 -03:00
Georges-Antoine Assi
5d2daf7357 move into a function 2025-09-03 17:51:44 -04:00