Commit Graph

75 Commits

Author SHA1 Message Date
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