Commit Graph

63 Commits

Author SHA1 Message Date
Georges-Antoine Assi
14032c745e Fix fixture rename 2023-08-13 14:26:22 -04:00
Georges-Antoine Assi
47858a90c2 Add test for rom endpoint 2023-08-13 14:10:27 -04:00
Georges-Antoine Assi
c5da971a70 Add tests for identity endpoints 2023-08-13 13:34:53 -04:00
Georges-Antoine Assi
b52e3b3b14 Add tests for platform 2023-08-13 12:44:23 -04:00
Georges-Antoine Assi
984a56b7d0 Add endpoint tests 2023-08-13 12:18:38 -04:00
Georges-Antoine Assi
f27b178d1d ADd test for oauth utils 2023-08-13 11:38:36 -04:00
Georges-Antoine Assi
45a271eba6 Fix failing test 2023-08-13 11:22:16 -04:00
Georges-Antoine Assi
ce8cfd5bcf Add tests for auth utils 2023-08-13 11:10:59 -04:00
Georges-Antoine Assi
71709072de Fix bad jwt tokens 2023-08-12 22:15:24 -04:00
Georges-Antoine Assi
835065f642 Oauth scheme and security list 2023-08-12 21:46:32 -04:00
Georges-Antoine Assi
856ba95e69 Use random secrets for cors and middleware 2023-08-12 10:10:12 -04:00
Georges-Antoine Assi
90615752db Self code cleanup 2023-08-12 00:38:29 -04:00
Georges-Antoine Assi
cc1ee9817c Place auth behind flag 2023-08-11 13:42:16 -04:00
Georges-Antoine Assi
0725e26822 Move secret key to env variable 2023-08-11 13:02:13 -04:00
Georges-Antoine Assi
99871e4bc3 Split oauth endpoint 2023-08-11 10:47:12 -04:00
Georges-Antoine Assi
6fca275ecd Add csrf token check 2023-08-11 09:47:10 -04:00
Georges-Antoine Assi
2f8c9cc2df Implement refresh tokens 2023-08-11 00:30:30 -04:00
Georges-Antoine Assi
f4761fe5f3 Add scopes and roles 2023-08-10 23:37:05 -04:00
Georges-Antoine Assi
707bdfc376 Add session middlware + redis back auth 2023-08-10 09:58:51 -04:00
Georges-Antoine Assi
63f45ebf08 Working authentication via starlette 2023-08-10 00:06:25 -04:00
Georges-Antoine Assi
cc9ade5ebf Switch to cookie based auth 2023-08-09 22:48:38 -04:00
Georges-Antoine Assi
dc4f8f34ce Add jwt based auth 2023-08-09 22:15:05 -04:00
zurdi
267e9491b9 reverted timestamp in cover request 2023-08-09 10:32:01 +02:00
Georges-Antoine Assi
3b9901a732 introduce mypy with lib types + remove ignores + fix types 2023-08-08 23:31:59 -04:00
zurdi
c27dcd8d56 get_cover tests fixed 2023-08-09 01:59:09 +02:00
zurdi
9cddde582b removed timestamp from cover path 2023-08-09 01:53:04 +02:00
zurdi
b8f98a2bbf Merge branch 'master' into feature-28-mini-admin-menu 2023-08-09 01:23:13 +02:00
zurdi
b4d06c2daf pylint tweaks 2023-08-09 00:33:21 +02:00
zurdi
e911582705 fixed cover and screenthos stored path 2023-08-09 00:33:12 +02:00
Georges-Antoine Assi
2bb5316e26 Changes from self review 2023-08-07 20:37:30 -04:00
Georges-Antoine Assi
76774a7577 Move sockets to utils 2023-08-07 20:32:22 -04:00
Georges-Antoine Assi
64bd4887f0 Patch out redis when not running 2023-08-07 20:05:14 -04:00
zurdi
9b6e4e946c fied missing parameters with no IGDB roms 2023-08-07 17:19:57 +02:00
Georges-Antoine Assi
25830becda Update platform rom counts after scan/delete 2023-08-06 14:24:37 -04:00
Georges-Antoine Assi
91b7ceb682 Fix scanning files not found in IGDB 2023-08-04 10:55:35 -04:00
Georges-Antoine Assi
1d838a5f18 Add pytest for PRs
Install poetry explicit
2023-08-03 22:58:11 -04:00
Georges-Antoine Assi
96f7f66673 Improved scan logs 2023-08-03 17:10:35 -04:00
Georges-Antoine Assi
adb5495461 Add docs for running tests 2023-08-02 09:48:20 -04:00
Georges-Antoine Assi
8392784d52 Fix scanning + centralize icon rendering 2023-08-01 17:15:50 -04:00
Georges-Antoine Assi
a965b39bcc Add tests for fs 2023-08-01 15:27:59 -04:00
Georges-Antoine Assi
ace2ba448f Add tests for fastapi 2023-08-01 12:29:02 -04:00
Georges-Antoine Assi
9f3e5f0faa Add tests for utils init 2023-08-01 10:14:06 -04:00
Georges-Antoine Assi
a719e6979f Merge branch 'master' into backend-testing-refactor 2023-08-01 09:33:06 -04:00
zurdi
8b50b729d1 code refactor and styled 2023-08-01 13:45:31 +02:00
zurdi
f97dbcb99e code formatted with black 2023-08-01 13:31:50 +02:00
zurdi
63ad5eedf2 typo 2023-08-01 13:30:38 +02:00
zurdi
263bdfd8ff multipart roms scan fixed 2023-08-01 13:29:09 +02:00
Georges-Antoine Assi
d5eb927032 Refactor config + add pytest 2023-07-31 15:51:36 -04:00
zurdi
459f70816e regions ordered and formatted 2023-07-31 13:39:12 +02:00
zurdi
172d0be232 improved region tag detection when using 'reg-[shortcode]' 2023-07-31 13:15:30 +02:00