Commit Graph

27 Commits

Author SHA1 Message Date
9898104e25 code formatting 2021-02-07 14:04:01 +02:00
2523a2da6d BUGFIX: should update cluster info with new info for my device, if my device was previously registered with different info 2021-02-07 14:03:49 +02:00
70eb98da76 moved callback registration to AFTER our instance updates ETCD 2021-02-07 14:02:53 +02:00
0a93abe30f added retries to etcd and syncthing http calls 2021-02-07 14:01:59 +02:00
ab1434b7a5 log output format tweak 2021-02-03 12:26:28 +02:00
37902a3bcc BUGFIX (attempt): folder devices are overwritten and replaced with singleton device list consisting of my device ID upon restart; added more debug messages 2021-02-03 11:00:17 +02:00
10ef3a3a94 attempt to fix networking issues 2021-02-02 12:54:11 +02:00
b647bcf9f6 removed retry annotations for better debugging 2021-02-02 11:53:59 +02:00
cd646e2089 added debug logging 2021-02-02 10:48:19 +02:00
728f35b52c added output flush 2021-02-01 16:50:03 +02:00
6f9462de00 fixed broken test 2021-01-31 13:44:45 +02:00
738d8bb8f9 externalized config params (incl etcd key) as env vars 2021-01-31 13:37:25 +02:00
9f4084fb53 can add syncthing public address; refactorings 2021-01-31 11:45:07 +02:00
afb1a2f7bd can sync file!
integration test works
2021-01-31 10:44:14 +02:00
0af5811c96 refactored main code into Program class and consolidated config vars 2021-01-29 15:55:51 +02:00
de749526da can update device info on each syncthing instance with the other devices' hostnames 2021-01-29 14:56:07 +02:00
508c4f384c refactored EtcdClient 2021-01-29 12:56:51 +02:00
b7a91bbaf1 refactored name of EtcdClient module 2021-01-29 12:37:42 +02:00
04770e6716 refactored name of SyncthingClient module 2021-01-29 12:36:02 +02:00
241642b5bc refactored fields/methods within SyncthingClient 2021-01-29 12:35:18 +02:00
a760965c12 refactored etcd client methods into EtcdClient class 2021-01-29 12:19:53 +02:00
4c45a7d72b refactored syncthing client methods into SyncthingClient class 2021-01-29 12:13:59 +02:00
3589064dd0 can add devices to syncthing 2021-01-29 11:59:59 +02:00
b837926c11 refactorings 2021-01-29 11:07:58 +02:00
055eb5932a can update etcd with device id 2021-01-29 10:28:35 +02:00
3d90ed0708 can get device id 2021-01-28 15:33:21 +02:00
3c0eece311 can parse api key 2021-01-28 12:56:11 +02:00