Georges-Antoine Assi
afaef09c84
cleanup
2025-08-08 17:08:16 -04:00
Georges-Antoine Assi
16c8c9f993
only init JW once
2025-08-08 17:03:28 -04:00
Georges-Antoine Assi
69079b2a90
Merge branch 'master' into find-best-match
2025-08-08 16:55:39 -04:00
Georges-Antoine Assi
659a3eb104
use jaro-winkler algo
2025-08-08 16:54:26 -04:00
Georges-Antoine Assi
b1609096de
fix file_type typo
2025-08-08 15:00:18 -04:00
Michael Manganiello
86b7d021b7
Merge pull request #2238 from rommapp/fix/docker-build-fixes
...
fix: Docker build and init fixes
2025-08-08 15:35:57 -03:00
Michael Manganiello
edece77ffd
Merge pull request #2237 from rommapp/fix/dockerignore
...
fix: Correctly set up dockerignore file
2025-08-08 15:35:27 -03:00
Michael Manganiello
676079f1e5
fix: Docker build and init fixes
...
* Added `linux-headers` back, but only for development stage.
* Fixed initialization script, as `uv` is not included in the final
Docker image.
* Initialize variable `ENABLE_SCHEDULED_UPDATE_LAUNCHBOX_METADATA`.
2025-08-08 15:09:27 -03:00
Michael Manganiello
9c0df02296
fix: Correctly set up dockerignore file
...
* Rename file to `Dockerfile.dockerignore`. As the `Dockerfile` is not
in the root directory, the Docker spec requires the file to be
named `<dockerfile_name>.dockerignore`.
* Update ignore rules, and include `.mypy_cache/` directory.
2025-08-08 14:38:11 -03:00
Georges-Antoine Assi
d6ccceff59
Run vite dev with https
2025-08-08 12:39:19 -04:00
Michael Manganiello
6d9c6143cb
Merge pull request #2234 from rommapp/misc/move-tests-folder
...
misc: Separate tests folder from backend code
2025-08-08 13:11:09 -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
Michael Manganiello
ee44a5c788
Merge pull request #2233 from rommapp/misc/remove-indirect-dependency-freezegun
...
misc: Remove indirect dependency freezegun
2025-08-08 12:42:32 -03:00
Michael Manganiello
26177eb95e
misc: Remove indirect dependency freezegun
...
Update `rq-scheduler` fork to remove the unnecessary dependency on
`freezegun`.
2025-08-08 11:37:49 -03:00
Georges-Antoine Assi
de42333f2f
Merge pull request #2232 from rommapp/native-7z-parse
...
Use native 7z to extract files and calculate hashes
2025-08-08 09:23:29 -04:00
Georges-Antoine Assi
c47be7240b
changs from bot review
2025-08-07 18:15:49 -04:00
Georges-Antoine Assi
9e37d87610
fix complex game names
2025-08-07 18:02:04 -04:00
Georges-Antoine Assi
b247a5c5bb
small tweaks
2025-08-07 17:39:57 -04:00
Georges-Antoine Assi
1a2944806b
Use best-match algo for more providers
2025-08-07 16:57:29 -04:00
Michael Manganiello
3f98ef6b00
Merge pull request #2230 from rommapp/feat/watcher-watchfiles
...
feat: Migrate watcher to use watchfiles library
2025-08-07 15:36:01 -03:00
Georges-Antoine Assi
926fe26fd9
[exp] use cli 7z to cacl hash files
2025-08-07 13:12:32 -04:00
Michael Manganiello
76db0ab98c
feat: Migrate watcher to use watchfiles library
...
The `watchfiles` library supports event batching, which allows us to
process multiple filesystem changes in a single run.
This change also avoids database calls in the watcher as much as
possible.
2025-08-07 13:28:49 -03:00
Michael Manganiello
1e6bfffe92
Merge pull request #2229 from rommapp/misc/move-pytest-cov-to-test-extra
...
misc: Move pytest-cov dependency to test extra
2025-08-07 12:45:33 -03:00
Georges-Antoine Assi
0d5dfb6c1f
Merge pull request #2220 from rommapp/romm-2142
...
[ROMM-2142] Custom SGDB title match
2025-08-07 11:36:00 -04:00
Georges-Antoine Assi
f3a74bc892
changes from review
2025-08-07 11:33:02 -04:00
Georges-Antoine Assi
a90bc75b92
Merge branch 'master' into romm-2142
2025-08-07 10:34:19 -04:00
Georges-Antoine Assi
00c9d740c7
Merge pull request #2227 from rommapp/worker-native-process
...
Migrate worker to native rq process
2025-08-07 10:04:21 -04:00
Michael Manganiello
0f8d0ffecd
misc: Move pytest-cov dependency to test extra
2025-08-07 11:00:48 -03:00
Georges-Antoine Assi
c4ea27b6fa
pass in metadata providers enabled
2025-08-07 09:51:18 -04:00
Georges-Antoine Assi
c030d10c05
changes from bot review
2025-08-07 09:43:18 -04:00
Michael Manganiello
aaba801fc7
Merge pull request #2228 from rommapp/misc/remove-emoji-dependency
...
misc: Replace emoji dependency with constants
2025-08-07 10:41:42 -03:00
Georges-Antoine Assi
836e7358c2
fix issues from code review
2025-08-07 09:34:43 -04:00
Michael Manganiello
097818d560
misc: Replace emoji dependency with constants
...
The `emoji` library has been removed, in favor of using constants for
the few emojis used in the codebase. This reduces memory usage, and
avoids calling `emojize` for Python to discover where to replace emojis
in pre-defined strings.
2025-08-07 09:50:14 -03:00
Georges-Antoine Assi
4c6c36fa04
fix typo
2025-08-06 23:57:47 -04:00
Georges-Antoine Assi
64493348b9
add ignores for shellcheck
2025-08-06 23:30:32 -04:00
Georges-Antoine Assi
7e0cb2272d
run watchdog as a native task
2025-08-06 23:25:47 -04:00
Georges-Antoine Assi
e156158a3e
fixse from bot review
2025-08-06 22:16:46 -04:00
Georges-Antoine Assi
dd6669ebd5
fix pythonpath
2025-08-06 22:08:28 -04:00
Georges-Antoine Assi
6b307afcd3
Run worker as a native process
2025-08-06 21:57:32 -04:00
Georges-Antoine Assi
ebe271df34
Merge pull request #2224 from rommapp/feat/scheduler-native-process
...
feat: Migrate scheduler to native RQ process
2025-08-06 21:38:57 -04:00
Georges-Antoine Assi
ff764e790c
Merge pull request #2226 from rommapp/game-card-notes-icon
...
Display an icon on the card if game has notes
2025-08-06 19:17:43 -04:00
Georges-Antoine Assi
0dea470a77
fix type issue
2025-08-06 19:14:08 -04:00
Georges-Antoine Assi
42773c0865
cleanup
2025-08-06 18:45:21 -04:00
Georges-Antoine Assi
d0e49da1c1
Display an icon if game has notes
2025-08-06 18:37:53 -04:00
Michael Manganiello
5dcc1bd31c
feat: Migrate scheduler to native RQ process
...
This change replaces our custom `scheduler.py` script with the
`rqscheduler` command, allowing us to run the RQ scheduler as a
separate, low-memory process, by avoiding the need to maintain
the Python app in memory.
* Remove `scheduler.py` script.
* Move initialization of scheduled tasks to `worker.py`.
* Update `docker/init_scripts/init` to start the `rqscheduler`
command instead of the custom script.
* Fix scheduled tasks' `func` paths to the new project structure.
* Temporarily use a fork of `rq-scheduler` to support
username and SSL settings in the `rqscheduler` command.
2025-08-06 19:13:12 -03:00
Georges-Antoine Assi
7e5be1ce3c
Merge pull request #2225 from rommapp/missed-platform-slugs
...
Fixed platform slugs that were missed
2025-08-06 17:33:06 -04:00
Georges-Antoine Assi
90f10e8946
Fixed platform slugs that were missed
2025-08-06 17:28:10 -04:00
Michael Manganiello
002f21c5dd
Merge pull request #2222 from rommapp/fix/scheduler-when-only-launchbox-is-enabled
...
fix: Run scheduler when only LaunchBox update is enabled
2025-08-06 18:06:40 -03:00
Michael Manganiello
9c8aad6cd6
fix: Run scheduler when only LaunchBox update is enabled
...
Include the check for `ENABLE_SCHEDULED_UPDATE_LAUNCHBOX_METADATA` to
decide whether to start the scheduler process.
2025-08-06 17:05:03 -03:00
Michael Manganiello
305e2d1062
Merge pull request #2221 from rommapp/misc/task-classes-typing
...
misc: Add type hints to task classes
2025-08-06 16:58:32 -03:00