Georges-Antoine Assi
a53c0911d7
fix endpoint tests
2024-08-05 11:35:08 -04:00
Michael Manganiello
aced1f1ff2
misc: Migrate IGDBBaseHandler to async
...
Convert `IGDBBaseHandler` methods to be asynchronous, and use an `httpx`
async client, instead of `requests` sync client.
This change also removes the direct dependency with `requests`, as the
project no longer uses it, preferring `httpx` instead.
2024-07-26 21:19:01 -03:00
Michael Manganiello
b9da72832d
Merge pull request #1011 from rommapp/misc/migrate-moby-handler-to-async
...
misc: Migrate MobyGamesHandler to async
2024-07-23 11:10:27 -03:00
Michael Manganiello
7c6dfa8e50
feat: Use ContextVar to share httpx AsyncClient instance between requests
2024-07-23 01:29:32 -03:00
Georges-Antoine Assi
52a96058c4
Merge branch 'master' into patch-1
2024-07-22 16:57:24 -04:00
Michael Manganiello
6eb8e6aeff
misc: Add Redis async cache
...
Introduce an asynchronous Redis instance to be used in async functions.
Also, this change migrates most of the sync cache usage to the new async
cache.
2024-07-21 18:23:19 -03:00
Michael Manganiello
1ce20cdcfc
fix: Use namespaced cookie for session
...
Avoid conflicting cookie names when RomM runs in the same host as other
applications, by adding a `romm_` namespace to the session cookie.
2024-07-20 21:06:28 -03:00
Georges-Antoine Assi
176c57c792
run trunk fmt
2024-06-23 18:17:19 -03:00
Michael Manganiello
33ac3ca56d
misc: Apply changes generated by pyupgrade
...
Changes automatically made by
[`pyupgrade`](https://github.com/asottile/pyupgrade ), using the
`--py311-plus` flag, to be compatible with Python 3.11.
2024-06-23 18:17:08 -03:00
zurdi
749f1bcc77
added renaming message on match
2024-06-20 14:15:10 +02:00
zurdi
3c1e3b48a7
added upload/delete assets dialogs
2024-06-14 11:30:15 +02:00
Zurdi
7c055b8870
fix unit tests
2024-06-13 00:11:13 +02:00
Georges-Antoine Assi
c4ef4d92d2
run truck fixes
2024-05-31 19:00:04 -04:00
Georges-Antoine Assi
9b62641d55
Merge branch 'master' into trunk-io
2024-05-31 18:42:43 -04:00
Zurdi
b8c29b756e
unit tests fixed
2024-05-31 18:30:43 +02:00
Georges-Antoine Assi
2d21cd2b50
Improve speeds of rom fetch from DB
2024-05-25 19:47:36 -04:00
Georges-Antoine Assi
7635bbeac2
run trunk fixes
2024-05-24 16:59:54 -04:00
Georges-Antoine Assi
b075e93321
Merge branch 'master' into trunk-io
2024-05-24 16:47:19 -04:00
Georges-Antoine Assi
f73a6f48b9
more refactoring
2024-05-23 21:13:17 -04:00
Georges-Antoine Assi
a6a892b31c
hard refactor of heartbeat
2024-05-23 14:05:51 -04:00
Georges-Antoine Assi
a7cf0d389a
run trunk format on all files
2024-05-21 10:18:13 -04:00
Georges-Antoine Assi
880345f20c
ruff-only pre-commit
2024-05-18 12:05:57 -04:00
Georges-Antoine Assi
2749aaee4a
rename back to old names
2024-05-05 16:59:30 -04:00
Georges-Antoine Assi
dc33054ba1
more name refactoring
2024-05-05 16:45:58 -04:00
Georges-Antoine Assi
9ad28f3294
more refactoring again
2024-05-05 16:32:40 -04:00
Georges-Antoine Assi
1a2c914045
refactor handlers out into own files
2024-05-05 12:45:56 -04:00
Georges-Antoine Assi
eca1eb1136
model and scanning
2024-05-01 15:27:16 -04:00
Georges-Antoine Assi
4174b9753e
remove mame from scheduled tasks and embed fixture
2024-03-26 16:49:02 -04:00
Georges-Antoine Assi
7ca551b743
switched to jwt backed sessions
2024-02-16 10:00:54 -05:00
Georges-Antoine Assi
feb175f02e
General fixes for filtering assets per user
2024-02-07 20:31:03 -05:00
Georges-Antoine Assi
8e6769cd6a
Merge branch 'master' into asset-refactor
2024-02-06 16:54:55 -05:00
Georges-Antoine Assi
bd508b685e
fix tests
2024-02-06 10:35:58 -05:00
Georges-Antoine Assi
f5d8ef1767
oof ouch my bones
2024-02-05 23:24:07 -05:00
Zurdi
3de72d075c
fixed tests
2024-02-05 11:28:39 +01:00
Georges-Antoine Assi
374ae75688
fix tests
2024-02-02 17:09:45 -05:00
Georges-Antoine Assi
0cf2b1d226
fix more tests
2024-02-02 00:07:01 -05:00
Georges-Antoine Assi
6bcadec702
everything we need for 3.0
2024-02-01 18:13:16 -05:00
Georges-Antoine Assi
eb18388a81
Mega refactor of asset
2024-02-01 17:59:06 -05:00
Georges-Antoine Assi
81b5bcf9ba
refactor handler names
2024-01-18 14:04:35 -05:00
Georges-Antoine Assi
f3d44aae41
api endpoint for raw asset access
2024-01-18 09:48:57 -05:00
Georges-Antoine Assi
9495942084
Fix the rest of the tests
2024-01-17 10:57:07 -05:00
Georges-Antoine Assi
7963e243dc
Fix batch of test fixes
2024-01-17 10:26:37 -05:00
Zurdi
42065aec7c
backend refactor as RESTful
2024-01-15 13:34:18 +01:00
Georges-Antoine Assi
75f94067cc
Add basic tests around endpoints and models
2024-01-10 10:00:10 -05:00
Georges-Antoine Assi
0b17e48315
fix heartbeat
2024-01-05 16:49:14 -05:00
Georges-Antoine Assi
5dd943d5aa
Fix tests
2023-12-28 16:39:18 -05:00
Georges-Antoine Assi
3767401075
Merge branch 'master' into romm-55
2023-12-28 13:46:08 -05:00
Georges-Antoine Assi
c6566bb89c
Merge branch 'master' into romm-55
2023-12-28 13:17:46 -05:00
Zurdi
06e7fc14cf
fixed heartbeat tests
2023-12-28 17:00:06 +01:00
Zurdi
808279b2cd
get branch_name and version from backend
2023-12-13 10:43:00 +01:00