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
rcmerci
1f576f1f13
feat(cli-e2e): add db-sync part
2026-04-06 20:25:58 +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
Gabriel Horner
4b139bb6f2
fix(cli): upsert property can alter private attributes
...
of built-in properties e.g. `logseq upsert property --name=Alias --no-public`
and also --hide. These attributes aren't modifiable by users in the app
as they can result in visibility, editing and and searching bugs.
The app safeguards this by disabling built-ins for components
that call :upsert-property but the cli and api did not
Fixes
https://test.logseq.com/#/page/69cd9329-4602-42c1-a813-8491d5e7d7a0
2026-04-03 12:17:01 -04:00
Tienson Qin
5522b30bcc
fix: checksum failed for empty target block insert
2026-04-03 16:01:11 +08:00
rcmerci
300c7212c9
dev: add db-worker-node-repl skill
2026-04-03 10:05:49 +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
Gabriel Horner
a1b171a20e
chore: bump nbb-logseq to feat-db-v34
...
This bumps to recent version of sci which should allow for upgrading
to malli 0.20+
2026-04-02 13:14:25 -04:00
Tienson Qin
e1c773bc5e
warning checksum mismatch
2026-04-02 23:48:51 +08:00
Tienson Qin
524846191a
fix: db/retractEntity should be at last for normalization
2026-04-02 23:08:59 +08:00
Tienson Qin
ad2231438a
Add :block/order to checksum
2026-04-02 22:22:25 +08:00
Tienson Qin
9f19cf8e2b
fix: test
2026-04-02 20:42:58 +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
2b62ce170b
fix: lint
2026-04-01 14:42:37 +08:00
TechnoHouse (deephbz)
8e1be9afbb
fix(db-sync): stream snapshot downloads directly from sync do
2026-04-01 14:39:51 +08:00
Tienson Qin
b20acaf385
optional for prod api
2026-04-01 07:09:07 +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
7960f398ca
server should never recompute checksum
2026-04-01 03:20:33 +08:00
Tienson Qin
6bf4b51ba1
code cleanup
2026-04-01 03:19:23 +08:00
Tienson Qin
8c170bda12
set store debounce time to 100ms
2026-04-01 03:12:00 +08:00
Tienson Qin
abfb5fcc96
increase cpu_ms to 5 mins for workers
2026-04-01 03:04:30 +08:00
Tienson Qin
b3e400c2ae
enhance(db-sync): move graph download to worker and stream kv snapshots
2026-04-01 03:04:23 +08:00
Gabriel Horner
0925933620
Merge branch 'master' into feat/cliable
2026-03-31 14:37:24 -04:00