Commit Graph

761 Commits

Author SHA1 Message Date
Zineb El Bachiri
1cd9430ad0
Merge branch 'main' into chat-ux 2023-09-26 18:31:38 +02:00
Matthieu Jacq
da6d5b698d
feat(nav): 🚚 Move Brain and User buttons to the sidebar in the chat (#1262)
* 🚚 Move Brain and User buttons to the sidebar in the chat

* 🚨 fix linter warnings

* 🚚 Move sidebar actions to a dedicated component

*  Fix failing tests

* 💄 Style sidebar buttons

* 🚚 move nav components under ChatsListItem and User components accordingly

* Display email in the user button

* ♻️  use the UserData hook in the UserPage component

* Do not display the top navbar on the chat page

* ⚰️ remove the social icons at the bottom of the chat sidebar

* ️UserButton: get email from the Supabase context instead of a call api

* 🚨 Fix unit-tests

* 💄 Crop email in UserButton if necessary

* UserButton: display empty string if the email is undefined
2023-09-26 18:26:19 +02:00
mamadoudicko
0ffb8f036f feat(chatSettings): set last config as default 2023-09-26 15:18:36 +02:00
mamadoudicko
a89a9c0f6b fix(RBAC): skip validation for unplug 2023-09-26 15:09:32 +02:00
Stan Girard
479f6af8ec
chore(main): release 0.0.82 (#1265) 2023-09-26 14:32:00 +02:00
Mamadou DICKO
df03ee67be
fix(RBAC): skip validation for unplug (#1264) 2023-09-26 14:24:17 +02:00
Stan Girard
fa3412b74a
chore(main): release 0.0.81 (#1242) 2023-09-26 10:59:50 +02:00
Mamadou DICKO
a4a2d769b3
feat: allow setting public brain status to private (#1258)
* feat: refetch brains list on when new brain is added

* feat: update BrainConfig type

* feat: update useSettingsTab add usebrainFormState and useSettings tab

* feat: add <PrivateAccessConfirmationModal/> modal

* feat: update translations

* feat: handle brain status change to private

* feat: validate chat access

* test: fix failaing tests and remove deprecated
2023-09-26 10:35:52 +02:00
Riccardo Linares
4b88c89814
Update next.config.js (#1251)
Removing typo in next.confing.js
2023-09-26 09:36:53 +02:00
Matthieu Jacq
4acdb0ae55
feat(user): 🚚 Move language and theme buttons to the User page (#1256)
* feat(user): 🚚 Move language and theme buttons in the User page

* ⚰️  Remove obsolete test (DocumentData.test.ts)

* fix(user_settings): ⚰️  remove settings header
2023-09-26 09:29:30 +02:00
Mamadou DICKO
1643b54b7b
feat: allow user to unsubscribe from a brain (#1254)
* feat: update translations

* feat: add <DeleteOrUnsubscribeConfirmationModal />

* test(DeleteOrUnsubscribeConfirmationModal): update tests

* feat: redirect to /brains-management on invalid brain id

* refactor: move delete_brain_user to delete_brain_users

* feat: add /POST '/brains/{brain_id}/subscribe'

* feat: handle public brain unsubscription
2023-09-25 14:22:59 +02:00
Zineb El Bachiri
3043f3acd0
✏️ fix urls to avoid 307 (#1253) 2023-09-25 12:13:48 +02:00
Mamadou DICKO
b121d49927
feat: add last_update field to brain table (#1252) 2023-09-25 11:33:23 +02:00
Stan Girard
5e2d8a6b59 fix(preview): import 2023-09-22 18:15:39 +02:00
Stan Girard
c1ec7b8944
fix(preview): fixed a few bugs unchecked (#1247) 2023-09-22 18:04:45 +02:00
Zineb El Bachiri
d2b4ef4aff
feat: knowledge tab list (#1222)
*  get all knowledge utils

*  add remove knowledge and update router

*  new knowledge provider

* 🚨 remove eslint -disable

*  new useKnowledgeApi

*  set up KnowledgeItem

*  add KnowledgeTable component in knowledge tab

* 🔥 remove DocumentData replaced by KnowledgeItem

* 🐛 fix weird characters instead of '/'

* 💄 truncate knowledge name

*  add DownloadUploadedKnowledge component

* ⚰️ unused code

* 🏷️ introduce UploadedKnowledge and CrawledKnowledge types

* 💄 remove thread

* 💄 bin for delete knowledge

* 🌐 update wording for knowledge tab

* 🔇 remove logs and comments
2023-09-22 16:06:04 +02:00
Mamadou DICKO
48bdbbb3e9
feat(publicBrain): disable subscribe button when already subscribed and refetch brains list (#1246)
* feat(brainSettings): add getBrainPermissions

* feat(publicBrain): disable subscription button when already subscribed

* feat(publicBrains): refecth brains list onSubscribe
2023-09-22 12:37:50 +02:00
Mamadou DICKO
2c9a0c1ed2
feat: activate public brain subscription (#1241)
* feat: add public brain details modal

* feat(brain): add subscription route

* feat: activate subscription button

* feat: add last_update column to brain table

* feat: display last update on public brain details page

* feat: change RBAC rule for public brains

* feat: maintain brain last_update time
2023-09-22 11:44:09 +02:00
Stan Girard
6166b17123 test: 💍 cmd
added email functionnalities
2023-09-21 22:24:27 +02:00
Stan Girard
f1804dec5c fix: 🐛 blog
too many lines
2023-09-21 22:02:50 +02:00
Stan Girard
65de6839fc docs(blog): updated 2023-09-21 21:14:01 +02:00
Stan Girard
03ca82ba38
chore(main): release 0.0.80 (#1240) 2023-09-21 14:51:12 +02:00
Stan Girard
cdc097901e fix(cms): changed url 2023-09-21 14:31:07 +02:00
Stan Girard
f2937a7eee feat(cms): added images 2023-09-21 14:23:22 +02:00
Stan Girard
15dfa590d0 feat(cms): added s3 support 2023-09-21 14:03:15 +02:00
Stan Girard
d8c665e208 fix(cms): added pg 2023-09-21 11:52:19 +02:00
Stan Girard
7c17b36a53
chore(main): release 0.0.79 (#1225) 2023-09-21 11:37:10 +02:00
Stan Girard
6dac6b8561 fix(aws): fixed cpu 1 2023-09-21 11:26:58 +02:00
Stan Girard
65ace7e7ab fix(preview): pandoc making a bug 2023-09-21 11:03:06 +02:00
Stan Girard
753dfc1bf7 feat(cms): added github actions 2023-09-21 10:18:04 +02:00
Mamadou DICKO
0cf252e76a
feat: count public brains number of subscribers (#1236)
* feat: add brain library button

* feat(Field): add inputClassName key

* feat: add GET brains/public route

* feat: add brains library layout

* feat: add brain subscriber count
2023-09-21 09:40:09 +02:00
Mamadou DICKO
8172704b61
feat: add public brain page (#1230)
* feat: add brain library button

* feat(Field): add inputClassName key

* feat: add GET brains/public route

* feat: add brains library layout

* feat: add brain subscriber count
2023-09-21 09:35:53 +02:00
Stan Girard
f74a1c50c8
feat(strapi): added first draft (#1237) 2023-09-21 00:20:29 +02:00
Stan Girard
e6cbbbcd37
fix(brain_size): increased size (#1235) 2023-09-20 17:43:46 +02:00
Stan Girard
0d29c9e3c4
Feat/paperclip (#1234)
* feat(upload): changed icons

* feat(tokens): increased
2023-09-20 17:21:29 +02:00
Stan Girard
ef0f874af9
feat(upload): changed icons (#1233) 2023-09-20 17:07:37 +02:00
Stan Girard
5411a65d1d feat(tokens): increased to 500 min 2023-09-20 17:03:32 +02:00
Mamadou DICKO
1593c3342c
feat: display brain status on settings page (#1221)
* feat: update GET/brains return status

* feat: add public tag on brain list

* feat: add public tag for public brain on brain settings tab

* feat: hide over tab when brain access is public
2023-09-20 16:24:56 +02:00
Stan Girard
d8e188788f
fix(gpt-3.5-instruct): bug and new version of node (#1228) 2023-09-20 16:16:50 +02:00
Stan Girard
dbde136a21 chore(github): fixed 2023-09-20 15:32:34 +02:00
Stan Girard
b4cc90b890 chore(github): changed icon feature request 2023-09-20 15:28:47 +02:00
Stan Girard
9f636e0b00 chore(github): added feature request template 2023-09-20 15:28:22 +02:00
Stan Girard
e36d51ea8e chore(github): fixed order 2023-09-20 15:26:22 +02:00
Stan Girard
6cf11ed798 chore(github): fixed 2023-09-20 15:25:26 +02:00
Stan Girard
ded591021b chore(github): updatd 2023-09-20 15:23:07 +02:00
Stan Girard
d7ab51c249 chore(github): blank issues disabled 2023-09-20 15:15:08 +02:00
Stan Girard
8781a0b153 chore(github): templates 2023-09-20 15:12:57 +02:00
Stan Girard
c1e0e65d19 chore(github): added projects by default 2023-09-20 15:09:53 +02:00
Stan Girard
b4eb12c6ba chore(github): fixed issue 2023-09-20 15:05:20 +02:00
Stan Girard
d736f5ade2 chore(github): fixed name issue template 2023-09-20 15:04:35 +02:00