Commit Graph

13 Commits

Author SHA1 Message Date
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
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
appflowy
6425997508 chore: merge lagging revisions when close the document 2022-11-08 12:00:04 +08:00
appflowy
de4c1b24ef chore: fix warnings 2022-11-07 20:40:10 +08:00
appflowy
b3b24d0cc0 chore: calculate the compact length after receiving ack 2022-11-07 17:30:24 +08:00
nathan
e729c0a81f chore: add documentation 2022-11-07 10:09:05 +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
f5dc9ed975 test: add revision tests 2022-11-02 11:49:36 +08:00