Gabriel Horner
70383cd813
fix: stop shadowing vars for rest of frontend
...
Follow up to 5ff364ba1e
2024-09-07 00:13:09 -04:00
Tienson Qin
b7d9098e80
Move gp-util and gp-config to the common dep
2024-01-03 16:38:05 +08:00
Tienson Qin
0e11226d01
fix: remove old transit file when unlink repo
...
Also, rename demo repo from "local" to "Logseq demo"
2023-12-21 23:41:45 +08:00
Tienson Qin
8c3ec50c07
fix: no available handles to import to
2023-12-12 19:11:42 +08:00
Tienson Qin
02e9f8eaa7
fix: add assets support on memory-fs
2023-11-15 16:05:04 +08:00
Konstantinos Kaloutas
46208a7753
Revert "Revert "handle lightning-fs""
...
This reverts commit 840cb90ed5f0fc2704b80f975d08179050cee8b0.
2023-08-04 11:17:30 +08:00
Konstantinos Kaloutas
bffeddff4c
Revert "handle lightning-fs"
...
This reverts commit 005f56deb42d6d40776282baf91fe79cd2c30d29.
2023-08-04 11:17:30 +08:00
Konstantinos Kaloutas
20421e4cc4
handle lightning-fs
2023-08-04 11:17:30 +08:00
Andelf
1cc9bb72aa
feat(sync): impl 2-stage merge for mobile
2023-06-26 19:20:04 +08:00
Bad3r
aebfae729f
fix: Improve error handling in mkdir function ( #9247 )
...
* Improve error handling in `mkdir-if-not-exists` function
This PR improves the error handling in the `mkdir-if-not-exists` function by logging the "EEXIST" error (which indicates the directory already exists) instead of throwing it. Other errors will continue to be handled as before.
- [x] closes #9182
* enhance: move error handling to fs/node.js
* fix: make EEXIST silent and only throw other errors
2023-04-27 19:47:57 +08:00
Andelf
65eb6d3380
fix(fs): image renaming op when resizing pdf hl area ( #9122 )
...
* fix(fs): image renaming op when resizing pdf hl area
Fix #9120
2023-04-20 15:15:32 +08:00
Andelf
d26622872e
chore: address comments
2023-03-28 09:14:42 +08:00
Andelf
51bf1f4c94
fix(fs): handle empty dir for get-files
2023-03-28 09:14:42 +08:00
Andelf
6e9fec448b
fix(test): close notification before start
2023-03-28 09:14:42 +08:00
Andelf
fdeb0775f0
fix(fs): mock dir handling, fix e2e tests
2023-03-28 09:14:42 +08:00
Andelf
2ad52eab3e
fix(fs): file editing on windows
2023-03-28 09:14:42 +08:00
Andelf
94b27014dd
fix(fs): asset path on windows
2023-03-28 09:14:42 +08:00
Andelf
83ebd53a6f
refactor(fs): use full path when renaming
2023-03-28 09:14:42 +08:00
Andelf
f1404fd537
fix(fs): avoid nil repo on ios
2023-03-28 09:14:42 +08:00
Andelf
98f4236309
fix(fs): global file writing in code editor
2023-03-28 09:14:42 +08:00
Andelf
3c0973013b
refactor(fs): mv fs2 logic to logseq.common pkg
2023-03-28 09:14:42 +08:00
Andelf
1cd7f89cd9
refactor(fs): handle global file write
2023-03-28 09:14:42 +08:00
Andelf
d7fc1d785e
fix(fs): fix custom.js path calc
2023-03-28 09:14:42 +08:00
Andelf
d9e0534c7f
fix(fs): refine path-join
2023-03-28 09:14:42 +08:00
Andelf
abf7d55c7c
refactor(fs): rm redundent return date from fs protocol
...
fix(fs): asset url loading under nfs backend
2023-03-28 09:14:42 +08:00
Andelf
a38e40bf86
refactor(fs): rm callback usage from fs protocol
2023-03-28 09:14:42 +08:00
Andelf
c3daeae6eb
refactor(fs): re-impl refresh and re-index on nfs backend
2023-03-28 09:14:42 +08:00
Andelf
f39be3edac
refactor(fs): minor code cleanup
2023-03-28 09:14:42 +08:00
Andelf
b255ca030a
refactor(fs): rewrite nfs implementation
...
- avoid op before granted, using await-permission-granted
2023-03-28 09:14:42 +08:00
Andelf
babb2b1d84
refactor(fs): refine stat fn of Fs protocol
2023-03-28 09:14:42 +08:00
Andelf
e95d73059b
refactor(fs): refactor bfs to memory-fs, add memory:// support
2023-03-28 09:14:42 +08:00
Andelf
43f9fa33b0
refactor(fs): open-dir now returns map instead of vec
2023-03-28 09:14:42 +08:00
Andelf
d666a6d35a
refactor(fs): rework on electron fs
2023-03-28 09:14:42 +08:00
Andelf
bbb655ff43
refactor(fs): handle asset deletion
2023-03-28 09:14:42 +08:00
Andelf
3f467d72ec
refactor(fs): rewrite url fn
2023-03-28 09:14:42 +08:00
Andelf
31d7c8f836
refactor(fs): use rpath
2023-03-28 09:14:42 +08:00
Tienson Qin
c2a4e55f02
enhance: use /api instead of /api-invoker
2022-12-29 23:16:12 +08:00
rcmerci
bbfaefac5b
fix(fs): normalize path when readdir
2022-12-29 19:18:22 +08:00
Tienson Qin
160c09851f
fix: backup the file in db when moving a file with a different case
2022-12-16 21:00:54 +08:00
Tienson Qin
e900a205e7
fix: use sentry to capture errors instead of posthog
2022-11-25 13:08:54 +08:00
Tienson Qin
831356ece8
Make sure file paths are normalized before writing
2022-11-21 21:03:32 +08:00
Junyi Du
77ff2515b8
fix: href asset is not loaded on Electron
2022-11-10 20:47:22 +08:00
Tienson Qin
7ddfa66004
fix: prompt to create a Logseq sync graph or normal graph on iOS
...
Previously, users can create a graph everywhere including the iCloud
folder, which is both confusing and can cause unexpected data
conflicts.
Another enhancement:
After the user confirms the "Use Logseq Sync for this new graph?"
prompt, a remote graph will be created and start to sync automatically.
https://www.loom.com/share/69059969747c4b798a4c712c45e442d7
2022-11-07 10:46:51 +08:00
Tienson Qin
2dfac3d774
deprecate: on-disk encryption
...
Why?
1. there're still a lot issues on it and there's no resource to
maintain and develop it considering we need to support it on all the
platforms.
2. it creates more bugs with Logseq Sync.
2022-11-07 10:46:17 +08:00
Tienson Qin
91ceae48e4
fix: readdir with path-only? option
2022-10-13 16:52:12 +08:00
Gabriel Horner
1f0e22275d
Add ns docstrings for most ns in src/main
...
- Added to CI now that it passes
- Added no-doc for docstrings that don't add any more than what's in the
ns name or for ones where I didn't know the ns that well
2022-09-27 13:55:16 +08:00
Andelf
bada72fe28
fix(mobile): stat should fail
2022-09-19 12:22:12 +08:00
Gabriel Horner
51ed2f94f1
Encapsulate global config state and add global watcher
...
Correct merge with local state and testing is still TODO
2022-09-08 12:34:27 +08:00
Charlie
01d879c18e
feat!: File Sync ( #5355 )
...
- file sync for electron/ios/android
- age encryption of both file content and file path
- massive UI enhancement
- corresponding CI tasks
Co-authored-by: llcc <lzhes43@gmail.com >
Co-authored-by: rcmerci <rcmerci@gmail.com >
Co-authored-by: Tienson Qin <tiensonqin@gmail.com >
Co-authored-by: Andelf <andelf@gmail.com >
Co-authored-by: Gabriel Horner <gabriel@logseq.com >
2022-09-01 00:31:49 +08:00
llcc
8e2e88ae52
fix lint
2022-06-30 17:24:10 +08:00