Commit Graph

798 Commits

Author SHA1 Message Date
Bartosz Sypytkowski d0f9059f3f Merge branch 'main' into stateless 2024-11-20 08:36:28 +01:00
Khor Shu Heng afeaeb7796
chore: simplify collab level access control (#1008) 2024-11-20 12:29:16 +08:00
Khor Shu Heng e6dbc95641
feat: api to update space (#1009) 2024-11-20 11:32:29 +08:00
khorshuheng 40835f00d1 fix: revert changes to casbin matcher 2024-11-19 21:11:18 +08:00
khorshuheng 00a6189cf3 fix: stop loading collab policies to improve access control evaluation 2024-11-19 12:58:21 +08:00
Khor Shu Heng 0818cf7565
feat: api for create space (#1006) 2024-11-19 12:54:10 +08:00
Khor Shu Heng 2647d41f3a
feat: allow create page API to accept a view name (#1005) 2024-11-19 11:46:23 +08:00
Bartosz Sypytkowski 3799966f12
chore: store pending collab writes in memory (#1000)
* chore: write immediatelly actually writes immediatelly

* chore: fix clippy errors

* chore: add metrics to new storage queue impl

* chore: set collab batch write capacity to the same as on main branch
2024-11-17 13:25:42 +08:00
Nathan.fooo 655f13bc27
chore: search and chat (#999)
* chore: add test for search and chat

* chore: update test

* chore: update test

* chore: update ci

* chore: fix security audio

* chore: multiple core docker build

* chore: multiple core docker build

* chore: update ci

* chore: update model setting

* chore: test ci

* chore: use tiktoken to calcualte token length

* chore: remove env

* chore: use spawn_blocking with condition

* chore: docs

* chore: clippy

* chore: clippy

* chore: docker logs

* chore: pass message id

* chore: clippy
2024-11-16 14:52:12 +08:00
Bartosz Sypytkowski 401cc3ad25 Merge branch 'main' into stateless 2024-11-16 07:22:34 +01:00
Khor Shu Heng d0c212ff10
refactor: remove enforcer group (#948) 2024-11-15 14:08:12 +08:00
Zack d8075a9368
Merge pull request #994 from AppFlowy-IO/fix/smtp-email-username
feat: separate smtp username from email
2024-11-14 22:00:43 +08:00
Zack Fu Zi Xiang 4b2eb1b1ba
feat: separate smtp username from email 2024-11-14 16:00:15 +08:00
Nathan.fooo 06a6ea2985
chore: retry upload file when get s3 service error (#993)
* chore: retry upload file when get s3 service error

* chore: ingore upload payload error
2024-11-14 14:39:36 +08:00
Bartosz Sypytkowski f6fef9918b
chore: split document content into multiple embeddings (#990)
* chore: split document content into multiple embeddings

* chore: fallback to uuid v4 generation due to unmaintained transient dependency

* chore: fix lint errors
2024-11-14 14:15:52 +08:00
Nathan.fooo e9c374bfe2
chore: remove wasm client api (#989)
* chore: revamp client api

* chore: fmt
2024-11-14 00:53:30 +08:00
Zack Fu Zi Xiang f3cfd87cb8
fix: patch publish name 2024-11-13 17:21:49 +08:00
Nathan.fooo 91b0c50722
chore: remove logs (#986) 2024-11-13 13:59:23 +08:00
Zack 85452ddfab
feat: add role for user when querying workspaces (#983) 2024-11-12 21:12:58 +08:00
Zack 288fd59d3b
Merge pull request #975 from AppFlowy-IO/feat/last-publish-name
feat: support last publish name
2024-11-12 08:42:00 +08:00
Nathan.fooo 14adf250a8
chore: update ai api endpoint & rename structs (#953)
* chore: revmap loader type

* chore: revamp context

* chore: fix test

* chore: remove unused handler

* chore: create new chat api endpoint

* chore: add docs

* chore: clippy

* chore: fix test
2024-11-11 20:10:46 +08:00
Zack Fu Zi Xiang ed4c14d53a
fix: also specify workspace id when deleting collab 2024-11-11 17:31:44 +08:00
Zack Fu Zi Xiang 8d8c3282ff
Merge branch 'main' into feat/last-publish-name 2024-11-11 17:15:41 +08:00
Zack 2028f4bffd
feat: use batch insert collab for workspace creation (#977)
* feat: use batch insert collab for workspace creation

* fix: separate user creation from initial workspace creation

* feat: separate workspace creation and collab initialization
2024-11-11 16:02:03 +08:00
Zack Fu Zi Xiang b62552f382
fix: fetch published collab sql 2024-11-11 00:24:30 +08:00
Zack Fu Zi Xiang e5623023aa
chore: cargo clippy 2024-11-10 04:46:51 +08:00
Zack Fu Zi Xiang c705d500ce
Merge branch 'main' into feat/last-publish-name 2024-11-10 04:42:21 +08:00
Zack 3e3e78b684
Merge pull request #842 from AppFlowy-IO/feat/list-database
feat: add database listings
2024-11-08 17:36:25 +08:00
Zack Fu Zi Xiang a07b453c0b
feat: support last publish name 2024-11-08 17:29:02 +08:00
khorshuheng f3604edf2e feat: api for restore all pages from trash 2024-11-08 13:52:23 +08:00
Bartosz Sypytkowski eb54947ab7 chore: add config option for redis stream group workers count 2024-11-08 04:39:44 +01:00
khorshuheng d04a0d8871 feat: api for restore page from trash 2024-11-08 10:58:32 +08:00
Bartosz Sypytkowski bc49d73b40 chore: split redis stream readers to active and one shot 2024-11-07 11:43:19 +01:00
Zack Fu Zi Xiang 867ee8eeff
chore: cargo fmt 2024-11-07 17:08:17 +08:00
Zack Fu Zi Xiang 30dff6c25b
chore: add missing imports 2024-11-07 16:33:27 +08:00
khorshuheng c8dab0fb2c Merge branch 'main' into stateless 2024-11-07 15:55:26 +08:00
Zack Fu Zi Xiang 2e2ec23430
chore: merge with main 2024-11-07 14:59:51 +08:00
Bartosz Sypytkowski 2d9a024554 chore: use redis stream router 2024-11-07 07:18:20 +01:00
khorshuheng eb67e9617c feat: api for updating page 2024-11-07 10:35:21 +08:00
khorshuheng 7f53343c4b Merge branch 'main' into stateless 2024-11-07 09:24:40 +08:00
Bartosz Sypytkowski 9c428f1d89 chore: add stream key info to stream length exceeded check 2024-11-06 07:49:25 +01:00
Bartosz Sypytkowski f328e96763 chore: reduce log visibility level 2024-11-06 07:31:32 +01:00
khorshuheng 3b37112fc5 feat: api for moving page to trash 2024-11-05 21:46:57 +08:00
Bartosz Sypytkowski 5388d419e6 chore: remove unused import 2024-11-05 07:48:14 +01:00
Bartosz Sypytkowski 183e915f5e chore: lease drop log message - use tracing crate 2024-11-05 07:48:14 +01:00
Bartosz Sypytkowski 25f0461389 chore: added metrics for new stateless operations 2024-11-05 07:48:14 +01:00
Bartosz Sypytkowski e86c9de316 chore: when saving collab snapshot, do not load it unless there are pending updates in redis 2024-11-05 07:48:14 +01:00
Bartosz Sypytkowski b6ba52672a chore: add exponential backoff to collab update stream 2024-11-05 07:48:14 +01:00
Bartosz Sypytkowski 961c482995 chore: prevent hot loops in collab updates stream 2024-11-05 07:48:14 +01:00
Bartosz Sypytkowski 2511bd720d chore: fix clippy errors 2024-11-05 07:48:14 +01:00