Commit Graph

391 Commits

Author SHA1 Message Date
fyears
085d8448d2 digest ok 2024-01-21 14:19:27 +08:00
vpsone
ed1ac66ac0
Fix status-bar tooltip position (#442) 2024-01-16 01:30:34 +08:00
fyears
c33a9ecfa4 no auto for webdav depth 2024-01-16 01:22:54 +08:00
fyears
cabca54d80 universally change webdav header 2024-01-16 00:54:11 +08:00
fyears
8dde6c59d2 strict anywhere 2024-01-14 22:13:10 +08:00
fyears
37a801332f vault might be undefined 2024-01-14 16:19:00 +08:00
fyears
071b10387c add more compability to onedrive 2024-01-14 11:46:35 +08:00
fyears
ff237ad8cb fix typo 2024-01-14 11:18:27 +08:00
fyears
da0f183fad missing saving 2024-01-13 23:03:30 +08:00
fyears
eb2ecca825 onedrive client update time 2024-01-13 22:47:34 +08:00
fyears
2494a2d96e ok no way to skip the region 2024-01-13 21:27:42 +08:00
fyears
8bb095c4aa round the time 2024-01-13 21:20:56 +08:00
fyears
c5e3147805 dropbox supports client mtime 2024-01-13 20:14:22 +08:00
fyears
942e54961e unset region per user request 2024-01-13 19:37:58 +08:00
fyears
29a3c76b4e s3 mtime 2024-01-13 19:27:51 +08:00
fyears
897e4fc4e5 more clear about http debug server 2024-01-13 17:10:31 +08:00
fyears
0124a49d7e unload if reset 2024-01-13 17:03:42 +08:00
fyears
3e245af50c no need to read log records 2024-01-13 17:00:46 +08:00
fyears
695c74588f clear sync plans 2024-01-13 16:59:51 +08:00
fyears
e3bd41a05a always bypass cors s3 2024-01-13 16:54:50 +08:00
fyears
a6b73bde6a fix callback for dropbox 2024-01-13 16:47:55 +08:00
fyears
87d6e1f75f remove logtodb since we have remote debugging nowgit add .! 2024-01-13 16:44:56 +08:00
fyears
347c051d0c support json syncplans only 2024-01-13 12:03:21 +08:00
fyears
7422956621 fix minor bug of onedrive 2024-01-10 02:49:14 +08:00
fyears
7b67ba5b26 fix dropbox path 2024-01-10 02:28:42 +08:00
fyears
43cf95c417 fix more bugs on webdav 2024-01-10 02:16:18 +08:00
fyears
53a1c32b43 log everything 2024-01-10 01:40:17 +08:00
fyears
71e25be28e fix minor bug of webdav 2024-01-10 01:34:45 +08:00
fyears
f3f26f7c0b back to the party 2024-01-07 11:20:57 +08:00
fyears
9fba9241dc fix logginng error 2024-01-07 10:51:42 +08:00
fyears
a6146f98cd debug server 2024-01-07 01:09:47 +08:00
fyears
4d6e660f90 not allow empty in ignorepaths 2024-01-06 22:36:33 +08:00
fyears
d0af937fd1 agree to upload deletions 2024-01-06 22:34:00 +08:00
fyears
b9ddd97052 select where to delete 2024-01-06 22:17:58 +08:00
fyears
1466fdd3aa skip large files is good enough 2024-01-06 21:58:46 +08:00
fyears
b070f51f5d s3 adds support for remote prefix 2024-01-06 21:53:52 +08:00
fyears
586e587d96 partial of s3 remoteprefix 2024-01-06 17:21:53 +08:00
fyears
cbf656c7b7 reduce hints 2024-01-06 14:56:07 +08:00
fyears
2d9ba514fa steps with var is meaningless 2024-01-06 14:45:41 +08:00
fyears
a13cc8d5c1 tidy up the codes of sync on save 2024-01-06 14:40:32 +08:00
fyears
30f7c0058c merge langs back to main repo 2024-01-06 13:49:49 +08:00
fyears
635db41d0d Merge branch 'master' of https://github.com/fyears/remotely-save 2024-01-06 12:01:41 +08:00
Sam Purkis
19d5da3e45
Issue 199 sync on save (#340)
* begin adding a sync on save option

* get the main sync on save working

* get settings sync on save working

---------

Co-authored-by: Sam Purkis <sam.purkis@zimmerbiomet.com>
Co-authored-by: fyears <1142836+fyears@users.noreply.github.com>
2024-01-06 12:00:55 +08:00
fyears
2991007435 merge lang of sync on save 2024-01-06 12:00:43 +08:00
fyears
0558d77074 update hints for .obsidian 2024-01-06 11:55:24 +08:00
fyears
e69674e34e globally skip 2024-01-06 11:46:19 +08:00
fyears
c3ed69af66 track deletions of .obsidian 2024-01-06 11:44:34 +08:00
fyears
b3c9ac8cbb refactor statusbar 2024-01-06 00:03:53 +08:00
fyears
b49e545759 merge statusbar 2024-01-05 23:07:15 +08:00
fyears
084a04f4e9 wider 2024-01-05 22:11:34 +08:00
fyears
6a651b844f ignore paths by regexgit add . 2024-01-04 00:26:02 +08:00
fyears
9e4d3826fd add langs for ignorepath 2024-01-03 23:37:08 +08:00
ras0q
d7e034f070 remove debug console.table 2024-01-03 23:36:12 +08:00
ras0q
79a0b9f44d add ignorePaths setting 2024-01-03 23:36:12 +08:00
fyears
ee8a3df0be change method of s3 check connect 2024-01-02 23:52:36 +08:00
fyears
f55fad0e29 fix compability issue 2024-01-02 00:26:03 +08:00
fyears
bbb909cda4 add link for null body 2024-01-01 01:32:22 +08:00
fyears
cd0a9a395f fix null body webdav 2024-01-01 01:25:25 +08:00
fyears
9519793860 finally a real working compat for webdav 2024-01-01 01:15:51 +08:00
fyears
6a009b93cb fix webdav for new er 2024-01-01 00:43:59 +08:00
fyears
6e282c86af skip .DS_Store 2023-12-17 23:50:52 +08:00
fyears
44dbec175b update all the npm after 2 years 2023-12-17 15:18:23 +08:00
Lars
229f74b5e8 Added option to settings to toggle status bar item 2022-08-13 11:55:19 +02:00
Lars
30d94986c6 Added last sync time to statusbar
Adds an item to the statusbar that displays the time of the last successful sync.
2022-08-12 18:05:45 +02:00
fyears
28bd861c9e fix stat on Android, add operations to nan ctime mtime and undefined size 2022-05-10 21:15:30 +08:00
fyears
c98d91ab60 make auth settings styles cleaner 2022-05-04 00:22:55 +08:00
fyears
8bd456b08e make settings styles much cleaner 2022-05-04 00:12:03 +08:00
fyears
a5c25aecd0 normalize words 2022-05-03 23:00:03 +08:00
fyears
806438964c fix import export settings styles 2022-05-03 22:48:03 +08:00
fyears
069e993fb0 split chooser and basic settings 2022-05-03 22:45:23 +08:00
fyears
7c2a17c404 fix format 2022-05-03 22:43:53 +08:00
fyears
dbf80c3359 properly deal with cache-control for onedrive 2022-05-03 10:04:36 +08:00
fyears
17135abbd4 bypassing large files 2022-05-01 18:13:06 +08:00
fyears
af8357ba6e more verbose error hint for s3 2022-04-30 23:39:44 +08:00
fyears
bfa23eb8a5 add no-cache for webdav 2022-04-30 23:23:51 +08:00
fyears
d3d26bfe49 add no-cache for dropbox 2022-04-30 23:11:16 +08:00
fyears
f6f7d83a35 correct way to skip cache for onedrive 2022-04-30 19:07:12 +08:00
fyears
9e29405103 more robust way to add cache-control for s3 2022-04-30 18:50:45 +08:00
fyears
391df3ed2d adjust focus 2022-04-30 16:00:53 +08:00
fyears
c542789c93 update sync 1 sec 2022-04-30 15:55:25 +08:00
fyears
054a9a3c01 add more verbose hint about the json 2022-04-30 15:40:56 +08:00
fyears
66dcaf4e4c add debug log 2022-04-30 15:23:16 +08:00
fyears
6d29554033 force refresh req every time for s3 2022-04-30 15:22:52 +08:00
fyears
bfe11f44dc make more s3 req to lower 2022-04-18 21:30:02 +08:00
fyears
ebd62b1581 new s3 every request to avoid request expired 2022-04-18 00:56:25 +08:00
fyears
13537d1481 insert dry run into plan records 2022-04-18 00:22:00 +08:00
fyears
baf4e6b369 fix requrl for onedrive 2022-04-16 18:53:40 +08:00
fyears
dd39e229d8 add password hide 2022-04-16 18:36:57 +08:00
fyears
ba6e8be304 properly deal with 429 too many requests for dropbox 2022-04-16 17:02:07 +08:00
fyears
cb7a372b69 properly reject emoji file names for dropbox 2022-04-16 11:36:04 +08:00
fyears
9a4dd0186d polish sync 2022-04-16 00:38:52 +08:00
fyears
f9cdf323b8 fix cors 2022-04-13 22:24:58 +08:00
fyears
99f143115b export sync plans in table format 2022-04-10 17:38:37 +08:00
fyears
39940deb3f fix output 2022-04-10 11:54:34 +08:00
fyears
df53ea957f add commands 2022-04-10 11:18:48 +08:00
fyears
0cf8023278 cast headers to lower cases 2022-04-10 11:05:37 +08:00
fyears
8cec2b00eb remove unused debug log 2022-04-09 00:18:48 +08:00
fyears
6efe52b26e some logs for onedrive 2022-04-09 00:18:23 +08:00
fyears
303f47f7c1 add hints for too many errors 2022-04-08 09:32:36 +08:00
fyears
8270a02246 finally a correct way to throw errors 2022-04-07 23:59:57 +08:00
fyears
4686d911f4 again remove unused log 2022-04-07 23:32:28 +08:00
fyears
e704199da0 add more specific desc to s3 cors 2022-04-07 22:00:46 +08:00
fyears
5a4e8e51a1 more verbose for error 2022-04-06 01:27:42 +08:00
fyears
6f339583c1 remove not useful log 2022-04-06 01:26:08 +08:00
fyears
bb21714b45 auto clean sync plans 2022-04-06 00:35:21 +08:00
fyears
b3c107ce58 logtodb 2022-04-06 00:24:27 +08:00
fyears
b39544b43b add human readable time 2022-04-05 13:26:46 +08:00
fyears
c1c50cd479 only create .gitignore if not exists 2022-04-05 00:47:24 +08:00
fyears
41073d1576 add preset rules for webdav 2022-04-04 23:53:36 +08:00
fyears
e03522efe4 unified requrl everywhere 2022-04-03 15:05:55 +08:00
fyears
39a33243e8 fix typo 2022-04-03 14:53:39 +08:00
fyears
510f0c2081 add dbx clearlocal 2022-04-02 00:01:20 +08:00
fyears
953507ec43 fix onedrive upload issue! 2022-04-01 23:39:41 +08:00
fyears
1013daa9fd add remoteBaseDir support 2022-03-29 00:18:04 +08:00
fyears
83c3aac317 some logic to move away vaultRandomID from data.json 2022-03-27 00:52:10 +08:00
fyears
712979fb0d reset depth settings of webdav 2022-03-26 22:58:57 +08:00
fyears
e460c563af skip extra checking folders for webdav 2022-03-26 22:41:10 +08:00
fyears
580397fbf9 update text 2022-03-26 15:11:41 +08:00
fyears
537fae1a2b add tracking for local movement 2022-03-26 15:06:34 +08:00
fyears
6474faad51 fix memory. Squashed commit of the following:
commit 1c24e48f2528238aeac417866ccec9ee3deced5f
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Fri Mar 25 02:08:05 2022 +0800

    just some trying
2022-03-26 09:45:48 +08:00
fyears
3e75e31696 change wording in config file 2022-03-26 00:34:00 +08:00
fyears
99926adbbd more hints for webdav 2022-03-23 22:56:42 +08:00
fyears
005b698862 fix folder 2022-03-23 10:02:02 +08:00
fyears
c8bd10a855 fix typo 2022-03-22 00:55:44 +08:00
fyears
275224cf73 full outout for error file 2022-03-22 00:35:18 +08:00
fyears
575a27db26 err msg stays longer 2022-03-22 00:31:17 +08:00
fyears
76127dd131 fix auto depth 2022-03-21 23:34:18 +08:00
fyears
e2e6f6a12c a little help for webdav addr 2022-03-21 23:26:09 +08:00
fyears
4f3e8803da more verbose reason for conn fail 2022-03-21 23:04:56 +08:00
fyears
ac4eff376d Merge branch 'master' of https://github.com/Victrid/remotely-save into Victrid-master 2022-03-20 23:37:26 +08:00
fyears
5512978dee add enc size compute 2022-03-20 23:01:32 +08:00
fyears
2bac0c32dc update lang link 2022-03-20 20:53:04 +08:00
fyears
1cd02913bb reduce size by using lucide not feather-icons 2022-03-20 20:35:09 +08:00
fyears
a4905445c7 link new lang 2022-03-20 16:19:02 +08:00
fyears
dffada894f Squashed commit add i18n:
commit 238db51e1fcd22e0b65d3176356ac328481f33ef
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Sun Mar 20 15:54:10 2022 +0800

    add langs sub module

commit 30e8cad844821e62a1d6d1e36161c594ddf38111
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Sun Mar 20 15:30:45 2022 +0800

    i18n
2022-03-20 15:54:57 +08:00
fyears
50ae224769 add more readme 2022-03-19 14:12:06 +08:00
fyears
f73e6b7796 embarrassingly parallel for all three steps of sync 2022-03-19 01:21:22 +08:00
fyears
57f538fa9e update desc 2022-03-16 22:49:20 +08:00
fyears
a2fb515b74 add parts concurrency s3 2022-03-14 23:42:18 +08:00
fyears
1699d39f62 add more helper func for debugging 2022-03-14 23:25:01 +08:00
fyears
af93af9047 Squashed commit of sync hidden files:
commit 73967756d51d246b3ca203aa3683cdfebf567000
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Sun Mar 13 22:41:28 2022 +0800

    fix typo

commit 08e16faa9a9ace9bec71acb723e0d70ca361d49f
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Sun Mar 13 22:41:01 2022 +0800

    add modal in settings

commit 9db7194fa28cb62b1fa4c01ac7f746d5ac3b86a8
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Sun Mar 13 22:03:00 2022 +0800

    working sync for .obsidian and _

commit 4be24ba092181c1c3e1aabe5e9d4e9fcff28f987
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Sun Mar 13 16:07:10 2022 +0800

    more logic for hidden path
2022-03-13 22:42:16 +08:00
fyears
0b5b9cf51a auto add ignore file 2022-03-12 23:18:27 +08:00
fyears
915d027b12 full detect code 2022-03-12 22:42:54 +08:00
fyears
479d2a4fac draft 2022-03-12 21:35:59 +08:00
fyears
2d9610cd92 optimize folder 2022-03-11 23:21:38 +08:00
fyears
e1d9fc1e9c fix sync delete 2022-03-11 09:11:50 +08:00
fyears
ecc46f2ea1 fully bypass cors for onedrive! 2022-03-11 09:09:41 +08:00
fyears
c04876e0c5 A big commit Squashed commit of CORS:
commit 8cffa38ebae2a46b7c8e855c7b21a124e35adc89
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Thu Mar 10 23:52:56 2022 +0800

    bypass more cors for onedrive

commit 1b59ac1e58032099068aab55d22ef96c6396f203
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Wed Mar 9 23:58:28 2022 +0800

    change wordings for webdav cors

commit 73142eb18b59fff20839680e866f51cfcb0a6226
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Wed Mar 9 23:38:58 2022 +0800

    remove cors hint for webdav

commit 7dbb0b49d50e529b2b72e55ea2c8503ba7fa9268
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Wed Mar 9 23:31:54 2022 +0800

    fix webdav

commit c28c4e19720a56230d483acf306463d42e619fa4
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Wed Mar 9 23:31:35 2022 +0800

    remove more headers

commit 4eeae7043fa68d669a5c23c5549c14c1260ce638
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Wed Mar 9 23:18:32 2022 +0800

    polish cors hints for s3

commit d9e55a91a1c413e9419cd6b30a3a6e3b403d483b
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Wed Mar 9 22:40:37 2022 +0800

    fix format

commit b780a3eb4e37b05b8e8b92d6a2f9283b3459d738
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Wed Mar 9 22:37:02 2022 +0800

    finally correctly inject requestUrl into s3

commit 6a55a1a43d7653d65579ab88aa816e5d54cd276a
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Wed Mar 9 22:33:18 2022 +0800

    to arraybuffer from view

commit 2f2607b4f0a3d9db5943528ced57cb2fdb419607
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Wed Mar 9 13:31:22 2022 +0800

    add split ranges

commit ea24da24dea83fdb770e7e391cf8a2e4fea78d0d
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Sun Mar 6 22:57:50 2022 +0800

    add settings of bypassing for s3

commit 2f099dc8ca1e66ea137b28dd329be50968734ba6
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Sun Mar 6 22:38:07 2022 +0800

    use api ver var

commit 74c7ce2449a88cbe7c7f50cbb687b36ff3732c04
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Sun Mar 6 22:37:25 2022 +0800

    correct way to inject s3

commit f29945d73132d21b2c44472ec2cafc06b9d71e8f
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Tue Mar 1 00:09:57 2022 +0800

    add new http handler

commit d55104cb08e168cbcc243cf901cbd7f46f2e324b
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Mon Feb 28 22:59:55 2022 +0800

    add types for patch

commit 50b79ade7188ee7dfab9c1d03119585db358ba6f
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Mon Feb 28 08:25:19 2022 +0800

    remove verbose

commit 83f0e71aa15aa7586f6d4e105cd77c25c2e113ce
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Mon Feb 28 08:25:04 2022 +0800

    patch webdav!
2022-03-10 23:54:35 +08:00
fyears
2e6848f901 combine mtime and ctime 2022-03-06 23:15:59 +08:00
fyears
9c830c2c14 check for undefined decision 2022-03-06 19:03:24 +08:00