Commit Graph

229 Commits

Author SHA1 Message Date
Georges-Antoine Assi
5aa344b3ce select media format for scan 2025-10-22 19:08:42 -04:00
Georges-Antoine Assi
3575783769 Merge branch 'master' into romm-821 2025-10-21 21:46:23 -04:00
Georges-Antoine Assi
1e67b8f1ac Use os.access for config file readability 2025-10-21 20:27:00 -04:00
Georges-Antoine Assi
f87b7971a2 Separate checks for readable/writable config.yml 2025-10-21 20:18:31 -04:00
Georges-Antoine Assi
00c2fe86ad [ROMM-2565] Multi threaded library scanning 2025-10-18 15:39:57 -04:00
Georges-Antoine Assi
3cfc52234a start work on gamelist.xml extraction 2025-10-16 23:16:39 -04:00
Georges-Antoine Assi
ff15cfcee6 support states for more types of tasks 2025-10-09 19:20:19 -04:00
Marius Luca
1604406e2b - add a configurable ROMM_TMP_PATH environment variable for controlling where large file operations take place like 7z extraction 2025-10-09 16:50:25 +03:00
Georges-Antoine Assi
f7d2b92f1d add env var for custom tinfoil welcome messagr 2025-10-01 11:29:12 -04:00
Georges-Antoine Assi
0b24256df5 Merge pull request #2495 from MaienM/feature/disable-setup-wizard
Add option to disable setup wizard
2025-09-30 11:15:10 -04:00
Michon van Dooren
de8b585361 Add option to disable setup wizard 2025-09-29 22:43:39 +02:00
Michon van Dooren
240f348f92 Add support for OIDC role claim 2025-09-29 22:27:10 +02:00
Georges-Antoine Assi
e349ce6104 changes from bot review 2025-09-21 20:51:30 -04:00
Georges-Antoine Assi
444a5d6a31 fix config manager 2025-09-21 10:22:14 -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
ec1d050212 changes from bot review 2025-09-19 09:23:33 -04:00
Georges-Antoine Assi
19b5a83261 Use default config values when config.yml not mount + show warning 2025-09-19 09:17:59 -04:00
Georges-Antoine Assi
123b3f6b8b create makeshift howlongtobeet handler 2025-09-14 19:39:38 -04:00
Georges-Antoine Assi
3c4113f8a8 Merge branch 'master' into flashpoint-metadata-handler 2025-09-11 21:27:48 -04:00
Georges-Antoine Assi
347767e437 Update joserfc to 1.3 to fix CVA 2025-09-08 11:56:50 -04:00
Georges-Antoine Assi
06768abb06 [ROMM-2336] Config entry for EJS_CacheLimit 2025-09-06 19:10:44 -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
d760a2923e change options to settings 2025-09-02 09:10:32 -04:00
Georges-Antoine Assi
949ec85266 improve parsing default controls 2025-09-02 09:07:21 -04:00
Georges-Antoine Assi
e42acbfafc add debug and controls 2025-09-02 08:38:11 -04:00
Georges-Antoine Assi
147a94c406 Load core options from config.yml 2025-09-01 21:16:37 -04:00
Michael Manganiello
a31a8504c2 feat: Add scheduled task to sync RetroAchievements progress
Add a new scheduled task that syncs RetroAchievements progress for all
users with a RetroAchievements username.

Environment variables:
- `ENABLE_SCHEDULED_RETROACHIEVEMENTS_PROGRESS_SYNC`: Enable or disable
  the task (default: `false`)
- `SCHEDULED_RETROACHIEVEMENTS_PROGRESS_SYNC_CRON`: Cron string to
  schedule the task (default: "0 4 * * *" - daily at 4 AM)
2025-08-31 01:57:26 -03:00
Georges-Antoine Assi
f8d5feba24 changes from review 2025-08-30 14:19:29 -04:00
Georges-Antoine Assi
b7d59d74c4 init task 2025-08-27 22:25:45 -04:00
Georges-Antoine Assi
bf0d864d84 Add flashpoint as a metadata handler 2025-08-27 11:04:13 -04:00
Georges-Antoine Assi
9bb586b288 set timeouts 2025-08-26 21:09:13 -04:00
Georges-Antoine Assi
a1519a4b05 Make default ROMM_AUTH_SECRET_KEY consistent between workers 2025-08-15 12:46:46 -04:00
Georges-Antoine Assi
47e9138cbb lower the extension in config manager 2025-08-12 18:24:21 -04:00
Michael Manganiello
889c71444b feat: Add support for database query string using DB_QUERY_JSON variable
This change adds a new environment variable `DB_QUERY_JSON` that allows
users to specify querystring values for additional database connection
parameters. This is useful for passing custom query parameters to the
database connection URL.

The `DB_QUERY_JSON` variable should contain a JSON string with key-value
pairs of strings, which is the required format for the SQLAlchemy URL
`query` parameter. If the variable is not set, no additional query
parameters will be added to the database connection URL.

Closes #2093.
2025-08-10 00:31:03 -03:00
Michael Manganiello
ba21cbc1e1 misc: Separate tests folder from backend code
Create separate `tests/` folder for all tests. This will also simplify
not copying tests code into the Docker image.
2025-08-08 12:49:13 -03:00
Georges-Antoine Assi
8061db40b2 fix tests and cleanup 2025-08-02 17:55:43 -04:00
Georges-Antoine Assi
c5b8a5d0a7 config file is now required 2025-07-24 23:34:13 -04:00
Georges-Antoine Assi
50213a7891 [ROMM-1975] Add YOUTUBE_BASE_URL for custom youtube proxy 2025-07-21 18:23:54 -04:00
Georges-Antoine Assi
3bf1c08daf add ROMM_PORT to config 2025-07-11 09:59:57 -04:00
Georges-Antoine Assi
1a6654e436 add env var 2025-06-17 18:47:30 -04:00
Georges-Antoine Assi
88130a60f8 First batch of work for hasheous 2025-06-15 21:52:36 -04:00
Georges-Antoine Assi
167ef44fef explicit require igdb + enable in env 2025-06-15 17:25:18 -04:00
Georges-Antoine Assi
cf80fb6532 incr improvements towards playmatch self 2025-06-15 14:41:14 -04:00
Georges-Antoine Assi
c46d81bba5 Merge branch 'master' into feature/add-playmatch-integration 2025-06-15 12:56:12 -04:00
Georges-Antoine Assi
318661bc45 Merge branch 'master' into romm-403 2025-06-13 11:51:45 -04:00
zurdi
7d27e368f1 feat: add SESSION_MAX_AGE_SECONDS configuration for session middleware 2025-06-13 12:54:31 +00:00
Georges-Antoine Assi
ae960fcaa6 return list of playmatch hits 2025-06-12 17:09:34 -04:00
Yukine
9bbe0613c6 feat(pm_handler): allow disabling playmatch via env 2025-06-05 14:36:40 +02:00