Commit Graph

10 Commits

Author SHA1 Message Date
Timothy J. Baek 5e6d946f83 chore: disable passlib log 2024-01-05 12:22:27 -08:00
ThatOneCalculator 07cc7f15d5
chore: 🚨 lint and format 2024-01-03 14:33:57 -08:00
Timothy J. Baek d8754b4486 feat/fix: email format validation 2024-01-02 16:22:48 -08:00
Anuraag Jain 77323d9b25 refac: remove the verify_token and use get-current user for auth+user 2024-01-01 10:55:50 +02:00
Anuraag Jain bdd153d8f5 refac: use dependencies to verify token
- feat: added new util to get the current user when needed. Middleware was adding authentication logic to all the routes. let's revisit if we can move the non-auth endpoints to a separate route.
- refac: update the routes to use new helpers for verification and retrieving user
- chore: added black for local formatting of py code
2023-12-30 12:53:33 +02:00
Anuraag Jain a01b112f7f feat(auth): add auth middleware
- refactored chat routes to use request.user instead of doing authentication in every route
2023-12-28 22:15:54 +02:00
Timothy J. Baek e539cf5c28 feat: gguf upload 2023-12-23 15:38:52 -08:00
Timothy J. Baek dedb42582b feat: gravatar default image updated 2023-11-19 00:46:27 -08:00
Timothy J. Baek 83ff1d77ea feat: set first user to admin by default 2023-11-19 00:41:29 -08:00
Timothy J. Baek 8547b7807d feat: basic RBAC support 2023-11-18 21:41:43 -08:00