Commit Graph

205 Commits

Author SHA1 Message Date
appflowy
6a02520f84 refactor app and view can carry belongings 2021-07-29 22:23:10 +08:00
appflowy
c8ba8284ef update view & update app & add some rust test 2021-07-29 17:27:59 +08:00
appflowy
199fbd8873 rename some widget with prefix Flowy 2021-07-28 18:40:08 +08:00
appflowy
dfcb5059bf config hover background & fix bugs 2021-07-28 18:40:08 +08:00
appflowy
0191645d49 fetch user workspaces 2021-07-26 14:35:07 +08:00
appflowy
d30ee5db89 opt: build the rust sdk while running the flutter program 2021-07-25 11:08:59 +08:00
appflowy
c5881daddd rename files 2021-07-25 08:14:38 +08:00
appflowy
b0df64138f config doc bloc 2021-07-24 18:55:13 +08:00
appflowy
0ec02c1ac0 fix: create doc with Delta requirement to fix Document load error 2021-07-24 15:20:18 +08:00
appflowy
64b8f37470 fix: create default workspace after sign in 2021-07-24 15:05:47 +08:00
appflowy
c05b772fe6 config editor for doc 2021-07-24 14:05:49 +08:00
appflowy
3bb12d50bd config view repository 2021-07-23 23:56:59 +08:00
appflowy
bfdc0b6ee9 config view's update and query handle 2021-07-23 22:42:44 +08:00
appflowy
7e5c2cc62c save doc file in user's doc dir 2021-07-23 17:30:33 +08:00
appflowy
af1c35de45 create local file when create view with type doc 2021-07-23 16:45:29 +08:00
appflowy
36e338ddde replace syc::rwlock with tokio::rwlock 2021-07-23 15:00:13 +08:00
appflowy
984e912542 rename moduleData to unit 2021-07-23 14:54:31 +08:00
appflowy
c27f616ddb test read file & save file in flowy-editor 2021-07-23 14:37:18 +08:00
appflowy
4e80b296f8 config doc sql table 2021-07-23 08:14:45 +08:00
appflowy
2bb332fb2c integrate editor into sdk 2021-07-22 22:26:38 +08:00
appflowy
fa061ea832 add flowy-editor crate 2021-07-22 21:43:01 +08:00
appflowy
959545c4b1 add new view type: doc 2021-07-22 17:39:44 +08:00
appflowy
9b9d462f36 combine event and state into bloc & add watch bloc of workspace 2021-07-22 11:23:15 +08:00
appflowy
ebc489738c test stream from rust to flutter 2021-07-21 22:41:44 +08:00
appflowy
a529a3bf43 config workspace and app repo callback 2021-07-21 17:07:49 +08:00
appflowy
892526c2f9 config rust and flutter steam 2021-07-21 17:07:49 +08:00
appflowy
b89958a551 config create app ui 2021-07-20 23:51:08 +08:00
appflowy
7868305a32 create app's views 2021-07-20 23:50:43 +08:00
appflowy
b1f4f0520a create app in workspace 2021-07-20 23:50:43 +08:00
appflowy
b547e94273 config view 2021-07-19 22:44:37 +08:00
appflowy
55fad84590 add create app test & create default workspace when user login at first time 2021-07-19 21:05:49 +08:00
appflowy
139222ddcb rename all sql table struct with Table signature 2021-07-19 17:37:58 +08:00
appflowy
7e9a68f9fd rm rust-lib .idea foler and ignore it 2021-07-19 17:29:18 +08:00
appflowy
ef4c4180e2 fix sqlite database is lock issue by setting busy_timeout and wal mode 2021-07-19 16:15:20 +08:00
appflowy
602018765d generic DispatchFuture and mark async_send with sync trait 2021-07-19 11:32:33 +08:00
appflowy
e1f73f5246 find out how to nested the future into handler 2021-07-18 23:58:06 +08:00
appflowy
a63d5f5eaf support multi user db initialize 2021-07-18 09:03:21 +08:00
appflowy
848975e7f4 enable test with single user id 2021-07-17 10:26:05 +08:00
appflowy
ce6412722f refactor build with generic tester 2021-07-17 08:24:17 +08:00
appflowy
bab373ba35 extract tester as trait 2021-07-16 23:18:12 +08:00
appflowy
4354ff0c59 writing code in airport, continue after onboard 2021-07-15 08:46:16 +08:00
appflowy
e767cc3a01 add test builder 2021-07-14 23:00:58 +08:00
appflowy
182adafee5 add update user test & add app and workspace test 2021-07-14 21:12:52 +08:00
appflowy
687ead563f generic the EventTester with specify error type 2021-07-14 08:23:35 +08:00
appflowy
0e26706176 add create workspace test 2021-07-14 08:07:25 +08:00
appflowy
df1d84d43d workspace and app dto 2021-07-13 23:08:20 +08:00
appflowy
5de69abb36 add workspace and app 2021-07-13 17:21:21 +08:00
appflowy
bf198783e1 [code gen]: generate the protobuf files in corresponding module 2021-07-13 14:28:01 +08:00
appflowy
7d342df1f1 test sign in 2021-07-13 13:14:49 +08:00
appflowy
cabd2384a2 remove files generated by code gen before code gen 2021-07-13 10:11:02 +08:00
appflowy
02f0eef08b construct appflowy home screen 2021-07-12 23:27:58 +08:00
appflowy
222f6c7ba7 support custom error ty of dart event code gen 2021-07-12 13:53:32 +08:00
appflowy
e998c9a532 extract event_err ty info from Flowy_Event macro 2021-07-12 11:41:08 +08:00
appflowy
6f3a03fa07 support event input and output as optional to generate dart code 2021-07-11 22:38:49 +08:00
appflowy
04fc7f1cd0 pass the user test: sign in , sign out, get status 2021-07-11 21:54:55 +08:00
appflowy
3b06cde2d2 [feat]: get user detail & logout 2021-07-11 17:38:03 +08:00
appflowy
a6e32627d4 fix flutter warnings 2021-07-11 15:39:38 +08:00
appflowy
1d74fbdd7b add get user detail event, extract remote serviceinto UserServer 2021-07-11 15:33:19 +08:00
appflowy
2a9d007c5c add kv store crate to save local setting 2021-07-11 00:07:37 +08:00
appflowy
55454c5bec save user info to database after sign up 2021-07-10 16:27:20 +08:00
appflowy
b9d7902acb config user db and user session 2021-07-09 23:31:44 +08:00
appflowy
13e52ae350 enable module data passed in 2021-07-09 17:47:15 +08:00
appflowy
a980843fe6 fix flutter warnings 2021-07-09 16:36:36 +08:00
appflowy
8bf355f956 use diesel as sqlite orm & setup db init schedule 2021-07-09 16:34:50 +08:00
appflowy
ae23a41445 fix some test bugs when dispatcher initialize by multi threads 2021-07-09 14:02:42 +08:00
appflowy
53a041b6cd rename flowy-sys to flowy-dispatch 2021-07-08 22:06:20 +08:00
appflowy
debc8960e0 generate the dart side code from the rust side event 2021-07-08 13:47:11 +08:00
appflowy
2cb26d9e90 test event from dart to rust using protobuf as bytes adaptor 2021-07-07 22:24:26 +08:00
appflowy
569da533a1 config event template 2021-07-07 14:14:37 +08:00
appflowy
f1a229002f enable test target parse response if need 2021-07-06 21:20:53 +08:00
appflowy
3d0200a4a0 add git flutter hook 2021-07-06 19:56:56 +08:00
appflowy
dfc2cbff4f add flowy-test crate 2021-07-06 14:14:55 +08:00
appflowy
2fca817136 export flutter protobuf model through protobuf.dart 2021-07-06 11:04:16 +08:00
appflowy
751d1dd3d3 create flutter protobuf model automatically 2021-07-06 09:08:24 +08:00
appflowy
8f615fd115 add flowy.toml file to control protobuf generation process 2021-07-05 23:17:12 +08:00
appflowy
0b76f82d97 test flowy-user with protobuf serde 2021-07-05 21:23:13 +08:00
appflowy
2d9c7ba48e config protobuf serialize 2021-07-05 16:54:41 +08:00
appflowy
447b5aa128 create crate protobuf mod file automatically 2021-07-05 15:49:03 +08:00
appflowy
f64bd55a33 auto generate crate protobuf file and model 2021-07-05 15:33:39 +08:00
appflowy
def717be59 auto generate proto file from rust struct 2021-07-04 23:31:33 +08:00
appflowy
e5ca614ceb refactor FromBytes and ToBytes trait auto impl in flowy-sys 2021-07-03 23:14:38 +08:00
appflowy
4a82d7157c replace response data with payload 2021-07-03 22:24:02 +08:00
appflowy
a242b9f036 config log 2021-07-03 21:40:13 +08:00
appflowy
77aa18d737 add tracing & test post data to dart 2021-07-03 14:14:10 +08:00
appflowy
1cfcdab124 config sdk initialize 2021-07-02 20:47:52 +08:00
appflowy
7e1cf1222f [refactor]:
1. replace unbounded sender with directory call using static runtime
2. sync + send for handler
2021-07-02 20:45:51 +08:00
appflowy
3328e29241 add flowy-ast to generate the protobuf files via rust struct 2021-07-01 17:50:54 +08:00
appflowy
2d3e50c017 add ToBytes and FromBytes trait, generic handle input&output params 2021-07-01 15:40:26 +08:00
appflowy
678dd84f93 config flowy-user test 2021-06-30 23:11:27 +08:00
appflowy
f73b3ded1d generice handle input params using In<> and Out<>, support protobuf with features=user_protobuf 2021-06-30 15:33:49 +08:00
appflowy
9371a3d31e add generic for FromRequest and Responder & config user check 2021-06-29 23:21:25 +08:00
appflowy
4e45b1bdfe add flowy-user crate & config user module 2021-06-29 16:52:29 +08:00
appflowy
6fe196e97f add logger 2021-06-29 13:45:32 +08:00
appflowy
d867093bf5 rename some struct 2021-06-29 11:19:12 +08:00
appflowy
4febb15f08 add ffi sync interface 2021-06-28 23:58:43 +08:00
appflowy
8d2bdf1149 support sync and async on flowy-sys & add dart-ffi 2021-06-28 22:56:15 +08:00
appflowy
42b8add240 add dart ffi 2021-06-28 16:27:46 +08:00
appflowy
97dde2d711 add stream & prepare dart ffi 2021-06-28 14:27:16 +08:00
appflowy
6d2d24baf7 module as service 2021-06-27 22:07:33 +08:00
appflowy
331115aa63 add tests module and stop the system 2021-06-27 15:11:41 +08:00
appflowy
d2b53fe1f3 fix: module receive command through rx 2021-06-27 01:24:00 +08:00
appflowy
85e8e4b8af add system 2021-06-26 23:52:03 +08:00
appflowy
f2f1bd3461 add module, config module data 2021-06-25 23:53:13 +08:00
appflowy
3b10e3c101 config service and handle & add test 2021-06-24 23:37:45 +08:00
appflowy
4d91ed147d add flowy-sys crate 2021-06-24 16:32:36 +08:00