Commit Graph

17706 Commits

Author SHA1 Message Date
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
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
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
46a48ea14a fix: clean compile warnings 2025-09-27 01:51:05 +08:00
rcmerci
a2984574ae chore: debug error log 2025-09-27 01:51:05 +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
b275207abf enhance(rtc): limit asset-size 2025-09-26 19:55:37 +08:00
rcmerci
19b772d72c fix(import): remove ::byte-array to prevent excessive file content from being stored in memory
causing an out-of-memory error
2025-09-26 17:03:02 +08:00
charlie
927e84e2b7 enhance(mobile): annoying keyboard behavior in the block editor modal container 2025-09-26 15:22:33 +08:00
Tienson Qin
22a09ca776 fix: limit asset size to 100M when adding assets through the app 2025-09-26 14:42:12 +08:00
rcmerci
081deaee0a fix: fix err log condition 2025-09-26 11:53:29 +08:00
Tienson Qin
77baacd24e enhance(plugin): throw more errors
1. expose :json, :page, :string to plugins
2. api supports `schema` to allow authors configure property type and
cardinality
3. support multiple values
2025-09-26 03:17:41 +08:00
rcmerci
09aa5901d6 fix: clean compile warnings 2025-09-26 01:14:23 +08:00
Tienson Qin
cfe0b22997 refactor: [WiP] property-related api 2025-09-26 00:09:59 +08:00
rcmerci
e739f23a37 chore: debug error log 2025-09-25 23:30:58 +08:00
Tienson Qin
20a477c35b refactor: move db graph page operations to outliner dep 2025-09-25 21:35:50 +08:00
charlie
9705f57053 enhance(mobile): polish the select graph popup 2025-09-25 20:16:02 +08:00
Tienson Qin
13f510ca0c enhance(mobile): auto-detect audio language 2025-09-25 17:09:27 +08:00
rcmerci
83474008ab refactor: update logs 2025-09-25 16:23:42 +08:00
Tienson Qin
ede13f773b enhance: show transcribe button iff ios 26 2025-09-25 14:24:18 +08:00
rcmerci
3d8d200c2c enhance: add :thread-api/get-rtc-graph-uuid 2025-09-25 13:07:54 +08:00
rcmerci
302e7f49b4 enhance(rtc): add logs for rtc-start (2) 2025-09-25 12:54:33 +08:00
Tienson Qin
3a6970567a fix: non-page block references with icon missing icon itself
fixed https://github.com/logseq/db-test/issues/475
2025-09-25 12:53:43 +08:00
rcmerci
3387e5df4f fix lint 2025-09-25 12:24:32 +08:00
rcmerci
900a0d6da4 enhance(rtc): add logs for rtc-start 2025-09-25 12:22:31 +08:00
Tienson Qin
4679528722 fix: Today's date displays as "Yesterday"
related to https://github.com/logseq/db-test/issues/485
2025-09-25 11:38:53 +08:00
Tienson Qin
ea057fcc36 fix: api test on file graphs 2025-09-24 22:05:39 +08:00
Tienson Qin
8039054e75 enhance(api): add fullTitle and remove temp properties 2025-09-24 21:49:43 +08:00
Tienson Qin
9c49a42095 fix(mobile): quick add not in editor mode when app was killed 2025-09-24 17:41:04 +08:00
Tienson Qin
aef16cbaef fix: limit video size 2025-09-24 17:16:21 +08:00
Tienson Qin
3729b88a12 enhance: use p/delay to yield to ensure ui db updated before resolve 2025-09-24 17:04:10 +08:00
charlie
208bda80e8 feat(navigation): integrate capgo capacitor navigation bar plugin 2025-09-24 16:44:27 +08:00
Tienson Qin
ff6f2ca754 fix: lint 2025-09-24 15:20:04 +08:00
Tienson Qin
985c757b5d chore: remove debug 2025-09-24 15:15:35 +08:00
Tienson Qin
c1b0c583e7 fix: reuse core.async promise-chan to await transact
Because the worker db may not be updated from thread-api calls.
2025-09-24 15:12:00 +08:00
Tienson Qin
98418bb57d fix: ensure ui db updated when remote transact promise returns 2025-09-24 13:57:46 +08:00
charlie
f75171c864 enhance(android): adjust tabbar bottom padding and search focus delay 2025-09-24 12:47:34 +08:00
Tienson Qin
2f6bd0ddb1 remove redundant and 2025-09-24 10:59:36 +08:00
Tienson Qin
9c92fbecc7 fix: images uploaded on other pages are added to today page
related to https://github.com/logseq/db-test/issues/483
2025-09-24 09:48:14 +08:00