Commit Graph

1067 Commits

Author SHA1 Message Date
Tienson Qin
ee1089f671 Add sync offline tests 2026-01-13 20:58:04 +08:00
Tienson Qin
2afc7fe48d another try of client fix 2026-01-13 18:54:20 +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
rcmerci
04356586fd fix(db-sync): fix block-cycle, add test 2026-01-12 14:51:55 +08:00
Tienson Qin
40ddc54091 fix: missing parent 2026-01-12 14:31:58 +08:00
Tienson Qin
b0309307f7 wip: missing parent && order conflicts 2026-01-11 11:18:57 +08:00
rcmerci
562a68e0e4 enhance(rtc): move rtc api schema to logseq/logseq-schema repo 2026-01-08 22:06:58 +08:00
Tienson Qin
00ccff81e7 more file-graph cleanup 2026-01-06 18:14:21 +08:00
rcmerci
1e61ae7dd7 fix: lint 2026-01-05 22:16:42 +08:00
rcmerci
4dc4e1be78 enhance(rtc): add :add op to replace :move + :update combo 2026-01-05 22:16:42 +08:00
Tienson Qin
41cbba3688 enhance(ux): flashcards (#12299)
Enhances the flashcard user experience by adding automatic query property management, fixing critical bugs, and improving the UI for managing card sets.

Key changes:

1. Automatic creation of query property blocks when tagging with #Query or subclasses via pipeline
2. Fixed critical bug in api-insert-new-block! where the end? parameter had inverted conditional logic
3. Added ability to create new #Cards blocks directly from the flashcard modal with a plus button
2026-01-05 22:12:13 +08:00
Tienson Qin
4b7d6c73c8 fix: remove rtc test on updated-at
Since :block/updated-at should only be overwritten, not retracted
2026-01-04 15:37:46 +08:00
Tienson Qin
3078f2a900 chore: remove outdated test 2025-12-31 23:59:36 +08:00
Tienson Qin
76ebafac6c enhance: preserve block collapsed state when publishing 2025-12-31 20:24:03 +08:00
Tienson Qin
56d3bd84d4 add publish test 2025-12-29 15:07:59 +08:00
Tienson Qin
910cd9514f fix: tests 2025-12-26 16:09:34 +08:00
Tienson Qin
ec7a325bcb more cleanup 2025-12-26 12:35:13 +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
eceaa7396c more cleanup 2025-12-25 21:54:52 +08:00
Tienson Qin
d8d6e8b4b5 remove file based model 2025-12-25 18:10:51 +08:00
Tienson Qin
acbb03856b remove diff-merge 2025-12-25 17:53:01 +08:00
Tienson Qin
9f927137a3 remove file based handlers 2025-12-25 17:21:28 +08:00
Tienson Qin
32cbac5a52 remove file based page handler 2025-12-25 16:23:23 +08:00
Tienson Qin
bbe6fa861e remove file based commands 2025-12-25 15:59:59 +08:00
Tienson Qin
da06bc2db0 wip: separate og and new version apps 2025-12-25 13:59:44 +08:00
Tienson Qin
8541b7c79f perf: linked refs without filters 2025-12-17 18:13:04 +08:00
rcmerci
bcad78227f fix(rtc): lost first block's rtc-ops when paste multiple blocks (2)
- add more tests
- consider more cases
2025-12-16 00:48:46 +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
rcmerci
208e3df662 fix(rtc): lost first block's rtc-ops when paste multiple blocks 2025-12-15 22:54:31 +08:00
rcmerci
ff7ecc4baa fix(rtc): carefully compare t when add-ops to client-ops 2025-12-13 02:16:29 +08:00
Tienson Qin
016e63c4a0 fix: ensure using :rename-db-idents to rename properties in migrate 2025-12-11 14:31:55 +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
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
rcmerci
e95dbe1096 test(rtc,e2ee): add frontend.common.crypt-test 2025-11-24 11:40:18 +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
Gabriel Horner
2c6f8101d7 fix: a test's global change to ldb/transact!
shouldn't affect other tests. This test changes transact-pipeline-fn
which could cause further tests to randomly depend on and fail from it
2025-11-04 10:12:18 -05: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
d809af8cef fix: page ref query uses UUID instead of name
To avoid name collisions.
2025-11-03 22:26:39 +08:00
rcmerci
adfc0a1341 fix: update remove-conflict-datoms 2025-10-24 21:57:26 +08:00
Tienson Qin
6addb7ac8e fix: rtc tests 2025-10-15 18:52:59 +08:00
Tienson Qin
4be34fb50e fix: rtc tests 2025-10-15 18:27:53 +08:00
Tienson Qin
8d0c2f9887 fix: tests 2025-10-15 17:25:46 +08:00
Tienson Qin
6b12299520 fix: lint 2025-10-15 16:32:46 +08:00
Tienson Qin
999618a406 refactor: compute pipeline tx-data before d/transact! 2025-10-15 15:31:42 +08:00
Tienson Qin
df0bc2ca48 refactor: move commands to outliner dep 2025-10-14 21:51:19 +08:00
Tienson Qin
a63a5acc8b fix: rtc unit tests 2025-10-14 21:25:38 +08:00