Commit Graph

1851 Commits

Author SHA1 Message Date
Tienson Qin
a13c9a2818 add 3 clients simulate test 2026-01-21 01:14:21 +08:00
Tienson Qin
75a326a83e fix: never delete today page itself because it'll be auto-generated 2026-01-20 18:24:54 +08:00
Tienson Qin
d0cd12a034 fix: remove datoms when uploading if eid or value ref deleted 2026-01-20 17:22:02 +08:00
Tienson Qin
4ec99c8f17 fix: reversed data 2026-01-20 16:59:14 +08:00
Tienson Qin
52b690b6a5 fix: normalize reversed tx-data 2026-01-19 21:11:50 +08:00
Tienson Qin
d27a492f2e fix: include t when persist tx-data log 2026-01-19 17:47:26 +08:00
Tienson Qin
556af5581b fix: put fix after rebase 2026-01-16 19:35:05 +08:00
Tienson Qin
29f3f41ab5 fix: repeated tx data 2026-01-16 12:11:17 +08:00
Tienson Qin
63fb758e37 fix: view blocks not deleted 2026-01-16 11:46:52 +08:00
Tienson Qin
2f1b70b865 fix: offline conflicts with deleted nodes 2026-01-14 22:03:13 +08:00
Tienson Qin
c91187070a wip: initial checksum works when online 2026-01-14 00:36:56 +08:00
Tienson Qin
ee1089f671 Add sync offline tests 2026-01-13 20:58:04 +08:00
Tienson Qin
8c8ca9ce45 rebase 2026-01-13 16:19:03 +08:00
Tienson Qin
c03a5183df refactor: fix data in server instead of client 2026-01-12 23:56:50 +08:00
Tienson Qin
b0309307f7 wip: missing parent && order conflicts 2026-01-11 11:18:57 +08:00
Tienson Qin
6606162080 fix: property db attrs need to be at the beginning of tx-data 2026-01-10 16:00:07 +08:00
Tienson Qin
7aee601c3e no need for de-normalize 2026-01-10 13:12:18 +08:00
Tienson Qin
2dde10531f move retract handler to normalize 2026-01-10 10:57:34 +08:00
Tienson Qin
7bbc5af848 fix: replace :db/retract datoms with :db.fn/retractEntity 2026-01-10 10:57:34 +08:00
Tienson Qin
b8ff7b5265 re-use normalization fns 2026-01-08 04:55:11 +08:00
Tienson Qin
c2582d3c24 fix: available choices still shows other tags' scoped choices 2026-01-06 08:52:57 +08:00
Gabriel Horner
5748905057 fix ref-property tests pointing to property rule
Also add back property tests as it is still a useful rule
2026-01-05 14:44:49 -05: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
aafa50dcc7 fix: :block/warning value should be keyword 2026-01-01 17:09:56 +08:00
Tienson Qin
0f949b739c fix: tests 2026-01-01 14:20:33 +08:00
Tienson Qin
b55550ed3e add :logseq.kv/local-graph-uuid 2026-01-01 14:11:39 +08:00
Tienson Qin
c21f2c7f4f Ensure local graphs have uuid 2025-12-30 14:48:51 +08:00
Tienson Qin
d53ea4a38c enhance: update published-url to be property type of :url 2025-12-30 11:07:47 +08:00
Tienson Qin
74d136e49c fix: export tests 2025-12-30 00:34:02 +08:00
Tienson Qin
0ca329d63d add custom logseq/publish.css and logseq/publish.js 2025-12-29 23:41:41 +08:00
Tienson Qin
da314220db feat: unpublish 2025-12-29 22:09:22 +08:00
Tienson Qin
d4d8b1a7e6 fix: add shadow-cljs.edn for publish worker 2025-12-28 14:28:44 +08:00
Tienson Qin
f419fbea8b cleanup 2025-12-25 19:11:58 +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
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
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
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
33db791ac0 fix: import Zotero pdf blocks (#12260)
fix: support zotero files when importing pdf annotations
2025-12-15 23:28:58 +08: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