Mamadou DICKO
d27504f735
Feat/rate limiting ( #719 )
...
* feat: add max brain count
* fix: prevent page cashing when invitation is invalid
* feat: rename rights to role in frontend
2023-07-20 18:17:55 +02:00
Braden Mars
b3455d3686
fix(parsers.github): AttributeError
when crawling github repository. ( #667 )
...
When attempting to add new files from a crawled github repository, quivr will always fail due to a reference to a non-existant `File.add_files_to_brain` method.
Signed-off-by: Braden Mars <bradenmars@bradenmars.me>
2023-07-20 16:13:25 +02:00
Mamadou DICKO
eb779f9e58
Minor UX improvments ( #717 )
...
* feat: display user rights on invitation page
* feat: add brain name in invitation email
2023-07-20 15:15:43 +02:00
Mamadou DICKO
d7ca11f5d1
feat: prevent editor to share as owner ( #715 )
...
* feat(UploadPage): redirect to login if not connected
* feat: prevent editor to share as owner
2023-07-20 15:15:32 +02:00
Mamadou DICKO
6c5016c79a
[ShareableBrain]: Feat: require owner role to delete content or remove user access ( #711 )
...
* feat: require owner right to remove content from brain
* feat: require owner right to remove user access from brain
2023-07-19 17:13:02 +02:00
Mamadou DICKO
aa7bc483c2
feat: check user role on brain before file upload ( #709 )
2023-07-19 13:41:46 +02:00
Mamadou DICKO
87458d8de1
Feat/brain access rights ( #705 )
...
* refactor(BrainUsers)
* feat: give brain share access to EDITORs
* feat(RBAC): add role enum and supports multiple roles check
* feat: make owner right read only for other permissions
2023-07-19 13:36:23 +02:00
Mamadou DICKO
7a2450eaf4
[ShareableBrain]: improve UX, fix minors bugs, refactor ( #695 )
...
* feat: add empty access list message
* feat: set default role to viewer
* feat: reset user invitation form after submit
* feat: add removing access indicator
* feat: add brain name on invitation page
* feat: display brain name on chat page
* feat: clear localStorage on logout
2023-07-18 18:28:44 +02:00
Zineb El Bachiri
1f5443bd24
🚑 fix resend invitation emails ( #696 )
2023-07-18 18:10:48 +02:00
Stan Girard
8abd979ca2
ci(docker): fixed
2023-07-18 16:54:31 +02:00
Stan Girard
4d3dbc565e
feat(ci): fixed
2023-07-18 16:52:55 +02:00
Stan Girard
78fbe378e8
feat(prompt): added continue
2023-07-18 16:48:43 +02:00
Matt
2f5088547a
test: fix ci
2023-07-18 15:34:08 +01:00
Stan Girard
d16b419035
feat(prompt): added continue
2023-07-18 16:04:56 +02:00
Mamadou DICKO
81b57c504a
Shareable brain 9 ( #677 )
...
* feat: add 20230717173000_add_get_user_id_by_user_email
* feat(ShareableBrain): add update access endpoint
* feat(sdk): add updateBrainAccess
* feat: add brain access control
* feat: improve ux
2023-07-18 14:30:19 +02:00
Zineb El Bachiri
0b091bd8c9
Feat/shareable brains open link authenticated ( #676 )
...
* ♻️ use Single Responsibility Principle on brains_subscription
* ✨ new brain subscription endpoints for invited user
* 📝 add documentation to endpoints
* 🎨 add base_frontend_url to send custom url for brain share
* ✏️ brains instead of brain in url
* ✨ use origin in header for frontend url in subscription email
* 🚚 move and remove unused code
* ✨ new subscription API for BE endpoints in frontend
* ✨ new addBrain to add a shared brain in frontend
* 🥚 new hook for brain invitations
* ✨ new page for brain invitation
* ✨ change frontend url to copy for brain subscription
* ✏️ call RBAC with wrapper function
* ✏️ last typos
2023-07-18 09:47:59 +02:00
Stan Girard
f63136350b
feat(resend): added env variablers ( #673 )
...
* feat(resend): added env variablers
* fix(resend): made optional
2023-07-17 15:45:31 +02:00
Mamadou DICKO
430ab54479
Shareable brain 8 ( #674 )
...
* feat(ShareableBrain): add get brain users endpoints
* feat(sdk): add getBrainUsers
* feat(ShareableBrain): display users with access
* feat: rename role to rights
* fix(Brain): fecth brains on auth status change
2023-07-17 15:45:18 +02:00
Mamadou DICKO
4d00a1ec92
feat(shareBrain): use subscription delete endpoint for brain deletion ( #634 )
2023-07-17 14:38:34 +02:00
Matt
e61f437ce8
Feat/backend core ( #656 )
2023-07-17 07:57:27 +01:00
nicksan222
c4c15a497c
Fixed pandocs ( #662 )
2023-07-15 23:20:47 +02:00
Matt
9f2cd7b7b6
fix: bug if no brain ( #635 )
2023-07-14 20:02:26 +01:00
Matt
211740b400
fix: defined executable for windows/linux users ( #652 )
2023-07-14 18:24:09 +02:00
Mamadou DICKO
fc76f9d466
feat(shareBrain): add unsubscribe endpoint ( #633 )
2023-07-13 18:05:36 +02:00
Mamadou DICKO
f65044e152
fix(RBAC): use dependencies ( #629 )
2023-07-13 17:54:23 +02:00
Mamadou DICKO
83fe9430d0
feat(RBAC): remove decorators ( #627 )
2023-07-13 12:12:02 +02:00
Mamadou DICKO
029f7b75df
Fix: explore routes RBAC ( #613 )
...
* fix(explore_routes): update RBAC logic
* test(backend): update test_upload_explore_and_delete_file_pdf
2023-07-13 11:02:52 +02:00
Matt
cef45ea712
Fix: change vector id to UUID ( #609 )
...
* fix: document upload
* feat: explore fix to use uuid id
* chore: remove prints
* fix: tables.sql
2023-07-12 11:44:34 +01:00
Stan Girard
f9a04ffbe2
test(backend): added csv and pdf upload
2023-07-12 10:03:07 +02:00
Matt
8fbb4b2d91
fix: gpt4all ( #595 )
...
* fix: gpt4all
* fix: pyright
* Update backend/llm/openai.py
* fix: remove backend tag
* fix: typing
* feat: qa_base class
* fix: pyright
* fix: model_path not found
2023-07-11 20:15:56 +02:00
Zineb El Bachiri
f837a6e9b9
Feat/shareable brains send link be ( #599 )
...
* 🗃️ new table for invitations to subscribe to brain
* ✨ new BrainSubscription class
* ✨ new subscription router
* 👽 ️ add RESEND_API_KEY to .env in BE
* 📦 add 'resend' lib to requirements
* ♻️ fix some stanGPT
2023-07-11 18:20:31 +02:00
Matt
cf37666f02
feat: tests get default brain ( #593 )
...
* feat: tests get default brain
* feat: chains docs
* feat: brains docs
* fix: remove brain_id creation from fe
* fix: docs categories
2023-07-11 12:09:56 +02:00
Mamadou DICKO
72924b52bc
[Authorization] Check user role before operations ( #588 )
...
* feat(security): add RBAC on /explore/*
* feat(security): add RBAC on /brains/*
2023-07-11 10:00:06 +02:00
Maria Romanenko
1be71e9e79
docs(backend): add docstrings ( #590 )
2023-07-10 19:28:38 +02:00
Mamadou DICKO
9e9f531c99
Feat/static analysis ( #582 )
...
* feat: add static analysis
* chore: update Makefile add static analysis script
* chore: add vscode extensions recommandations
2023-07-10 14:27:49 +02:00
Stan Girard
fa386d7d5c
feat(prompt): improved
2023-07-07 16:58:49 +02:00
Matt
5735a8ec8c
feat: email edge function ( #545 )
2023-07-07 00:54:21 +02:00
Zineb El Bachiri
9e942ba959
✨ add cors security headers ( #533 )
2023-07-06 19:01:38 +02:00
Matt
f352005dcf
Fix: add missing properties ( #530 )
2023-07-06 09:52:47 +01:00
Zineb El Bachiri
0edc4f628c
🚑 use multithreading instead of multiprocessing for container in ECS ( #525 )
2023-07-05 18:15:18 +02:00
Zineb El Bachiri
01ea71aca8
🐛 send select request supabase in batches with multiprocessing ( #518 )
2023-07-05 14:37:01 +02:00
Matt
f4ba4d9d18
fix: jwt decode to return user object ( #513 )
2023-07-05 08:27:58 +01:00
Matt
e931d29017
feat: new classes ( #499 )
...
* feat: new classes
* chore: private llm refactor and enable streaming
* fix: validation errors in pytest
* fix: default brain behavior
* Update backend/llm/base.py
* chore: remove 🪦
* fix: remove 🪦
2023-07-04 16:56:54 +01:00
Stan Girard
dcaa70a947
feat(functions): improved by removing only get_context ( #459 )
2023-07-03 12:34:37 +02:00
Matt
b33fcc8bf7
feat: base class for llms ( #462 )
2023-07-03 11:16:36 +02:00
Stan Girard
ce18e033c1
ci(test): added test on endpoints ( #454 )
2023-07-02 15:37:23 +02:00
Stan Girard
b444761622
fix(sentry): added fix
2023-07-02 10:54:36 +02:00
Stan Girard
3918ad3015
fix(sentry): removed from variables
2023-07-02 10:26:16 +02:00
Stan Girard
e076bbe79f
Feat/testing backend ( #446 )
...
* feat(pytest): added
* feat(brains): added tests
* feat(actions): pytest
2023-07-02 02:19:30 +02:00
Stan Girard
bab76ba7e5
fix(apikey): fixed with bad casting ( #444 )
2023-07-01 23:30:14 +02:00