Gabriel Horner
15b8e5e9df
Setup CI jobs that are only for graph-parser
...
Also move all non graph-parser fns to frontend thanks to carve lint
2022-05-26 18:04:45 -04:00
Gabriel Horner
b9bbd0c605
Finish migrating extract to nbb
2022-05-13 15:47:54 -04:00
Tienson Qin
83569141fc
feat: add encryption back
2022-05-09 22:15:30 +08:00
Gabriel Horner
85bd1fecb2
Move first batch of util fns to graph-parser.util
...
Still need to fix external.roam
2022-05-04 12:02:36 -04:00
Tienson Qin
b3f67c69b1
misc: delete both web github integration and encryption
2022-04-24 11:17:47 +08:00
Tienson Qin
71e9bdee49
enhance: parsing progress bar
2022-04-21 08:42:52 +08:00
Tienson Qin
8e6fb5613d
enhance: backup files when there're differences between db and disk
...
Previously, files are backuped to logseq/bak when logseq detects
there're differences between the db and disk. But it has two problems:
1. Only a few of users know `logseq/bak`, other users think that their
data has been lost.
2. Files in the logseq/bak folder are never truncated.
This PR backups old file in DB with timestamp suffixes instead of
logesq/bak, and only keep the latest 10 versions of any changed file.
2022-03-08 12:58:59 +08:00
Junyi Du
f1aff93807
enhance: add pages-metadata.edn watcher behavior
2022-03-04 17:13:33 +08:00
Junyi Du
1905d1e32c
enhance: update timestamp on pages-metadata is watched
2022-03-04 17:13:33 +08:00
Junyi Du
89e13b58f9
fix: missing normalized for file watcher ipc
2022-02-19 23:01:20 +08:00
Andelf
b1eb9117be
enhance: reload custom.css when changed
2022-01-04 21:35:53 +08:00
Tienson Qin
b0372cc53d
fix: typo
2022-01-04 17:38:36 +08:00
Tienson Qin
ec289c788f
enhance: backup when add is notified and db content is not empty
2022-01-04 17:36:17 +08:00
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
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
45af02ee2a
fix: delete page if its file was deleted
...
close #2962
2021-11-16 18:22:40 +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
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
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
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
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
gombiuda
65d7ae5ae7
Fix: block id loss for references by file altering ( #2664 )
...
Co-authored-by: Tienson Qin <tiensonqin@gmail.com >
2021-08-19 11:51:13 +08:00
Tienson Qin
04a6ec4658
fix: drag files to logseq can be stuck
2021-05-22 14:45:06 +08:00
Tienson Qin
82a4183102
enhance: wip improve file watcher
2021-05-17 00:50:42 +08:00
Tienson Qin
26f18a437b
fix: fs watcher
2021-05-10 19:39:18 +08:00
Tienson Qin
7349910e6f
fix: git diff doesn't work because we don't store the raw file content
2021-05-09 11:25:41 +08:00
Tienson Qin
5097f23f84
fix: the file has been modified...
2021-04-28 23:48:09 +08:00
Tienson Qin
d2c070eac5
fix: chokidar returns wrong "add" type when it's "change"
2021-03-27 22:57:53 +08:00
Tienson Qin
3605ed53e3
fix: both encryption and excalidraw not working on Electron
2021-03-11 00:30:39 +08:00
Tienson Qin
35296a6897
Perf/db serialization ( #1417 )
...
* perf: disable auto-save dbs on electron
We still save the dbs when user reload the app or close the app.
Notice: Ctrl-c doesn't work now
* chore: re-enable mtime check when writing to disk
* ui: add db persistent notification
2021-03-08 16:31:58 +08:00
Tienson Qin
00168f200b
fix: don't overwrite disk file
...
Relates to #1192
2021-02-25 17:07:44 +08:00
charlie
0fda94a7aa
fix(editor): page blocks duplicated when multiple same page name files
2021-02-05 19:04:54 +08:00
Tienson Qin
7dcebf368b
fix: don't listen to unlink
...
Sometimes, the file watcher notify the `unlink` type when we edit a
file using another editor ...
2021-02-05 17:04:06 +08:00
Tienson Qin
d55b381e2e
enhance: display a loading button when importing files from the disk
2021-02-05 16:29:58 +08:00
Tienson Qin
1c53d8f316
fix: search failed because of wrong timestamp format
2021-01-28 22:40:38 +08:00
Tienson Qin
7c139a3103
fix: watcher timestamp
2021-01-28 20:29:12 +08:00