80 Commits

Author SHA1 Message Date
Nathan.fooo
e1c8135f5d
refactor: folder with yrs
* feat: try using folder2

* feat: update

* feat: implement handlers

* fix: compile errors

* chore: add unsafe send + sync

* feat: remove unsafe impl

* fix: replace folder with foler2

* chore: dart compile errors

* test: fix test

* test: fix test

* test: bypass existing tests

* feat: open latest view

* chore: fix dart warnings

* chore: config notification

* fix: folder notification  bugs

* fix: doesn't open the new view after creating

* chore: rename struct

* refactor: user id

* test: fix test

* chore: remove unused user_id

* fix: fix read workspace views

* chore: rename appflowy data folder

* chore: update ref

* fix: tauri build
2023-04-04 08:41:16 +08:00
Nathan.fooo
b21ee5d2de
feat: migration database (#2009)
* feat: migration database

* ci: fix tauri ci

* feat: migrate database view

* ci: fix ci
2023-03-18 06:45:12 +08:00
Nathan.fooo
0f3c6d6a04
Feat/appflowy tauri 3 (#1914) 2023-03-03 20:38:31 +08:00
Nathan.fooo
6bb1c4e89c
feat: run rustfmt with custom defined fmt configuration (#1848)
* chore: update rustfmt

* chore: apply rustfmt format
2023-02-13 09:29:49 +08:00
Nathan.fooo
3491ffdd08
Fix/read app (#1808)
* fix: filter out the apps that are deleted

* chore: format code style

* chore: fix clippy wanrings
2023-02-06 21:42:01 +08:00
Nathan.fooo
71022ed934
fix: potential async errors (#1772) 2023-01-31 19:30:48 +08:00
Nathan.fooo
5b07656295
Feat/database view (#1765)
* chore: rename flowy-database to flowy-sqlite

* refactor: rename flowy-grid to flowy-database

* refactor: rename grid to database

* refactor: rename GridEvent to DatabaseEvent

* refactor: rename grid_id to database_id

* refactor: rename dart code
2023-01-31 08:28:31 +08:00
Nathan.fooo
0d8adaa921
Feat/http server adapt (#1754) 2023-01-30 11:11:19 +08:00
Nathan.fooo
9215f5188c
Feat/restore from snapshot (#1699)
* feat: snapshot for folder

* feat: snapshot for document

Co-authored-by: nathan <nathan@appflowy.io>
2023-01-12 22:31:39 +08:00
Nathan.fooo
6a36bcd31d
chore: add sqlite feature flag (#1683)
* chore: add sqlite feature flag

* chore: fix clippy warings

* ci: fix clippy

* chore: add rev file persistence

* ci: fix clippy

Co-authored-by: nathan <nathan@appflowy.io>
2023-01-12 13:09:08 +08:00
Nathan.fooo
d4946f1194
chore: cell data operation (#1656)
* chore: get all cells for specific field

* chore: auto format clippy wanrings

* chore: get cells for specific field type
2023-01-05 21:27:21 +08:00
Nathan.fooo
aa5f052ecf
Refactor/crate directory (#1621)
* chore: fix wanrings

* chore: remove protobuf ref in flowy-error-code

* chore: remove protobuf ref in lib-ws

* refactor: remove protobuf trait in flowy http model

* refactor: remove flowy-error-code crate

Co-authored-by: nathan <nathan@appflowy.io>
2022-12-30 11:16:47 +08:00
Nathan.fooo
8c225fe547
Feat/restore revision (#1549)
* chore: write snapshot

* chore: add tests

* chore: sync close

* chore: restore from snapshot

* chore: delete invalid revisions after restored from snapshot

* chore: create default view if it fail to deserialize view's revisions when there is no snapshot

* chore: auto generate snapshot

Co-authored-by: nathan <nathan@appflowy.io>
2022-12-09 09:19:47 +08:00
Nathan.fooo
182bfae5ad
fix: filter UI bugs (#1489)
* chore: remove the add filter button if there is no filters can not be added

* fix: update field info after filter was changed

* chore: update filter choicechip ui

* chore: insert and delete one by one to keep the delete/insert index is right

* chore: show filter after creating the default filter

* chore: update textfield_tags version to calm the warnings

* chore: try to fix potential fails on backend test

Co-authored-by: nathan <nathan@appflowy.io>
2022-11-27 14:47:11 +08:00
Nathan.fooo
882d5535e6
Extract protobuf structs from flowy-sync crate (#1425)
* refactor: extract data model from flowy-sync crate

* chore: rename lib-infra features
2022-11-08 21:13:28 +08:00
nathan
ff7aab73cc chore: merge with config setting 2022-11-06 10:31:07 +08:00
nathan
2c71e4f885 chore: add tests 2022-11-02 17:15:27 +08:00
nathan
608a08eb76 refactor: md5 of revision 2022-11-02 10:21:10 +08:00
Nathan.fooo
e9ad705ea3
Refactor/revision compose (#1410) 2022-11-01 18:59:53 +08:00
Nathan.fooo
c65d00e95c
chore: add field editor bloc test (#1342)
* chore: add field editor bloc test

* chore: update log

Co-authored-by: nathan <nathan@appflowy.io>
2022-10-23 16:56:33 +08:00
Lucas.Xu
ad9a4b7d71
Integrate appflowy editor (#1040) 2022-10-22 21:57:44 +08:00
appflowy
96f6a1d37c remove unuse code 2022-01-04 22:44:52 +08:00
appflowy
661940f728 fix test bugs 2022-01-03 19:50:08 +08:00
appflowy
951584c2ab [backend]: fix reset document bugs 2022-01-03 19:50:08 +08:00
appflowy
1a869c0003 config ping test 2022-01-03 19:50:08 +08:00
appflowy
12e8424e8a send document ping 2022-01-03 19:50:08 +08:00
appflowy
df5266d7c9 fix https://github.com/AppFlowy-IO/appflowy/issues/196 2022-01-03 19:50:08 +08:00
appflowy
a654623c12 mv sync seq to revision manager 2022-01-03 19:50:08 +08:00
appflowy
09ef0927f7 save create default workspace data 2022-01-03 19:50:08 +08:00
appflowy
45821f00a2 rename some structs 2022-01-03 19:50:08 +08:00
appflowy
282ed9067a remove some passthrough funcs 2022-01-03 19:50:08 +08:00
appflowy
f17f0dd6cf fix compile errors 2022-01-03 19:50:08 +08:00
appflowy
152cb17701 fix bugs 2022-01-03 19:50:08 +08:00
appflowy
a0e6c61f50 config virtual net 2022-01-03 19:50:08 +08:00
appflowy
bbc9190bc0 add virtual net 2022-01-03 19:50:08 +08:00
appflowy
0c7c3621d7 separate DocumentWSData into DocumentWSClientData and DocumentWSServerData 2022-01-03 19:50:07 +08:00
appflowy
2b9ce79ed4 refactor flowy-collaboration directories 2022-01-03 19:50:07 +08:00
appflowy
95e0418d97 compare revisions 2022-01-03 19:50:07 +08:00
appflowy
e069bfb057 test with batch set and batch get revision 2022-01-03 19:49:25 +08:00
appflowy
463cab6eee fix warnings 2022-01-03 19:49:25 +08:00
appflowy
64ea2d4f31 [backend]: refactor document persistence 2022-01-03 19:49:25 +08:00
appflowy
777082c879 mv revision to flowy-collaborate 2022-01-03 19:49:25 +08:00
appflowy
cb4398eab0 config document kv store 2022-01-03 19:49:25 +08:00
appflowy
b25db57fca fix warnings. 2021-12-21 14:00:42 +08:00
appflowy
d9421f70a0 refactor backend directory 2021-12-21 14:00:41 +08:00
appflowy
b66f46108d disable sync test 2021-12-20 20:59:33 +08:00
appflowy
d3a00b14b0 enable local web socket 2021-12-20 15:37:37 +08:00
appflowy
77be3e9c71 send connect message when open the document 2021-12-19 21:17:45 +08:00
appflowy
987a246c80 send user connect message 2021-12-18 18:35:45 +08:00
appflowy
1744938a51 fix bugs 2021-12-18 00:23:26 +08:00