Commit Graph

369 Commits

Author SHA1 Message Date
appflowy
955bc3e103 [flutter]: fix bugs 2021-11-03 23:03:42 +08:00
appflowy
99d39e30f8 [rust]: support blockqutoe and code attribute 2021-11-03 22:04:45 +08:00
appflowy
ffd55763b6 [rust]: replace log with tracing 2021-11-03 15:37:38 +08:00
appflowy
7ad0060d8b [rust]: config flowy log 2021-11-03 15:28:34 +08:00
appflowy
ce2ccf7d0a [rust]: fix delta serial bugs & add some tests 2021-11-03 13:52:33 +08:00
appflowy
63d2ca27d3 [flutter]: fix bugs 2021-11-02 22:18:13 +08:00
appflowy
ded8eb5d1c [flutter]: add delete and restore notification 2021-10-31 17:24:55 +08:00
appflowy
5d0ef5baf3 [rust]:delete app from trash 2021-10-31 11:41:22 +08:00
appflowy
3387301554 [rust]:putback the app from trash 2021-10-30 17:22:47 +08:00
appflowy
4966b03123 [rust]: delete app 2021-10-30 17:19:50 +08:00
appflowy
dd9456e7ff [flutter]: right click action for menu's app 2021-10-30 14:44:43 +08:00
appflowy
818aff46d4 [server]: delete the trash's target 2021-10-28 13:42:39 +08:00
appflowy
efc1adecdf [flutter]: modify action item's gesture behaviour 2021-10-27 23:56:41 +08:00
appflowy
538ab20c5f [flutter]: config document delta data flow 2021-10-20 22:19:01 +08:00
appflowy
22cc76163b [client]: close opened doc after close or delete the view 2021-10-19 13:04:09 +08:00
appflowy
fc498fbc8e [client]: add test 2021-10-18 22:46:05 +08:00
appflowy
98836f821b [flutter]: remove menu listener 2021-10-18 22:08:35 +08:00
appflowy
3f83e7ee06 [client]: fix restore & delete all bugs 2021-10-18 18:40:15 +08:00
appflowy
4f0f4221fc [flutter]: add restore & delete all api 2021-10-18 16:30:20 +08:00
appflowy
315c8b107a [flutter]: fix ui update 2021-10-17 23:08:39 +08:00
appflowy
d1b7fd29a6 [client]: crud with trash on server & fix some bugs 2021-10-17 22:55:02 +08:00
appflowy
ab36f520de [client]: add putback test 2021-10-16 21:38:50 +08:00
appflowy
2513853ea4 [client]: fix trash notification issue 2021-10-16 21:22:59 +08:00
appflowy
495dc24ec4 [client]: adding trash record as delete view 2021-10-16 16:45:52 +08:00
appflowy
4cc8d2b3f1 [server]: replace pool with transaction for sql api 2021-10-16 12:24:02 +08:00
appflowy
d67cf76e37 [server]: config trash sql table & router 2021-10-15 17:09:50 +08:00
appflowy
8e40ae60e6 [server]: trash table and create params 2021-10-15 15:52:08 +08:00
appflowy
dfd6046214 delete multiple view in one request 2021-10-15 13:42:52 +08:00
appflowy
bcaa942dfc rollback trash record if dependency actions fail 2021-10-15 13:10:52 +08:00
appflowy
931c638b93 [flutter]: config trash list 2021-10-14 14:34:22 +08:00
appflowy
7ad3e35c16 save trash record 2021-10-13 23:11:45 +08:00
appflowy
fab442997c temp 2021-10-13 11:10:29 +08:00
appflowy
3e65c66baf add trash sql table 2021-10-12 22:31:38 +08:00
appflowy
50172e3fd4 [flutter]: delete view 2021-10-12 14:55:54 +08:00
appflowy
ece353b6b1 [flutter]: config ui of left menu 2021-10-09 16:43:56 +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
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
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
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
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
69c8eb09c5 support order,bullet with list 2021-09-16 09:31:00 +08:00
appflowy
e4db7222f8 remove bullet,order,check,uncheck with list 2021-09-16 09:31:00 +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
30a7149764 customize Document initialization with CustomDocument Trait 2021-09-13 16:45:36 +08:00
appflowy
4d139b3f56 refactor attribute key 2021-09-13 15:51:13 +08:00
appflowy
26aa4e951e config rust flowy log 2021-09-13 14:05:55 +08:00
appflowy
54136c1018 add flowy icon 2021-09-12 22:19:59 +08:00
appflowy
9ade419b22 create view with doc, ignore thumbnail for now 2021-09-11 20:46:54 +08:00