Commit Graph

25 Commits

Author SHA1 Message Date
Georges-Antoine Assi
34d49e6494 changes from self review 2024-12-13 11:33:39 -05:00
Georges-Antoine Assi
3abf50b056 changes from self review 2024-11-27 23:28:54 -05:00
Georges-Antoine Assi
bc5c2e45f3 wokring oidc setup with authentik 2024-11-26 23:57:15 -05:00
Michael Manganiello
2bfc3c4c7e misc: Refactor scan process by splitting single function
This change mainly refactors the `scan_platforms` function, moving part
of its logic to `_identify_platform`, `_identify_firmware`, and
`_identify_rom`.

The logic is simpler this way, each smaller function returns `ScanStats`
that can be merged by the caller, and it simplifies future performance
improvements.
2024-07-25 10:29:46 -03:00
Zurdi
23e0a064ab added update collection endpoint 2024-07-02 23:34:50 +02:00
Zurdi
857573e607 Merge remote-tracking branch 'origin/master' into feature/collections 2024-07-02 17:53:35 +02:00
Zurdi
4a413db4c5 fixes from PR review 2024-07-02 17:49:48 +02:00
Zurdi
cc9e05f668 collections migration added 2024-07-01 23:47:15 +02:00
zurdi
15f7522da5 rom db hanlder refactor to adapt to user_rom_props 2024-07-01 15:30:14 +02:00
Georges-Antoine Assi
880345f20c ruff-only pre-commit 2024-05-18 12:05:57 -04:00
Georges-Antoine Assi
eca1eb1136 model and scanning 2024-05-01 15:27:16 -04:00
zurdi
d3864ff02b create platform if not exists when adding roms fixed 2024-04-11 01:39:58 +02:00
zurdi
df047cc5e9 upload roms button in drawer added 2024-04-08 18:31:02 +02:00
Georges-Antoine Assi
2447c95ea6 update links to github 2024-03-23 10:11:55 -04:00
Zurdi
f1c5e02c32 config errors management improved 2024-01-18 11:46:12 +01:00
Zurdi
4b9e76f550 backend structure refactor 2024-01-12 23:44:27 +01:00
Georges-Antoine Assi
5762270f62 Merge branch 'master' into romm-55 2024-01-09 13:06:51 -05:00
Zurdi
eea7e41940 docstrings added to endpoints + organized imports + formatted code 2024-01-09 16:22:31 +01:00
Georges-Antoine Assi
cdafd680a0 Merge branch 'master' into romm-55 2024-01-05 15:38:05 -05:00
Zurdi
78152d91ee added backend endpoint to remove a platform 2024-01-05 11:48:56 +01:00
Georges-Antoine Assi
d4d929b29b Get upload and delete working 2023-11-23 20:47:27 -05:00
Georges-Antoine Assi
3965ca1997 Add basic auth + fix tests and typing 2023-08-23 11:21:01 -04:00
zurdi
f4f936f624 user avatar and enable/disable user support added 2023-08-23 14:16:31 +02:00
zurdi
5c0b6ea692 disabled browser login prompt in 401 responses 2023-08-18 10:44:01 +02:00
zurdi
3bc15bcbd3 extracted credentials exceptions in separated file 2023-08-18 09:05:54 +02:00