Jakob Borg
f36f00e87b
gui: Update translation base (lang-en) ( fixes #3909 )
2017-01-17 15:58:35 +01:00
Simon Frei and Audrius Butkevicius
dbb3a34887
lib/ignore: Centralize handling of temporary filenames ( fixes #3899 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3901
LGTM: calmh, AudriusButkevicius
2017-01-17 07:33:48 +00:00
KAMADA Ken'ichi and Audrius Butkevicius
929a4d0c0c
gui: Improve warnings when creating folder in a subdirectory ( fixes #3197 , fixes #3902 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3904
2017-01-14 12:18:48 +00:00
ProactiveServices and Jakob Borg
c953cdc375
gui: Package attribution and copyright bumps ( fixes #3861 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3863
v0.14.19
2017-01-10 07:50:11 +00:00
Jakob Borg
c20c17e3c6
gui, man: Update docs & translations
2017-01-10 08:41:14 +01:00
Audrius Butkevicius and Jakob Borg
1a1e35d998
lib/osutil: Replace IsDir with TraversesSymlink ( fixes #3839 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3883
LGTM: calmh
2017-01-10 07:09:31 +00:00
Adel Qalieh and Jakob Borg
8d2a31e38e
lib/model: Remove syncthing-specific files ( fixes #3819 )
...
Syncthing adds some hidden files when a folder is added, but there is currently
no equivalent cleanup procedure. This change is conservative as not to
accidentally cause data loss.
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3874
2017-01-07 17:05:30 +00:00
Jakob Borg
fe377a166a
authors: Update adelq
2017-01-07 17:56:46 +01:00
Jakob Borg
5770d80bf9
authors: Add adelq
2017-01-07 17:54:41 +01:00
Jakob Borg
7a16dbd31d
lib/scanner: Fix previous commit: don't stop scan completely
2017-01-05 15:05:49 +01:00
Jakob Borg and Audrius Butkevicius
926c88cfc4
lib/scanner: Never, ever descend into symlinks (ref #3857 )
...
On Windows we would descend into SYMLINKD type links when we scanned
them successfully, as we would return nil from the walk function and the
filepath.Walk iterator apparently thought it OK to descend into the
symlinked directory.
With this change we always return filepath.SkipDir no matter what.
Tested on Windows 10 as admin, does what it should.
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3875
2017-01-05 13:26:29 +00:00
Audrius Butkevicius and Jakob Borg
29d010ec0e
lib/model, lib/weakhash: Hash using adler32, add heuristic in puller
...
Adler32 is much faster, and the heuristic avoid the obvious cases where it
will not help.
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3872
2017-01-04 21:04:13 +00:00
Jakob Borg and Audrius Butkevicius
920274bce4
lib/db: Don't panic on unknown folder in ListFolders ( fixes #3584 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3869
2017-01-04 10:34:52 +00:00
Jakob Borg
2ebd6ad77f
lib/scanner: Don't stop byte counter ticks before scan is done
2017-01-03 15:03:32 +01:00
Kudalufi and Jakob Borg
79dd6918f2
cmd/syncthing: Add support for -auditfile= ( fixes #3859 )
...
Adds support for -auditfile= where is "-" for stdout, "--" for stderr, or a
filename. It can be left blank (or left out entirely) for the original
behaviour of creating a timestamped filename.
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3860
2017-01-03 08:54:28 +00:00
Jakob Borg
79f7f50c4d
authors: Add Kudalufi
2017-01-03 09:24:29 +01:00
Jakob Borg and Audrius Butkevicius
987718baf8
vendor: Update github.com/gogo/protobuf
...
Also tweaks the proto definitions:
- [packed=false] on the block_indexes field to retain compat with
v0.14.16 and earlier.
- Uses the vendored protobuf package in include paths.
And, "build.go setup" will install the vendored protoc-gen-gogofast.
This should ensure that a proto rebuild isn't so dependent on whatever
version of the compiler and package the developer has installed...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3864
2017-01-03 00:16:21 +00:00
Jakob Borg
4fb9c143ac
authors: Update ProactiveServices
2017-01-02 15:12:57 +01:00
Jakob Borg and Audrius Butkevicius
ec62888539
lib/connections: Allow on the fly changes to rate limits ( fixes #3846 )
...
Also replaces github.com/juju/ratelimit with golang.org/x/time/rate as
the latter supports changing the rate on the fly.
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3862
2017-01-02 11:29:20 +00:00
Jakob Borg
8c34a76f7a
man: refresh.sh requires bash
2017-01-01 20:45:52 +01:00
Jakob Borg
6809d38cde
lib/protocol: Revert protobuf encoder changes in v0.14.17 ( fixes #3855 )
...
The protobuf encoder now produces packed arrays for things like []int32,
which is actually correct according to the proto3 spec. However
Syncthing v0.14.16 and earlier doesn't support this. This reverts the
encoding change, but keeps the updated decoder so that we are both more
compatible with other proto3 implementations and can move to the updated
encoder in the future.
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3856
v0.14.18
2017-01-01 17:19:00 +00:00
Mark Pulford and Jakob Borg
69ae4aa024
cmd/syncthing: Avoid Keepalive/GUI refresh race
...
This avoids unnecessary browser request failures and retries. Eg:
- Browser reuses existing HTTP connection for GUI refresh request
- Server closes connection with request in flight
- Browser retries GET request.
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3854
2017-01-01 12:38:31 +00:00
Jakob Borg
8e8b867fba
authors: Add mpx
2017-01-01 13:28:33 +01:00
Jakob Borg
0a118d2979
lib/config, lib/model: Temporarily disable bad tests (ref #3834 , #3843 )
2017-01-01 13:27:18 +01:00
Nathan Morrison and Audrius Butkevicius
8daaa5d0d2
gui: Populate global changes on load
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3848
2016-12-30 01:33:27 +00:00
Jakob Borg
eb14f85a57
vendor: Update github.com/syndtr/goleveldb
2016-12-28 12:19:14 +01:00
Jakob Borg
c69c3c7c36
lib/sha256: Smoke test the implementation on startup (hello OpenSUSE!)
2016-12-28 12:15:51 +01:00
Jakob Borg
54911d44c5
gui: s/foldersendonly.html/foldertypes.html
v0.14.17
2016-12-27 11:29:12 +01:00
Jakob Borg
c765f7be8d
gui, man: Update docs and translations
2016-12-26 14:23:55 +01:00
Jakob Borg
44bdaf3ac2
cmd/syncthing: Add -reset-deltas option to reset delta index IDs
...
Also rename and clarify the description of -reset-database (formerly
-reset).
2016-12-26 13:49:51 +01:00
Jakob Borg
fc16e49cb0
Merge branch 'v0.14.16-hotfix'
...
* v0.14.16-hotfix:
gui, man: Update docs & translations
lib/model: Allow empty subdirs in scan request (fixes #3829 )
lib/model: Don't send symlinks to old devices that can't handle them (fixes #3802 )
lib/model: Accept scan requests of paths ending in slash (fixes #3804 )
gui: Avoid pause between event polls (ref #3527 )
2016-12-24 20:12:53 +01:00
Jakob Borg
f5a310ad64
Revert "lib/model: Handle filename conflicts on Windows."
...
This reverts commit 01e50eb3fa .
2016-12-23 11:10:58 +01:00
Unrud and Audrius Butkevicius
01e50eb3fa
lib/model: Handle filename conflicts on Windows.
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3810
LGTM: calmh
2016-12-22 23:04:53 +00:00
Jakob Borg
722b81c6f0
gui, man: Update docs & translations
v0.14.16
2016-12-21 19:46:28 +01:00
Jakob Borg
f0efa2b974
lib/model: Allow empty subdirs in scan request ( fixes #3829 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3833
2016-12-21 19:45:38 +01:00
Audrius Butkevicius and Jakob Borg
bab7c8ebbf
all: Add folder pause, make pauses permanent ( fixes #3407 , fixes #215 , fixes #3001 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3520
2016-12-21 18:41:25 +00:00
Nathan Morrison and Audrius Butkevicius
0725e3af38
all: Add a global change list
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3694
2016-12-21 16:35:20 +00:00
Jakob Borg and Jakob Borg
dd7bb6c4b8
lib/model: Fix tests, clean up pool usage in protocol
2016-12-21 14:53:45 +01:00
Jakob Borg and Jakob Borg
d41c131364
build: Enable gometalinter "gosimple" check, improve build.go
2016-12-21 14:53:45 +01:00
Jakob Borg and Jakob Borg
47f22ff3e5
build: Enable gometalinter "unconvert" check
2016-12-21 14:53:45 +01:00
Jakob Borg and Jakob Borg
744c2e82b5
build: Enable gometalinter "staticcheck" check
2016-12-21 14:53:45 +01:00
Jakob Borg and Jakob Borg
ead7281c20
build: Enable gometalinter "unused" check
2016-12-21 14:53:45 +01:00
AudriusButkevicius and Jakob Borg
aa3ef49dd7
lib/model: Fix lock order
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3823
2016-12-21 12:22:18 +00:00
Jakob Borg and Audrius Butkevicius
5c067661f4
lib/model: Consistently show folder description in startup messages
...
Since we anyway need the folderConfig for this I'm skipping the copying
of all it's attributes that rwfolder did and just keeping the original
around instead.
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3825
2016-12-21 11:23:20 +00:00
Jakob Borg and Audrius Butkevicius
226da976dc
lib/model: Allow empty subdirs in scan request ( fixes #3829 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3833
2016-12-21 10:33:07 +00:00
AudriusButkevicius and Jakob Borg
ba17cc0a11
gui: Show introducedBy ( fixes #3809 )
2016-12-21 11:01:15 +01:00
AudriusButkevicius and Jakob Borg
9e0afb7d8a
lib/connections: Support setting traffic class ( fixes #3790 )
2016-12-21 11:01:15 +01:00
AudriusButkevicius and Jakob Borg
9e7d50bc76
cmd/syncthing: Explain corruption panics ( fixes #3689 )
2016-12-21 11:01:15 +01:00
Jakob Borg
d7d5687faa
lib/protocol: Warnln should have been Warnf
2016-12-21 10:43:12 +01:00
Jakob Borg
21eb098dd2
vendor: Update github.com/minio/sha256-simd, CPU detection (Linux)
2016-12-20 09:20:28 +01:00