syncthing/lib
Gahl Saraf 66662cd678
Trigger connection loop on config device addition (fixes #7600) (#7604)
* Trigger connection loop on config device addition (fixes #7600)

* Also check for device address equality

* Move EqualStrings from api_test to utils, and use in connections/service.go

* Make sure CommitConfiguration cannot block due on the deviceAddressesChanged channel

* Update lib/connections/service.go

Co-authored-by: Jakob Borg <jakob@kastelo.net>
2021-04-26 21:13:59 +01:00
..
api Trigger connection loop on config device addition (fixes #7600) (#7604) 2021-04-26 21:13:59 +01:00
assets lib/assets: Allow assets to remain uncompressed (#6661) 2020-05-25 08:51:27 +02:00
beacon lib/ur: Send unreported failures on shutdown (#7164) 2020-12-22 20:17:14 +01:00
build lib/api: Returns tags in version as list (#7190) 2020-12-10 12:22:09 +01:00
config all: Deprecate TLS 1.2 on sync connections (fixes #7594) (#7598) 2021-04-26 10:04:35 +02:00
connections Trigger connection loop on config device addition (fixes #7600) (#7604) 2021-04-26 21:13:59 +01:00
db all: Deprecate TLS 1.2 on sync connections (fixes #7594) (#7598) 2021-04-26 10:04:35 +02:00
dialer lib/dialer: Try dialing without reuse in parallel (fixes #6892) (#6893) 2020-08-18 13:11:12 +02:00
discover lib: Use counterfeiter to mock interfaces in tests (#7375) 2021-03-03 08:53:50 +01:00
events all: Remove miscellaneous vestigial code (#7495) 2021-03-17 22:23:12 +01:00
fs lib: Prevent using protocol method with native path (fixes #7557) (#7563) 2021-04-11 15:29:43 +02:00
ignore all: Remove crypto/md5 (#7493) 2021-03-17 22:22:49 +01:00
locations all: Simplify some method calls (#7499) 2021-03-17 23:12:26 +01:00
logger all: Truncate some timestamps (fixes #7457) (#7459) 2021-03-12 10:35:10 +01:00
model lib/model: Handle invalid needed items on send-only (ref #7476) (#7596) 2021-04-26 15:36:51 +02:00
nat all: Refactor preparing configuration (#7127) 2020-11-20 14:21:54 +01:00
osutil lib: Prevent using protocol method with native path (fixes #7557) (#7563) 2021-04-11 15:29:43 +02:00
pmp lib/nat: Make service termination faster (#6777) 2020-06-22 09:01:57 +01:00
protocol lib: Prevent using protocol method with native path (fixes #7557) (#7563) 2021-04-11 15:29:43 +02:00
rand all: Use crypt/rand through its buffered version, but not in benchmarks (#7420) 2021-03-02 19:17:20 +01:00
rc test, lib/model: Various integration test updates & improvements (#6956) 2020-09-07 09:35:37 +02:00
relay Merge pull request from GHSA-x462-89pf-6r5h 2021-04-06 08:00:00 +02:00
scanner lib: Prevent using protocol method with native path (fixes #7557) (#7563) 2021-04-11 15:29:43 +02:00
sha256 all: Use crypt/rand through its buffered version, but not in benchmarks (#7420) 2021-03-02 19:17:20 +01:00
signature all: Use crypt/rand through its buffered version, but not in benchmarks (#7420) 2021-03-02 19:17:20 +01:00
stats all: Truncate some timestamps (fixes #7457) (#7459) 2021-03-12 10:35:10 +01:00
stun lib/stun: Inline util.OnDone, comment on its purpose (#7308) 2021-01-27 19:27:00 +01:00
svcutil lib: Return error from db.FileSet.Snapshot (fixes #7419, ref #5907) (#7424) 2021-03-07 13:43:22 +01:00
sync lib/sync: Cleanly fail instead of panic in tests (#6088) 2019-10-16 10:11:11 +02:00
syncthing all: Deprecate TLS 1.2 on sync connections (fixes #7594) (#7598) 2021-04-26 10:04:35 +02:00
testutils lib: Use counterfeiter to mock interfaces in tests (#7375) 2021-03-03 08:53:50 +01:00
tlsutil all: Deprecate TLS 1.2 on sync connections (fixes #7594) (#7598) 2021-04-26 10:04:35 +02:00
upgrade all: Tweak error creation (#6391) 2020-03-03 22:40:00 +01:00
upnp all: Simplify some method calls (#7499) 2021-03-17 23:12:26 +01:00
ur lib/ur: Prevent panic when blocksResult is nil (ref #7495) (#7515) 2021-03-22 15:07:41 +01:00
util Trigger connection loop on config device addition (fixes #7600) (#7604) 2021-04-26 21:13:59 +01:00
versioner all: Simplify some method calls (#7499) 2021-03-17 23:12:26 +01:00
watchaggregator all: Refactor preparing configuration (#7127) 2020-11-20 14:21:54 +01:00
weakhash lib/weakhash: Fix speed reporting in benchmark (#6470) 2020-03-29 17:07:25 +02:00