Commit graph

1785 commits

Author SHA1 Message Date
Nathan.fooo
c80491267b
chore: update metrics and num threads (#1102) 2024-12-26 11:55:54 +08:00
Khor Shu Heng
b8e9aa0291
Merge pull request #1101 from AppFlowy-IO/sort-quick-notes-by-update-time
fix: sort quick notes by update time
2024-12-26 11:42:42 +08:00
khorshuheng
52f9ee071e fix: sort quick notes by update time 2024-12-26 11:05:57 +08:00
Nathan.fooo
1131818eb7
fix: support index document in the background, fix stack overflow when calling rayon::spawn (#1099)
* chore: batch index

* chore: format log

* chore: index workspace

* chore: fix stack overflow

* chore: background index

* chore: clippy

* chore: filter tasks

* chore: clippy

* chore: add metrics

* chore: fix test
2024-12-24 14:30:17 +08:00
Nathan.fooo
381b02a4d0
chore: disable batch index (#1098) 2024-12-23 00:04:25 +08:00
Zack
5ea714b004
Merge pull request #1092 from AppFlowy-IO/feat/update-collab
chore: update collab
2024-12-20 20:54:10 +08:00
Zack Fu Zi Xiang
cafff8098b
chore: update dockerfile rust version 2024-12-20 17:10:42 +08:00
Nathan.fooo
46f9c7811f
chore: return unindex collab one by one (#1095)
* chore: return unindex collab one by one

* chore: clippy
2024-12-20 15:14:47 +08:00
Khor Shu Heng
a68dde0252
Merge pull request #1089 from AppFlowy-IO/quick-notes-api
feat: quick note CRUD APIs
2024-12-20 12:09:26 +08:00
khorshuheng
414d721ee0 feat: quick note CRUD APIs 2024-12-20 11:11:51 +08:00
Zack Fu Zi Xiang
46f33ed3aa
chore: update client api dep count 2024-12-20 10:08:12 +08:00
Zack Fu Zi Xiang
1fc3817f3f
ci: linting update rust toolchain 2024-12-20 10:03:32 +08:00
Zack Fu Zi Xiang
0e7d3afa46
chore: update dockerfile 2024-12-20 09:48:45 +08:00
Zack Fu Zi Xiang
6f98894c6f
chore: version update to resolve sec issue 2024-12-20 09:37:25 +08:00
Zack Fu Zi Xiang
1f83e48362
Merge branch 'main' into feat/update-collab 2024-12-19 23:09:59 +08:00
Nathan.fooo
a4490b96c6
chore: fix flaky test (#1094) 2024-12-19 22:16:09 +08:00
Nathan.fooo
1614474c2d
chore: check collab type before index (#1093) 2024-12-19 22:03:10 +08:00
Zack Fu Zi Xiang
8f9158cc3b
chore: update collab 2024-12-19 16:57:05 +08:00
Nathan.fooo
ea131f0baa
chore: map ai error code (#1090) 2024-12-19 12:58:39 +08:00
Richard Shiue
ecadf8e287
chore: find question message from reply message (#1085)
* chore: find question message from answer message id

* chore: sqlx

* test: fix tests

* test: fix test

* chore: apply code suggestions to 2 files
2024-12-19 00:12:53 +08:00
Nathan.fooo
e758f18d75
chore: add metadata column to save embeding info (#1086) 2024-12-18 22:48:25 +08:00
Khor Shu Heng
7ff9a923bb
fix: incorrect group subscription criteria for http real time user (#1087) 2024-12-18 22:48:10 +08:00
Khor Shu Heng
6fa6fa00cb
chore: refactor page view APIs to write to in-memory collab group (#1083) 2024-12-18 22:47:25 +08:00
Nathan.fooo
5f388c7432
chore: add metrics for write embeeding to pg (#1084) 2024-12-18 17:03:38 +08:00
Zack
c0f7b1d3a9
feat: upsert database row (#1067)
* feat: upsert database row

* feat: improve api to accept database row document payload

* feat: test case for upsert

* chore: refactor

* feat: database row doc content impl

* refactor: simplify insert row field names

* feat: folder updates for database row document

* refactor: simplify row detail return

* feat: add doc contents for database row detail

* feat: refactor database row creation

* feat: upsert database row doc modification

* feat: ignore empty string

* feat: add document similarity check

* chore: refactor to use broadcast with timeout

* feat: wrap broadcast timeout in a tokio spawn
2024-12-18 13:47:20 +08:00
Nathan.fooo
abf827f2a6
chore: query multiple collab embedding state (#1081)
* chore: query multiple collab embedding state

* chore: clippy
2024-12-17 23:23:43 +08:00
Zack
6991d61b71
Merge pull request #1080 from AppFlowy-IO/feat/appflowy-cloud-smtp-docker
chore: add missing configs to docker compose
2024-12-17 15:32:37 +08:00
Zack Fu Zi Xiang
44357379b3
chore: add missing configs to docker compose 2024-12-17 14:50:53 +08:00
Zack
8efffef088
Merge pull request #1079 from AppFlowy-IO/fix/delete-blob-metadata-assert
fix: remove assert when delete blob metadata
2024-12-17 14:23:41 +08:00
Zack
06dc3b3a00
feat: add option for tls mailer (#1078) 2024-12-17 13:53:32 +08:00
Khor Shu Heng
68881a92d5
feat: api for delete items from trash permanently (#1068) 2024-12-17 13:51:25 +08:00
Zack Fu Zi Xiang
98ec542393
fix: remove assert when delete blob metadata 2024-12-17 11:33:25 +08:00
Nathan.fooo
91c2a925bc
test: add test (#1077) 2024-12-16 16:19:41 +08:00
Nathan.fooo
ec9c38254b
chore: open ai call directly (#1074)
* chore: use open ai embedding

* chore: update test

* chore: retry

* chore: metrics

* chore: clippy

* chore: env

* chore: delete test
2024-12-15 23:29:46 +08:00
Nathan.fooo
2ab1e94b99
chore: create embed in background (#1071)
* refactor: create indexer scheduler

* refactor: replace current calls

* chore: use rayon thread pool

* chore: index unindexed collab using thread pool

* chore: index collab when write to disk

* chore: add test

* chore: add test

* chore: add test

* chore: fix client api deps

* chore: chat with document test

* chore: fix test

* chore: clippy

* chore: update test
2024-12-15 12:29:51 +08:00
Nathan.fooo
a549364fc9
chore: support insert space between delta (#1069) 2024-12-14 10:38:39 +08:00
Khor Shu Heng
a117130d8a
Merge pull request #1063 from AppFlowy-IO/remove-write-to-collab-member
chore: stop writing to af_collab_member
2024-12-13 11:21:03 +08:00
khorshuheng
c1c5bf7420 chore: stop writing to af_collab_member 2024-12-13 10:17:22 +08:00
Nathan.fooo
af38efe6d9
feat: sync document through http request (#1064)
* chore: query embedding

* chore: create embeddings

* chore: apply update to editing collab

* refactor: web-update

* chore: calculate missing update the sv is not none

* chore: add test

* chore: fix audit

* chore: commit sqlx

* chore: fix client api

* test: add

* chore: clippy

* chore: fix collab drop when save
2024-12-12 14:53:07 +08:00
Nathan.fooo
b4a0669361
chore: bump collab that fix import notion doucment in database row (#1065) 2024-12-11 22:48:44 +08:00
Bartosz Sypytkowski
cdf98d1a83
chore: add logging for reindexing docs after restart (#1056) 2024-12-11 17:17:29 +08:00
Khor Shu Heng
0a10aff86f
feat: api for moving page (#1060) 2024-12-11 17:16:59 +08:00
Zack
254bc23a6e
feat: insert database row into selected database (#1029)
* feat: insert database row into selected database

* feat: inserting database row

* feat: add impl for cell

* feat: insert row selection and mulitselection

* feat: support datetime field type

* fix: other fields like rich text

* feat: add database field server impl

* feat: add client api and tests

* feat: use to json value impl from collab

* feat: use add database cell impl from collab

* feat: update to latest collab

* chore: upgrade collab and fix tests

* chore: review issues

* fix: code review feedback

* feat: filter only allow supported field types

* feat: support more field types

* feat: support created at and last modified

* feat: add timestamp cell for created at and modified at fields

* chore: linting and formatting

* fix: add created at and last modified

* fix: ci add service dependency of appflowy cloud on admin frontend

* chore: trigger ci

* feat: add logging for admin frontend client signin

* fix: server logs if error

* fix: create admin confirmation without email

* fix: ci add service dependency of appflowy cloud on admin frontend

* fix: server logs if error

* chore: update collab
2024-12-11 15:47:29 +08:00
Khor Shu Heng
9141b9a2dc
Merge pull request #1062 from AppFlowy-IO/update-validator
chore: update validator crate
2024-12-11 13:48:17 +08:00
khorshuheng
719b95b94a chore: update validator crate 2024-12-11 12:33:46 +08:00
Zack
7cd7ea1f9e
feat: invite to workspace email wait (#1057)
* feat: invite to workspace email wait

* feat: add option to skip email

* fix: docker compose ci mailer settings
2024-12-11 09:43:27 +08:00
Bartosz Sypytkowski
22887430e8
Merge pull request #1061 from AppFlowy-IO/fix-insert-batch-collab-update-cache
fix: update redis cache when inserting collabs in batches
2024-12-10 11:51:47 +01:00
Bartosz Sypytkowski
c4514ca5bf chore: add explanation 2024-12-10 10:12:33 +01:00
Bartosz Sypytkowski
9971c23749 fix: update redis cache when inserting collabs in batches 2024-12-10 10:07:54 +01:00
Bartosz Sypytkowski
813179fdb0
chore: Remove async awaits from RealtimeServerActor (#1059)
* chore: reduce number of async await methods in connection manager

* chore: remove async handlers from rt actor
2024-12-10 15:20:28 +08:00