Commit Graph

55 Commits

Author SHA1 Message Date
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
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
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
appflowy
749b043a99 intergate ws into flowy document 2021-09-20 15:38:55 +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
appflowy
420d90c221 [server]: fix expired duration 2021-09-16 14:18:59 +08:00
appflowy
e2e47e8df0 errors with static constructor 2021-09-16 12:38:52 +08:00
appflowy
87d3f4fc0d compare delta between flutter and rust 2021-09-15 16:35:40 +08:00
appflowy
0edd442562 parser delta to rust 2021-09-15 15:01:24 +08:00
appflowy
335b5327de bridge flutter delta to rust delta 2021-09-14 16:22:44 +08:00
appflowy
c5d1a90009 holding opened file handler 2021-09-13 23:09:57 +08:00
appflowy
4d139b3f56 refactor attribute key 2021-09-13 15:51:13 +08:00
appflowy
9ade419b22 create view with doc, ignore thumbnail for now 2021-09-11 20:46:54 +08:00
appflowy
59d447e27b config doc test with view 2021-09-11 14:26:30 +08:00
appflowy
68df54e9f2 config doc create test 2021-09-10 18:21:35 +08:00
appflowy
464d5396e6 config doc server api 2021-09-10 15:53:24 +08:00
appflowy
2b4a9c2497 config doc reqeust 2021-09-09 19:16:39 +08:00
appflowy
a5a07944dc refactor flowy-document & config server api 2021-09-09 15:43:05 +08:00
appflowy
9a724d6881 refactor workspace sql with transaction 2021-09-07 21:31:04 +08:00
appflowy
f18cc717ea refactor extract observable payload 2021-09-07 17:12:03 +08:00
appflowy
f4ef9bc5f8 add FlowyEnv to provide default test env 2021-09-04 16:12:48 +08:00
appflowy
ccb51234c5 support run tests on remote 2021-09-04 15:12:53 +08:00
appflowy
a6346dffae add test script 2021-09-04 09:00:15 +08:00
appflowy
d27e2b9475 fix multithread test issue of database init 2021-09-03 16:43:03 +08:00
appflowy
33138382bd rename struct 2021-08-31 23:01:46 +08:00
appflowy
18d13a3cb2 add strum crate for event stringtify 2021-08-30 22:44:17 +08:00
appflowy
76e73ea17b [fluuter]: create & choose workspace after login 2021-08-30 16:18:58 +08:00
appflowy
6229b7f5b9 generic error builder 2021-08-21 13:35:15 +08:00