Commit Graph

21739 Commits

Author SHA1 Message Date
Tienson Qin
b8eb7a8564 fix: dangerous to use :property/closed-values because nbb doesn't
support entity plus extend-type
2025-10-14 19:13:47 +08:00
Tienson Qin
3fa6a8f46b enhance: make it easier to detect closed value invalidation 2025-10-14 17:14:51 +08:00
Tienson Qin
8a4fa601d2 fix: build closed values 2025-10-14 16:51:34 +08:00
Tienson Qin
b31c2166c6 fix: lint 2025-10-14 14:40:40 +08:00
Gabriel Horner
27d5a369fd fix: bump to latest nbb-logseq to fix most logseq.db dependent ns 2025-10-13 21:34:00 -04:00
Tienson Qin
89623505cc fix: ldb/transact! should return tx-report 2025-10-13 23:20:46 +08:00
Tienson Qin
b538fe2571 enhance: run db validate before writes 2025-10-13 22:57:21 +08:00
Tienson Qin
7ed7fb4f31 enhance: prefer ldb/transact! than d/transact! 2025-10-13 19:03:11 +08:00
Tienson Qin
787372c174 add create tag test 2025-10-13 16:55:04 +08:00
Tienson Qin
a92f2865d2 add more property-related tests 2025-10-13 16:33:09 +08:00
Tienson Qin
6871463d26 fix: plugins api e2e tests 2025-10-13 14:14:21 +08:00
Tienson Qin
3abf1475c0 add property-upsert-test 2025-10-11 19:27:13 +08:00
Tienson Qin
0933c9cae0 enhance: test all property types 2025-10-11 18:49:00 +08:00
Tienson Qin
131a45a40b Merge branch 'master' into refactor/plugin-api-properties 2025-10-11 18:30:16 +08:00
Tienson Qin
814707054b fix: reload app only on mobile 2025-10-11 18:29:48 +08:00
Tienson Qin
52a736922e fix(mobile): quit quick add when clicking a block 2025-10-11 18:20:42 +08:00
Tienson Qin
d0588dbbe7 fix: lint 2025-10-11 17:16:49 +08:00
Tienson Qin
335c3f06e8 fix: don't throw error for :notification errors 2025-10-11 16:35:56 +08:00
Tienson Qin
6b4f0bc614 fix iOS CI 2025-10-11 16:16:49 +08:00
Tienson Qin
4e5237e82a fix(mobile): reload web app if old db worker is still running
when switching back to the app.
2025-10-11 16:11:35 +08:00
Tienson Qin
6bb1db0c6a fix: lint and tests 2025-10-10 18:47:55 +08:00
Tienson Qin
4cc44a5ac9 fix: e2e tests 2025-10-10 18:31:35 +08:00
Tienson Qin
dbd15f7ed4 enhance: pre-validate when setting block property values 2025-10-10 16:20:53 +08:00
Tienson Qin
6e5399bf47 fix: lint and append_block_in_page 2025-10-10 14:08:03 +08:00
Tienson Qin
15de4a8b2d refactor: separate api into multiple namespaces 2025-10-09 16:23:51 +08:00
Tienson Qin
20f8f0fa80 enhance: get_tag_objects support either block/uuid or db ident 2025-10-09 14:26:43 +08:00
Tienson Qin
698cb36972 argument check 2025-10-09 14:19:51 +08:00
Tienson Qin
d8c84ae4c7 fix(plugins): get_property 2025-10-09 14:18:49 +08:00
Tienson Qin
d4f7bf22d9 Merge branch 'master' into refactor/plugin-api-properties 2025-10-09 12:28:54 +08:00
Tienson Qin
4800ed2ec6 Add more apis for db graphs
1. get_all_tags
2. get_all_properties
3. get_tag_objects
2025-10-07 22:16:57 +08:00
Tienson Qin
3cc530a16f refactor(plugins): separate file graph apis 2025-10-07 21:26:23 +08:00
Tienson Qin
3fa1c5c9b8 fix(plugins): prepend block 2025-10-07 20:42:50 +08:00
Tienson Qin
f330f11ef8 refactor(plugins): use <get-block when possible 2025-10-07 20:16:19 +08:00
rcmerci
1292ab4ce8 fix lint 2025-10-07 02:43:57 -07:00
rcmerci
1747e3f1d0 fix: properties stable sort, normalize :block/order of properties
1. When sorting properties, consider cases where values are nil or blocks/orders are identical.
2. If block/order are nil or duplicated in sorted-properties, recalculate and transact them
2025-10-07 02:43:57 -07:00
Paulo Bueno
6b68197e55 fix: Fix install-linux.sh and add uninstall option
- Fix broken installation with --user option
- Fix desktop icon link when in --user mode
- Add uninstall command (only installation, not user's data)
2025-10-07 02:42:01 -07:00
Tienson Qin
b4c83a7f6a fix(plugin): get_page_linked_references
fixes https://github.com/logseq/db-test/issues/498
2025-10-07 17:30:39 +08:00
Tienson Qin
ac53f76c2d fix: lint 2025-10-07 12:59:23 +08:00
Tienson Qin
df48615e78 refactor: separate db-related fns to logseq.db.api 2025-10-07 12:39:08 +08:00
Tienson Qin
87fc95eb4a fix(api): insert_batch_block support properties
related to https://github.com/logseq/db-test/issues/476
2025-10-06 16:07:24 +08:00
Tienson Qin
e001e12c1f fix(api): insert_batch_block target doesn't support page uuid 2025-10-06 15:45:40 +08:00
Tienson Qin
d2acb49b56 no need to calculate block/refs when pasting blocks 2025-10-06 15:02:16 +08:00
Tienson Qin
caef419a91 fix: insertBlock api with properties 2025-10-06 14:10:52 +08:00
rcmerci
14c240dd5c chore: update arguments of sqlite3InitModule 2025-10-04 21:42:04 +08:00
An Li
584b980a97 enhance: enhance PDF reading experience. (#12121)
* enhance: enhance PDF reading experience.
- [X] Save zoom in/out scale for next opening
- [X] prevent zoom level reset when window/frame changed. fix for #4402
- [X] add a reset zoom button on the pdf toolbar, it gives an opportunity to user manually reset zoom scale to 'auto', it mimics Zotero PDF reader behavior.
- [X] Support zoom in/out with Meta/CTL + mouse wheel and track pad pinch

* enhance(pdf): allow number or string for last visit scale in debounce function

* enhance(pdf): improve scale conditions for the wheel event

---------

Co-authored-by: charlie <xyhp915@qq.com>
2025-10-04 19:35:17 +08:00
Gabriel Horner
846f9307c3 enhance: notify users when assets exceed max size
so they are aware why asset was ignored. Also if asset ids are not
present we should fail loudly like we everywhere else in the importer.
Users should know when data is missing instead of hiding it in the
console. Also refactor confusing usage of :block/uuid to :asset-created?
as it was only used to track the first time an asset is built to be
transacted
2025-09-29 17:37:04 -04:00
Tienson Qin
91657bfcce fix: rpath may not be provided 2025-09-29 17:37:04 -04:00
Tienson Qin
248fdeb422 fix: tests 2025-09-29 17:37:04 -04:00
Tienson Qin
971cec54bc fix(import): remove asset byte-array usage to prevent OOM
This commit also combine read-asset and copy-asset to read-and-copy-asset
2025-09-29 17:37:04 -04:00
Gabriel Horner
b4d3fb4284 fix: nil api response causes error
Should address https://github.com/logseq/db-test/issues/491
2025-09-29 09:00:09 -04:00