Simon Frei
6157c766de
lib/connections: Correct comments on quic wrapper type ( #7652 )
2021-05-09 19:15:10 +01:00
Audrius Butkevicius
745cd4744a
lib/connections: Revert add more methods to the quic conn wrapper ( #7651 )
...
This reverts commit faf15b4567
.
2021-05-09 19:43:16 +02:00
Simon Frei
faf15b4567
lib/connections: Add more methods to the quic conn wrapper ( #7643 )
2021-05-09 12:45:08 +01:00
greatroar
3746c899b7
build: List go:generate tools in tools.go ( #7599 )
2021-05-08 12:52:06 +02:00
Jakob Borg
7bbca12ff8
Merge branch 'release'
...
* release:
build: Ignore error from pkill on apt upgrade (fixes #7628 ) (#7629 )
2021-05-06 13:23:02 +02:00
Simon Frei
3967b39a17
build: Ignore error from pkill on apt upgrade ( fixes #7628 ) ( #7629 )
2021-05-05 09:37:23 +02:00
Jakob Borg
2b2d24fe20
gui, man, authors: Update docs, translations, and contributors
2021-05-05 07:45:35 +02:00
Simon Frei
f4e112f404
build: Ignore error from pkill on apt upgrade ( fixes #7628 ) ( #7629 )
2021-05-04 18:33:25 +02:00
Audrius Butkevicius
87a0eecc31
lib/fs, lib/api, lib/model: Expose mtime remappings as part of /db/file ( #7624 )
...
* lib/fs, lib/api, lib/model: Expose mtime remappings as part of /db/file
* Fix wrong error returned by CLI
* Gofmt
* Better names
* Review comments
* Review comments
2021-05-03 11:28:25 +01:00
overkill
f09dcb98eb
gui: Semicolons ( #7597 )
2021-05-03 12:14:54 +02:00
dependabot[bot]
f90870b99f
build: Bump github.com/shirou/gopsutil/v3 from 3.21.3 to 3.21.4 ( #7625 )
...
Bumps [github.com/shirou/gopsutil/v3](https://github.com/shirou/gopsutil ) from 3.21.3 to 3.21.4.
- [Release notes](https://github.com/shirou/gopsutil/releases )
- [Commits](https://github.com/shirou/gopsutil/compare/v3.21.3...v3.21.4 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-03 12:10:04 +02:00
Simon Frei
75b58eb480
lib/fs: Watch attrib. changes on inotify for mod. time ( #7623 )
...
* lib/fs: Watch attrib. changes on inotify for mod. time
* fix bsds (real) and darwin (test only)
2021-05-02 16:45:44 +02:00
Jakob Borg
ed9cb923fb
build: Update most dependencies (fixes: all the dependabot PRs) ( #7622 )
2021-04-30 09:11:11 +02:00
Simon Frei
dd39556759
lib: Revert needing invalid files ( fixes #7608 , ref #7476 ) ( #7609 )
2021-04-29 22:01:46 +02:00
dependabot[bot]
d5141c6d51
build: Bump github.com/prometheus/client_golang from 1.8.0 to 1.10.0 ( #7612 )
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.8.0 to 1.10.0.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.8.0...v1.10.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-29 21:57:22 +02:00
dependabot-preview[bot]
5675644341
build: Upgrade to GitHub-native Dependabot ( #7607 )
2021-04-29 21:19:06 +02:00
Simon Frei
1f30383866
lib/model: Remove path from enc errors and report only once ( #7610 )
2021-04-29 19:21:07 +02:00
tomasz1986
40531ef247
gui: Disable versions button when folder is paused ( #7611 )
...
Disable the Versions button when the folder is paused, because it does
not work, i.e. the versioned files are not loaded. The folder needs to
be unpaused to actually be able to view the versioned file list.
Signed-off-by: Tomasz Wilczyński <twilczynski@naver.com>
2021-04-29 18:34:08 +02:00
Wulf Weich
366700dc36
gui: Cut off long remote device names ( fixes #7592 ) ( #7606 )
2021-04-28 18:11:05 +02:00
Jakob Borg
f23fd683a9
gui, man, authors: Update docs, translations, and contributors
2021-04-28 07:45:43 +02:00
Jakob Borg
755ed6f69f
Merge branch 'release'
...
* release:
lib/model: Handle invalid needed items on send-only (ref #7476 ) (#7596 )
gui: Handle empty path in validation (ref #7379 ) (#7595 )
cmd/syncthing: Don't fail early on api setup error (fixes 7558) (#7591 )
2021-04-27 07:59:51 +02:00
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
Simon Frei
ec86db176e
lib/model: Handle invalid needed items on send-only (ref #7476 ) ( #7596 )
2021-04-26 15:38:08 +02:00
Simon Frei
60e8630413
gui: Handle empty path in validation (ref #7379 ) ( #7595 )
2021-04-26 15:38:08 +02:00
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