396 Commits

Author SHA1 Message Date
appflowy
7e7254b306 1. fix the potential infinite loop when composing delta. Because of calculating the wrong code unit offset.
2. add test of calculating Chinese character
2022-01-09 11:23:37 +08:00
appflowy
c456687a18 1. rename flowy_str functions
2. mv the document_test to flowy_document crate
2022-01-09 11:23:31 +08:00
appflowy
1e0cef41a9 init server with dispatcher's runtime 2022-01-09 11:17:48 +08:00
appflowy
287698be9e enable local ws 2022-01-09 11:17:38 +08:00
appflowy
9ca2d60f3f correct the document delta by removing unnecessary op 2022-01-06 12:55:30 +08:00
appflowy
4fd9388b79 fix clippy warnings 2022-01-05 23:28:52 +08:00
appflowy
a488944d2c Saving the revision in serial 2022-01-05 23:15:55 +08:00
appflowy
85ad90fc51 Try to fix quill-editor load document error. Because Document can only contain insert operations 2022-01-05 22:39:07 +08:00
appflowy
1846f86dd7 fix fmt warnings 2022-01-04 22:54:13 +08:00
appflowy
96f6a1d37c remove unuse code 2022-01-04 22:44:52 +08:00
appflowy
3fd3389f62 add aliases for protobuf struct 2022-01-04 22:44:52 +08:00
appflowy
661940f728 fix test bugs 2022-01-03 19:50:08 +08:00
appflowy
951584c2ab [backend]: fix reset document bugs 2022-01-03 19:50:08 +08:00
appflowy
1a869c0003 config ping test 2022-01-03 19:50:08 +08:00
appflowy
12e8424e8a send document ping 2022-01-03 19:50:08 +08:00
appflowy
df5266d7c9 fix https://github.com/AppFlowy-IO/appflowy/issues/196 2022-01-03 19:50:08 +08:00
appflowy
a654623c12 mv sync seq to revision manager 2022-01-03 19:50:08 +08:00
appflowy
09ef0927f7 save create default workspace data 2022-01-03 19:50:08 +08:00
appflowy
45821f00a2 rename some structs 2022-01-03 19:50:08 +08:00
appflowy
282ed9067a remove some passthrough funcs 2022-01-03 19:50:08 +08:00
appflowy
f17f0dd6cf fix compile errors 2022-01-03 19:50:08 +08:00
appflowy
152cb17701 fix bugs 2022-01-03 19:50:08 +08:00
appflowy
049b8828fe generic kv 2022-01-03 19:50:08 +08:00
appflowy
a0e6c61f50 config virtual net 2022-01-03 19:50:08 +08:00
appflowy
bbc9190bc0 add virtual net 2022-01-03 19:50:08 +08:00
appflowy
0c7c3621d7 separate DocumentWSData into DocumentWSClientData and DocumentWSServerData 2022-01-03 19:50:07 +08:00
appflowy
2b9ce79ed4 refactor flowy-collaboration directories 2022-01-03 19:50:07 +08:00
appflowy
95e0418d97 compare revisions 2022-01-03 19:50:07 +08:00
appflowy
e069bfb057 test with batch set and batch get revision 2022-01-03 19:49:25 +08:00
appflowy
463cab6eee fix warnings 2022-01-03 19:49:25 +08:00
appflowy
64ea2d4f31 [backend]: refactor document persistence 2022-01-03 19:49:25 +08:00
appflowy
777082c879 mv revision to flowy-collaborate 2022-01-03 19:49:25 +08:00
appflowy
cb4398eab0 config document kv store 2022-01-03 19:49:25 +08:00
appflowy
b25db57fca fix warnings. 2021-12-21 14:00:42 +08:00
appflowy
adce96f15b fix generate pb bugs 2021-12-21 14:00:42 +08:00
appflowy
d9421f70a0 refactor backend directory 2021-12-21 14:00:41 +08:00
appflowy
b66f46108d disable sync test 2021-12-20 20:59:33 +08:00
appflowy
d3a00b14b0 enable local web socket 2021-12-20 15:37:37 +08:00
appflowy
ef491f4276 mv lib-sqlite to rust-lib 2021-12-20 14:26:26 +08:00
appflowy
16c702b1e1 fix listen on websocket error 2021-12-20 12:06:17 +08:00
appflowy
936e133624 rename crates 2021-12-19 21:29:33 +08:00
appflowy
77be3e9c71 send connect message when open the document 2021-12-19 21:17:45 +08:00
appflowy
987a246c80 send user connect message 2021-12-18 18:35:45 +08:00
appflowy
1744938a51 fix bugs 2021-12-18 00:23:26 +08:00
appflowy
405c618d27 rename some struct 2021-12-16 22:24:05 +08:00
appflowy
4a46bf3fa3 refcator web socket message sent logic 2021-12-16 21:31:36 +08:00
appflowy
511b6658a4 md5 for consistency check 2021-12-15 23:01:50 +08:00
appflowy
ef6e777ec0 fix warnings 2021-12-15 16:28:18 +08:00
appflowy
84d5d2c2f1 start ws connect after sign up 2021-12-14 20:50:07 +08:00
appflowy
013d8f753a refactor errors 2021-12-14 18:20:07 +08:00