Commit Graph

39 Commits

Author SHA1 Message Date
Georges-Antoine Assi
c1d1291b48 Expose swaggerui and redoc endpoints 2023-08-18 23:40:18 -04:00
Georges-Antoine Assi
81ede6ab3c Get redis working again with persistent auth 2023-08-18 11:07:41 -04:00
Georges-Antoine Assi
b92844ba80 Microfixes + get edit working 2023-08-18 10:03:34 -04:00
zurdi
4aea3eacf2 only create default admin user if no other admin user exists 2023-08-18 13:15:01 +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
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
4253b9ea43 Add tests for identity endpoints 2023-08-13 13:34:53 -04:00
Georges-Antoine Assi
bd186b0228 Add endpoint tests 2023-08-13 12:18:38 -04:00
Georges-Antoine Assi
da4c318f6c Add tests for auth utils 2023-08-13 11:10:59 -04:00
Georges-Antoine Assi
58b7e9adcf Tweaks to db handelr test 2023-08-13 09:44:49 -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
8c39b8dbe6 Use random secrets for cors and middleware 2023-08-12 10:10:12 -04:00
Georges-Antoine Assi
590ea89972 Place auth behind flag 2023-08-11 13:42:16 -04:00
Georges-Antoine Assi
a5256dfe01 Move secret key to env variable 2023-08-11 13:02:13 -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
a8a402d250 Add scopes and roles 2023-08-10 23:37:05 -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
9c3bc6b842 Add jwt based auth 2023-08-09 22:15:05 -04: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
Georges-Antoine Assi
017f968303 Run scan task async via redis + sockets 2023-08-04 14:55:08 -04:00
Georges-Antoine Assi
6cbdfb42ae More robust scanning + better output 2023-08-03 18:32:41 -04:00
Georges-Antoine Assi
d2c1f6c41a Small tweaks from reivew 2023-08-03 12:57:16 -04:00
zurdi
d8b80226b4 automatic migrations when running the backend 2023-08-03 12:44:34 +02:00
Georges-Antoine Assi
0f90eb7b73 Cursor pagination for roms list 2023-06-08 19:40:02 -04:00
Georges-Antoine Assi
99afbc8f3f Refactor socket connections 2023-05-18 17:34:45 -04:00
zurdi zurdo
b642ed8306 scan router import fix 2023-05-15 14:40:38 +02:00
zurdi zurdo
85bf4a60fe RomM setup error messages improved 2023-05-14 19:52:36 +02:00
zurdi zurdo
6db5dc33a7 scan websocket migrated from fastapi_socketio to python-socketio 2023-05-12 18:36:11 +02:00
zurdi zurdo
52cce361c7 scan view logs improved 2023-05-11 19:32:37 +02:00
zurdi zurdo
4d5ec9150f scan log added in frontend 2023-05-11 18:43:52 +02:00
zurdi zurdo
302b8cf073 scan websocket migrated to socket.io 2023-05-11 14:17:30 +02:00
Georges-Antoine Assi
ca21cebed5 Re-add config folder 2023-05-09 10:31:09 -04:00
Georges-Antoine Assi
cce40c48d1 Complete rewrite of backend 2023-05-09 09:49:49 -04:00
Georges-Antoine Assi
917dbc3295 Rewrite dev setup, switch to poetry and refactor folder strucutre 2023-05-08 19:01:21 -04:00