syncthing/lib
Matt Burke c2a5e180b8 Emit warning when sync could overwrite configuration
Overwriting configuration files is likely to happen if a
user syncs their home directories across computers. In this
case, the biggest risk is that all nodes will end up with
the same certificate and thus Device ID.

When the model prepares a folder for syncing, it checks to
see if the configuration files this instance is using are
getting synced. If the are getting synced, and they aren't
getting ignored, a warning is emitted. The model is used
so that when a new folder is added dynamically, a warning
is also emitted.

This will not prevent a user from shooting themselves in
the foot, and will not cover all cases (e.g. symlinks).
It should provide _something_ for many users in this
situation to go on, though.
2015-10-20 12:22:27 -04:00
..
auto Docs & translation update 2015-10-20 09:59:50 +02:00
beacon Don't panic on clean shutdown 2015-10-20 15:59:37 +02:00
config Merge pull request #2386 from AudriusButkevicius/epoint 2015-10-17 09:14:35 +09:00
connections Our dialer sets up TCP options 2015-10-16 19:18:22 +01:00
db Implement facility based logger, debugging via REST API 2015-10-03 18:09:53 +02:00
dialer Our dialer sets up TCP options 2015-10-16 19:18:22 +01:00
discover Patch up HTTP clients 2015-10-15 21:02:17 +01:00
events Implement facility based logger, debugging via REST API 2015-10-03 18:09:53 +02:00
fnmatch Use raw strings to describe regexes, avoids double escaping 2015-09-02 22:19:45 +02:00
ignore Correctly report errors encountered parsing ignores (fixes #2309, fixes #2296) 2015-09-29 18:04:18 +02:00
logger Implement facility based logger, debugging via REST API 2015-10-03 18:09:53 +02:00
model Emit warning when sync could overwrite configuration 2015-10-20 12:22:27 -04:00
osutil Revert "Case insensitive renames, part 1" 2015-09-30 21:40:04 +02:00
protocol Add more information about the folders to ClusterConfig 2015-10-17 09:46:46 +01:00
rc Patch up HTTP clients 2015-10-15 21:02:17 +01:00
relay Don't panic on clean shutdown 2015-10-20 15:59:37 +02:00
scanner Fix division by zero (fixes #2373) 2015-10-12 18:57:15 +01:00
signature stsigtool should use the built in key by default 2015-08-24 16:24:00 +02:00
stats Implement facility based logger, debugging via REST API 2015-10-03 18:09:53 +02:00
symlinks Fix import paths 2015-09-22 19:38:46 +02:00
sync Implement facility based logger, debugging via REST API 2015-10-03 18:09:53 +02:00
tlsutil Generate certs with SHA256 signature instead of SHA1 2015-09-09 12:55:17 +02:00
upgrade Patch up HTTP clients 2015-10-15 21:02:17 +01:00
upnp Add proxy support (fixes #271) 2015-10-15 21:01:42 +01:00
versioner Implement facility based logger, debugging via REST API 2015-10-03 18:09:53 +02:00