Gabriel Horner
d9121cd344
fix: property type migration from #11695
2025-02-10 10:21:09 -05:00
Tienson Qin
381f9f1172
Merge branch 'feat/db' into enhance/rtc-migrate-graph-schema
2025-02-10 13:58:50 +08:00
Tienson Qin
f5c227e7ae
feat: match all/any filters suport ( #11695 )
2025-02-10 13:56:12 +08:00
Tienson Qin
8140ba7937
fix: sort
2025-02-10 13:54:01 +08:00
Tienson Qin
38a197eec4
feat: match all/any filters suport ( #11695 )
2025-02-10 13:32:44 +08:00
Tienson Qin
5a64e6359f
fix: sort
2025-02-10 13:15:17 +08:00
rcmerci
49658d8d67
fix: refresh local repos as well
2025-02-08 17:32:11 +08:00
rcmerci
1ad5422acf
enhance(rtc): more precise malli-schema for :schema-version
2025-02-08 17:32:11 +08:00
rcmerci
597e83e2c4
chore: fix lint
2025-02-08 17:32:11 +08:00
rcmerci
dfdd55a972
chore: add docstring
2025-02-08 17:32:11 +08:00
rcmerci
9309b4f3ca
fix: fix combine-local-&-remote-graphs
2025-02-08 17:32:11 +08:00
rcmerci
08a45dcea8
fix: use transit instead of ->clj&->js
...
to avoid some data serialization issues.
e.g. uuid becomes a map
2025-02-08 17:32:11 +08:00
rcmerci
3dddc4323a
enhance(rtc): show more info in debug-ui
2025-02-08 17:32:11 +08:00
rcmerci
5143d7467d
feat: introduce SchemaVersion to replace current schema-version using a plain number
2025-02-08 17:32:11 +08:00
rcmerci
4b4c3c87c3
enhance(rtc): update rtc malli-schema
2025-02-08 17:32:11 +08:00
rcmerci
54cb6a2e54
enhance(rtc): update malli-schema for api response
2025-02-08 17:32:11 +08:00
rcmerci
9c8696ce21
enhance(rtc): print ex-data when major-schema-version mismatch
2025-02-08 17:32:11 +08:00
rcmerci
1c7ab05541
fix(rtc): fix rtc-log type
2025-02-08 17:32:11 +08:00
rcmerci
0f55ab4a76
enhance(rtc): create new graph branch when major-schema-version changed
2025-02-08 17:32:11 +08:00
rcmerci
0e9f090a35
enhance(rtc): add db-worker rtc api rtc-async-branch-graph
2025-02-08 17:32:11 +08:00
rcmerci
7961696b0c
enhance(rtc): update fn reset-client-op-conn
2025-02-08 17:32:11 +08:00
rcmerci
5f57708680
enhance(rtc): option to reset rtc-data in conn when upload-graph
2025-02-08 17:32:11 +08:00
rcmerci
9a54d2a4b4
enhance(rtc): notify when need to upload/download higher schema graphs
2025-02-08 17:32:11 +08:00
rcmerci
c721f4c64d
enhance(rtc): simplify rtc-apis in db-worker
2025-02-08 17:32:11 +08:00
rcmerci
452c6787f2
enhance(rtc): transact :logseq.kv/remote-schema-version when upload/download graphs
2025-02-08 17:32:11 +08:00
rcmerci
b1774950c8
enhance(rtc): add background-task to notify client to upgrade
2025-02-08 17:32:11 +08:00
rcmerci
bec7835783
enhance(rtc): add schema-version arg to related apis
2025-02-08 17:32:11 +08:00
rcmerci
42afa2f02b
enhance(rtc): add schema-version when calling register-graph-updates
2025-02-08 17:32:11 +08:00
rcmerci
5ab04c5bec
refactor(db-sync): update rtc-log types
2025-02-08 17:32:11 +08:00
rcmerci
ebbb3222d5
enhance(rtc): validate major-schema-version before rtc
2025-02-08 17:32:11 +08:00
rcmerci
215f86a777
enhance(rtc): rename ns frontend.worker.rtc.branch-graph, fix rtc malli-schema
2025-02-08 17:32:11 +08:00
rcmerci
2d802e3446
enhance(rtc): add ns frontend.worker.rtc.migrate
2025-02-08 17:32:11 +08:00
Tienson Qin
3dcb1e57ba
fix: db migrate
2025-02-08 15:11:38 +08:00
Gabriel Horner
ac8b3dbe68
enhance: introduce :build/keep-uuid? for export/import
...
to consistently keep uuids for all node types.
Allows page and block hacks to be removed. Marking blocks
this way was the right balance of efficient at preserving block relationships
while being easy to maintain
2025-02-07 18:20:13 -05:00
Gabriel Horner
2edbadf1b5
enhance: block export supports content refs
...
Also refactor block tests and how export-maps are built and
2025-02-07 16:26:11 -05:00
Gabriel Horner
11669f8f80
fix: block ref export+import not working in app
...
We override :block/title in app so have to hack around this attribute override
2025-02-07 14:14:17 -05:00
Gabriel Horner
8bc9b730f2
enhance: page export+import journal refs
2025-02-07 11:57:35 -05:00
Gabriel Horner
310164068b
chore: cleanup export tests
...
by creating test helpers. Also add 2nd import assertion on two more tests
now that's easy
2025-02-07 11:07:21 -05:00
Gabriel Horner
fcdfe518be
enhance: export+export refs to classes
2025-02-07 10:27:28 -05:00
Gabriel Horner
02beff3ec1
enhance: export+import page handles most ref types in blocks
...
All ref types handled except class ref. Also fixed most block types not
persisting uuid when :build-existing-tx? set
2025-02-06 18:29:30 -05:00
Gabriel Horner
b54d13b7d9
enhance: sqlite.build EDN supports uuid refs
...
Needed for export+import of refs
2025-02-06 11:56:14 -05:00
charlie
09ddf31a8e
enhance(ux): force hide table header action popup for the pointer outside event
2025-02-06 16:54:28 +08:00
Gabriel Horner
5faffdc8f1
enhance: page export includes its properties and tags
2025-02-05 18:06:02 -05:00
Gabriel Horner
6848f98be9
fix: query builder not working for multi-word task values
...
Another fix for https://github.com/logseq/db-test/issues/215
2025-02-05 16:12:40 -05:00
Gabriel Horner
38aff834f5
fix: export+import of blocks with built-in property closed values
...
e.g. Status. Also tweak class-parent to not needlessly emit Root
which is the default
2025-02-05 15:22:44 -05:00
Gabriel Horner
ca011c980e
enhance: add command to export/import graph's ontology
2025-02-05 14:47:12 -05:00
Gabriel Horner
f02687b184
fix: task query for "In Review" status
...
Affected this status or any user ones with spaces in name.
Fixes https://github.com/logseq/db-test/issues/215
2025-02-05 09:59:45 -05:00
Gabriel Horner
a746a4ded3
enhance: import/export :node properties with block
...
property values. Import works well for new graphs
2025-02-04 15:57:41 -05:00
Gabriel Horner
c925daa45d
enhance: export/import :node properties with classes
...
Also enhance :build/page refs so their tags export
2025-02-04 12:10:18 -05:00
Gabriel Horner
379752dc03
fix: tests broken by previous commit
2025-02-04 09:24:03 -05:00