Commit Graph

452 Commits

Author SHA1 Message Date
mamadoudicko
cc58b34334 feat: set current brain asbrain management default selected brain 2023-07-26 12:20:27 +02:00
mamadoudicko
1c4332da1b feat: prevent viewer to access people tab 2023-07-26 12:09:56 +02:00
mamadoudicko
9e8db2a844 feat: update forn initialization logic 2023-07-26 11:47:21 +02:00
mamadoudicko
951926894a feat: refetch brains list on update 2023-07-26 11:10:06 +02:00
mamadoudicko
13da029f7f feat: remove save changes button 2023-07-26 11:04:55 +02:00
Mamadou DICKO
3529222b95
Brain management 4 (#762)
* feat: add <ApiKeyConfig/>

* feat(SDK): add update brain

* feat: add removeUndefined helper

* feat: remove unnecessary autofocus flag

* add brain settings tab

* ui: add tab delimitor

* feat: improve ux
2023-07-25 23:12:46 +02:00
Zineb El Bachiri
e05f25b025
Feat/update brain fields (#756)
* 🗃️ update and add fields in brains table

*  update endpoints for more brain attribute

*  new set as default brain endpoint

* 🔥 remove update brain with file

* ✏️ fix wrong  auto imports

* 🐛 fix max tokens for model in front

* 🚑 post instead of put to set default brain

* 🚑 update brain creation endpoint with new fields
2023-07-25 15:22:17 +02:00
Mamadou DICKO
046cc3fc1d
[Brain management] Add new fields to creation modal (#755)
* refactor(ModalConfig): move defineMaxTokensto helpers

* feat(AddBrain): add new properties

* feat(sdk): update createBrain

* feat(sdk): add setAsDefaultBrain
2023-07-25 12:08:08 +02:00
Mamadou DICKO
10b0cce992
feat: add brain management people page (#754) 2023-07-25 10:13:00 +02:00
Mamadou DICKO
37f904122c
feat: add brain management tabs (#753) 2023-07-25 09:54:34 +02:00
Mamadou DICKO
25f859a31e
fix: make max_brain_size overwritable (#751) 2023-07-24 14:17:33 +02:00
Mamadou DICKO
cf376fb59f
Brain management 1 (#752)
* feat: add brain management button

* feat: add brains list

* feat: add brain search bar

* feat: sort brain list by name

* refactor: update brains management page structure

* feat(BrainManagement): add new brain button

* feat: update import links
2023-07-24 14:17:21 +02:00
Braden Mars
914689957d
fix(backend): FastAPI docs broken due to missing schema for NullableUUID (#739)
Just updates `NullableUUID` to extend from `UUID`. This lets FastAPI infer the correct field schema and resolves the /docs and /redocs endpoint failing to render

Signed-off-by: Braden Mars <bradenmars@bradenmars.me>
2023-07-23 11:14:42 +02:00
Huxley Mc
97fd239980
fix: backend env path in install helper and docs (#737) 2023-07-23 09:29:44 +02:00
Hans David Viloria
117395d7fb
Fix broken link to contributors (#731) 2023-07-22 13:01:15 +02:00
Mamadou DICKO
8125d0858c
ui: close modal after brain creation (#720) 2023-07-20 18:21:36 +02:00
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
Zineb El Bachiri
cc1d98e9b5
📝 add migrations script to get_started doc (#698)
* 📝 add BACKEND_URL  to documentation

* 📝 add migrations script to get_started doc

* 📝 add BACKEND_URL  to documentation

* 📝 add Resend API to documentation

* 🔥 remove broken link in get_started doc
2023-07-19 15:58:00 +02:00
Zineb El Bachiri
bc33528297
add brain name to explore and upload page (#708) 2023-07-19 13:51:53 +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
Ashish Baravaliya
6a7bda392c
fix: brain ico click working (#701) 2023-07-19 11:20:43 +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
Stan Girard
da9c080dae
Merge pull request #694 from StanGirard:fix/aws-ci
test: fix ci
2023-07-18 16:47:57 +02:00
Matt
a57563bcaf Merge branch 'fix/aws-ci' of https://github.com/StanGirard/quivr into fix/aws-ci 2023-07-18 15:39:58 +01:00
Matt
65e8415079 remove: test ci 2023-07-18 15:39:54 +01:00
Matt
dcc8323c5d
Merge branch 'main' into fix/aws-ci 2023-07-18 15:36:35 +01:00
Matt
2f5088547a test: fix ci 2023-07-18 15:34:08 +01:00
Stan Girard
7bc9f614c5 fix(ci): workflow 2023-07-18 16:26:10 +02:00
Stan Girard
8545b9ca3b feat(ci): added new test docker 2023-07-18 16:25:16 +02:00
Stan Girard
d16b419035 feat(prompt): added continue 2023-07-18 16:04:56 +02:00
Stan Girard
ab9a9d0db4
fix(ci): aws deploymenet (#693) 2023-07-18 15:54:37 +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
Matt
260e20d401
feat: update paths and workingdir (#686) 2023-07-18 12:21:25 +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
Mamadou DICKO
f8fce33191
feat: add 20230717164900_add_get_user_email_by_user_id (#675) 2023-07-17 17:24:31 +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
beran
6a436d822c
fix for timeout during installing frontend pckgs (#621) 2023-07-15 23:22:17 +02:00
Ikko Eltociear Ashimine
e822f9ad11
Fix typo in useBrainProvider.ts (#574) 2023-07-15 23:21:24 +02:00