Commit Graph

3027 Commits

Author SHA1 Message Date
Sam Schott
e65099e0f6 updated gitignore 2020-09-14 18:31:03 +01:00
Sam Schott
251a253081 [packaging] always use pip3 2020-09-14 13:40:07 +01:00
SamSchott
a028822e3a
Merge pull request #179 from SamSchott/no-in-memory-index
Don't keep the full index in memory
2020-09-14 13:08:15 +01:00
Sam Schott
a8f7d6244d [sync] make mypy happy 2020-09-14 12:35:59 +01:00
Sam Schott
3067bfe351 [config] performance improvements 2020-09-14 12:32:30 +01:00
Sam Schott
1e04d737a8 [main] make version property instead of method 2020-09-14 11:51:37 +01:00
Sam Schott
5be8fd8b7f [sync] ignore FileModifiedEvent at move destination 2020-09-14 11:21:13 +01:00
Sam Schott
184a08aff2 [tests] simplify setup 2020-09-14 11:17:44 +01:00
Sam Schott
42c01ec8ff [notify] minor cleanup 2020-09-14 10:12:36 +01:00
Sam Schott
dde6d55afe [auth] make get_keyring_backend class method 2020-09-14 10:08:21 +01:00
Sam Schott
143a87f833 [main] tweak pending_link check
Allow bypassing the auth module and setting the auth token on the client directly. This is useful for CI and tests.
2020-09-14 10:08:03 +01:00
Sam Schott
751d434f40 [sync_test] fix dropbox path location in test 2020-09-14 08:52:41 +01:00
Sam Schott
f74f53dc64 [test_sync] some cleanup 2020-09-13 23:00:28 +01:00
Sam Schott
8b447df86b [housekeeping] clean up logs 2020-09-13 22:59:29 +01:00
Sam Schott
6bb3f19e67 minor tweak 2020-09-13 22:56:15 +01:00
Sam Schott
c86c085e47 [sync] performance improvements to is_excluded 2020-09-13 22:54:50 +01:00
Sam Schott
298b9f1115 [sync] catch NotADirectoryError in get_local_hash 2020-09-12 21:54:02 +01:00
Sam Schott
8637173375 [sync] fix query for last_sync 2020-09-12 14:10:48 +01:00
Sam Schott
ca68279c03 updated tests 2020-09-12 12:37:10 +01:00
Sam Schott
a6b2a49fbc typing fixes 2020-09-12 12:07:33 +01:00
Sam Schott
ce5cc6b9bb [sync] don't keep rev index in-memory 2020-09-12 10:45:01 +01:00
Sam Schott
c5ae6f1601 [sync] transparently handle DropboxServerError 2020-09-12 10:44:46 +01:00
Sam Schott
324baef1e1 update requirements 2020-09-11 10:51:44 +02:00
Sam Schott
9e19286f04 [cli] use entry points for GUI discovery 2020-09-10 12:12:22 +02:00
Sam Schott
7c63abf777 [sync] removed unused import 2020-09-09 15:28:34 +02:00
Sam Schott
25d61108b3 [cli] cleanup 2020-09-09 15:28:34 +02:00
Sam Schott
1ce29726fd [sync] load index cache on-demand 2020-09-09 15:16:40 +02:00
Sam Schott
f8e2a7786a [sync] garbage collect after startup 2020-09-09 12:05:19 +02:00
Sam Schott
a2c44c5e12 [sync] minor refactoring 2020-09-09 12:05:02 +02:00
Sam Schott
bd95472c90 [sync] save hashes on download 2020-09-07 20:00:59 +02:00
Sam Schott
200dde6a85 store mtime in hash cache instead of ctime 2020-09-07 20:00:46 +02:00
Sam Schott
61faace8bd [sync] fix a bug when preserving Dropbox permissions 2020-09-07 17:43:30 +02:00
Sam Schott
e0e92d7a83 move sync cycle notes to documentation 2020-09-07 17:40:15 +02:00
Sam Schott
6dbfe58c8a [sync] added comment on serial calculation of content hashes 2020-09-07 16:42:25 +02:00
Sam Schott
48f2f412db cache content hashes in DB 2020-09-07 13:21:08 +02:00
Sam Schott
e4cf1a3ffd [sync] store content hash in index
remove content_hash_ctime column: the index should not act as a cache but just represent our sync state
2020-09-07 12:27:01 +02:00
Sam Schott
b478f47e9a updated notification docs 2020-09-07 11:04:47 +02:00
Sam Schott
9c1bdd26d4 [sync] typing of decorator 2020-09-07 10:52:20 +02:00
Sam Schott
c23aab4ad7 [sync] move constructors to SyncEvent 2020-09-06 18:38:48 +02:00
Sam Schott
be402c92b2 [sync] SyncMonitor refactor synchronisation 2020-09-06 18:38:29 +02:00
Sam Schott
6d79d8ecb6 [sync] SyncMonitor remove unused _threads_alive 2020-09-06 18:37:29 +02:00
Sam Schott
cc7342c743 [sync] use instance lock for PersistentStateMutableSet 2020-09-06 18:37:00 +02:00
Sam Schott
c0b81bd602 [sync] better doc string 2020-09-06 00:45:58 +02:00
Sam Schott
68268511d2 [sync] simplify _should_split_excluded 2020-09-06 00:31:21 +02:00
Sam Schott
60490575a8 [sync] doc string updates 2020-09-06 00:30:21 +02:00
Sam Schott
a287f697fd updated changelog 2020-09-04 15:57:17 +02:00
Sam Schott
fcbb0a926c cosmetic improvement 2020-09-04 15:56:57 +02:00
Sam Schott
9380ec0494 [sync] increase throttles log interval to 2 2020-09-04 15:30:09 +02:00
Sam Schott
00c7b617ff [sync] remove unused InQueue and remove_from_queue 2020-09-04 15:29:51 +02:00
Sam Schott
d39ed1926c [sync] remove lock from FSEventHandler 2020-09-04 15:27:09 +02:00