Commit Graph

3732 Commits

Author SHA1 Message Date
Tienson Qin
36408416c9 publish mvp 2025-12-27 18:26:37 +08:00
Tienson Qin
58cda5538f cljs worker 2025-12-27 17:00:38 +08:00
Tienson Qin
2a96243474 add publish worker 2025-12-27 06:56:07 +08:00
Tienson Qin
704312b407 Add publish dep 2025-12-27 04:44:05 +08:00
Tienson Qin
8fe3cddba7 enhance: limit access to db graphs only 2025-12-26 16:38:59 +08:00
Tienson Qin
910cd9514f fix: tests 2025-12-26 16:09:34 +08:00
Tienson Qin
ec3ace5bd7 fix: lint 2025-12-26 13:34:44 +08:00
Tienson Qin
c9a92f92be Merge branch 'master' into refactor/separate-og-and-db-version 2025-12-26 13:10:29 +08:00
Tienson Qin
467c5200d6 fix: lint 2025-12-26 11:00:41 +08:00
Tienson Qin
7d719623a1 refactor: prefer conn than repo for outliner core and rtc update 2025-12-26 00:05:43 +08:00
Tienson Qin
f6188b6cca cleanup more config/db-based-graph? usage 2025-12-25 22:51:05 +08:00
Tienson Qin
f419fbea8b cleanup 2025-12-25 19:11:58 +08:00
Tienson Qin
b3813ade7c remove file sync, tldraw, excalidraw and zotero 2025-12-25 15:13:13 +08:00
Charlie
fbe6b998b6 enhance(plugins): apis related improvements (#12266) 2025-12-25 13:25:12 +08:00
Tienson Qin
cf80caebf6 feat: db auto backup on desktop (#12275)
* feat: db auto backup on desktop
* fix: press delete closes right sidebar

fix https://github.com/logseq/db-test/issues/670

* disable git backup for db graphs since it's confusing

Users can still use external Git for version control.

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-25 10:40:59 +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
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
f927ae8b72 fix: e2ee password confirm inconsistent
fixes https://github.com/logseq/db-test/issues/681
2025-12-24 15:44:04 +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
aea9f09fd1 Simple query performance enhancements (#12262)
* perf: separate scalar from ref property query

* fix: query bindings

* perf: separate default value query from others

* fix: import properties first and then other datoms
2025-12-19 19:37:51 +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
Tienson Qin
38e3b99803 fix: lint 2025-12-18 19:49:41 +08:00
Tienson Qin
60f6c76138 perf: linked references with filters 2025-12-18 19:20:25 +08:00
rcmerci
cec20a543c fix(rtc,asset): :logseq.property.asset/remote-metadata shouldn't be ignored when init-download 2025-12-18 13:47:01 +08:00
Gabriel Horner
87dff14f4c chore(cli): bump to 0.4.2 2025-12-17 08:40:42 -05:00
Gabriel Horner
ee97b8cda6 enhance(cli): Add -h/--help to commands 2025-12-17 08:24:46 -05:00
Gabriel Horner
3a9b00f21f chore(cli): changelog for 0.4.2 and tweak option descriptions 2025-12-17 08:02:30 -05:00
Tienson Qin
8541b7c79f perf: linked refs without filters 2025-12-17 18:13:04 +08:00
Tienson Qin
954b3b41fb fix: d/entity print 2025-12-17 13:04:24 +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
Gabriel Horner
9d49ba6d49 fix(cli): import-edn and mcp-server commands
don't transact refs for local graphs
2025-12-16 10:37:31 -05:00
Gabriel Horner
dce3b4111f fix: refs not built for imported EDN
from UI form or when using cli in-app graph
2025-12-16 10:37:31 -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
Gabriel Horner
a4d3bd4d93 fix(cli): CLI can't run in CI envs
For now just downgrade desktop check to warning. Decided
against CI flag since that requires more setup for all
2025-12-12 11:14:11 -05:00
Gabriel Horner
068dbf266b fix(dev): add js dev dep to db
so that CLI commands can be run from deps/db.
This is especially useful for developing and debugging deps/db based CLI
commands
2025-12-12 10:28:24 -05:00
Gabriel Horner
ef96a8d031 chore: remove db scripts made redundant by CLI 2025-12-12 10:17:12 -05:00
Gabriel Horner
529be0496c fix: build and export of property values
for a :many property that has additional attributes
e.g. :build/tags
Another possible fix for https://github.com/logseq/db-test/issues/636
2025-12-11 14:46:21 -05:00
Tienson Qin
2b80c5a04d fix: able to make "Quick add" page invalid
fixes https://github.com/logseq/db-test/issues/603
2025-12-11 11:21:14 +08:00
Gabriel Horner
86023329c5 fix: export of property values for :many property
Caught by failing properties test :)
2025-12-10 17:55:59 -05:00
Gabriel Horner
b696a84cac fix: export of property value blocks doesn't
keep its uuid when it's referenced as a property value.
Noticed this with a graph from Tienson where a property value had a
view
2025-12-10 15:46:34 -05:00
Gabriel Horner
1effbdfad7 fix: referenced property value blocks not exported
with their uuid. Possibly affecting
https://github.com/logseq/db-test/issues/636
2025-12-10 15:46:34 -05:00
rcmerci
9f6cef29a1 enhance: add :error/path to malli-schema 2025-12-11 02:44:01 +08:00
Tienson Qin
57a012bcc1 rename external-src-to-external-url
also fixed the issue and external audio not rendered
2025-12-10 15:52:02 +08:00
Gabriel Horner
73f8dfc421 chore: mv db tests to correct project
Also tweak test so that errors aren't printed confusingly when tests
pass
2025-12-09 11:16:39 -05:00
Tienson Qin
8f4a6d962b chore: remove silkhq components 2025-12-09 20:53:38 +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
Charlie
ef211a5285 enhance(pdf): assets related improvements (#12244) 2025-12-09 09:19:06 +08:00