Tienson Qin
d169b587f9
fix: graph parser tests
2026-01-30 20:45:02 +08:00
Tienson Qin
0eadb024de
Merge branch 'master' into feat/worker-sync
2026-01-30 17:37:29 +08:00
megayu
60297778a8
Fix issues related to importing file to db ( #12353 )
...
* fix multiline block containing attributes will be truncated and lose data after importing
* fix the issues with block attribute name contains "/" after importing
* standardize eol, all files except .bat files use lf
* compatible with windows path
* fix multiple line importing issues
2026-01-30 17:36:12 +08:00
Gabriel Horner
e7bfd53a7c
fix: import of namespace tags
...
w/ 2+ levels of namespaces. This should fix
https://github.com/logseq/db-test/issues/679
2026-01-27 16:01:25 -05:00
Gabriel Horner
23d6f1538a
fix: import of unlinked pdf annotations
...
This addresses the importer failing for
https://github.com/logseq/db-test/issues/732
2026-01-26 12:05:44 -05:00
Tienson Qin
41a020a17e
fix: lint
2026-01-26 20:17:41 +08:00
Tienson Qin
c7ca6d4b09
fix: merge error
2026-01-26 20:12:28 +08:00
Tienson Qin
729ca7fcbf
Merge branch 'master' into feat/worker-sync
2026-01-26 18:52:12 +08:00
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
538d10a20a
fix: rm whiteboard and tldraw from graph-parser
...
Also disable test block which is causing an intermittent ref issue
to investigate later
2026-01-22 13:19:58 -05:00
Gabriel Horner
c77ccc8827
fix: remove org mode everywhere except graph-parser
2026-01-22 13:19:58 -05:00
Gabriel Horner
05ffa3eeb6
chore: remove fns made unused by OG removal
...
Found unused ones in deps/common, from unused frontend.db aliases
and from fns that only existed for their corresponding tests
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
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
ab137a962a
fix: remove file graph imports
...
Remove mention of removed JSON import in descriptions. Also mv frontend.util.fs
to where they are used instead of keeping an outdated file ns
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
e07ff6dd88
chore: convert query-dsl tests to db graphs
...
Able to remove some dead code and add :build.test/title which
is reusable for future tests
2026-01-22 13:19:57 -05:00
Gabriel Horner
20cbb626a0
fix: frontend and graph-parser tests and lints
...
Removed file specific test
2026-01-22 13:19:57 -05:00
Gabriel Horner
2bcc331916
fix: remove gp-db ns, especially since it's unused
...
or incorrect in case of graph-view. Removed file graph
specific tests that depended on gp-db
2026-01-22 13:19:57 -05:00
Gabriel Horner
b91b892181
chore: remove unused file ns graph-parser.cli
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
Gabriel Horner
98ab051328
fix: importing journals with tags
...
Fixes https://github.com/logseq/db-test/issues/588
2026-01-20 10:24:19 -05:00
Tienson Qin
52b690b6a5
fix: normalize reversed tx-data
2026-01-19 21:11:50 +08:00
Tienson Qin
ee1089f671
Add sync offline tests
2026-01-13 20:58:04 +08:00
Tienson Qin
b0309307f7
wip: missing parent && order conflicts
2026-01-11 11:18:57 +08:00
Tienson Qin
b2497c0cc5
fix: pages starting with "@" fail to import from markdown
...
related to https://github.com/logseq/db-test/issues/680
2025-12-24 22:30:10 +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
Gabriel Horner
045cd5f537
enhance: import block tags that are
...
specified via tags property. Fixes
https://github.com/logseq/db-test/issues/434
2025-12-18 13:35:42 -05:00
Gabriel Horner
b4f3e364e6
fix: duplication of exporter config leads to bugs
...
in script and test. Also fix <export-file not being waited on and new docs
after #12260
2025-12-15 12:15:48 -05:00
Tienson Qin
33db791ac0
fix: import Zotero pdf blocks ( #12260 )
...
fix: support zotero files when importing pdf annotations
2025-12-15 23:28:58 +08:00
Tienson Qin
270f13f11a
fix: support external pdf files when importing from file graphs
2025-12-15 23:02:33 +08:00
Tienson Qin
81cbc1e701
fix: pages don't have #Page tag when importing from markdown files
...
related to https://github.com/logseq/db-test/issues/641
2025-12-15 14:49:17 +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
8fc56bfaa3
refactor: Update importer to use validate-local-db
...
Also update validation in DB scripts:
* replace alternative validate-db impl with standard CLI one
* Add validation to import script
* Choose to decouple other DB scripts from validate-db as it may go away
later
2025-12-04 10:30:56 -05:00
Gabriel Horner
f8064253a2
fix: remove misplaced ignore
2025-12-02 10:11:11 -05:00
Tienson Qin
38baa56286
fix: lint
2025-11-26 18:36:16 +08:00
Tienson Qin
73d4ee7caa
Merge branch 'master' into enhance/ios-native-navigation
2025-11-24 22:36:50 +08:00
charlie
49407d561a
refactor(assets): rename local-asset? to local-relative-asset? and update references
2025-11-21 18:02:06 +08:00
Tienson Qin
a18626283b
fix: graph parser tests
2025-11-21 03:09:25 +08: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
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
e311e1b85c
fix: don't create child tags when saving inline
2025-11-21 00:33:34 +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
rcmerci
6ffa6ab5d6
enhance: upgrade com.lambdaisland/glogi, add timestamp to log
2025-10-31 18:04:37 +08: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
Tienson Qin
7dc155b28b
fix: file graph import
2025-10-29 21:28:27 +08:00
Gabriel Horner
2500fe888a
fix: dev import can't import
...
All CLI imports were failing with "Maximum call stack size exceeded".
2025-10-22 10:37:25 -04:00