Commit Graph

52 Commits

Author SHA1 Message Date
rcmerci
09b1fb61f5 enhance(rtc,e2ee): support en/decrypt on assets 2025-11-24 11:40:18 +08:00
charlie
49407d561a refactor(assets): rename local-asset? to local-relative-asset? and update references 2025-11-21 18:02:06 +08:00
Tienson Qin
ddc8a566d7 fix: assets can't be synced to desktop
related to https://github.com/logseq/db-test/issues/595
2025-11-20 18:18:23 +08: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
Tienson Qin
de67a46e92 fix: video assets can not play on desktop app
fixed https://github.com/logseq/db-test/issues/398
2025-08-01 02:37:57 +08:00
Tienson Qin
e373350aef fix: lint 2025-07-04 02:43:52 +08:00
Tienson Qin
3c52bced5c Merge branch 'master' into feat/capacitor-new 2025-06-22 21:39:37 +08:00
Tienson Qin
7b46076170 Merge branch 'master' into refactor/page-parent 2025-06-17 19:44:34 +08:00
Gabriel Horner
90c7fc5775 enhance: UI imports assets as #Asset
Also made importer and db asset creation use same helper fns
2025-06-17 19:36:05 +08:00
Tienson Qin
92ec65d61d Merge branch 'master' into refactor/page-parent 2025-06-15 08:27:33 +08:00
Tienson Qin
c74abbb7a3 Merge branch 'master' into feat/capacitor-new 2025-06-06 10:28:24 +08:00
rcmerci
bcab738d52 fix(rtc): refresh ui component after asset-file writing finished 2025-06-05 00:43:52 +08:00
charlie
f7d3798cce fix(capacitor): use memory fs temporarily 2025-05-28 20:26:15 +08:00
Tienson Qin
334b5be62e fix: search namespace pages 2025-05-18 03:19:46 +08:00
Tienson Qin
85b4243aac fix: lint 2025-05-13 18:48:01 +08:00
Tienson Qin
de88511bda chore: remove nfs support
Assets will be stored in IndexedDB through memory fs on web.
2025-05-13 18:40:58 +08:00
Tienson Qin
5e1a968530 Merge branch 'master' into feat/db 2025-05-13 18:22:20 +08:00
Tienson Qin
a9e38f0e0d Merge branch 'feat/db' into perf/app-start 2025-04-14 17:48:32 +08:00
charlie
b64b678439 fix(pdf): invalid asset url for the file graph 2025-04-11 12:39:05 +08:00
rcmerci
0bcb860c0f enhance: make use-effect's handler cancelable 2025-04-03 16:46:44 +08:00
rcmerci
0f1ceef31c refactor: add thread-apis for ui-thread 2025-03-28 21:11:08 +08:00
rcmerci
f7815b487d fix: nbb test 2024-12-28 16:39:33 +08:00
rcmerci
26e2fad13d fix: move missionary_util to deps/common, fix some deps issue 2024-12-28 14:22:16 +08:00
rcmerci
69e4657860 fix(asset-sync): dissoc arraybuffer :body when throw
because arraybuffer is unable to be transit-writed
2024-11-27 17:39:14 +08:00
rcmerci
003bc86e13 chore: remove debug prn 2024-11-27 16:40:45 +08:00
Tienson Qin
cca7a030f3 refactor: use :rtc/asset-upload-download-progress
instead of :rtc/asset-downloading?
2024-11-27 15:41:03 +08:00
rcmerci
3ea357d7c2 feat(asset-sync): add progress when upload&download 2024-11-27 12:54:41 +08:00
Tienson Qin
c1203b3cce fix: reactive asset downloading status 2024-11-25 22:49:25 +08:00
rcmerci
6d9da5713d enhance(asset-sync): compare local asset-file metadata when generating ops 2024-11-25 12:23:55 +08:00
rcmerci
6eb94925a8 fix(asset-sync): fix fs/unlink! args and ensure <unlink-asset succ 2024-11-25 12:23:55 +08:00
rcmerci
47c195979a enhance(asset-sync): fix TEST-CHECKSUM 2024-11-25 12:23:55 +08:00
rcmerci
156be117c1 fix(asset-sync): handle unlink-assets case in pull-remote-updates 2024-11-25 12:23:55 +08:00
rcmerci
899ec8fbae fix(asset-sync): response-type as array-buffer 2024-11-25 12:23:55 +08:00
rcmerci
20f4110e69 enhance(asset-sync): don't generate update-op if local-asset-file already exists(same checksum) 2024-11-25 12:23:55 +08:00
rcmerci
78734af1c2 enhance(asset-sync): download missing assets when starting asset-sync-loop 2024-11-25 12:23:55 +08:00
rcmerci
041d44c8fa fix(asset-sync): fix compile warning, keep presigned s3-url metadata same 2024-11-25 12:23:55 +08:00
rcmerci
a845cd0154 enhance(asset-sync): fn new-task--push-local-asset-updates 2024-11-25 12:23:55 +08:00
rcmerci
dd4800a3bd enhance(asset-sync): add upload/download-asset fns in main thread 2024-11-25 12:23:55 +08:00
Tienson Qin
73247e6ab9 Add <read-asset and <write-asset fns 2024-11-25 12:23:55 +08:00
Tienson Qin
9f8cf016f4 fix: ensure assets dir after db restored 2024-11-16 10:29:01 +08:00
Tienson Qin
06df10ef42 feat: export both SQLite db and assets 2024-10-09 11:03:16 +08:00
Tienson Qin
d06eb5f8d4 fix: pdf area annotation 2024-10-08 18:51:17 +08:00
Tienson Qin
17e808989a wip: store assets as blocks 2024-09-26 22:50:58 +08:00
Andelf
329818e4c4 fix(db): css assets loading
- move make-asset-url to assets-handler
- handle assets for db-based graph in add-style-if-exists!
2024-03-11 18:38:48 +08:00
Tienson Qin
b7d9098e80 Move gp-util and gp-config to the common dep 2024-01-03 16:38:05 +08:00
Andelf
61a3c19176 fix(fs): windows unc path support 2023-11-28 02:39:52 +08:00
Andelf
fc653c9f05 fix(editor): not being about to save dropped assets
- Refactor: mv get-asset-file-link to assets-handler
- Fix: iOS binary file saving using base64
- Fix: Drop assets on non-editing block
2023-10-19 15:12:03 +09:00
Andelf
d39d49f0df fixup! fix(editor): assets link resolve 2023-04-02 21:07:25 +08:00
Andelf
505169a5b9 fix(editor): assets link resolve 2023-04-02 21:07:25 +08:00
Tienson Qin
c1e8d6ed8e refactor: path/absolute? 2023-03-28 09:14:42 +08:00