Jakob Borg
cc9a9fb390
lib/model, lib/protocol: Add Folder.Description() for logging (ref #3741 )
2016-11-22 08:36:14 +01:00
Jakob Borg
8fbcceb742
authors: Add further Unrud address
2016-11-22 08:14:22 +01:00
Jakob Borg
be80b26c18
authors: Add zaynetro
2016-11-21 20:08:31 +01:00
Jakob Borg
51e10e344d
Add Unrud
2016-11-21 17:59:44 +01:00
Jakob Borg
1392589d36
authors: Add kwhite17
2016-11-21 09:12:03 +01:00
Jakob Borg and Audrius Butkevicius
548a324256
lib/connections: Slow down failing listeners
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3745
2016-11-19 12:37:14 +00:00
Jakob Borg and Audrius Butkevicius
a8a0bc356a
lib/model: Minor cleanup to not fondle cfg.Raw things in handleDeintroductions
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3739
2016-11-17 08:56:55 +00:00
Jakob Borg and Audrius Butkevicius
faee1d5a8d
lib/model: Fix locking around introduction handling ( fixes #3737 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3738
2016-11-17 08:50:24 +00:00
Jakob Borg
3088dac33b
lib/model: Clean up generateClusterConfig, fix spurious test failure by sorting
2016-11-17 07:45:45 +01:00
Jakob Borg
2641062c17
gui, man: Update docs & translations
2016-11-15 07:23:48 +01:00
Jakob Borg
95c738ea28
lib/protocol: Serialize the all zeroes device ID to the empty string
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3734
2016-11-15 06:22:36 +00:00
Jakob Borg
562d2f67a6
snapcraft: Point home and config dir towards non-versioned snap home ( fixes #3730 )
2016-11-14 19:06:05 +01:00
Jakob Borg
bfb48b5dde
jenkins: Clean should remove old snaps
2016-11-12 10:08:13 +01:00
Jakob Borg
2860813a8e
build: Set snap grade to "stable" for releases
2016-11-12 09:47:57 +01:00
Jakob Borg
72538e350d
build: Snap versions should not have initial "v"
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3728
2016-11-12 08:36:19 +00:00
Jakob Borg
59f3d1445f
Revert "lib/model: Introducer can remove stuff it introduced ( fixes #1015 )"
...
This reverts commit 0b88cf1d03 .
2016-11-12 08:38:29 +01:00
Jakob Borg
6ec9b84674
test: Fix test config
2016-11-09 09:02:55 +08:00
Jakob Borg
ae4cc94a9d
lib/model: Fix locking order in Availability() ( fixes #3634 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3714
2016-11-08 06:38:50 +00:00
Jakob Borg
3f9b75b7b3
Revert "lib/model: Introducer can remove stuff it introduced ( fixes #1015 )"
...
This reverts commit ec2b097313 .
2016-11-08 14:27:32 +08:00
Jakob Borg
b7e21984a1
gui, man: Update docs & translations
2016-11-01 11:26:25 +01:00
Jakob Borg and Audrius Butkevicius
0296c23685
lib/protocol: Use DeviceID in protocol messages, with custom marshalling
...
This makes the device ID a real type that can be used in the protobuf
schema. That avoids the juggling back and forth from []byte in a bunch
of places and simplifies the code.
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3695
2016-10-29 21:56:24 +00:00
Jakob Borg
1cdfef4d6a
script: Missed a newline in the commit-msg hook output
2016-10-27 21:47:14 +02:00
Jakob Borg
cead20ec91
script: Add commit message check hook
2016-10-27 21:42:05 +02:00
Jakob Borg
5473285010
gui: Add help link for sync protocol listen addresses
2016-10-26 21:16:53 +02:00
Jakob Borg
4b3adfa21c
vendor: Update gobwas/glob to fix question mark handling
2016-10-23 15:47:31 +02:00
Jakob Borg
d9040f8038
authors: Add imsodin
2016-10-21 15:23:17 +08:00
Jakob Borg
f41606c0b0
jenkins: Build snap
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3678
2016-10-20 09:31:07 +00:00
Jakob Borg
173fb97832
authors: Add elopio
2016-10-20 16:38:14 +08:00
Jakob Borg
6152eb6d6d
gui: Hide "Failed Items" unless there is an actual failure ( fixes #3647 )
...
Since delta indexes it's perfectly normal for us to need files that are
currently unavailable due to devices being disconnected. This doesn't
imply a failure, so we should not show the "Failed Items" line and
corresponding eternal spinner (since it would never be filled in, since
there is no failure).
We still show state "Out of Sync" (correct) and the list of files we
need (correct).
2016-10-17 23:57:58 +02:00
Jakob Borg
ff0ebc196c
gui: Improve display of local size, ignore pattern status ( fixes #3623 )
...
The discrepancy between global and local sizes is fine and expected in
the presence of ignores. This just moves the "we have ignore patterns"
indication to the actual local size metric, as an explanation of why it
may differ from the global size...
2016-10-17 23:57:58 +02:00
Jakob Borg
4e8c8d7e2c
cmd/syncthing, lib/db, lib/model: Track more detailed file/dirs/links/deleted counts
2016-10-17 23:57:43 +02:00
Jakob Borg
b8a90b7eaa
lib/model: Remove chatty delta index confirmation
...
This had its moment when making sure it worked initially, but nowadays
there is not point discussing the obvious on every folder on every
connect.
2016-10-17 09:21:58 +02:00
Jakob Borg
60e7ca4a4c
gui, man: Update docs & translations
2016-10-17 09:12:16 +02:00
Jakob Borg
d203dd4770
cmd/syncthing: go fmt traceback.go
2016-10-12 20:37:26 +02:00
Jakob Borg
29ccf10d0b
cmd/syncthing: Only SetTraceback on Go 1.7+ ( fixes #3664 )
2016-10-10 17:16:18 +02:00
Jakob Borg
b49df09fec
build: Trivial perf improvement of shouldRebuildAssets
2016-10-09 14:28:20 +02:00
Jakob Borg
215503b4f7
cmd/syncthing: Delay browser start until the GUI is ready ( fixes #3619 )
2016-10-07 12:10:26 +09:00
Jakob Borg
54d4010f1a
gui, man: Update docs and translations
2016-10-07 11:09:19 +09:00
Jakob Borg
cb1b53cfb5
gui: Update English base strings ( fixes #3638 )
2016-10-07 11:07:12 +09:00
Jakob Borg
2a2177e7fa
authors: Add timhowes
2016-10-04 08:11:57 +09:00
Jakob Borg
d1d565e58b
cmd/syncthing: Localhost header comparison should be case insensitive
2016-10-03 17:34:13 +09:00
Jakob Borg
d5a0f91cb4
cmd/syncthing: Restore useful levels of traceback on panic
2016-09-26 21:14:17 +02:00
Jakob Borg
467c1b26fb
cmd/syncthing, lib/config: Log errors replacing or saving config (ref #3567 )
2016-09-24 09:59:09 +02:00
Jakob Borg and Audrius Butkevicius
3cabecda04
lib/upnp: Correct the result deduplication mechanism ( fixes #3578 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3618
2016-09-24 07:33:56 +00:00
Jakob Borg
6d3160b0ab
gui: Folder is out of sync when it needs deletes, too ( fixes #3588 )
2016-09-24 09:11:38 +02:00
Jakob Borg and Audrius Butkevicius
d328e0fb75
cmd/syncthing: Add selectable sha256 package ( fixes #3613 , fixes #3614 )
...
This adds autodetection of the fastest hashing library on startup, thus
handling the performance regression. It also adds an environment
variable to control the selection, STHASHING=standard (Go standard
library version, avoids SIGILL crash when the minio library has bugs on
odd CPUs), STHASHING=minio (to force using the minio version) or unset
for the default autodetection.
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3617
2016-09-23 19:33:54 +00:00
Jakob Borg
5f01afb7ea
build: No need for outdated go2xunit
2016-09-18 21:02:42 +02:00
Jakob Borg
b371b1fe34
lib/versioner: Test both spaces and parens in ext versioner paths
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3610
2016-09-18 12:24:55 +00:00
Jakob Borg
90c0a39df8
lib/versioner: Test for external versioner
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3609
2016-09-17 20:34:50 +00:00
Jakob Borg and Audrius Butkevicius
da0b7cc7f2
lib/model: Correct lock taking order in ConnectionStats ( fixes #3596 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3597
2016-09-14 19:38:55 +00:00
Jakob Borg
139e9b144e
lib/config: Fix tests for changes in previous commit
2016-09-13 22:20:22 +02:00
Jakob Borg
77c0a19451
vendor: Update github.com/d4l3k/messagediff
2016-09-13 22:20:22 +02:00
Jakob Borg
58cbd19742
vendor: Update golang.org/cznic/...
2016-09-13 22:20:22 +02:00
Jakob Borg
9bf6917ae8
vendor: Update golang.org/x/crypto/...
2016-09-13 22:20:22 +02:00
Jakob Borg
897cca0a82
vendor: Update golang.org/x/net/...
2016-09-13 22:20:22 +02:00
Jakob Borg
6af09c61be
vendor: Update github.com/thejerf/suture
2016-09-13 22:20:22 +02:00
Jakob Borg
c3c7798446
vendor: Update github.com/gobwas/glob
2016-09-13 22:20:22 +02:00
Jakob Borg
06dc91fadf
vendor: Update github.com/syndtr/goleveldb
2016-09-13 22:20:22 +02:00
Jakob Borg
526cab538a
jenkins: Don't fetch --prune unnecessarily, print build version on Windows
2016-09-13 22:18:55 +02:00
Jakob Borg
81d19a00aa
vendor: Add github.com/cznic/lldb and friends (new recursive dependency)
2016-09-13 21:57:19 +02:00
Jakob Borg
ca755ec9e0
vendor: Add golang.org/x/net/bpf
2016-09-13 21:56:33 +02:00
Jakob Borg
4f6206cb2d
build: Simpler creation of Debian packages
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3591
2016-09-12 12:21:07 +00:00
Jakob Borg
7fb53ec954
lib/config: Correct name of discovery-v6-4 server
2016-09-12 11:30:06 +02:00
Jakob Borg
d8b5070ca8
lib/config: Update default set of discovery servers
2016-09-12 09:55:45 +02:00
Jakob Borg and Audrius Butkevicius
5e99d38412
all: Use github.com/minio/sha256-simd
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3581
2016-09-09 09:57:51 +00:00
Jakob Borg
3e51206a6b
build, jenkins: Jenkins version tag should be same as when building manually
2016-09-06 13:02:17 +02:00
Jakob Borg
8fcabac518
jenkins: Add batch file for Windows
2016-09-04 16:43:56 +02:00
Jakob Borg and Audrius Butkevicius
7990ffcc60
cmd/syncthing: Copy config on upgrade, instead of renaming ( fixes #3525 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3560
2016-09-03 21:29:32 +00:00
Jakob Borg and Audrius Butkevicius
49910a1d85
lib/config, cmd/syncthing: Enforce localhost only connections
...
When the GUI/API is bound to localhost, we enforce that the Host header
looks like localhost. This can be disabled by setting
insecureSkipHostCheck in the GUI config.
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3558
2016-09-03 08:33:34 +00:00
Jakob Borg and Audrius Butkevicius
46a143e80e
lib/model: Handle deleted-then-ignored files ( fixes #3502 )
...
When files that were previously marked as deleted became ignored, we
used to do nothing at all. This changes that behavior to set the Invalid
bit (that we should rename to Ignored). This then becomes an update to
other devices that they should not trust our knowledge about the file in
question.
Read this diff without whitespace...
Tested by
- creating a bunch of files on s1
- letting them sync to s2
- shutting down s2
- deleting the files on s1 and rescanning
- adding the files to .stignore on s1 and rescanning
- starting up s2 and letting it sync
- observing the files are not deleted on s2, and it considers itself up
to date.
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3557
2016-09-02 13:23:24 +00:00
Jakob Borg
69b7f26e4c
lib/model, cmd/syncthing: Also account for deleted files in folder summary events (ref #3496 )
...
This should probably be reflected in the GUI somewhere as well...
2016-09-02 10:45:39 +02:00
Jakob Borg and Audrius Butkevicius
5b37d0356c
lib/model, gui: Correct completion percentages when there are lots of deletes ( fixes #3496 )
...
We used to consider deleted files & directories 128 bytes large. After
the delta indexes change a bug slipped in where deleted files would be
weighted according to their old non-deleted size. Both ways are
incorrect (but the latest change made it worse), as if there are more
files deleted than remaining data in the repo the needSize can be
greater than the globalSize, resulting in a negative completion
percentage.
This change makes it so that deleted items are zero bytes large, which
makes more sense. Instead we expose the number of files that we need to
delete as a separate field in the Completion() result, and hack the
percentage down to 95% complete if it was 100% complete but we need to
delete files. This latter part is sort of ugly, but necessary to give
the user some sort of feedback.
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3556
2016-09-02 06:45:46 +00:00
Jakob Borg
1188ebbb7b
gui, man: Update docs & translations
2016-08-23 10:42:09 +02:00
Jakob Borg
d0a1c805e9
cmd/syncthing: uintptr may not be stored in a variable
...
Must do the whole uintptr(unsafe.Pointer(&whatever)) directly in the
call to sycall.Call, as per https://golang.org/pkg/unsafe/ .
2016-08-22 18:24:26 +02:00
Jakob Borg and Audrius Butkevicius
00a654845f
cmd/syncthing: Remove old temp index dbs on startup ( fixes #3529 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3532
2016-08-22 12:19:19 +00:00