Jakob Borg and GitHub
836ca50570
lib/db: Fix inconsistency in sequence index ( fixes #5149 ) ( #5158 )
...
The problem here is that we would update the sequence index before
updating the FileInfos, which would result in a high sequence number
pointing to a low-sequence FileInfo. The index sender would pick up the
high sequence number, send the old file, and think everything was good.
On the receiving side the old file is a no-op and ignored. The file
remains out of sync until another update for it happens.
This fixes that by correcting the order of operations in the database
update: first we remove old sequence index entries, then we update the
FileInfos (which now don't have anything pointing to them) and then we
add the sequence indexes (which the index sender can see).
The other option is to add "proper" transactions where required at the
database layer. I actually have a branch for that, but it's literally
thousands of lines of diff and I'm putting that off for another day as
this solves the problem...
2018-09-02 20:58:32 +02:00
Jakob Borg and Audrius Butkevicius
e384c822b6
cmd/stdiscosrv: Be more picky about allowed addresses ( fixes #5151 ) ( #5153 )
...
Filter out ludicrous stuff both from explicitly announced addresses and
potential automatic replacements.
2018-08-30 18:06:35 +01:00
Jakob Borg
916182bc73
gui, man, authors: Update docs, translations, and contributors
2018-08-29 07:45:24 +02:00
Simon Frei and Jakob Borg
c62ce007ea
lib/fs: Don't add path separators at end of path ( fixes #5144 ) ( #5146 )
2018-08-28 08:18:55 +02:00
Audrius Butkevicius and GitHub
aec66045ef
lib/config: Rewrite pending notifications ( fixes #2291 )
2018-08-25 11:36:10 +01:00
Simon Frei and Jakob Borg
03c0537340
lib/model: Fix regressions detecting deletes/ignores ( fixes #5125 , fixes #5127 ) ( #5129 )
2018-08-25 10:32:35 +02:00
Jakob Borg
7dde6c7e3c
lib/model: Clear out-of-space-errored files from queue ( fixes #5143 )
2018-08-25 10:26:10 +02:00
Simon Frei and Jakob Borg
cb0f4ce55a
lib/model: Don't stop folder if out of disk space ( fixes #2370 ) ( #5099 )
...
This removes the out of disk space check from CheckHealth. The disk space is now
only checked if there are files to pull, in which case pulling those files is
stopped, but everything else (dirs, links, deletes) keeps running -> can recover
disk space through pulling.
2018-08-25 10:16:38 +02:00
Ben S and Audrius Butkevicius
d86d5e8bb2
gui: Add icons to settings tabs ( #5140 )
...
Add icons to tabs in settings modal like in folder and device modal
2018-08-23 12:45:28 +01:00
Jakob Borg
d2c68fd163
gui, man, authors: Update docs, translations, and contributors
2018-08-22 07:45:24 +02:00
Jakob Borg and Audrius Butkevicius
a02db70a63
lib/model: Process download progress messages for all folder types ( fixes #5131 ) ( #5139 )
2018-08-21 18:49:35 +01:00
Simon Frei and Audrius Butkevicius
165417c462
lib/model: Fixes on receive-only test setup and pulling ( #5136 )
2018-08-19 22:34:26 +01:00
Simon Frei and Audrius Butkevicius
ff3cbdc90d
lib/model: Check availability later to catch renames ( #5097 )
2018-08-19 19:03:20 +01:00
Simon Frei and GitHub
9028969617
lib/model: Small fixes to test convenience functions ( #5128 )
2018-08-16 12:11:48 +02:00
Paweł Rozlach and Jakob Borg
f6da436f4b
cmd/stdiscosrv: Add replication heartbeats ( fixes #5117 ) ( #5120 )
2018-08-15 16:52:20 +02:00
Jakob Borg
166a33037f
Merge branch 'release'
...
* release:
lib/model: Always release the lock (#5126 )
lib/model: Catch racy nil deref in ClusterConfig (#5106 )
2018-08-15 16:49:03 +02:00
Simon Frei and Jakob Borg
7c0798b622
lib/model: Always release the lock ( #5126 )
2018-08-15 16:44:59 +02:00
Simon Frei and Jakob Borg
ee42c46bd3
lib/model: Catch racy nil deref in ClusterConfig ( #5106 )
2018-08-15 16:44:20 +02:00
Simon Frei and Jakob Borg
885f6fcf28
lib/model: Always release the lock ( #5126 )
2018-08-15 16:33:03 +02:00
Andrew Rabert and Audrius Butkevicius
ada5ab74d2
Dockerfile: Reduce number of container layers for final image ( #5124 )
2018-08-15 08:33:35 +01:00
Jakob Borg
0bc3ae15ae
gui, man, authors: Update docs, translations, and contributors
2018-08-15 07:45:28 +02:00
Simon Frei and Jakob Borg
dc57bab107
lib/model: Don't enter pulling state if we need nothing ( fixes #4782 ) ( #5118 )
2018-08-13 20:39:25 +02:00
Jakob Borg and GitHub
48795dba07
all: Don't let Suture capture panics ( fixes #4758 ) ( #5119 )
...
Fork with new option.
2018-08-13 20:39:08 +02:00
Simon Frei and GitHub
c55c0c8c28
lib/watchaggregator: Don't delay mixed events only ( #5094 )
...
Also fix a minor bug in testing failure output.
2018-08-13 09:14:03 +02:00
Jakob Borg
2c9d96375b
build: Fix LICENSE distribution for stdiscosrv/strelaysrv
2018-08-11 22:45:46 +02:00
Simon Frei and Jakob Borg
e20679afe1
lib/fs: Evaluate root when watching not on fs creation ( fixes #5043 ) ( #5105 )
2018-08-11 22:24:36 +02:00
Jakob Borg and GitHub
b37c05c6b8
lib/model: Don't run watcher on recvonly tests ( fixes #5110 ) ( #5112 )
2018-08-11 22:19:37 +02:00
Simon Frei and Jakob Borg
dfe4008607
lib/model: Catch racy nil deref in ClusterConfig ( #5106 )
2018-08-11 09:10:29 +02:00
Jakob Borg
54d610878d
gui, man, authors: Update docs, translations, and contributors
2018-08-08 07:45:31 +02:00
Adam Piggott and Audrius Butkevicius
229b777f30
gui: Fix incorrect label ( #5101 )
2018-08-06 23:08:17 +01:00
Jakob Borg
7812c2c937
vendor: Point github.com/syncthing/notify at master again (metadata only)
2018-08-06 21:44:53 +02:00
Jakob Borg
500e02cdbb
vendor: Patch github.com/syncthing/notify for Go 1.11
2018-08-06 20:15:43 +02:00
Simon Frei and Audrius Butkevicius
82c9e23206
vendor: Remove unused vendor packages ( fixes #3595 ) ( #5096 )
2018-08-04 16:29:13 +01:00
Simon Frei and Jakob Borg
705b7d18e8
build: Also copy gui to temporary GOPATH ( #5095 )
2018-08-02 16:13:17 +02:00
Simon Frei and Jakob Borg
f4bde023aa
build: Build and set GOPATH before generating assets ( #5093 )
2018-08-01 21:22:47 +02:00
Jakob Borg
af48b069cc
gui, man, authors: Update docs, translations, and contributors
2018-08-01 07:45:28 +02:00
Jakob Borg and Simon Frei
5cb4a9acf6
lib/db: Don't account remote invalid files ( fixes #5089 ) ( #5090 )
2018-07-31 13:00:03 +02:00
Oyebanji Jacob Mayowa and Jakob Borg
adc5bf6604
lib/upnp: Don’t log unknown device types ( fixes #5038 ) ( #5087 )
2018-07-30 16:34:35 +02:00
Audrius Butkevicius and Jakob Borg
24d307531d
gui: Use one instead of on to have callbacks fire one ( #5085 )
2018-07-29 21:15:24 +02:00
Audrius Butkevicius and Jakob Borg
93fdd1c012
cmd/strelaypoolsrv: Prevent scraped metrics moving backwards ( #5068 )
2018-07-27 07:59:55 +02:00
Audrius Butkevicius and Jakob Borg
5161f03f02
lib/config: Fix aliased append, copy config inputs and outputs ( fixes #5063 ) ( #5069 )
2018-07-26 23:14:12 +02:00
Adam Piggott and Jakob Borg
682ffcb8ed
github: Mention auxiliary projects and db corruption in issue template ( #5081 )
...
Add a section on using the correct issue tracker
Add a section on database corruption
2018-07-26 20:05:56 +02:00
Jakob Borg
524ffe3fa5
gui, man, authors: Update docs, translations, and contributors
2018-07-25 07:45:29 +02:00
Jakob Borg and GitHub
d8366e4a88
authors: Enable auto updates ( #5074 )
...
Removes the manual handling of the AUTHORS file, giving every committer automatic credit for their contribution.
Manual tweaks to the file are still accepted and retained by the scripts.
2018-07-23 17:41:59 +02:00
Jakob Borg
b83c5b32bf
authors: Add bebehei
2018-07-20 15:46:38 +02:00
Benedikt Heine and Jakob Borg
3102e36a45
dockerfile: Create a dedicated syncthing user ( #5072 )
...
A dedicated user is necessary to create relative references via
~/<folder> or $HOME/<folder>. Having the syncthing process just running
under a unprivileged UID/GID, will remove the home folder relation and
therefore will result in nonexistent shares after update.
Signed-off-by: Benedikt Heine <bebe@bebehei.de >
2018-07-20 15:45:40 +02:00
Jakob Borg
3d8344003e
lib/logger: Add missing dots ( fixes #5073 )
2018-07-19 20:49:57 +02:00
Jakob Borg
a4415bce10
gui, man: Update docs & translations
2018-07-18 07:45:27 +02:00
Audrius Butkevicius and Jakob Borg
9f87fd1fcf
lib/model: More auto accept tests ( #5014 )
2018-07-15 20:26:20 +03:00
Simon Frei and Audrius Butkevicius
5592b8b190
lib/model: Record error for unavailable files ( #5066 )
2018-07-14 14:09:23 +01:00