Commit Graph

3732 Commits

Author SHA1 Message Date
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
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
Gabriel Horner
c91661f022 fix: import code block inside quote block
Fixes https://github.com/logseq/db-test/issues/523
2025-11-04 10:48:09 -05:00
Tienson Qin
eff2703fa3 fix: lint 2025-11-04 22:30:27 +08:00
Tienson Qin
fa86b79553 fix: don't run remove-inline-page-classes if save-block doesn't
specify tags
2025-11-04 22:00:07 +08:00
Tienson Qin
e4e8388588 fix: revert disallowed built-in block updates
1. built-in pages (non-classes) shouldn't be used as tags
2. some protected properties for built-in nodes shouldn't be updated,
e.g. db/ident, block/title, block/name, logseq.property/type
2025-11-04 21:49:26 +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
46c4f66aec fix: allow moving non page blocks to library on UI 2025-11-04 15:07:51 +08:00
Gabriel Horner
3bf78ac5e2 fix(regression): built-in pages can be turned into tags
Removing this check in 6f8d2a39f7
reintroduced https://github.com/logseq/db-test/issues/333.
To reproduce, use a built-in page as an inline tag. For example, type
'o1 #Library' in a block and then press escape
2025-11-03 14:06:56 -05: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
6f8d2a39f7 fix: tag and page names collision in query dsl
related to https://github.com/logseq/db-test/issues/548
2025-11-03 21:49:49 +08:00
Tienson Qin
323674a516 fix: + New button error
fixes https://github.com/logseq/db-test/issues/543
2025-11-03 19:59:48 +08:00
Tienson Qin
da5f9b3c61 fix: more invalid data cases for old db graphs 2025-11-03 18:14:45 +08:00
rcmerci
6ffa6ab5d6 enhance: upgrade com.lambdaisland/glogi, add timestamp to log 2025-10-31 18:04:37 +08:00
Gabriel Horner
a138a0e973 chore: bump cli to 0.3.0 for release 2025-10-29 16:13:01 -04:00
Gabriel Horner
15a5f29b4b Merge pull request #12111 from logseq/feat/mcp-server
Feat: Add MCP server
2025-10-29 15:59:32 -04:00
Gabriel Horner
e3ce613a74 fix: update :block :add op supported args 2025-10-29 14:27:21 -04:00
Tienson Qin
ace82d7151 fix: don't create new card page when importing file graph
fix https://github.com/logseq/db-test/issues/521
2025-10-30 01:34:43 +08:00
Gabriel Horner
b8cae9c4f3 Merge branch 'master' into feat/mcp-server 2025-10-29 11:02:05 -04:00
Tienson Qin
7dc155b28b fix: file graph import 2025-10-29 21:28:27 +08:00