Commit Graph

23218 Commits

Author SHA1 Message Date
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
Tienson Qin
54b6ea9e4f fix: upsert_block_property support schema too 2025-09-29 10:08:03 +08:00
Tienson Qin
983e74f83c enhance(plugin): auto infer :checkbox and :url types and cardinality
Ensures a plugin can upsert its own properties
2025-09-27 02:19:10 +08:00
Tienson Qin
9336c466f2 Revert "fix(import): remove ::byte-array to prevent excessive file content from being stored in memory"
This reverts commit 19b772d72c.
2025-09-27 01:51:05 +08:00
rcmerci
60dc194a8b dev: update agents.md, review.md 2025-09-27 01:51:05 +08:00
rcmerci
0af69a942a enhance(rtc): limit asset-size 2025-09-27 01:51:05 +08:00
rcmerci
bf78faa6e7 fix(import): remove ::byte-array to prevent excessive file content from being stored in memory
causing an out-of-memory error
2025-09-27 01:51:05 +08:00
charlie
9f8089c406 enhance(mobile): annoying keyboard behavior in the block editor modal container 2025-09-27 01:51:05 +08:00
Tienson Qin
0230d08898 fix: limit asset size to 100M when adding assets through the app 2025-09-27 01:51:05 +08:00
rcmerci
bf99e6818b fix: fix err log condition 2025-09-27 01:51:05 +08:00
rcmerci
2f2037eb44 enhance: update cljc-fsrs deps 2025-09-27 01:51:05 +08:00
rcmerci
46a48ea14a fix: clean compile warnings 2025-09-27 01:51:05 +08:00
rcmerci
2797bfdcd5 dev: update agents.md 2025-09-27 01:51:05 +08:00
Gabriel Horner
27b624ddd4 fix: more outliner lints from new ns 2025-09-27 01:51:05 +08:00
Gabriel Horner
82fee247c2 fix: invalid discord link 2025-09-27 01:51:05 +08:00
Gabriel Horner
eb20b36fbf fix: outliner lint and update kondo aliases 2025-09-27 01:51:05 +08:00
Gabriel Horner
acc7becd37 fix: wrong log and separate linter 2025-09-27 01:51:05 +08:00
rcmerci
a2984574ae chore: debug error log 2025-09-27 01:51:05 +08:00
rcmerci
86f88570d9 dev: update agents.md, review.md 2025-09-27 01:51:05 +08:00
rcmerci
8c968464fb dev: update agents.md, add bb e2e-test cmds 2025-09-26 22:11:13 +08:00
Tienson Qin
49c83fa230 Revert "fix(import): remove ::byte-array to prevent excessive file content from being stored in memory"
This reverts commit 19b772d72c.
2025-09-26 20:38:46 +08:00
rcmerci
208825c654 dev: update agents.md, review.md 2025-09-26 20:19:30 +08:00