Commit graph

47 commits

Author SHA1 Message Date
Khor Shu Heng
0f7a1f41d0
feat: support disabling comments and disallow duplicate as template for published page (#1167) 2025-01-17 09:43:56 +08:00
Khor Shu Heng
832bd7f9c9
fix: children of trash views and other user's private space should not appear in search (#1146) 2025-01-10 16:30:35 +08:00
Nathan.fooo
2bd6da228d
chore: chat stream timeout (#1137)
* chore: increase timeout

* chore: keepalive event
2025-01-08 01:11:25 +08:00
Nathan.fooo
9f16d040b5
chore: fix flaky test (#1135) 2025-01-07 15:12:37 +08:00
Nathan.fooo
5195dae3a5
feat: Chat file metadata (#1133)
* chore: chat question metadata

* chore: update

* chore: update env

* chore: update env
2025-01-07 12:46:55 +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
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
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
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
Nathan.fooo
afcd1130c3
feat: chat settings (#1044)
* feat: chat settings

* chore: fix sqlx
2024-12-05 23:30:11 +08:00
Khor Shu Heng
afeaeb7796
chore: simplify collab level access control (#1008) 2024-11-20 12:29:16 +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
Nathan.fooo
a3a581ea4e
chore: fix import test (#941)
* chore: fix import test

* chore: enable test

* chore: fix build

* chore: update test
2024-10-31 15:18:30 +08:00
Nathan.fooo
1cbb5052f1
chore: revert local host test setting (#942) 2024-10-28 17:21:34 +08:00
Nathan.fooo
9629d4cefa
chore: add limit for importing zip file (#938)
* chore: add limitation for import zip file

* chore: support upload big file

* chore: implement client api

* chore: implement client api

* chore: implement client api

* chore: update logs

* chore: check file size

* chore: last process at

* chore: set content type

* chore: fix test

* chore: try test

* chore: temporary disable test
2024-10-28 08:51:34 +08:00
Zack
42bf807a8e
fix: wait for a second after duplication to workspace (#930)
* fix: wait for a second after duplication to workspace

* chore: rust lint
2024-10-25 13:22:33 +08:00
Nathan.fooo
1616ceaf4f
chore: use workspace deps (#880) 2024-10-14 16:02:22 +08:00
Nathan.fooo
95e8b30f11
chore: bump collab that use yrs 0.21.2 (#872)
* chore: bump collab that use yrs 0.21.2

* chore: fmt
2024-10-14 00:58:32 +08:00
Nathan.fooo
9c0dffacef
feat: implement import notion zip file api endpoint (#840)
* chore: implement api endpoint

* chore: worker

* chore: async zip

* chore: test bulk insert

* chore: insert collab

* chore: custom task

* chore: consume un acked message

* chore: fix compile

* chore: add test

* test: update

* chore: save import record

* chore: save import record

* chore: fix ci

* chore: remove unused deps

* chore: update docker file

* chore: build worker images

* chore: use small int

* chore: use small int

* chore: rm protoc deps in runtime

* chore: move collab cache to database crate

* chore: update test

* chore: rm health api endpoint

* chore: clippy

* chore: update ci

* chore: add test

* chore: upgrade collab

* chore: clippy

* chore: update test

* chore: use custom host

* chore: config nginx

* chore: install cert
2024-10-03 22:22:29 +08:00
Zack Fu Zi Xiang
a08b325e24
fix: linting 2024-09-17 23:26:10 +08:00
Zack Fu Zi Xiang
62980a780e
fix: view id 2024-09-17 14:58:36 +08:00
Zack Fu Zi Xiang
306faad11e
feat: use database row body 2024-09-12 01:13:07 +08:00
Zack Fu Zi Xiang
cff144a857
chore: add test for duplicating doc in database row 2024-09-11 16:38:24 +08:00
Zack Fu Zi Xiang
5564fab4c5
chore: fix compile 2024-09-10 14:45:21 +08:00
Zack Fu Zi Xiang
0dbd8fd633
chore: merge with main 2024-09-09 19:27:45 +08:00
Nathan.fooo
3f59c650f4
chore: bump appflowy collab (#805)
* chore: bump appflowy collab

* chore: fix test

* chore: bump collab
2024-09-09 18:50:47 +08:00
Zack Fu Zi Xiang
321286bed2
chore: use into 2024-09-09 16:07:28 +08:00
Zack Fu Zi Xiang
d1635cb99c
chore: add test 2024-09-06 15:30:28 +08:00
Zack
826546c5cb
feat: duplicate published doc (#700)
* chore: test collab sync

* feat: folder view for user workspace

* feat: add private indicator

* chore: use collab cache instead

* chore: initial impl

* chore: cargo sqlx

* fix: write back to collab cache

* fix: assign page id

* fix: text map

* chore: connect api and refactor

* chore: switch to using mem storage

* fix: collab type

* feat: use group manager to manage sync

* feat: try add send command instead

* chore: add client api code

* feat: try use sink and stream from group collab

* chore: disable sync first

* fix: insert page before stopping group

* feat: add extra for view

* feat: add metadata to doc

* fix: icon

* fix: page circular dep

* fix: page circular dep

* fix: live update

* feat: database initial impl

* feat: workspace database

* chore: link database

* fix: database validation

* fix: workspace database oid

* fix: workspace database oid

* fix: specify view layout

* feat: add txn when inserting collab and rework database views

* fix: parent view id for new database

* fix: database view for folder

* fix: database ids

* fix: database row id

* fix: main database layout and write database before folder

* fix: metadata for non database main view

* chore: database in doc wip

* chore: filter visible views

* chore: use structure value instead of json

* chore: database in doc wip

* fix: remove child item push

* fix: main database view meta

* chore: rework inline database in doc

* fix: make duplicate more error forgiving

* chore: use get instead of get key value

* chore: merge with main

* feat: set max depth for folder view

* chore: update dependency counter

* chore: remove unneeded arg

* chore: simplify collab new from source

* chore: remove unneeded param

* chore: rename and doc

* feat: rework inline database and use duplicated ref

* chore: simplify params

* chore: fmt

* feat: deduplicate database wip

* fix: compatible with newer appflowy version

* fix: database views

* feat: database in doc

* chore: cargo clippy

* chore: update dockerfile rust toolchain

* fix: doc inline db parent id

* fix: database id

* fix: document data modification

* chore: minor refactor and todo

* chore: remove unneeded nesting

* fix: enforce ordering for views to add

* chore: add doc and test case for folder view

* fix: remove the need for cloning published collab

* fix: some review

* chore: move folder conversion logic

* fix: remove collab folder deps on shared entity

* chore: cargo fmt

* fix: compile

* chore: remove group manager dependency

* fix: dep count

* fix: add messages sent by server

* fix: dep count

* chore: add test for doc ref and inline doc database

* chore: cargo clippy

* chore: add more test scenarios

* chore: fix tests

* chore: get database id

* chore: update collab

* chore: add more assert and database row id checks

* fix: suggestions from review

* chore: sqlx

* fix: accumulate collab before insert

* chore: add tokio spawn blocking for encoding

* fix: reduce limit for publish collabs

---------

Co-authored-by: Bartosz Sypytkowski <b.sypytkowski@gmail.com>
Co-authored-by: nathan <nathan@appflowy.io>
2024-09-03 09:12:29 +08:00
Bartosz Sypytkowski
2af1999375
chore: added locks with timeouts (#765)
* chore: added locks with timeouts

* chore: roll back collab locks in client api
2024-08-29 16:13:27 +08:00
Bartosz Sypytkowski
5badffc97b
chore: update yrs and appflowy collab (#759)
* chore: update yrs and appflowy collab

* chore: increased allowed number of dependencies
2024-08-27 19:58:58 +08:00
Bartosz Sypytkowski
15b2e81579
chore: enable setting up periodic sync step 1 sends from sync plugin (#738)
* chore: enable setting up periodic sync step 1 sends from sync plugin

* chore: rollback to server sending sync step 1 to response to the client

* chore: increase sync step 1 interval in tests
2024-08-27 11:55:27 +08:00
nathan
2d7a4bde92 Merge branch 'main' into no-lock-collab 2024-08-19 10:38:07 +08:00
Nathan.fooo
d342039cfd
chore: create user awareness when creating a new user (#728)
* chore: create user awareness when creating a new user

* chore: fix client api compile
2024-08-16 16:05:15 +08:00
Bartosz Sypytkowski
d503905931 chore: make sync plugin work over any collab type without generics 2024-08-14 14:42:12 +02:00
Bartosz Sypytkowski
f2fa4d7c22 chore: post rebase fixes 2024-08-14 05:26:38 +02:00
Bartosz Sypytkowski
320d62f46c chore: change awareness emit to trigger on update instead of on change 2024-08-13 19:59:48 +02:00
Bartosz Sypytkowski
ef860c2d5a chore: fix cargo fmt and clippy errors 2024-08-13 19:59:48 +02:00
Bartosz Sypytkowski
c27866fb25 chore: upgrade code to use asynchronous locks 2024-08-13 19:59:46 +02:00
Nathan.fooo
71d292ebcd
chore: add app version when querying ai configuratino (#724)
* chore: update api endpoint that accepts app version

* chore: update env

* chore: disable locai ai config test
2024-08-13 11:14:32 +08:00
Zack Fu Zi Xiang
11c1521b71
feat: improve workspace api 2024-07-25 04:19:40 +08:00
Zack Fu Zi Xiang
d47edf2774
chore: add mutex for test concurrent admin sign in 2024-07-16 10:09:31 +08:00
Nathan.fooo
6bb2a20888
fix: nginx ai test (#603)
* chore: add config for ai/chat

* chore: update config
2024-06-04 20:11:19 +08:00
Mathias Mogensen
06272364b7
feat: get workspace member by user id (#588)
* feat: get workspace member by user id

* chore: remove unneccessary arg
2024-05-30 07:50:58 +08:00
Nathan.fooo
80d46a2e3c
chore: Clean redis update script (#581)
* chore: rename folder

* chore: add script to remove redis stream

* chore: add script to remove redis stream

* chore: fix ci
2024-05-27 16:48:13 +08:00
Nathan.fooo
4eb1e6bceb
chore: generate history using redis steam (#570)
* chore: combine test

* chore: add snapshot test

* chore: add test
2024-05-23 07:57:20 +08:00
Nathan.fooo
d994b10115
chore: appflowy ai client (#547)
* chore: appflowy ai client

* chore: clippy

* chore: clippy

* chore: fix ci

* chore: disable index search
2024-05-12 09:23:32 +08:00