Gabriel Horner
c8f99d1ff3
refactor: make CLI and testing validation consistent
...
Both have needs that are more for local graphs
2025-12-04 10:30:56 -05:00
Gabriel Horner
3219b827e6
fix: import of existing pages preserves properties and tags
...
with :build-existing-tx? option. Makes behavior consistent with blocks.
This also fixes built-in pages that weren't re-importing correctly
w/ modified properties
2025-12-03 15:30:54 -05:00
Gabriel Horner
ef68e19b32
fix page export when blocks reference each other
...
Fixes https://github.com/logseq/db-test/issues/571
2025-12-02 19:22:54 -05:00
Gabriel Horner
134dc0f2a8
enhance: validate export EDN for most export types
...
and error explicitly if they can't import. This is much better
for the user so they aren't finding out later that EDN is invalid
on import. Added both to the export menu and to export EDN commands that
aren't graph-wide. Related to
https://github.com/logseq/db-test/issues/549
2025-12-02 13:50:09 -05:00
Gabriel Horner
22dbcfb2d6
fix: EDN export of class page
...
Should fix case described in
https://github.com/logseq/db-test/issues/549 .
Still need to QA property page export
2025-11-26 12:24:03 -05:00
rcmerci
bdf5d66f80
enhance(rtc,e2ee): make it compatible with unencrypted graphs
2025-11-24 11:40:18 +08:00
rcmerci
d472efc039
enhance(rtc,e2ee): remove unused deprecated code
2025-11-24 11:40:18 +08:00
rcmerci
50d93539c9
feat(rtc): encrypt data for full-graph-upload
2025-11-24 11:40:18 +08:00
rcmerci
52ab12b9a3
feat(rtc,e2ee,wip): add ns frontend.worker.rtc.encrypt
2025-11-24 11:40:18 +08:00
Gabriel Horner
36c361af86
enhance(cli): Add option to validate cmd to relax
...
closed validation of entity maps. Users probably won't care about this
as much
2025-11-21 10:11:46 -05:00
Tienson Qin
c4c4634bee
fix: remove entity db/id from tx-data
2025-11-21 00:33:34 +08:00
Gabriel Horner
7bb8655d71
chore: remove unused errors-by-type
2025-11-19 23:31:04 -05:00
Gabriel Horner
79e75060d6
enhance(cli): Add validate command for local graph(s)
...
Improves :errors of invalid errors to be more user friendly.
Also enable closed-value validation optionally as it is useful
to have higher data quality for non RTC graphs
2025-11-19 17:51:45 -05:00
Gabriel Horner
5489e7572f
enhance(cli): export-edn prints unexpected errors
...
especially when an invalid export-type is given
2025-11-18 09:51:20 -05:00
Tienson Qin
8bd6acfb2a
fix: relax closed values validation
...
because we can't ensure this when merging updates from server
2025-11-18 14:13:48 +08:00
Tienson Qin
7c9cfadad6
fix: more migration issues for old graphs
2025-11-14 18:00:08 +08:00
Tienson Qin
0a54e807bb
enhance(api): plugin class with ident like plugin.class.id/class-name ( #12200 )
...
* enhance(api): plugin class with ident like `plugin.class.id/class-name`
* enhance(apis): remove support for namespace separator in create tag
* enhance(apis): get tag with ident or uuid
* fix(lint): remove unused vars
* fix(apis): sanitize user property name
* enhance(apis): get tag ex info
* chore: bump libs version
---------
Co-authored-by: charlie <xyhp915@qq.com >
2025-11-14 10:48:08 +08:00
Tienson Qin
82a7ec13ec
perf: get-recent-updated-pages
2025-11-14 01:13:29 +08:00
Tienson Qin
b17cc5e9da
fix: tests
2025-11-13 23:32:55 +08:00
Tienson Qin
a626cec342
enhance(perf): reduce initial datoms that need to be loaded
2025-11-13 21:27:22 +08:00
rcmerci
326d6dbd54
fix lint
2025-11-12 19:30:37 +08:00
rcmerci
7b6d6c4672
perf: add unsafe->Entity, faster 'Pages'
...
On Chrome, Mac M4Max
40000 pages graph, sorted by updated-at, from 1000+ms -> 200-300ms
2025-11-12 19:29:16 +08:00
Tienson Qin
a5ac90a0f3
revert xform
2025-11-12 06:39:52 +08:00
rcmerci
4a1975a8a6
fix lint
2025-11-12 02:51:55 +08:00
rcmerci
fb271b1d49
perf: faster 'Pages'
...
On Chrome, Mac M4Max
40000 pages graph, sorted by updated-at, from 1000+ms -> 200-300ms
2025-11-12 02:48:42 +08:00
Tienson Qin
76d8546604
fix: can't delete annotated pdf
...
related to https://github.com/logseq/db-test/issues/564
2025-11-10 20:34:57 +08:00
Tienson Qin
fb9e735934
fix: paste query block should create new block
...
related to https://github.com/logseq/db-test/issues/572
2025-11-09 20:00:17 +08:00
Tienson Qin
a83107f2fc
fix: lint
2025-11-09 09:44:25 +08:00
Tienson Qin
c5adaddcec
fix: Cmd+V does not insert images into the property value
...
related to https://github.com/logseq/db-test/issues/569
2025-11-09 09:41:45 +08:00
Tienson Qin
fec4f5165c
fix: set heading removes refs
...
related to https://github.com/logseq/db-test/issues/559
2025-11-07 03:29:11 +08:00
Tienson Qin
1fca2a9ff6
enhance(ux): store image width/height to avoid scrolling junk
...
related to https://github.com/logseq/db-test/issues/562
related to https://github.com/logseq/db-test/issues/488
2025-11-06 19:33:02 +08:00
Tienson Qin
48fb2b8179
enhance(ux): display tag extends before tag name
...
format: `#parent/child`, `#parent1 | parent2/child`, built-in tags
are ignored.
2025-11-05 17:53:26 +08:00
Tienson Qin
0b2ef2dd89
fix: lint
2025-11-05 04:32:44 +08:00
Tienson Qin
a4ec889a5d
fix: some built-in tags shouldn't be recognized as inline tags
...
related to https://github.com/logseq/db-test/issues/555
2025-11-05 04:23:50 +08:00
Tienson Qin
4046dae5cf
fix: add pdf annotation to private tags
2025-11-05 00:38:14 +08:00
Tienson Qin
d8b1feb395
fix: some built-in tags such as #Journal shouldn't be extended
...
related to https://github.com/logseq/db-test/issues/555
2025-11-05 00:29:25 +08:00
Tienson Qin
79f670f799
fix: allow editing a block's other properties if there's invalid URL
...
Related to https://github.com/logseq/db-test/issues/556
2025-11-04 16:13:46 +08:00
Tienson Qin
d809af8cef
fix: page ref query uses UUID instead of name
...
To avoid name collisions.
2025-11-03 22:26:39 +08:00
Tienson Qin
4ebe410e23
fix: block.temp/original-page-name
2025-11-03 22:08:17 +08:00
Tienson Qin
da5f9b3c61
fix: more invalid data cases for old db graphs
2025-11-03 18:14:45 +08:00
Tienson Qin
7d39b510dd
fix: query result now showing when :db/id is not specified
...
fix https://github.com/logseq/db-test/issues/510
2025-10-27 18:22:57 +08:00
Tienson Qin
f3f6c0ce6a
fix: (tags ...) query doesn't return child tag objects
2025-10-25 05:08:03 +08:00
Tienson Qin
bbc415c1be
collect invalid db errors to sentry
2025-10-24 23:26:52 +08:00
Tienson Qin
30a1156b6c
fix: skip db validation when downloading remote graph
2025-10-24 22:36:32 +08:00
Tienson Qin
9f5b9c33a1
fix: tag title order with extends
...
fix https://github.com/logseq/db-test/issues/506
fix https://github.com/logseq/db-test/issues/519
2025-10-22 20:53:24 +08:00
Gabriel Horner
c248ea16aa
fix: incorrect validation message
...
Also bring back docstring that shouldn't have been removed
2025-10-21 12:43:14 -04:00
Tienson Qin
75e49b22db
Merge branch 'master' into refactor/plugin-api-properties
2025-10-20 18:27:21 +08:00
Gabriel Horner
487cbb2bc9
enhance: finish making import data form undo/redoable
...
Add current block support and error handling.
Also update most uses of build-import to call d/transact! once
afterwards. Previously I think we needed separate transacts because of
new properties but that is no longer the case
2025-10-16 09:43:32 -04:00
Tienson Qin
9b18097a59
word tweak
2025-10-15 20:49:39 +08:00
Tienson Qin
26e30d930a
chore: uncomment db validate
2025-10-15 18:41:10 +08:00