Commit Graph

28 Commits

Author SHA1 Message Date
appflowy
ffd55763b6 [rust]: replace log with tracing 2021-11-03 15:37:38 +08:00
appflowy
7730539278 fix: channel buffer is full without pull the receiver 2021-10-08 15:08:56 +08:00
appflowy
04f8fc38a8 save revision to disk if not exisgt 2021-10-06 15:23:38 +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
c748d17daf sync with server when ws becomes avaliable 2021-10-04 14:24:35 +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
c9cfe9dfeb rename i64 as RevId 2021-10-02 21:35:06 +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
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
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
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
1d9d776e3a send revsion to server 2021-09-23 15:49:10 +08:00
appflowy
79560dd161 refactor ot 2021-09-22 14:42:14 +08:00
appflowy
749b043a99 intergate ws into flowy document 2021-09-20 15:38:55 +08:00
appflowy
07b4113dc1 refactor test module 2021-09-19 23:21:10 +08:00
appflowy
260060ac5c add ws test 2021-09-19 18:39:56 +08:00
appflowy
0b2339aa19 retry if ws connect failed 2021-09-19 16:11:02 +08:00
appflowy
aa8536149f receive ws message continuedly by useing box::pin to fix the msg_tx not copyable 2021-09-19 12:54:28 +08:00
appflowy
2b32f2111f fix async future bug 2021-09-18 22:32:00 +08:00
appflowy
1fd460f3e5 ws connect to server 2021-09-17 19:03:46 +08:00
appflowy
7e9d7c0304 spawn ws 2021-09-17 14:26:02 +08:00
appflowy
34ed5a6be2 add flowy-ws crate 2021-09-16 18:31:25 +08:00