Commit Graph

3711 Commits

Author SHA1 Message Date
appflowy
d46e5aa0b9 [flutter]: merge welcome to user && refactor abstract class with class with freezed objects 2021-10-09 10:09:31 +08:00
appflowy
f62afcb436 [flutter]: delete readme and changelog 2021-10-09 09:56:18 +08:00
appflowy
2193879b5f [flutter]: add flutter_quill for test 2021-10-09 07:14:21 +08:00
appflowy
c4e9fd0697 [flutter]: fix compile errors after update flutter sdk 2021-10-08 18:14:19 +08:00
appflowy
c4a6342c96 [flutter]: close stream before docpage dispose 2021-10-08 16:58:58 +08:00
appflowy
7730539278 fix: channel buffer is full without pull the receiver 2021-10-08 15:08:56 +08:00
appflowy
3cbce2c505 handle revision acked && fix bugs 2021-10-08 13:46:28 +08:00
appflowy
97ac22ec02 send revsion in sequence 2021-10-07 22:53:23 +08:00
appflowy
f84fb6f87f [server]: fix pull rev id range bug 2021-10-06 23:21:57 +08:00
appflowy
04f8fc38a8 save revision to disk if not exisgt 2021-10-06 15:23:38 +08:00
appflowy
1c8d2c5ac0 save document revision if local not exist 2021-10-05 23:18:19 +08:00
appflowy
ef4ee320f7 add ingore_auth feature on backend 2021-10-05 19:32:58 +08:00
appflowy
155a526d04 retry when ws connection lost 2021-10-05 17:54:11 +08:00
appflowy
32d9331b35 fix tokio runtime issue 2021-10-05 14:37:45 +08:00
appflowy
54208d027a rename flowy-observable to flowy-dart-notify 2021-10-05 11:52:50 +08:00
appflowy
ad5bc23296 rename files 2021-10-05 11:46:56 +08:00
appflowy
d0111e30dc describe the delta interaction between client and server 2021-10-05 10:19:43 +08:00
appflowy
c872226b44 send revisions to server if server rev is outdated 2021-10-04 21:53:06 +08:00
appflowy
ab2a997a77 fix warnings 2021-10-04 17:47:21 +08:00
appflowy
7b00581c66 add test for delta sync between client and server 2021-10-04 17:38:56 +08:00
appflowy
c748d17daf sync with server when ws becomes avaliable 2021-10-04 14:24:35 +08:00
appflowy
15d628c750 push rev if client doc is outdated 2021-10-03 21:29:56 +08:00
appflowy
d70072ae9f retry ws connection using WsConnectAction 2021-10-03 15:59:07 +08:00
appflowy
d7300dd7e2 retry if ws send new_doc_user message failed 2021-10-03 14:05:15 +08:00
appflowy
c0e126c550 notify server when open the doc with local rev_id 2021-10-03 11:33:19 +08:00
appflowy
c9cfe9dfeb rename i64 as RevId 2021-10-02 21:35:06 +08:00
appflowy
af6afafd0f build doc from local revision or fetch from remote 2021-10-02 17:19:54 +08:00
appflowy
4e3ebf8876 fix local spawn issue 2021-10-01 21:13:58 +08:00
appflowy
957b10fe5e add document actor && remove rwlock of document 2021-10-01 19:39:08 +08:00
appflowy
efb2a607e7 edit document via actor stream 2021-09-30 17:24:08 +08:00
appflowy
1fdef0914b using CacheActor method to handle the ws message one by one 2021-09-29 17:40:34 +08:00
appflowy
83acc79cd1 refactor test to tokio::test to enable & enable test doc with server 2021-09-28 15:30:21 +08:00
appflowy
01c9620e03 add server with flowy_document test 2021-09-27 23:23:23 +08:00
appflowy
11bc536df8 save rev to db and update rev state to acked if server ack client rev 2021-09-27 14:49:05 +08:00
appflowy
bd4caa2e99 save doc delta & cache the connect user information 2021-09-26 20:04:47 +08:00
appflowy
77313ab431 remove notify from edit context 2021-09-26 16:39:57 +08:00
appflowy
9175efa4c6 compose delta from remote and sync with client 2021-09-25 21:47:02 +08:00
appflowy
a26f588409 send acked to client using ws 2021-09-24 16:02:17 +08:00
appflowy
c41b35af4e fix artix deadlock while acquire the write lock of document recusively 2021-09-24 13:26:47 +08:00
appflowy
c23bf46916 compare md5 of document after applying remote delta 2021-09-24 08:22:24 +08:00
appflowy
0092f1a356 WsDocumentMessage supports command/delta 2021-09-23 19:59:58 +08:00
appflowy
3e3e10b316 receive revision from client 2021-09-23 17:50:28 +08:00
appflowy
d4b020b64f rename backend dir 2021-09-23 16:10:24 +08:00
appflowy
1d9d776e3a send revsion to server 2021-09-23 15:49:10 +08:00
appflowy
302631f808 create op table 2021-09-23 13:15:35 +08:00
appflowy
2b9bc7a0cd move flowy-ot document to flowy-document 2021-09-22 23:21:44 +08:00
appflowy
47f3a187c4 fix deserialize error with invalid map type 2021-09-22 15:02:55 +08:00
appflowy
79560dd161 refactor ot 2021-09-22 14:42:14 +08:00
appflowy
45e74e48a2 send delta to server 2021-09-21 16:21:35 +08:00
appflowy
526f1408bc save the delta continuely when typing 2021-09-21 15:07:07 +08:00