Commit Graph

179 Commits

Author SHA1 Message Date
Vijayasantham
17de78240f
Feat: Add #481 (#492) 2024-02-12 17:13:43 +08:00
fyears
6ba5abc0a6 format 2024-02-08 16:45:15 +08:00
Vijayasantham
d820285d1e
Fix: Save on sync issue (#486)
* Fix: Save on sync issue

* Fix: Add delay before run sync on save
2024-02-08 11:58:57 +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
8dde6c59d2 strict anywhere 2024-01-14 22:13:10 +08:00
fyears
29a3c76b4e s3 mtime 2024-01-13 19:27: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
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
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
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
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
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
6a651b844f ignore paths by regexgit add . 2024-01-04 00:26:02 +08:00
ras0q
79a0b9f44d add ignorePaths setting 2024-01-03 23:36:12 +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
17135abbd4 bypassing large files 2022-05-01 18:13:06 +08:00
fyears
13537d1481 insert dry run into plan records 2022-04-18 00:22:00 +08:00
fyears
99f143115b export sync plans in table format 2022-04-10 17:38:37 +08:00
fyears
df53ea957f add commands 2022-04-10 11:18:48 +08:00
fyears
8cec2b00eb remove unused debug log 2022-04-09 00:18:48 +08:00
fyears
8270a02246 finally a correct way to throw errors 2022-04-07 23:59:57 +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
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
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
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
575a27db26 err msg stays longer 2022-03-22 00:31:17 +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
1cd02913bb reduce size by using lucide not feather-icons 2022-03-20 20:35:09 +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
a2fb515b74 add parts concurrency s3 2022-03-14 23:42:18 +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
479d2a4fac draft 2022-03-12 21:35:59 +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
18cb8ba413 add sync once after start up 2022-03-06 18:49:15 +08:00
fyears
76e61b6ebf upload and download in parallel 2022-03-06 18:12:49 +08:00
fyears
3dfe215103 better sync operations for folders 2022-03-06 13:22:24 +08:00
fyears
df2d98272c new sync algo, squashed commit of the following:
commit 692bb794aea5609b9e9abf5228620f4479e50983
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Sun Feb 27 17:52:43 2022 +0800

    bump to 0.3.0

commit 77335412ad2da2b5bd1ed5075061a5af006e3c36
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Sun Feb 27 17:50:57 2022 +0800

    change titles for minimal intrusive design

commit 2812adebb84344d384749a62acb63fd0c6fd509d
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Sun Feb 27 17:30:53 2022 +0800

    remove syncv1

commit 22fc24a76c9851740bbc7c0177d1cb2526e15d8b
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Sun Feb 27 17:30:27 2022 +0800

    full notice to any one

commit d56ea24a78f6dc1fbea2740011ee1cea9c403d4c
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Sat Feb 26 23:11:14 2022 +0800

    fix test

commit 759f82593bbfb9b49079cfd80dbadbbafc0287e5
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Sat Feb 26 21:59:25 2022 +0800

    obfuscate metadata on remote

commit 9b6bf05288af0e52d0f02468e5ac8757f4f896df
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Sat Feb 26 21:33:52 2022 +0800

    avoid re-uploading if meta not changed

commit 03be1453764e48e99207f44467ee4d5801072ed8
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Sat Feb 26 00:35:52 2022 +0800

    add password condition

commit 7f899f7c2572df3e2a35e16cbdaab94db113f366
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Sat Feb 26 00:22:58 2022 +0800

    add decision branch for easier debugging

commit cf4071bf3156356ae6ec3a9cb187c2cb541d1b17
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Fri Feb 25 23:40:52 2022 +0800

    change folder error

commit 964493dd998699a1d53018a201637bda192c4baa
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Fri Feb 25 23:09:44 2022 +0800

    finnaly remote remove should be working

commit 2888e65452f9c0e1dde6005f012c3ee0a6313c3f
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Fri Feb 25 01:18:15 2022 +0800

    optimize comparation

commit 024936951d6180b1296c2a5d56c5bf5d468e9ae7
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Fri Feb 25 01:14:44 2022 +0800

    allow uploading extra meta

commit 007006701d536da2b4b46389941980579bbc4e67
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Thu Feb 24 01:08:58 2022 +0800

    add logic to fetch extra meta

commit c9d3a05ca1bf45c06f22233124670e5e45b5f5f1
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Thu Feb 24 00:29:16 2022 +0800

    another way to deal with trash

commit 82d455f8bf60f7bac8eb4e299a2ca44c331a6d7f
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Thu Feb 24 00:28:51 2022 +0800

    add return buffer for downloading

commit b8e6b79bc078def2854bc73578b7f520cc39ab34
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Wed Feb 23 00:16:06 2022 +0800

    half way to actual sync

commit 90cceb1411b46af9741f2caa3ab8beafaf69c1b2
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Tue Feb 22 23:36:09 2022 +0800

    cleaner way to remember the folder being kept

commit c1afb763cc4e0f7905c83e0a8eb20f8ed969a279
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Tue Feb 22 00:03:21 2022 +0800

    simplified way to get plans for sync algo v2

commit 5c5ecce39eb3854900f1f5b79c7beb189e78a6a7
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Mon Feb 21 23:13:58 2022 +0800

    archive the old sync algo v1 doc

commit 75cdfa1ee9834600f83ded6672b102de2c5f9616
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Mon Feb 21 23:13:14 2022 +0800

    simplify sync algo v2

commit dc9275835d961de07efcbaa81657e4745242e72a
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Mon Feb 21 22:58:57 2022 +0800

    add way to skip recording removing

commit f9712ef96021dfed4ae33e6c649f78e940b7e530
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Mon Feb 21 09:38:09 2022 +0800

    fix sync

commit 9007dcf22ef317dde36ac4f1dd589d05cc8d5cf6
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Mon Feb 21 00:54:21 2022 +0800

    fix assignment

commit 77abee6ad443b62353ed3913e0945ea7d1314f87
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Mon Feb 21 00:28:43 2022 +0800

    draft of sync v2

commit a0c26238bf60692e095cfd8527abf937255b56d4
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Mon Feb 21 00:23:19 2022 +0800

    how to deal with folders

commit c10f92a7e8d3c4a4f4c585e39e0abad1a5376c02
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Sun Feb 20 23:39:16 2022 +0800

    helper func to get parents

commit f903c98b3b7b9d1e785d04b9fc0cfcafdc6e5661
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Sun Feb 20 23:31:21 2022 +0800

    add optional ending slash to getFolderLevels

commit 2d67c9b2b941e676588fa43ab289fab79f567e5e
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Sun Feb 20 14:44:44 2022 +0800

    update sync algo v2

commit 491ed1bb85759df2411706fd02d740acb5598ce6
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Sun Feb 20 14:34:51 2022 +0800

    dry run mode

commit dfd588dcef512ba7dfe760008bcf97138b97e339
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Sat Feb 19 23:14:32 2022 +0800

    prettier

commit eae580f882a045ae9df799b816e68c3500704131
Author: fyears <1142836+fyears@users.noreply.github.com>
Date:   Sat Feb 19 23:12:29 2022 +0800

    draft design for sync algo v2
2022-02-27 17:54:31 +08:00
fyears
d9f926e376 add command 2022-01-22 22:19:31 +08:00
fyears
91af2c849f revert main.ts after debugging 2022-01-22 17:17:53 +08:00
fyears
320f91f1a5 add webdav depth=1 2022-01-22 17:11:12 +08:00
fyears
6cdbc5b32e auto sync 2022-01-16 23:02:49 +08:00
fyears
a78a2a88cf use feather icon 2022-01-16 13:38:20 +08:00
fyears
04f3a0c97c add vault name into dbs 2022-01-08 18:41:11 +08:00
fyears
c637038d95 show progress 2022-01-08 14:45:36 +08:00
fyears
9eddfb02d6 encode config 2022-01-05 10:04:58 +08:00
fyears
8671ba4660 use loglevel everywhere 2022-01-05 00:23:49 +08:00
fyears
5b703334d7 change qrcode 2022-01-01 23:26:01 +08:00
fyears
6832c9f649 force expire login cred 2022-01-01 18:37:48 +08:00
fyears
f26ee8bbc5 optimize dropbox flow 2022-01-01 13:55:27 +08:00
fyears
414a3f5e4a more notice for error 2022-01-01 00:56:32 +08:00
fyears
02e5f9b5a0 fix onedrive auth process 2022-01-01 00:53:44 +08:00
fyears
4865a797aa assign default const 2022-01-01 00:40:54 +08:00
fyears
5a5898f315 fix onedrive auth hint 2021-12-31 23:54:48 +08:00
fyears
d5ba0a0e0d split settings and fix format 2021-12-31 23:46:52 +08:00
fyears
792703f8b6 fix progress count 2021-12-30 01:30:53 +08:00
fyears
6552fd32d1 basically working onedrive 2021-12-29 00:35:46 +08:00
fyears
2576354269 clean desc 2021-12-12 00:56:40 +08:00
fyears
122fec1d75 no need for code mirror here 2021-12-12 00:04:00 +08:00
fyears
44480be707 webdav also sync in vault folder 2021-12-11 23:55:12 +08:00
fyears
8624141780 add qrcode export import 2021-12-11 17:33:55 +08:00
fyears
d980bcbc1b rename titles 2021-12-10 01:12:31 +08:00
fyears
6ebe1a8966 no support digest webdav now 2021-12-10 01:10:38 +08:00
fyears
d0ab1d8abe remove webdav hide 2021-12-10 01:09:51 +08:00
fyears
9b1eebdf90 standarized codes 2021-12-10 00:16:28 +08:00
fyears
2f20ca61ce rebranding 2021-12-04 01:21:15 +08:00
fyears
2bbbd569c5 fix typo 2021-12-04 01:11:17 +08:00
fyears
62936c4473 attempt to reduce size and use native crypto 2021-12-04 00:55:31 +08:00
fyears
2e800af4f8 dropbox should use sub folder 2021-12-01 00:33:24 +08:00
fyears
262bb9a1fe more disclaimer 2021-11-30 00:32:43 +08:00
fyears
2669a3e8ad fix auth dropbox 2021-11-30 00:21:15 +08:00
fyears
bdac16ee24 define clientID or AppKey by env var 2021-11-29 01:03:17 +08:00
fyears
0a7de6588a ugly way to refresh token 2021-11-29 00:04:24 +08:00
fyears
1effcdd7f7 basic dropbox auth flow 2021-11-28 16:28:52 +08:00
fyears
00c840a758 basically working dropbox 2021-11-28 12:20:38 +08:00
fyears
9128f9ed5b add support for ios 5-times click 2021-11-27 00:49:21 +08:00
fyears
52e9d3298a hide webdav yet 2021-11-21 23:54:50 +08:00
fyears
0be19b677b selective menu for s3 and webdav 2021-11-21 16:46:01 +08:00
fyears
d1839706af basically workable webdav 2021-11-21 15:33:14 +08:00