Commit Graph

14 Commits

Author SHA1 Message Date
Rui Alves
3a54b9251a Revert media routers to old names. Order routes to make sure the dynamic ones from media.py are only used whenever there's no match on auth/etc 2024-09-22 16:13:27 +01:00
Rui Alves
6dadeeb488 Use slowapi as the limiter 2024-09-21 12:00:10 +01:00
Rui Alves
fb804bac4e Added starlette plugin to expose custom headers 2024-09-20 11:15:50 +01:00
Rui Alves
8f8d8e1e4c Removed flask app in favour of FastAPI app. Implemented FastAPI middleware to check CSRF, connect and disconnect from DB. Added middleware x-forwared-for headers 2024-09-19 10:17:14 +01:00
Rui Alves
655d24a653 Convert auth endpoints to FastAPI 2024-09-19 08:41:59 +01:00
Rui Alves
55d33cebb8 Use body for multiple events endpoints 2024-09-16 16:53:22 +01:00
Rui Alves
1b601b8c35 Convert events endpoints to FastAPI 2024-09-16 10:44:03 +01:00
Rui Alves
ce1c048adc Convert export endpoints to FastAPI 2024-09-15 18:45:37 +01:00
Rui Alves
640dce6bc2 Convert first review API endpoints to FastAPI 2024-09-15 17:40:23 +01:00
Rui Alves
023f1431f2 Convert all notifications API endpoints to FastAPI 2024-09-15 17:08:41 +01:00
Rui Alves
012c953dfb Convert all media endpoints to FastAPI. Added /media prefix (/media/camera && media/events && /media/preview) 2024-09-08 15:33:56 +01:00
Rui Alves
93b88e5d08 POC: Converted two more endpoints to FastAPI 2024-09-07 18:49:42 +01:00
Rui Alves
773d211017 POC: Converted preview related endpoints to FastAPI 2024-09-07 17:06:49 +01:00
Rui Alves
c50283b55e POC: Added FastAPI with one endpoint (get /logs/service) 2024-09-07 16:45:39 +01:00