Commit Graph

405 Commits

Author SHA1 Message Date
Tienson Qin
7491857460 fix: close the existing watcher when adding new graph
Also, don't create today's journal file during parsing
2021-11-25 13:30:49 +08:00
Charlie
eb2cf2d5a7 Fix/system chan loop broken (#3254)
improve: caught error to avoid broken for events consumer looper

fix: unwaitted promise
2021-11-24 13:48:44 +08:00
Tienson Qin
a9f21cd76c fix: compare contents when new files detected 2021-11-22 22:25:59 +08:00
Tienson Qin
0273a18a5f fix: don't delete files if it's triggered by third-party sync services 2021-11-22 18:55:34 +08:00
Tienson Qin
2d90481a5b enhance: save a backup file if writes failed (EBUSY) 2021-11-22 10:40:32 +08:00
Junyi Du
daae4932ad Some fix according to lint 2021-11-18 21:13:35 +08:00
Tienson Qin
425f688082 iOS file picker support (#3175)
* ios: folder picker and readdir
* update README.md

Co-authored-by: Weihua Lu <luwh364@gmail.com>
Co-authored-by: leizhe <leizhe@leizhedeMacBook-Air.local>
2021-11-17 16:19:48 +08:00
Tienson Qin
45af02ee2a fix: delete page if its file was deleted
close #2962
2021-11-16 18:22:40 +08:00
Tienson Qin
90b61870d3 enhance: better error tracking 2021-11-03 22:44:39 +08:00
Tienson Qin
5dd0b60f53 fix: decrypt file content if there're diffs 2021-10-27 22:29:09 +08:00
Tienson Qin
e2894ee189 fix(mobile): re-index 2021-09-29 13:18:02 +08:00
Weihua Lu
d67547a0b8 fix: filter file type and ignore folders 2021-09-28 14:58:43 +08:00
Tienson Qin
a7b8fd7fe9 fix(mobile): today's journal not created automatically 2021-09-28 14:58:43 +08:00
Tienson Qin
c9367060f1 fix(mobile): file write path 2021-09-28 14:58:43 +08:00
Tienson Qin
2b2bc512a2 fix(mobile): write file path 2021-09-28 14:58:43 +08:00
Tienson Qin
cc300d8d5d mobile: fix write path 2021-09-28 14:58:43 +08:00
Tienson Qin
38d78739af mobile(fs): stat 2021-09-28 14:58:43 +08:00
Weihua Lu
e5916bd69d fix: add android permission check 2021-09-28 14:58:43 +08:00
Tienson Qin
328dfa841e mobile: open dir && read/write files 2021-09-28 14:58:43 +08:00
Weihua Lu
f7cd20a249 mobile: implement open-dir 2021-09-28 14:58:43 +08:00
Weihua Lu
ecb16cca03 wip, native fs api imp 2021-09-28 14:58:43 +08:00
Tienson Qin
73d141ed76 fix: encrypted graph
close #2691
2021-09-22 21:29:04 +08:00
Tienson Qin
5d5d88f8df enhance: save files to logseq/bak when changes detected from the disk 2021-09-22 18:13:54 +08:00
Tienson Qin
a2bb381b1c debug: add more steps for debugging 2021-09-21 11:43:09 +08:00
Tienson Qin
f59f59b9ae enhance: don't overwrite logseq's file if changes from journal file
is empty or the default template content.

To prevent overwritten when using iCloud/OneDrive/GDrive.
2021-09-15 21:47:05 +08:00
Tienson Qin
b20d29f813 fix: don't count as failed writes if content from the disk
is not matched to the content in logseq
2021-09-15 17:12:20 +08:00
Tienson Qin
790ba856a3 fix: increases default write ack timeout to 10s
Also, removed idle? check when batch writing.
Removed nil marker to stop the core.async loop too.
2021-09-13 17:15:47 +08:00
Tienson Qin
b05e53d371 debug: add posthog capture for failed writes 2021-09-13 11:35:07 +08:00
Tienson Qin
353a2555c5 debug: add file writes ack 2021-09-13 00:45:03 +08:00
Tienson Qin
cd2100b753 debug: add session debugging for file not saved correctly 2021-09-12 23:56:16 +08:00
llcc
fef5bbf068 enhance(clock): support recording in repeated block // cleanup unused namespaces (#2777)
* enhance(clock): support recording in repeated block

* cleanup: unused namespaces

* cleanup: missing-else-branch if --> when

* enhance: wider search results window for mobile browser

* fix: namespace requirement
2021-09-08 10:23:16 +08:00
Tienson Qin
d94ce5e78b enhance: detect file changes when starting 2021-09-07 21:13:25 +08:00
Tienson Qin
0b55d119aa fix: save the previous content in Logseq first and commit it
to avoid overwritten when syncing with iCloud/Dropbox/syncthing.
2021-09-06 22:39:06 +08:00
Tienson Qin
e0baf4b05c fix: close file watcher when exit the app 2021-09-06 22:18:45 +08:00
Tienson Qin
c79e9f9e3e code: cleanup 2021-09-06 12:10:38 +08:00
Tienson Qin
7273112a00 git: revert back 2021-09-06 11:23:31 +08:00
Tienson Qin
cd853b5864 git: should compare ignored-files with disk content 2021-09-06 10:39:08 +08:00
Tienson Qin
a84dfb5eff git: add ignore-files to avoid repeated notifications 2021-09-06 10:31:16 +08:00
Tienson Qin
8dc0ca9ff5 fix: run git config core.safecrlf false on windows 2021-09-06 09:54:03 +08:00
Tienson Qin
bfe6a5d6cb enhance: commit the content in logseq when detecting any disk changes 2021-09-06 08:46:30 +08:00
Tienson Qin
7736fd96c8 fix: diff jumps when overwriting Zotero items 2021-08-31 18:44:20 +08:00
Tienson Qin
70562dfee4 fix: contents diff not working on web 2021-08-30 17:23:12 +08:00
Tienson Qin
6f2a86e79d refactor: diff instead a alerting when a file has been modified 2021-08-30 16:03:43 +08:00
Tienson Qin
c80e3c4393 fix: file modified alterting for encrypted graphs
Related to #2729
2021-08-30 12:15:52 +08:00
Tienson Qin
ea9af272e4 feat: type c to git commit
also, fixed an issue that backspace can delete selected blocks
when there's a dialog.
2021-08-27 00:23:24 +08:00
Tienson Qin
a7355bb0c3 fix: can't save db on the web 2021-08-25 16:24:05 +08:00
Tienson Qin
2ed911ffcd fix: detect "file modified" with file contents instead mtime 2021-08-25 14:59:18 +08:00
Tienson Qin
a378170c26 enhance: git auto-commit when detecting new changes from the disk 2021-08-24 23:59:48 +08:00
Tienson Qin
17f3b9c0d8 fix: changes not refreshed immediately 2021-08-23 18:11:17 +08:00
Tienson Qin
bfd614e1fe Fix: failed to load when refreshing with invalid block refs 2021-08-19 12:27:52 +08:00