Commit Graph

3454 Commits

Author SHA1 Message Date
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
5153b0ba83 chore: add dev instructions to build+install CLI locally 2025-11-21 10:21:51 -05: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
charlie
49407d561a refactor(assets): rename local-asset? to local-relative-asset? and update references 2025-11-21 18:02:06 +08:00
Gabriel Horner
99636a2bac chore(cli): bump CLI version for release 2025-11-20 15:13:11 -05:00
Gabriel Horner
cb039a615d chore(cli): Prep for cli release
Also tweak readme and list command desc
2025-11-20 15:04:44 -05:00
Tienson Qin
a18626283b fix: graph parser tests 2025-11-21 03:09:25 +08:00
Gabriel Horner
45a4326293 fix: typo 2025-11-20 13:02:27 -05:00
Tienson Qin
055a5cf6ca fix: parse inline tag as page 2025-11-21 01:46:35 +08:00
Gabriel Horner
43b09095ac fix: graph-parser lint 2025-11-20 12:13:04 -05:00
Gabriel Horner
23937b59fc fix(cli): mcp-server api mode can fail confusingly
Describe the required setup and fail fast with CLI instead
of lazily in the llm client
2025-11-20 12:13:04 -05:00
Tienson Qin
c488335f9d fix: typo 2025-11-21 01:09:13 +08:00
Tienson Qin
20aecdb27c fix: inline tag resolved as page when saving block 2025-11-21 00:52:43 +08:00
Tienson Qin
c4c4634bee fix: remove entity db/id from tx-data 2025-11-21 00:33:34 +08:00
Tienson Qin
e311e1b85c fix: don't create child tags when saving inline 2025-11-21 00:33:34 +08:00
Gabriel Horner
b699ebf24c fix(cli): most API commands not pinging API when $LOGSEQ_API_SERVER_TOKEN set 2025-11-20 10:20:17 -05: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
d6a20e6a9b fix(cli): ensure cli commands are running against DB graphs
Fixed all local graphs and a couple of API commands
2025-11-18 11:56: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
charlie
8c3e4f25c7 fix(property): improve cardinality handling for property types 2025-11-18 20:14:37 +08: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
Gabriel Horner
7b07116b41 enhance(cli): improve error messages for unspecified graphs
Introduced a breaking change for query and search commands where
graph(s) are specified as options instead of arguments. This
makes local graph usage consistent across all commands.
Also fixed in-app search not working and local query with multiple
graphs not querying from the right db
2025-11-17 17:40:23 -05:00
Gabriel Horner
62deed7e7f enhance(cli): add api mode for export-edn command
Also changes :graph from being a required arg to an option
2025-11-17 15:11:02 -05: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
2140029c60 fix: can't paste asset
fixes https://github.com/logseq/db-test/issues/575
2025-11-10 08:32:05 +08:00
Tienson Qin
820b2f075d fix: a property should never be converted to a class 2025-11-09 21:57:44 +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
7619e3ab92 fix: disallowed tags
related to https://github.com/logseq/db-test/issues/572
2025-11-09 19:35:18 +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
Gabriel Horner
d7f7dbea1d fix(cli): fix pluralization of import/export messages
also fix export :classes having wrong count
2025-11-06 16:42:46 -05:00
Gabriel Horner
0bc0892b8a enhance(cli): Add import-edn command
Works for both current and local graphs. Addresses CLI and API for
https://discord.com/channels/725182569297215569/1365819617079066744/1365819617079066744
2025-11-06 16:42:46 -05:00
Tienson Qin
3bc65300be enhance: don't reset :block/refs when editing a block
Instead, compute the diff between the old and new refs, transacting
the deltas.
2025-11-07 03:44:40 +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
70cf508ec0 fix(api): adding tag property using api produces empty tag
fixes https://github.com/logseq/db-test/issues/390
2025-11-06 11:14:47 +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