Commit Graph

43 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
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
af08c55ebf fix fmt warnings 2022-01-03 20:13:48 +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
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
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
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
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
72a8f7a9e3 mv websocket to flowy-net crate 2021-12-14 15:31:44 +08:00
appflowy
5b7e6690f8 test sync 2021-12-13 22:46:35 +08:00
appflowy
31086ad4df add mock server 2021-12-13 13:55:44 +08:00
appflowy
0231ad3adf add doc persistence trait 2021-12-12 16:02:58 +08:00
appflowy
90e3ba14f1 mv server's DocManager to flowy_collaboration crate 2021-12-12 12:41:16 +08:00
appflowy
d3bfca10e9 refactor backend editor 2021-12-11 17:48:39 +08:00
appflowy
d80061461b add flowy-collaboration crate 2021-12-11 13:47:16 +08:00