Jakob Borg
3be9f68b51
gui, man, authors: Update docs, translations, and contributors
2020-06-17 07:45:21 +02:00
Simon Frei and GitHub
6976219d6d
lib/model: Check dir before deletion when pulling ( #6741 )
2020-06-16 15:20:08 +02:00
Simon Frei and GitHub
dbacef35c4
build: Update integration tests and add to build.go ( #6744 )
2020-06-16 14:33:17 +02:00
Audrius Butkevicius and GitHub
f310bbaaac
cmd/stdiscosrv: Don't abuse wrong header ( #6749 )
2020-06-16 10:58:25 +02:00
greatroar and GitHub
df83b84aa1
all: Make all error implementations pointer types ( #6726 )
...
This matches the convention of the stdlib and avoids ambiguity: when
customErr{} and &customErr{} both implement error, client code needs to
check for both.
Memory use should remain the same, since storing a non-pointer type in
an interface value still copies the value to the heap.
2020-06-16 09:27:34 +02:00
Simon Frei and GitHub
a47546a1f1
lib/scanner, lib/model: Improve error handling when scanning ( #6736 )
2020-06-16 09:25:41 +02:00
Audrius Butkevicius and GitHub
f619a7f4cc
lib/connections: Try TCP punchthrough ( fixes #4259 ) ( #5753 )
2020-06-16 09:17:07 +02:00
d09c8f0d0a
build(deps): bump github.com/lucas-clemente/quic-go ( #6742 )
...
Bumps [github.com/lucas-clemente/quic-go](https://github.com/lucas-clemente/quic-go ) from 0.16.1 to 0.17.1.
- [Release notes](https://github.com/lucas-clemente/quic-go/releases )
- [Changelog](https://github.com/lucas-clemente/quic-go/blob/master/Changelog.md )
- [Commits](https://github.com/lucas-clemente/quic-go/compare/v0.16.1...v0.17.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-16 08:36:31 +02:00
Jakob Borg
ec718e729e
various: Master is now main
...
Also cleans out various old strings from the translation strings.
2020-06-16 07:08:09 +02:00
Jakob Borg
5be13f62a2
lib/model: Fix minor flakiness in TestModTimeWindow
2020-06-16 06:32:37 +02:00
Audrius Butkevicius and GitHub
36e6f8b082
cmd/ursrv: Attempt to fix js failure to load ( #6747 )
...
Following what was said in:
https://support.google.com/maps/thread/44057943?hl=en
2020-06-15 22:08:56 +01:00
Simon Frei and GitHub
fdf5a5c0d7
lib/osutil: Use filepath.Join in tests ( #6740 )
2020-06-14 19:09:37 +01:00
Gleb Sinyavskiy and GitHub
091cb5e611
cmd/strelaysrv: Fix JSON unmarshalling when joining a relay pool ( fixes #6733 ) ( #6729 )
2020-06-10 11:26:09 +02:00
Jakob Borg
b6b6caeab5
gui, man, authors: Update docs, translations, and contributors
2020-06-10 07:45:27 +02:00
53af64a2a4
build(deps): bump github.com/lucas-clemente/quic-go ( #6722 )
...
Bumps [github.com/lucas-clemente/quic-go](https://github.com/lucas-clemente/quic-go ) from 0.16.0 to 0.16.1.
- [Release notes](https://github.com/lucas-clemente/quic-go/releases )
- [Changelog](https://github.com/lucas-clemente/quic-go/blob/master/Changelog.md )
- [Commits](https://github.com/lucas-clemente/quic-go/compare/v0.16.0...v0.16.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-09 08:43:34 +02:00
b6a84ecb0c
lib/db: Remove unused keyer methods ( #6723 )
...
Co-authored-by: greatroar <@>
2020-06-08 19:19:18 +01:00
Jakob Borg
5f40879a75
gui: Fix auto dismissing auth notification (ref #6536 )
v1.7.0
v1.7.0-rc.1
2020-06-08 08:29:55 +02:00
Simon Frei and GitHub
0b65a616ba
lib/scanner: Save one stat call per file ( #6715 )
2020-06-08 08:14:50 +02:00
6b4fe5c063
gui: Ignore permissions isn't just about FAT ( #6713 )
...
Co-authored-by: Jakob Borg <jakob@kastelo.net >
2020-06-08 08:12:06 +02:00
Simon Frei and GitHub
3065b127b5
lib/connections, lib/nat: Correctly dis-/enable nat ( fixes #6552 ) ( #6719 )
2020-06-07 20:29:53 +02:00
Simon Frei and GitHub
74ea9c5f67
gui: Fix string and update translations (ref #6536 ) ( #6716 )
2020-06-07 10:46:06 +02:00
André Colomb and GitHub
46536509d7
lib/protocol: Avoid panic in DeviceIDFromBytes ( #6714 )
2020-06-07 10:31:12 +02:00
Jakob Borg
607bcc0b0e
build: Fix rebuild of strelaypoolsrv assets
2020-06-06 08:43:56 +02:00
Jakob Borg
1950efb790
cmd/strelaysrv: Add note about relay operators
2020-06-06 08:35:01 +02:00
Jakob Borg and GitHub
1b77ab2b52
cmd/stcrashreceiver: Pick up extra build tags and send to Sentry ( #6710 )
...
This extracts the extra tags from any `[foo]` stuff at the end of the
version and sends them to Sentry for indexing.
If I need to modify that regexp again I'll probably write a from scratch
tokenizer and parser for our version string instead...
2020-06-03 15:00:46 +02:00
Jakob Borg and GitHub
4f367e4376
lib/build: Add some env vars as synthetic build tags ( #6709 )
...
This adds some env vars to the long version string as if they were build
tags. The purpose is to better understand what code was running or not
in the version output, usage reporting and crash reports. In order to
prevent possible privacy issues the actual value of the variable is not
reported, just the fact that it was set to something non-empty.
Example:
% ./bin/syncthing --version
syncthing v1.6.1+47-g1eb104f3-buildtags "Fermium Flea" (go1.14.3 darwin-amd64) jb@kvin.kastelo.net 2020-06-03 07:25:46 UTC [stnoupgrade, use_badger]
2020-06-03 15:00:28 +02:00
98418c9b5c
build(deps): bump github.com/lucas-clemente/quic-go ( #6695 )
...
Bumps [github.com/lucas-clemente/quic-go](https://github.com/lucas-clemente/quic-go ) from 0.15.7 to 0.16.0.
- [Release notes](https://github.com/lucas-clemente/quic-go/releases )
- [Changelog](https://github.com/lucas-clemente/quic-go/blob/master/Changelog.md )
- [Commits](https://github.com/lucas-clemente/quic-go/compare/v0.15.7...v0.16.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-03 10:03:08 +02:00
Jakob Borg
3e4a90a2ba
gui, man, authors: Update docs, translations, and contributors
2020-06-03 07:45:41 +02:00
Simon Frei and GitHub
fac4dec840
lib/db: New VersionList migration fixes (ref #6638 ) ( #6705 )
2020-06-02 23:05:41 +02:00
Simon Frei and GitHub
79bf1f1056
gui: Preserve folder-device info on folder edit ( fixes #6706 ) ( #6707 )
2020-06-02 23:05:19 +02:00
9ef17322be
lib/config: Add missing quic address in case of non-default port ( fixes #6679 ) ( #6703 )
...
* Add quic listener on instance of port blockage
* Update lib/config/config.go
Co-authored-by: Audrius Butkevicius <audrius.butkevicius@gmail.com >
2020-06-02 15:06:02 +01:00
Jakob Borg
c80e0bfc28
Merge branch 'release'
...
* release:
cmd/syncthing: Correct auto upgrade criteria (fixes #6701 ) (#6702 )
2020-06-02 12:09:14 +02:00
Jędrzej Kula and GitHub
28d5c84599
gui, lib/config: Add GUI user and password notification ( fixes #4703 ) ( #6536 )
2020-06-02 12:08:22 +02:00
Jakob Borg
d7c3d81dfb
cmd/syncthing: Correct auto upgrade criteria ( fixes #6701 ) ( #6702 )
v1.6.1
2020-06-02 11:49:22 +02:00
Jakob Borg and GitHub
b033c36b31
build: Add "changelog" command ( #6700 )
2020-06-02 11:40:45 +02:00
Jakob Borg and GitHub
bfc9478965
cmd/syncthing: Correct auto upgrade criteria ( fixes #6701 ) ( #6702 )
2020-06-02 11:38:39 +02:00
Jakob Borg and GitHub
d9cb7e2739
lib/connections: Skip and warn on malformed URLs ( fixes #6697 ) ( #6699 )
2020-06-02 11:19:51 +02:00
1f8e6c55f6
lib/db: Refactor to use global list by version ( fixes #6372 ) ( #6638 )
...
Group the global list of files by version, instead of having one flat list for all devices. This removes lots of duplicate protocol.Vectors.
Co-authored-by: Jakob Borg <jakob@kastelo.net >
2020-05-30 09:50:23 +02:00
Jakob Borg
1eea076f5c
cmd/stindex: Detect and open Badger databases
2020-05-30 09:47:11 +02:00
Jakob Borg and GitHub
94beed5c10
lib/db: Add Badger backend ( fixes #5910 ) ( #6250 )
2020-05-29 13:43:02 +02:00
Simon Frei and GitHub
ed6bfc5417
lib/model: Don't increase pull pause on triggered pull ( #6690 )
2020-05-29 09:52:28 +02:00
Jakob Borg and GitHub
04ff890263
build: Clean up build.sh, add build.ps1 ( #6689 )
2020-05-28 12:42:15 +02:00
greatroar and GitHub
9c0825c0d9
lib/scanner: Simplify, optimize and document Validate ( #6674 ) ( #6688 )
2020-05-27 22:23:12 +02:00
Jakob Borg and GitHub
f78133b8e9
lib/db: Adjust transaction flush sizes downwards ( #6686 )
...
This reduces the size of our write batches before we flush them. This
has two effects: reducing the amount of data lost if we crash when
updating the database, and reducing the amount of memory used when we do
large updates without checkpoint (e.g., deleting a folder).
I ran our SyncManyFiles benchmark as it is the one doing most
transactions, however there was no relevant change in any metric (it's
limited by our fsync I expect). This is good as any visible change would
just be a decrease in performance.
I don't have a benchmark on deleting a large folder, taking that part on
trust for now...
2020-05-27 12:15:00 +02:00
Simon Frei and GitHub
b784f5b9e3
lib/config, lib/model: Commit auto-accepted folders all at once ( #6684 )
2020-05-27 08:05:26 +02:00
Jakob Borg
1c089a4d11
gui, man, authors: Update docs, translations, and contributors
2020-05-27 07:45:24 +02:00
greatroar and GitHub
baa38eea7a
lib/assets: Allow assets to remain uncompressed ( #6661 )
2020-05-25 08:51:27 +02:00
Simon Frei and GitHub
c3b5eba205
lib/model: Fix checking children when trying to delete a dir ( fixes #6646 ) ( #6647 )
2020-05-25 08:46:24 +02:00
Simon Frei and GitHub
cf75329067
lib/model: Handle concurrently removed device in ClusterConfig ( #6666 )
2020-05-20 11:13:55 +02:00
Jakob Borg
8343db6766
Merge branch 'release'
...
* release:
lib/db: Initialize need meta on first dev occurrence (fixes #6668 ) (#6669 )
lib/db: Don't panic on seq. coruption when debugging (#6662 )
2020-05-20 11:05:53 +02:00