Commit Graph

106 Commits

Author SHA1 Message Date
Khor Shu Heng 045b6f09cb
feat: add metrics for number of editing users (#730) 2024-08-27 11:56:07 +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.fooo cbb9adc29d
chore: enable multiple threads (#753) 2024-08-27 11:15:54 +08:00
Khor Shu Heng c182ad7099
Merge pull request #750 from AppFlowy-IO/ws-client-min-version
add minimum client version validation in websocket connection establishment
2024-08-27 01:35:20 +08:00
Nathan.fooo 8cc410ce65
chore: revamp get collab api request (#752)
* chore: stop retry if record is not found
2024-08-26 23:41:06 +08:00
Bartosz Sypytkowski 8d1d563076 chore: fix formatting 2024-08-26 14:20:39 +02:00
Bartosz Sypytkowski 11bbb70d54 chore: add minimum client version validation in websocket connection establishment 2024-08-26 14:14:04 +02:00
Nathan.fooo 364d31f825
chore: drop group with maximum timeout (#747) 2024-08-26 17:01:42 +08:00
nathan c77d0f9c2c chore: spawn indexer 2024-08-26 09:47:46 +08:00
Nathan.fooo d111282f7e
fix: panic when apply invalid update (#745) 2024-08-24 14:55:49 +08:00
Nathan.fooo 1122031735
chore: update group active (#743)
* chore: opti logs

* chore: update group active logic

* chore: fmt
2024-08-24 09:43:12 +08:00
nathan b4d79b954b chore: update logs 2024-08-23 10:30:52 +08:00
nathan 12a1539f32 chore: initialize before lock collab 2024-08-22 23:26:20 +08:00
Nathan.fooo 1a053172c2
chore: write collab to disk after first sync step2 (#739)
* chore: write collab to disk after first sync step2

* chore: clippy

* chore: fix test & disable history plugin

* chore: upgrade appflowy collab that disbale document undo redo
2024-08-22 23:11:20 +08:00
Bartosz Sypytkowski ae3833ea91
chore: Remove last sync at (#735)
* chore: remove last sync at field

* chore: post rebase fixes

* chore: update test for missing update detection
2024-08-22 07:47:01 +08:00
nathan 2d7a4bde92 Merge branch 'main' into no-lock-collab 2024-08-19 10:38:07 +08:00
nathan 809d0df607 chore: only log on debug 2024-08-16 20:48:43 +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 8b2f698068 chore: fixed api changes in appflowy history service 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 73127fb886
chore: shorten group lifetime (#726) 2024-08-13 16:20:06 +08:00
Bartosz Sypytkowski 44406ccdae
chore: update yrs and appflowy-collab (#677)
* chore: update yrs and appflowy-collab

* chore: remove wasm compilation target

* chore: fixed number conversion in tests

* chore: remove wasm integration tests

---------

Co-authored-by: nathan <nathan@appflowy.io>
2024-07-10 10:10:07 +08:00
Bartosz Sypytkowski 6c0f4985c3
Merge pull request #645 from AppFlowy-IO/merge-indexer-collaborate
Merge indexer collaborate
2024-06-28 07:48:32 +02:00
Khor Shu Heng 7dfb52f80b
feat: add telemetry to appflowy collaborate service (#662) 2024-06-28 13:44:59 +08:00
Bartosz Sypytkowski b6f301b3ad chore: sqlx prepare workspace json 2024-06-28 05:40:44 +02:00
Bartosz Sypytkowski cce52a5185 chore: do not throw errors on invalid document schema during indexing 2024-06-28 05:40:44 +02:00
Bartosz Sypytkowski 5d3574d643 chore: save collab embeddings on collab create 2024-06-28 05:40:44 +02:00
Bartosz Sypytkowski 8bf6aff923 chore: post rebase fixes 2024-06-28 05:40:44 +02:00
Bartosz Sypytkowski 42b3cca886 chore: remove appflowy indexer service 2024-06-28 05:40:44 +02:00
Bartosz Sypytkowski f13b9ee787 chore: add indexing of collabs at application start 2024-06-28 05:40:44 +02:00
Bartosz Sypytkowski 95912e266c fix: add types removed after rebase 2024-06-28 05:40:44 +02:00
Bartosz Sypytkowski a706c312b3 chore: making embeddings code compile 2024-06-28 05:40:41 +02:00
Bartosz Sypytkowski b79fe41af3 chore: moving embeddings into collabparams 2024-06-28 05:39:56 +02:00
Bartosz Sypytkowski b1ebbecc5f chore: moving appflowy indexer into appflowy cloud 2024-06-28 05:39:53 +02:00
Nathan.fooo a6539dd963
chore: shorten default write interval (#661) 2024-06-28 10:06:09 +08:00
Nathan.fooo 50ed9f4a6a
chore: update create collab list api endpoint (#657)
* chore: update create collab list api endpoint

* chore: clippy

* chore: fix compile
2024-06-27 15:41:10 +08:00
Nathan.fooo 1a22813113
chore: stop indexing when stream is not exist (#652) 2024-06-26 14:24:23 +08:00
Bartosz Sypytkowski 9b308bceaa chore: appflowy indexer - do not break the document handler on missing data 2024-06-26 07:18:28 +02:00
Bartosz Sypytkowski 7d03e9cf85
Merge pull request #650 from AppFlowy-IO/fix-indexing-order
fix: do not throw errors if indexer found document before workspace was created
2024-06-25 09:23:33 +02:00
Bartosz Sypytkowski b7ce1617cd chore: fix appflowy indexer tests 2024-06-25 08:47:40 +02:00
Bartosz Sypytkowski 6592f00a20 chore: change query to use workspace directly 2024-06-25 08:07:32 +02:00
Bartosz Sypytkowski 2ff2a77465 fix: do not throw errors if indexer found document before workspace was created 2024-06-25 07:30:48 +02:00
Khor Shu Heng c25d78f691
Merge pull request #649 from AppFlowy-IO/collab-service-dockerfile
feat: dockerfile for collab service
2024-06-25 13:30:37 +08:00
Khor Shu Heng bdae165849
feat: add post realtime message stream handler to independent collab ws (#647) 2024-06-25 13:30:05 +08:00
khorshuheng 8e0f28fe1d feat: dockerfile for collab service 2024-06-25 10:02:55 +08:00
Khor Shu Heng 6e3f666ce4
feat: independent collab websocket server (#640) 2024-06-24 13:59:51 +08:00
Khor Shu Heng c7d474c9cf
chore: allow collab persistence and edit state behaviour to be configurable (#637) 2024-06-23 23:19:54 +08:00