Commit Graph

94 Commits

Author SHA1 Message Date
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
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
537fae1a2b add tracking for local movement 2022-03-26 15:06:34 +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
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
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
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
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
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
5092c59ed3 skip empty file for onedrive 2022-01-22 18:01:21 +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
313eff6a14 log debug every sync file 2022-01-05 00:24:21 +08:00
fyears
8671ba4660 use loglevel everywhere 2022-01-05 00:23:49 +08:00
fyears
d5ba0a0e0d split settings and fix format 2021-12-31 23:46:52 +08:00
fyears
1bc6ba4b01 use base64url not base32 2021-12-31 01:00:52 +08:00
fyears
00c840a758 basically working dropbox 2021-11-28 12:20:38 +08:00
fyears
e82dfc1e88 fix unknown decision 2021-11-21 22:54:31 +08:00
fyears
d1839706af basically workable webdav 2021-11-21 15:33:14 +08:00
fyears
16c3c11fd8 use localforage 2021-11-14 20:24:33 +08:00
fyears
ce4e55fcc7 more tests 2021-11-09 10:00:44 +08:00
fyears
7fc38a942a check password 2021-11-08 00:39:17 +08:00
fyears
5632e28331 make decision works 2021-11-07 15:00:22 +08:00
fyears
e8d6a50793 update algo 2021-11-07 14:24:24 +08:00
fyears
62aea9d330 debug mode: export sync plans 2021-11-07 13:58:51 +08:00
fyears
254790cd61 abstract getSyncPlan 2021-11-07 00:39:57 +08:00
fyears
bcca2b4446 more accurate stages of sync 2021-11-06 23:31:49 +08:00
fyears
b6df3f7ed5 promise all sync 2021-11-06 22:53:52 +08:00
fyears
f04017e05b init web crypto 2021-11-04 10:10:05 +08:00
fyears
cb0098ec85 fix delete 2021-11-03 12:04:11 +08:00
fyears
6431182ec3 promisify data 2021-11-03 00:15:23 +08:00
fyears
a681ceb4f5 builable 2021-10-27 10:15:14 +08:00
fyears
d9ccd2c7eb deal with empty remote 2021-10-25 01:01:04 +08:00
fyears
69bc1f0e03 add mapping of local and remote 2021-10-25 00:41:13 +08:00
fyears
5ef032523a skip same file locally 2021-10-24 22:12:32 +08:00
fyears
a26158055d basically working 2 way sync! 2021-10-24 20:38:04 +08:00