Commit Graph

229 Commits

Author SHA1 Message Date
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
302631f808 create op table 2021-09-23 13:15:35 +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
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
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
335b5327de bridge flutter delta to rust delta 2021-09-14 16:22:44 +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
c77c63a4c2 move dir 2021-09-10 16:22:38 +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
0a82601eac impl ObservableParser with dart 2021-09-08 18:25:32 +08:00
appflowy
47851b3024 add middleware to handle user unauthorized 2021-09-08 13:50:20 +08:00
appflowy
916c2eee97 config user observable 2021-09-07 23:30:43 +08:00
appflowy
9a724d6881 refactor workspace sql with transaction 2021-09-07 21:31:04 +08:00
appflowy
024ab85864 add splash screen and config sign up 2021-09-06 16:18:34 +08:00
appflowy
46d1d110e1 drop the test postgres databse after each test 2021-09-06 14:24:22 +08:00
appflowy
9771066d80 rename user detail 2021-09-04 16:53:58 +08:00
appflowy
36c044173d add cors control 2021-09-04 16:32:34 +08:00
appflowy
3a12d5ae79 test workspace server api 2021-09-02 23:32:37 +08:00
appflowy
9d667b6c96 mock workspace api 2021-09-02 19:57:19 +08:00
appflowy
6b7557314c fix test compile errors 2021-09-02 17:43:10 +08:00
appflowy
b8332d28c1 rename scripts 2021-09-02 17:32:30 +08:00
appflowy
cfc10fb38e add auth middleware 2021-09-02 17:19:23 +08:00
appflowy
9b571a08f7 replace user_id with logger_user for auth 2021-09-02 14:47:39 +08:00
appflowy
498a594ad0 config workspace server 2021-09-01 22:50:22 +08:00
appflowy
06a1c96a28 remove warnings 2021-09-01 16:37:46 +08:00
appflowy
77a5e84979 update user profile api 2021-09-01 16:08:32 +08:00
appflowy
33138382bd rename struct 2021-08-31 23:01:46 +08:00
appflowy
3fb74f51fe get user detail with token 2021-08-31 17:56:38 +08:00
appflowy
92d7d6f60a [backend]: save active user 2021-08-31 17:25:08 +08:00
appflowy
99a4beb781 test passed 2021-08-29 22:00:42 +08:00
appflowy
138998aebd add open workspace handler 2021-08-27 23:53:53 +08:00
appflowy
dd2cec28e4 create default workspace 2021-08-26 17:58:59 +08:00
appflowy
0734e53f07 read belongings 2021-08-26 10:19:50 +08:00
appflowy
c8664c8a28 view crud & test 2021-08-25 21:33:29 +08:00
appflowy
f520769283 app crud & test 2021-08-25 17:34:20 +08:00
appflowy
7cf563614b workspace crud 2021-08-24 21:38:53 +08:00
appflowy
74800278f9 add workspace/app/view router 2021-08-24 13:23:19 +08:00
appflowy
d6c761917b check params using flowy-user entities 2021-08-23 23:02:42 +08:00
appflowy
f05f0c43a3 test server api: register user and sign in 2021-08-23 22:10:36 +08:00
appflowy
15f1267956 save user password with bcrypt 2021-08-23 18:39:10 +08:00
appflowy
f626f6f638 add request builder 2021-08-23 08:27:29 +08:00
appflowy
8be53b323e check user email 2021-08-22 22:16:03 +08:00
appflowy
66c4daab7a save user info to pg && response to client with protobuf data 2021-08-22 15:32:48 +08:00
appflowy
3f65d3eb48 enable sqlx offline 2021-08-22 09:25:00 +08:00
appflowy
952ac1cd3c config server docker 2021-08-21 23:19:57 +08:00
appflowy
54342850b2 config server launch 2021-08-21 22:02:05 +08:00
appflowy
49e5f38406 consume reqwest status code 2021-08-21 17:18:01 +08:00
appflowy
6229b7f5b9 generic error builder 2021-08-21 13:35:15 +08:00
appflowy
fed6117d04 replace error type string with dispatch error 2021-08-21 12:11:33 +08:00
appflowy
e709e6bbbc config user login 2021-08-20 21:09:21 +08:00
appflowy
139a21d98a add flowy-net crate shared code by server and client 2021-08-20 11:52:45 +08:00
appflowy
89c5d5468e add user sign up handler 2021-08-19 22:48:10 +08:00
appflowy
3ae2295193 setup script to create the postgres database 2021-08-19 17:26:07 +08:00
appflowy
eac2e562c3 config log && run server 2021-08-19 14:08:24 +08:00