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
2532cb1e70
Merge branch 'main' of github.com:ollama-webui/ollama-webui into refac/auth-middleware
2023-12-30 13:03:18 +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
Timothy J. Baek
d5dc36b2a9
feat: delete all user chats
2023-12-30 00:15:37 -08: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
4221594778
feat: chat export
2023-12-26 22:10:22 -08:00
Timothy J. Baek
0c30a08596
fix: non existent chat page issue
2023-12-26 13:21:47 -08:00
Timothy J. Baek
1303407f53
feat: update chat
2023-12-26 10:41:55 -08:00
Timothy J. Baek
2cb0bf4439
fix: chat return type to dict
2023-12-26 01:27:43 -08:00
Timothy J. Baek
540b50e176
feat: wip chat route
2023-12-25 21:55:29 -08:00
Timothy J. Baek
9174331025
feat: db migration to sqlite
2023-12-25 21:44:28 -08:00