Simon Frei
9d29dbbe5d
cmd/syncthing: Don't fail early on api setup error (fixes 7558) ( #7591 )
...
* cmd/syncthing: Don't fail early on api setup error (fixes 7558)
* switch to factory pattern
* refactor config command to show help on nothing
* wip
* wip
* already abort in before
2021-04-26 15:38:08 +02:00
Simon Frei
8734fa65fc
lib/model: Handle invalid needed items on send-only (ref #7476 ) ( #7596 )
2021-04-26 15:36:51 +02:00
Simon Frei
c53e5c5f17
gui: Handle empty path in validation (ref #7379 ) ( #7595 )
2021-04-26 15:35:12 +02:00
Jakob Borg
74823e81e9
all: Deprecate TLS 1.2 on sync connections ( fixes #7594 ) ( #7598 )
...
This makes us use TLS 1.3+ on sync connections by default. A new option
`insecureAllowOldTLSVersions` exists to allow communication with TLS
1.2-only clients (roughly Syncthing 1.2.2 and older). Even with that
option set you get a slightly simplified setup, with the cipher suite
order fixed instead of auto detected.
2021-04-26 10:04:35 +02:00
Simon Frei
ef4b8a2cf8
cmd/syncthing: Don't fail early on api setup error (fixes 7558) ( #7591 )
...
* cmd/syncthing: Don't fail early on api setup error (fixes 7558)
* switch to factory pattern
* refactor config command to show help on nothing
* wip
* wip
* already abort in before
2021-04-25 20:48:17 +01:00
Simon Frei
54e27f551d
cmd/syncthing: Add debug commands to cli ( #7503 )
2021-04-22 11:14:25 +02:00
Jakob Borg
59bdcdabba
gui, man, authors: Update docs, translations, and contributors
2021-04-21 07:45:43 +02:00
Simon Frei
f6375ecbfc
gui: Unset current folder on modal close ( fixes #7584 ) ( #7586 )
2021-04-20 17:29:38 +02:00
Simon Frei
031b91c0ed
gui: Fix folder path validation ( fixes #7379 ) ( #7585 )
2021-04-20 17:29:06 +02:00
Jakob Borg
e4c995a321
lib/model: Don't remove non-empty .stfolder ( #7578 )
2021-04-15 18:13:35 +02:00
André Colomb
130d14cec9
api: Log API authorization failures. ( #7575 )
2021-04-15 07:33:02 +02:00
Jakob Borg
e893ca1c9a
gui, man, authors: Update docs, translations, and contributors
2021-04-14 07:45:37 +02:00
Simon Frei
156d96e582
gui: Add missing file ( fixes #7571 , ref #7567 ) ( #7573 )
2021-04-13 20:22:55 +02:00
Simon Frei
9ba7611537
build: Bump go-stun to v0.1.3 ( fixes #7568 ) ( #7572 )
2021-04-13 17:10:52 +01:00
Simon Frei
15d2dc3a4f
lib/connections: Add SyscallConn() to quic conn ( fixes #7551 ) ( #7570 )
2021-04-13 12:59:58 +01:00
André Colomb
f6df1a760d
lib/api: Log the remote address on login attempts ( #7560 )
...
This enables usage of the audit log to e.g. automatically block remote
addresses from connecting after repeated login failures.
2021-04-13 10:14:44 +02:00
Simon Frei
f71fcd440a
all: Remove untrusted feature flag ( fixes #109 ) ( #7567 )
...
No longer hide the web UI controls for the new untrusted/encrypted
device feature. Testing hasn't been very widespread, but there has been
some and quite a few bugs have been caught and fixed. I believe its time
to not hide it anymore, and cautiously recommend usage. E.g. mention
that the feature hasn't been widely used yet and anyone using it is an
early adopter, but drop the bit about not using it with production data.
We can maybe stress the need for backups in general and especially
using this.
2021-04-13 10:12:56 +02:00
Simon Frei
c2bb11a794
build: Do not use --deb-systemd with fpm ( fixes #7548 ) ( #7564 )
2021-04-11 20:04:15 +02:00
Simon Frei
1a00ea7c6e
lib: Prevent using protocol method with native path ( fixes #7557 ) ( #7563 )
2021-04-11 15:29:43 +02:00
Simon Frei
ec0a66c75b
lib/db, lib/model: Refactor removing expired pending folders ( #7537 )
2021-04-11 15:24:08 +02:00
Jakob Borg
1658afc883
gui, man, authors: Update docs, translations, and contributors
2021-04-07 07:45:38 +02:00
Jakob Borg
67aaeef537
Merge branch 'release'
...
* release:
cmd/syncthing: Rename --conf back to --config
lib/db: Fix comparison of pending folder timestamps (fixes #7532 ) (#7535 )
2021-04-06 10:47:00 +02:00
Jakob Borg
13679284ac
cmd/syncthing: Rename --conf back to --config
...
This was inadvertently changed in the flag migration.
2021-04-06 10:42:29 +02:00
Jakob Borg
a514b65d81
cmd/syncthing: Rename --conf back to --config ( fixes #7549 ) ( #7550 )
2021-04-06 10:40:52 +02:00
André Colomb
7931af1078
lib/db: Fix comparison of pending folder timestamps ( fixes #7532 ) ( #7535 )
2021-04-06 10:37:11 +02:00
Jakob Borg
4fc3446f24
Merge branch 'release'
...
* release:
Merge pull request from GHSA-x462-89pf-6r5h
2021-04-06 08:05:57 +02:00
Jakob Borg
fb4fdaf4c0
Merge pull request from GHSA-x462-89pf-6r5h
2021-04-06 08:03:22 +02:00
Jakob Borg
8e38ecdeb2
Merge pull request from GHSA-x462-89pf-6r5h
2021-04-06 08:00:00 +02:00
tomasz1986
04623718ce
gui: Remove download animation from Out of Sync Items modal ( fixes #3322 ) ( #7388 )
...
Remove the animation due to its excessive CPU usage, especially when a
large number of files is being downloaded and listed at the same time.
Also, remove the stripes, as they serve no purpose in the now-static
progress bar.
Signed-off-by: Tomasz Wilczyński <twilczynski@naver.com>
2021-04-05 10:28:06 +02:00
Simon Frei
9e857ed2d4
build: Add test coverage info ( #7502 )
2021-04-05 10:25:39 +02:00
Simon Frei
f30f9c50f8
lib/db: Handle indirection error repairing sequences ( fixes #7026 ) ( #7525 )
2021-04-05 10:24:16 +02:00
mclang
96ba5c2b23
docker: Add docker-compose example ( #7355 )
...
Co-authored-by: bt90 <btom1990@googlemail.com>
2021-04-01 13:04:15 +02:00
Simon Frei
0dcd9794d4
lib/protocol: Deterministic encrypted version ( fixes #7533 ) ( #7538 )
2021-03-31 08:59:15 +02:00
bt90
34f0feb13a
docker: Raise UDP buffer size in example ( #7536 )
2021-03-31 08:57:46 +02:00
Jakob Borg
7778f50b50
gui, man, authors: Update docs, translations, and contributors
2021-03-31 07:45:27 +02:00
André Colomb
fb2d85b9d5
lib/db: Fix comparison of pending folder timestamps ( fixes #7532 ) ( #7535 )
2021-03-30 21:24:53 +02:00
Simon Frei
7f0d4f6ba8
lib/db: Don't panic debugging an inexistent file ( #7534 )
2021-03-30 20:06:01 +02:00
MichaIng
33212716cf
etc: Fix start-limit parameters location in systemd units (ref #7439 ) ( #7529 )
2021-03-28 14:14:10 +02:00
Simon Frei
707001c403
gui: Add confirmation dialog for revert/override ( fixes #7520 ) ( #7522 )
2021-03-26 16:56:15 +01:00
Jonta
f93c6fbe4a
readme: Larger link for Fitt's law, still semantic ( #7523 )
2021-03-26 07:24:40 +01:00
Jakob Borg
70b9654671
gui, man, authors: Update docs, translations, and contributors
2021-03-24 07:45:32 +01:00
Simon Frei
0d7a77ba85
lib/model: Reset conn when enc token is missing ( fixes #7198 ) ( #7518 )
2021-03-23 10:38:40 +01:00
Simon Frei
924b96856f
lib: Handle adding enc folders on an existing conn ( fixes #7509 ) ( #7510 )
2021-03-22 21:50:19 +01:00
Audrius Butkevicius
f7929229c8
cmd/strelaysrv: Increase default strelaysrv network buffer size ( fixes #7514 ) ( #7517 )
...
Increases throughput at the cost of more memory per connection
2021-03-22 21:47:51 +01:00
Simon Frei
6b25eb2e79
lib/ur: Prevent panic when blocksResult is nil (ref #7495 ) ( #7515 )
2021-03-22 15:07:41 +01:00
Simon Frei
bc08a951f1
lib/model: Encrypted fileinfo trailer needs to be in wire format ( #7505 )
2021-03-21 10:34:08 +01:00
Lars Lehtonen
a87c5515bd
lib/model: Error check in test ( #7508 )
2021-03-21 10:32:17 +01:00
Jakob Borg
ebcd22b02b
lib/osutil: Fix raising max FDs on macOS ( #7507 )
...
There was a logic mistake, so the limit in question wasn't used. On my
macOS this doesn't seem to matter, the hard limit returned is 2^63-1 and
setting the soft limit to that works. However I'm assuming that's not
the case for older macOSes since it was so nicely documented, so we
should still have this working. (10240 FDs should be enough for
anybody.)
2021-03-20 16:32:36 +01:00
Audrius Butkevicius
4b02b7e6f1
lib/connections: Silence "connected to myself" messages. ( #7500 )
2021-03-17 23:53:20 +01:00
Jakob Borg
fdd823d2cb
lib/osutil: Remove unused code
2021-03-17 23:18:07 +01:00