713 Commits

Author SHA1 Message Date
Gabriel Horner
208b4bc205 fix: remove whiteboards and tldraw from rest of codebase
Also remove some old excalidraw refs that should've been removed awhile
back
2026-01-22 13:19:58 -05:00
Gabriel Horner
173898240e fix: remove most file graph uses in deps
except for graph-parser and publish deps

- Removed most mentions of 'repo' in deps, which cleaned up a lot related
  to export cli and worker
- Removed db-based-graph? checks in deps except for unknown use
  in entity-plus?
- Removing db-based-graph? checks resulted in deleting unused file graph
  code paths e.g. get-pid
- Removed file graph handling in cli list command
- Remove file-based-graph? checks from deps
2026-01-22 13:19:58 -05:00
Gabriel Horner
37af8f690e fix: remove remaining uses of file graph specific attributes
Removed all file graph uses of :block/namespace, :block/file, :block/type and
:block/properties except for graph-parser which still uses them for db
importer.
Removed all uses of :block/format except for graph-parser and
src/main/frontend
2026-01-22 13:19:58 -05:00
Gabriel Horner
4bb7430682 fix: rm the last file-based namespaces in db dep
Also remove the following related file schema
attributes and their dependent code:
:block/marker, :block/priority, :block/scheduled,
:block/deadline,:block/repeated?, :block/pre-block?,
:block/properties-order, :block/properties-text-values, :block/macros,
:block/invalid-properties
2026-01-22 13:19:58 -05:00
Gabriel Horner
1d15e1f85d fix: rm file graph config from user config
Also remove unused helpers for file config keys and file graph code in
mobile.intent.  These removals also result in removing
frontend.common.file.util as it's no longer used
2026-01-22 13:19:57 -05:00
Gabriel Horner
37d9ebda1f chore: remove file-specific graph-parser code
Also removed file graph code for markdown export as a prereq
2026-01-22 13:19:57 -05:00
Gabriel Horner
273eef800b fix: remove needless db-graph? checks in outliner 2026-01-22 13:19:57 -05:00
Gabriel Horner
3e0d57bc32 chore: prefix deps workflows with 'deps-'
to organize workflow files better
2026-01-21 14:16:38 -05:00
Tienson Qin
e5521da233 enhance: able to edit property value of :string type
able to set plural form for tags
2026-01-22 00:52:47 +08:00
Tienson Qin
a9a9905b05 feat: tag-scoped property choices (#12295)
* feat: tag-scoped property choices

* Able to hide global choices per tag

* add e2e tests
2026-01-04 13:42:27 +08:00
Tienson Qin
8fd006babb enhance: api createTag supports :tagProperties 2026-01-03 13:43:20 +08:00
Tienson Qin
10846fdaa3 fix: asset wrong order 2026-01-01 20:35:44 +08:00
Tienson Qin
8fc093c1c9 fix: can't set number 9 as property value
because it's empty-placeholder
2026-01-01 19:59:57 +08:00
Tienson Qin
bcc478b5f7 refactor: separate og and db version (#12276)
separate og and new version apps

remove file sync, tldraw, excalidraw and zotero
2025-12-29 15:39:32 +08:00
Charlie
fbe6b998b6 enhance(plugins): apis related improvements (#12266) 2025-12-25 13:25:12 +08:00
Tienson Qin
82a1932e9b fix: copy and pasting blocks with dates does not work correctly
related to https://github.com/logseq/db-test/issues/645
2025-12-24 20:31:25 +08:00
Tienson Qin
1ae9e2c496 fix: extends tags query and support eid|title|db-ident
Previously `tags` doesn't return blocks that have children tag(s).

Also, `tags` support both db/ident and block/title to make it easy
to use:
(tags ?b #{144})
(tags ?b #{"Task"})
(tags ?b #{:logseq.class/Task})
2025-12-24 14:37:57 +08:00
Tienson Qin
8541b7c79f perf: linked refs without filters 2025-12-17 18:13:04 +08:00
Tienson Qin
bc6ab38679 fix: delete page result in invalid data
When children blocks have references of their parent page
2025-12-16 23:52:42 +08:00
Tienson Qin
f594e2034f fix(rtc): batch store and validate db (#12249)
* fix(rtc): batch store and validate db

* fix: logseq.db/transact! shouldn't distinct tx-data

since move-op include 2 steps:
1. insert-block
2. update-attrs

This results in db invalid after step 1.

* refactor: add transact-with-temp-conn!

* bump nbb-logseq and add tests for ldb/transact* fns

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: rcmerci <rcmerci@gmail.com>
2025-12-09 20:47:37 +08:00
Gabriel Horner
4f5f68d0ab fix(cli): import-edn of in-app graph hangs
for unexpected transact error. Encountered this while repro-ing
https://github.com/logseq/db-test/issues/549. Also fixes UI not
displaying any notification
2025-11-25 16:24:29 -05:00
Tienson Qin
e311e1b85c fix: don't create child tags when saving inline 2025-11-21 00:33:34 +08:00
charlie
8c3e4f25c7 fix(property): improve cardinality handling for property types 2025-11-18 20:14:37 +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
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
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
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
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
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
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
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
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
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
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
Tienson Qin
5b35a9ee49 fix: tags 2025-10-28 15:41:05 +08:00
Gabriel Horner
20ed5bccfb Merge branch 'master' into feat/mcp-server 2025-10-22 12:20:54 -04: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
Gabriel Horner
652a9061ea fix: outdated outliner lint 2025-10-21 10:30:52 -04:00
Tienson Qin
75e49b22db Merge branch 'master' into refactor/plugin-api-properties 2025-10-20 18:27:21 +08:00
Gabriel Horner
a586fc47fb enhance: batch update nodes tool
This improves and replaces all previous tools. Features include:
* Add pages, blocks to pages, tags and properties
* Tags can set parents and tag properties
* Properties can have type, cardinality and classes set for :node
* Add tags to blocks
* Edit blocks
* api and local tools work
* Thorough tool validation
* When doing these operations, most operations can reference new or existing
  entities if they are referenced by uuid
2025-10-16 10:44:32 -04:00
Gabriel Horner
db57d6834b fix: error from build-import hidden from user
Also fix unexpected errors continue to call transact! on empty
2025-10-16 10:41:43 -04:00
Gabriel Horner
683b2c54c8 fix: importing from form shouldnt alter hnsw embeddings 2025-10-16 09:43:32 -04:00