Commit Graph

292 Commits

Author SHA1 Message Date
Georges-Antoine Assi
14032c745e Fix fixture rename 2023-08-13 14:26:22 -04:00
Georges-Antoine Assi
8b3f5cc7e3 Add tests for oauth endpoint 2023-08-13 14:25:07 -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
cc8fc9eeb0 Add test for user model 2023-08-13 09:58:17 -04:00
Georges-Antoine Assi
9952b4844c Tweaks to db handelr test 2023-08-13 09:44:49 -04:00
Georges-Antoine Assi
1586e5142b add user test for db handler 2023-08-13 00:01:36 -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
d8a2166ce6 Merge branch 'master' into simple-authentication 2023-08-11 10:53:26 -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
Zurdi
9448b471af Merge pull request #335 from zurdi15/fix-322
Fix multi rom zipping + streaming
2023-08-11 10:15:33 +02:00
zurdi
eaa7e92b5f fixed sql script testing setup 2023-08-11 10:00:47 +02: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
21be97eb05 Changes from self review 2023-08-10 18:18:26 -04:00
Georges-Antoine Assi
07aff1c2e9 Use sockets to track download completion 2023-08-10 15:35:37 -04:00
Georges-Antoine Assi
36cf1baca8 kick off the download when it starts for multi files 2023-08-10 14:53:36 -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
5746e1099d Make cookie safe 2023-08-09 22:52:53 -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
Georges-Antoine Assi
d7f4362c52 Fix multi rom zipping + streaming 2023-08-09 10:16:04 -04:00
zurdi
267e9491b9 reverted timestamp in cover request 2023-08-09 10:32:01 +02:00
Georges-Antoine Assi
d0a7bcfd9d Fix user data used in path expression 2023-08-09 00:00:31 -04:00
Georges-Antoine Assi
f0a67e798e Revert change to basemodel config 2023-08-08 23:53:05 -04:00
Georges-Antoine Assi
3b9901a732 introduce mypy with lib types + remove ignores + fix types 2023-08-08 23:31:59 -04:00
zurdi
a7ad8580dc fixed tests 2023-08-09 03:18:20 +02:00
zurdi
60417a915d reverted matched roms no cover 2023-08-09 02:38:34 +02: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
30f4ea1c19 tests fixed 2023-08-09 01:28:46 +02:00
zurdi
b8f98a2bbf Merge branch 'master' into feature-28-mini-admin-menu 2023-08-09 01:23:13 +02:00
zurdi
4759ecc0e2 more meaningul constants 2023-08-09 01:11:32 +02:00
Georges-Antoine Assi
40d2c0ff19 Merge branch 'master' into ps2-opl-support 2023-08-08 19:02:16 -04:00
zurdi
08d5bf0836 ps2 igdb id set as constant 2023-08-09 00:58:58 +02:00
zurdi
e596a4d0ac fixed cached token 2023-08-09 00:50:40 +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