Commit Graph

75 Commits

Author SHA1 Message Date
Georges-Antoine Assi
b92844ba80 Microfixes + get edit working 2023-08-18 10:03:34 -04:00
zurdi
9760aec194 removed unnecessary check in login endpoint 2023-08-18 11:19:26 +02:00
zurdi
3bc15bcbd3 extracted credentials exceptions in separated file 2023-08-18 09:05:54 +02:00
zurdi
34530779c3 Merge remote-tracking branch 'origin/simple-authentication' into simple-authentication-front 2023-08-18 08:44:43 +02:00
Georges-Antoine Assi
8e9d4add22 Global axios error handler 2023-08-17 23:58:32 -04:00
Georges-Antoine Assi
0c3bdfe354 MAke work when auth disabled in env 2023-08-17 23:06:22 -04:00
zurdi
5e2281c2fe login redirect if auth not enabled 2023-08-18 00:43:22 +02:00
Georges-Antoine Assi
83ae8d7199 Fix authentication 2023-08-17 13:58:48 -04:00
Georges-Antoine Assi
b9113cbb11 Set some consts as final 2023-08-14 15:00:19 -04:00
Georges-Antoine Assi
3e45be747a Extra checks on logout 2023-08-13 16:17:13 -04:00
Georges-Antoine Assi
588ae8b5a9 Add couple extra checks under identity 2023-08-13 14:37:38 -04:00
Georges-Antoine Assi
9601b0fa9e Add tests for oauth endpoint 2023-08-13 14:25:07 -04:00
Georges-Antoine Assi
0b5a09d53f Add test for rom endpoint 2023-08-13 14:10:27 -04:00
Georges-Antoine Assi
4253b9ea43 Add tests for identity endpoints 2023-08-13 13:34:53 -04:00
Georges-Antoine Assi
6e87522f96 Add tests for platform 2023-08-13 12:44:23 -04:00
Georges-Antoine Assi
bd186b0228 Add endpoint tests 2023-08-13 12:18:38 -04:00
Georges-Antoine Assi
9d0d7f7631 Fix bad jwt tokens 2023-08-12 22:15:24 -04:00
Georges-Antoine Assi
5943489f51 Oauth scheme and security list 2023-08-12 21:46:32 -04:00
Georges-Antoine Assi
faba6d4e75 Self code cleanup 2023-08-12 00:38:29 -04:00
Georges-Antoine Assi
a5256dfe01 Move secret key to env variable 2023-08-11 13:02:13 -04:00
Georges-Antoine Assi
1726ab5b60 Merge branch 'master' into simple-authentication 2023-08-11 10:53:26 -04:00
Georges-Antoine Assi
1b510d5499 Split oauth endpoint 2023-08-11 10:47:12 -04:00
Georges-Antoine Assi
8d41a87659 Add csrf token check 2023-08-11 09:47:10 -04:00
Georges-Antoine Assi
6cf6f6ca78 Implement refresh tokens 2023-08-11 00:30:30 -04:00
Georges-Antoine Assi
a8a402d250 Add scopes and roles 2023-08-10 23:37:05 -04:00
Georges-Antoine Assi
b0869e7a2d Changes from self review 2023-08-10 18:18:26 -04:00
Georges-Antoine Assi
ad9f64719b Use sockets to track download completion 2023-08-10 15:35:37 -04:00
Georges-Antoine Assi
5062a9d033 kick off the download when it starts for multi files 2023-08-10 14:53:36 -04:00
Georges-Antoine Assi
b2ca819c16 Add session middlware + redis back auth 2023-08-10 09:58:51 -04:00
Georges-Antoine Assi
cb306d3099 Working authentication via starlette 2023-08-10 00:06:25 -04:00
Georges-Antoine Assi
37200aeefc Make cookie safe 2023-08-09 22:52:53 -04:00
Georges-Antoine Assi
32a79ac52d Switch to cookie based auth 2023-08-09 22:48:38 -04:00
Georges-Antoine Assi
9c3bc6b842 Add jwt based auth 2023-08-09 22:15:05 -04:00
Georges-Antoine Assi
19b651ab54 Fix multi rom zipping + streaming 2023-08-09 10:16:04 -04:00
Georges-Antoine Assi
baffda2d59 Fix user data used in path expression 2023-08-09 00:00:31 -04:00
Georges-Antoine Assi
ad80f447d5 Revert change to basemodel config 2023-08-08 23:53:05 -04:00
Georges-Antoine Assi
88ac2a7353 introduce mypy with lib types + remove ignores + fix types 2023-08-08 23:31:59 -04:00
zurdi
051d5ea924 reverted matched roms no cover 2023-08-09 02:38:34 +02:00
zurdi
fb15cf8e3b Merge branch 'master' into feature-28-mini-admin-menu 2023-08-09 01:23:13 +02:00
Georges-Antoine Assi
3e97e9a9bf Merge branch 'master' into ps2-opl-support 2023-08-08 19:02:16 -04:00
zurdi
579160378a pylint tweaks 2023-08-09 00:33:21 +02:00
Georges-Antoine Assi
6c43b322bd Patch in ps2/opl support for game scanning 2023-08-08 17:45:33 -04:00
zurdi
e9ca29c4e6 half-refactor of dialogs as components 2023-08-08 15:21:17 +02:00
Georges-Antoine Assi
774d023943 Move sockets to utils 2023-08-07 20:32:22 -04:00
Georges-Antoine Assi
aa9e34754f Patch out redis when not running 2023-08-07 20:05:14 -04:00
Zurdi
6bbb973c0b Merge pull request #322 from zurdi15/redis-sockets
Offloading sync into worker
2023-08-07 23:04:43 +02:00
Georges-Antoine Assi
2ce1a92db5 Update platform rom counts after scan/delete 2023-08-06 14:24:37 -04:00
Georges-Antoine Assi
66c803963f bugfix 2023-08-05 11:20:52 -04:00
Georges-Antoine Assi
d7df979269 Changes from self review 2023-08-04 23:52:02 -04:00
Georges-Antoine Assi
b13886cc97 Store twitck token in redis cache + switch back to single task 2023-08-04 23:24:41 -04:00