Jakob Borg
944ddcf768
all: Become a Go module ( fixes #5148 ) ( #5384 )
...
* go mod init; rm -rf vendor
* tweak proto files and generation
* go mod vendor
* clean up build.go
* protobuf literals in tests
* downgrade gogo/protobuf
2018-12-18 12:36:38 +01:00
Simon Frei
3cc8918eb4
lib/db: Defer unlock to avoid hangup on panic ( #5388 )
2018-12-17 14:59:09 +01:00
Simon Frei
c40c9a8d6a
lib/scanner: Don't report error on missing items ( fixes #5385 ) ( #5387 )
2018-12-17 14:52:15 +01:00
Jakob Borg
abb3fb8a31
lib/events: Become a service ( fixes #5372 ) ( #5373 )
...
Here the event Logger is rewritten as a service with a main loop instead
of mutexes. This loop has a select with essentially two legs: incoming
events, and subscription changes. When both are possible select will
chose one randomly, thus ensuring that in practice unsubscribes will
happen timely and not block the system.
2018-12-13 13:42:28 +01:00
Jakob Borg
fc860df514
lib/watchaggregator: Properly unsubscribe from events when stopping (ref #5372 ) ( #5374 )
2018-12-13 08:11:51 +01:00
Simon Frei
c934918347
lib/scanner: Fix empty path on normalization error ( fixes #5369 ) ( #5370 )
2018-12-12 12:09:39 +01:00
Jakob Borg
c98a34a5d4
gui, man, authors: Update docs, translations, and contributors
2018-12-12 07:45:23 +01:00
Jörg Thalheim
bdcffe703b
build: Don't use go build -i ( #5367 )
2018-12-11 13:37:46 +01:00
Simon Frei
a09079ed25
all: Display list of locally changed items in UI ( fixes #5336 ) ( #5337 )
2018-12-11 09:59:04 +01:00
Jakob Borg
1b59960ff9
lib/model: Attempt to unflake Deregister tests ( fixes #5362 ) ( #5366 )
2018-12-11 09:42:03 +01:00
Jakob Borg
f04d054b5a
lib/db: Document current keyspace
2018-12-10 09:55:21 +01:00
desbma
132789785d
etc: Add hardening options to syncthing systemd services ( fixes #5286 ) ( #5351 )
2018-12-07 14:58:12 +01:00
Jakob Borg
002de7b6a0
Merge branch 'release'
...
* release:
gui: Don't use newfangled ES6 features (fixes #5348 )
2018-12-05 12:24:36 +01:00
Jakob Borg
9e725026d1
gui: Don't use newfangled ES6 features ( fixes #5348 )
2018-12-05 12:24:27 +01:00
Jakob Borg
da39dfada3
gui: Don't use newfangled ES6 features ( fixes #5348 )
2018-12-05 12:18:45 +01:00
Audrius Butkevicius
ff2cde469e
lib/model: Allow limiting number of concurrent scans ( fixes #2760 ) ( #4888 )
2018-12-05 08:40:05 +01:00
Jakob Borg
0fe4c01a28
lib/db: Fix broken test on Windows ( #5347 )
2018-12-05 08:24:14 +01:00
Jakob Borg
351e855464
gui, man, authors: Update docs, translations, and contributors
2018-12-05 07:45:21 +01:00
Jakob Borg
7203ccb73d
gui, man, authors: Update docs, translations, and contributors
2018-11-28 07:45:22 +01:00
Jakob Borg
e89c4c053a
lib/db: Simple case sensitivity test
2018-11-26 17:58:00 +01:00
Simon Frei
0391c57a37
cmd/syncthing: Improve logged device information on startup ( #5321 )
2018-11-22 11:39:01 +01:00
Simon Frei
2f9840ddae
lib: Introduce fs.IsParent ( fixes #5324 ) ( #5326 )
2018-11-22 11:16:45 +01:00
Ben S
513d3bc374
gui: Display rate limit ( fixes #5320 ) ( #5328 )
...
Display rate limit for own device and connected devices
2018-11-22 10:59:04 +01:00
Jakob Borg
c0a26c918a
lib/scanner, vendor: Update github.com/chmduquesne/rollinghash ( fixes #5334 ) ( #5335 )
...
Updates the package and fixes a test that depended on the old behavior
of Write() being equivalent to Reset()+Write() which is no longer the
case. The scanner already did resets after each block write, so this is
fine.
2018-11-22 08:50:06 +01:00
Jakob Borg
d1704d5304
gui, man, authors: Update docs, translations, and contributors
2018-11-21 07:45:22 +01:00
Jakob Borg
d3d0161fb9
gui, man, authors: Update docs, translations, and contributors
2018-11-14 07:45:23 +01:00
Simon Frei
db8777c29e
lib/model: Add test for #5323 ( #5325 )
2018-11-13 08:36:16 +00:00
Ben S
ba4554f053
gui: Sharing tab for folders ( #5313 )
...
Sharing tab for folders (like sharing tab for devices)
2018-11-13 08:57:45 +01:00
Simon Frei
33bed5b1ec
lib/model: Don't compare permissions if IgnorePerms is true ( fixes #5323 ) ( #5322 )
2018-11-13 08:54:49 +01:00
Simon Frei
4f27bdfc27
lib/model, lib/protocol: Handle request concurrency in model ( #5216 )
2018-11-13 08:53:55 +01:00
Cromefire_
9212303906
gui: Defer jsTree initialisation until next digest cycle ( fixes #4738 )
2018-11-11 12:42:53 +00:00
Simon Frei
603da2dce2
cmd/syncthing, lib/relay: Fixes regarding stopping of services ( #5293 )
2018-11-07 11:05:07 +01:00
Simon Frei
d510e3cca3
all: Display errors while scanning in web UI ( fixes #4480 ) ( #5215 )
2018-11-07 11:04:41 +01:00
BAHADIR YILMAZ
f51514d0e7
gui: Select / Deselect all folders / devices (#fixes 4000) ( #5307 )
2018-11-07 09:44:52 +01:00
Jakob Borg
e67be59c5f
gui, man, authors: Update docs, translations, and contributors
2018-11-07 07:45:25 +01:00
Benno Fünfstück
add12b43aa
cmd/syncthing: Make directory auto-complete case insensitive ( fixes #1347 )
2018-11-01 19:13:11 +00:00
Simon Frei
aec91d8f32
cmd/ursrv: Add google maps api key ( fixes #5296 ) ( #5303 )
2018-11-01 06:21:28 +01:00
Simon Frei
53b0f36be6
lib/fs: Use os.FileMode.String for fs.FileMode ( #5302 )
2018-10-31 12:49:50 +01:00
Jakob Borg
830bde2c83
gui, man, authors: Update docs, translations, and contributors
2018-10-31 07:45:23 +01:00
Jakob Borg
be1744a481
cmd/strelaypoolsrv: Hardcode a usable maps API key ( fixes #5296 )
...
Yeah it's not the most beautiful solution but it works for now.
2018-10-31 07:39:38 +01:00
Simon Frei
01ade9c8ae
lib/connections: Don't panic on removed device ( fixes #5299 ) ( #5300 )
2018-10-30 10:34:19 +01:00
Simon Frei
b1acc37c16
lib/db: Update local need on device removal ( fixes #5294 ) ( #5295 )
2018-10-30 05:40:51 +01:00
Simon Frei
64a591610b
lib/model: Check if files from queue are invalid ( fixes #5291 ) ( #5292 )
2018-10-26 19:13:35 +01:00
Jakob Borg
9a07b22d4a
gui, man, authors: Update docs, translations, and contributors
2018-10-24 07:45:24 +02:00
Simon Frei
406bedf1e3
lib/logger: Disable debug flags without debugging ( fixes #4780 ) ( #5278 )
2018-10-23 15:17:40 +02:00
Simon Frei
7f55fbbe84
gui: Show usage reporting title regardless of RC ( #5284 )
2018-10-23 17:30:13 +09:00
Alexandre Viau
75f9ea623c
cmd: Update prometheus_client ( fixes #5280 ) ( #5282 )
2018-10-21 16:11:26 +01:00
Alexandre Viau
9745679c63
lib: chmod -x on progressemitter.go and errors.go ( #5281 )
2018-10-21 16:08:14 +01:00
Jakob Borg
8519a24ba6
cmd/*, lib/tlsutil: Refactor TLS stuff ( fixes #5256 ) ( #5276 )
...
This changes the TLS and certificate handling in a few ways:
- We always use TLS 1.2, both for sync connections (as previously) and
the GUI/REST/discovery stuff. This is a tightening of the requirements
on the GUI. AS far as I can tell from caniusethis.com every browser from
2013 and forward supports TLS 1.2, so I think we should be fine.
- We always greate ECDSA certificates. Previously we'd create
ECDSA-with-RSA certificates for sync connections and pure RSA
certificates for the web stuff. The new default is more modern and the
same everywhere. These certificates are OK in TLS 1.2.
- We use the Go CPU detection stuff to choose the cipher suites to use,
indirectly. The TLS package uses CPU capabilities probing to select
either AES-GCM (fast if we have AES-NI) or ChaCha20 (faster if we
don't). These CPU detection things aren't exported though, so the tlsutil
package now does a quick TLS handshake with itself as part of init().
If the chosen cipher suite was AES-GCM we prioritize that, otherwise we
prefer ChaCha20. Some might call this ugly. I think it's awesome.
2018-10-21 14:17:50 +09:00
Simon Frei
c0be9987d0
build: Add desktop files and icons to .deb ( fixes #3439 ) ( #5277 )
2018-10-20 08:25:59 +02:00