Commit Graph

17706 Commits

Author SHA1 Message Date
Tienson Qin
66785cf8e7 fix(sync): tolerate legacy plaintext decrypt values 2026-04-07 17:12:48 +08:00
Tienson Qin
987fa8ec48 handle tx/reject too 2026-04-07 16:22:30 +08:00
rcmerci
a6d8a5f3aa Merge remote-tracking branch 'origin/master' into feat/cliable 2026-04-07 16:11:03 +08:00
Tienson Qin
8c3d8ecae4 being able to reproduce mismatch checksum 2026-04-07 14:32:30 +08:00
Tienson Qin
f3758e1f12 fix: lint and tests 2026-04-07 06:23:03 +08:00
Tienson Qin
1c8418e584 fix: checksum 2026-04-07 06:00:42 +08:00
Gabriel Horner
46b53c25ec enhance(cli): upsert cmds can be piped directly in show cmd
Also fix lint
2026-04-06 16:21:13 -04:00
Tienson Qin
49c1166cfc use incremental checksum 2026-04-07 03:11:07 +08:00
Tienson Qin
8aae83ae70 fix: fix order should be after rebase ops 2026-04-07 02:26:17 +08:00
Gabriel Horner
c269d7a62a fix(cli): remove show handling for nonexistent attribute
:block/content hasn't existed for awhile in the db version. It only
exists in some parts of publish for backwards compatible handling of old
db graphs
2026-04-06 13:16:17 -04:00
Gabriel Horner
e1511a084b fix(cli): show status style and lookup
LLM was handling nonexistent file statuses instead of the db statuses.
Had also queried for :block/name on status ents which never exist
2026-04-06 13:09:17 -04:00
Gabriel Horner
381664881e fix(cli): show command doesn't display :map properties
Confirmed it does show all other user creatable property types
including :json
2026-04-06 12:07:53 -04:00
Gabriel Horner
a0fb6722aa enhance(cli): show command displays public built-in props
Adds support for show to display several public built-in props
that weren't visible for. Confirmed this works for scheduled,
deadline, priority, description and user* properties
2026-04-06 11:59:04 -04:00
Tienson Qin
92999a6a76 use agent-browser for sync parallel clients tests 2026-04-06 23:02:48 +08:00
rcmerci
1f576f1f13 feat(cli-e2e): add db-sync part 2026-04-06 20:25:58 +08:00
Tienson Qin
c3df967f67 fix: undo/redo doesn't work for local graphs 2026-04-05 18:23:54 +08:00
Tienson Qin
8d0d1f5c7c fix: insert block above 2026-04-05 18:21:05 +08:00
Mega Yu
6153078342 enhance i18n 2026-04-05 17:06:46 +08:00
rcmerci
40d546a5f7 Merge remote-tracking branch 'origin/master' into feat/cliable 2026-04-04 21:33:53 +08:00
rcmerci
5258fca1f1 refactor(sync): consolidate worker auth state and e2ee password flow 2026-04-04 20:39:20 +08:00
rcmerci
0402d27426 refactor(db-worker): remove <invoke-main-thread (4) 2026-04-04 10:04:54 +08:00
rcmerci
b701eedf80 refactor(db-worker,wip): remove :thread-api/input-idle <invoke-main-thread (3) 2026-04-04 10:04:54 +08:00
rcmerci
504f6fa3ce refactor(db-worker,wip): remove asset related <invoke-main-thread (2) 2026-04-04 10:04:54 +08:00
rcmerci
30671bf4e1 refactor(db-worker,wip): remove <invoke-main-thread (1) 2026-04-04 10:04:54 +08:00
Tienson Qin
5522b30bcc fix: checksum failed for empty target block insert 2026-04-03 16:01:11 +08:00
Gabriel Horner
94719a7376 enhance(cli): custom queries can optionally use
built-in rules by specifying '%' at end of :in
2026-04-02 18:00:49 -04:00
Gabriel Horner
53fb0da3d9 fix(cli): custom-query fails if name is a keyword
Bug caused by name binding masking core name fn.
Wouldn't have this bug if there weren't so many
:shadowed-var exclusions in clj-kondo/config.edn.
With --verbose, also show stack for exceptions. Leads
to faster fixing for us (and LLMs)
2026-04-02 16:45:53 -04:00
Gabriel Horner
bf3303b1d6 fix(cli): built-in queries should return more than
just integers. Also remove block-search since `logseq search` does this
better
2026-04-02 15:27:55 -04:00
Gabriel Horner
2ebf226deb fix(cli): query --inputs fails unexpectedly for incorrect
input. `--inputs=b1` was throwing 'No protocol method ICounted.-count defined'
instead of intended error message
2026-04-02 14:57:20 -04:00
Tienson Qin
e1c773bc5e warning checksum mismatch 2026-04-02 23:48:51 +08:00
Tienson Qin
ad2231438a Add :block/order to checksum 2026-04-02 22:22:25 +08:00
Tienson Qin
333f3e10b1 remove vector embeddings 2026-04-02 18:51:29 +08:00
Tienson Qin
5620af9a4e fix: order conflict 2026-04-02 17:52:24 +08:00
Tienson Qin
2e788ebb3e updte local checksum after recomputed 2026-04-02 15:50:40 +08:00
Tienson Qin
2185a5aecd fix: undo doesn't handle retracting property history block 2026-04-02 12:47:24 +08:00
Tienson Qin
114d9f2ae1 dev: show diff data between client/server when checksum mismatch 2026-04-02 11:33:54 +08:00
Tienson Qin
319247beb3 fix: download graph should prefer ':thread-api/db-sync-download-graph-by-id' 2026-04-02 10:59:44 +08:00
rcmerci
50ac248893 fix lint 2026-04-01 23:43:52 +08:00
rcmerci
8e98d70ebb feat(cli): add 'debug pull' cmd 2026-04-01 23:39:10 +08:00
Gabriel Horner
859b505836 fix(cli): unable to view help for query command
There was no way to see available query options.  Now `query -h`
shows command options while `query` shows subcommands
2026-04-01 11:12:00 -04:00
Gabriel Horner
f9edbb0874 fix(cli): --update-{tags|properties} can't distinguish
between tags/properties with same name. Same bug as
0809a53e79
2026-04-01 09:51:16 -04:00
rcmerci
0e834140c0 enhance(cli): unify option --page/--name 2026-04-01 16:45:13 +08:00
Tienson Qin
e7ad82ee1c fix: unreachable code 2026-04-01 15:46:15 +08:00
Tienson Qin
0a73edf870 fix: (wip) sync upload 2026-04-01 06:52:27 +08:00
Tienson Qin
9fa32ba886 fix: cli e2e 2026-04-01 05:35:05 +08:00
Tienson Qin
609c475144 merge: resolve cliable db-sync worker conflicts 2026-04-01 05:17:00 +08:00
Tienson Qin
3a04a0e582 refactor(db-sync): move import/download workflow into sync.download 2026-04-01 04:42:32 +08:00
Tienson Qin
cadb82c81d fix: tests 2026-04-01 03:43:10 +08:00
Gabriel Horner
0809a53e79 fix(cli): upsert tag/property can't find tag/property
when there is a property and tag with the same name e.g. `logseq upsert
tag --name=Asset` gave incorrect tag-name-conflict error. The query fns
for property and tag incorrectly assumed that :block/name is unique and
didn't account for the app which does allow for properties, tags and
pages to all have the same name. This fix also allows properties and
tags to be created if there is a page with the same name
2026-03-31 15:34:43 -04:00
Tienson Qin
8c170bda12 set store debounce time to 100ms 2026-04-01 03:12:00 +08:00