syncthing/lib
Jakob Borg 2c866277a2 lib/api, lib/connections, gui: Show connection error for disconnected devices (fixes #3345) (#5727)
* lib/api, lib/connections, gui: Show connection error for disconnected devices (fixes #3345)

This adds functionality in the connetions service to track the last
error per address. That is in turn exposed in the /rest/system/status
API method, as that is also where we already show the listener status
from the connection service.

The GUI uses this info where it lists addresses, showing errors (if any)
in red underneath each address.

I also slightly refactored the existing status method on the connection
service to have a better name and return typed information.

* ok

* review

* formatting

* review
2019-05-16 22:11:45 +01:00
..
api lib/api, lib/connections, gui: Show connection error for disconnected devices (fixes #3345) (#5727) 2019-05-16 22:11:45 +01:00
auto build: Let "go generate" create assets 2018-06-26 10:29:36 +02:00
beacon all: Revert the underscore sillyness 2019-02-02 12:16:27 +01:00
build all: Use new reflect based CLI (#5487) 2019-02-12 07:58:24 +01:00
config lib/config: Round times stored for pending folders/devices (fixes #5554) 2019-03-27 20:35:42 +01:00
connections lib/api, lib/connections, gui: Show connection error for disconnected devices (fixes #3345) (#5727) 2019-05-16 22:11:45 +01:00
db cmd, lib/db: Actually close goleveldb (fixes #5505) (#5671) 2019-05-02 11:15:00 +02:00
dialer all: Revert the underscore sillyness 2019-02-02 12:16:27 +01:00
discover all: Revert the underscore sillyness 2019-02-02 12:16:27 +01:00
events all: Revert the underscore sillyness 2019-02-02 12:16:27 +01:00
fs lib/fs: Consider win83 for root path as well when watching (ref #5706) (#5709) 2019-05-11 10:06:04 +02:00
ignore lib/ignore: Additional test case (#5672) 2019-04-28 21:20:11 +01:00
locations all: Use new reflect based CLI (#5487) 2019-02-12 07:58:24 +01:00
logger all: Get rid of fatal logging (#5537) 2019-02-14 20:29:14 +00:00
model lib/model: Remove superfluous check for IndexID in remote ClusterConfig (#5717) 2019-05-12 21:17:55 +02:00
nat all: Hide implementations behind interfaces for mocked testing (#5548) 2019-02-26 08:09:25 +00:00
osutil lib/versioner: Restore for all versioners, cross-device support (#5514) 2019-04-28 23:30:16 +01:00
pmp all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
protocol lib/protocol: Revert unreleased changes related to closing connections (#5688) 2019-05-08 08:08:26 +02:00
rand all: Revert the underscore sillyness 2019-02-02 12:16:27 +01:00
rc all: Revert the underscore sillyness 2019-02-02 12:16:27 +01:00
relay all: Revert the underscore sillyness 2019-02-02 12:16:27 +01:00
scanner lib/scanner, lib/model: File -> item when logging error (#5664) 2019-04-21 16:19:59 +01:00
sha256 all: Revert the underscore sillyness 2019-02-02 12:16:27 +01:00
signature all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
stats lib/db: Refactor: use a Lowlevel type underneath Instance (ref #5198) (#5212) 2018-10-10 11:34:24 +02:00
sync all: Even more boring linter fixes (#5501) 2019-02-02 11:45:17 +01:00
tlsutil lib/tlsutil: Enable TLS 1.3 when available, on test builds (fixes #5065) (#5558) 2019-02-26 11:49:02 +01:00
upgrade all: Revert the underscore sillyness 2019-02-02 12:16:27 +01:00
upnp lib/upnp: Don’t log unknown device types (fixes #5038) (#5087) 2018-07-30 16:34:35 +02:00
ur cmd/syncthing, lib/api: Separate api/gui into own package (ref #4085) (#5529) 2019-03-26 19:53:58 +00:00
util all: Use new reflect based CLI (#5487) 2019-02-12 07:58:24 +01:00
versioner lib/versioner: Restore for all versioners, cross-device support (#5514) 2019-04-28 23:30:16 +01:00
watchaggregator all: Hide implementations behind interfaces for mocked testing (#5548) 2019-02-26 08:09:25 +00:00
weakhash lib/scanner: Use standard adler32 when we don't need rolling (#5556) 2019-02-25 13:29:31 +04:00