Jakob Borg
8cdab7231a
meta: Fix authors check
2018-02-07 17:32:26 +01:00
Kropekk
bc7639b0ff
lib/versioner: Fix external versioner command specification on Windows ( fixes #4560 )
2018-02-07 14:12:27 +00:00
Simon Frei
3f4f6d5787
gui: Handle paused folders and fix translation strings for fs watcher (ref #4713 ) ( #4740 )
2018-02-07 13:46:27 +01:00
Jakob Borg
c17547159e
gui, man: Update docs & translations
2018-02-07 07:45:17 +01:00
Simon Frei
8a3e584c19
lib/fs: Introduce walkfs debug facility ( #4712 )
2018-02-05 11:07:56 +01:00
Jakob Borg
043b04d8a6
github: I want to review changes to the AUTHORS file and top level READMEs
...
Also move the issue template stuff for less clutter
2018-02-04 22:54:38 +01:00
Simon Frei
f87f13081b
all: Display fs watcher status and retry starting it (ref #4552 ) ( #4713 )
2018-02-04 22:46:24 +01:00
Jakob Borg
649d4cf7b0
dockerfile: Add Dockerfile ( #4733 )
...
This adds a multi stage build Dockerfile. The end state is equivalent to
the current syncthing/docker repository (which will be retired).
2018-02-04 22:43:14 +01:00
Simon Frei
c7cf361a96
vendor: Update github.com/zillode/notify ( #4734 )
2018-02-04 22:37:32 +01:00
Jakob Borg
98f2875b22
lib/fs: Further unflake watch tests ( #4735 )
2018-02-04 22:25:59 +01:00
Jakob Borg
2fdf9bc55d
test: Mend the transfer benchmark
2018-02-03 10:29:05 +01:00
Jakob Borg
c0ab669142
gui, man: Update docs & translations
2018-01-31 07:45:16 +01:00
Simon Frei
14a5561e43
lib/db: Fix benchmarks
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4708
2018-01-28 11:26:01 +00:00
Jakob Borg
0fe3ae7c22
lib/fs: Unflake watch tests ( fixes #4687 )
...
This removes a number of timing related things, leaving just the total
test timeout now bumped to one minute. Normally we get the filesystem
events within a second or so, so this doesn't affect the test time in
the successfull case. If we don't actually get the events we expect
within a minute I think we are legitimately in "failed" territory.
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4715
LGTM: imsodin, AudriusButkevicius
2018-01-28 10:44:43 +00:00
Jakob Borg
5d0eb80204
lib/protocol: Disable broken KCP benchmark
2018-01-28 10:41:03 +01:00
Jakob Borg
441230ff77
cmd/stdiscosrc: Handle address family indicator on other schemes than tcp
2018-01-28 10:24:48 +01:00
Simon Frei
a0514bb1a7
gui: Add missing translation string to log viewer
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4714
2018-01-28 08:40:06 +00:00
Simon Frei
80079e8322
lib/fs: Use correct facility name
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4710
2018-01-27 12:52:48 +00:00
Simon Frei
ae760798e1
gui: Display rescan button when out of sync and remove deprecated folder state
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4704
2018-01-27 09:10:11 +00:00
Simon Frei
364f61bda6
lib/db: Update global counts on invalidation ( fixes #4701 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4702
2018-01-27 09:09:13 +00:00
Jakob Borg
050f9f8091
all: Mac OS X is now called macOS
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4694
LGTM: imsodin
2018-01-27 09:07:19 +00:00
Jakob Borg
e0931e201e
lib/config: Reject empty folder IDs
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4698
LGTM: imsodin
2018-01-27 09:06:37 +00:00
Jakob Borg
20e05cdcd0
authors: Update PrototypeNM1
2018-01-25 20:42:06 +01:00
Jakob Borg
4afe0f407a
lib/config: Verify that we reject invalid device IDs when deserializing JSON
2018-01-24 09:25:41 +01:00
Jakob Borg
232c1172e5
gui, man: Update docs & translations
2018-01-24 07:45:16 +01:00
Nicholas Rishel
a505231774
lib/scanner: Support walking a symlink root (ref #4353 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4666
LGTM: AudriusButkevicius, imsodin
2018-01-24 00:05:47 +00:00
Simon Frei
885e3f19bd
lib/ignores: Update lines even if patterns didn't change ( fixes #4689 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4690
2018-01-20 07:52:57 +00:00
Simon Frei
93b5180e62
lib/model: Refactor Index/IndexUpdate
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4688
LGTM: calmh, AudriusButkevicius
2018-01-19 14:33:16 +00:00
Audrius Butkevicius
27d5b17096
lib/osutil: Fix priority lowering on Windows
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4686
2018-01-19 07:21:05 +01:00
Jakob Borg
c2119c9e62
lib/osutil: Don't attempt to reduce our niceness level ( fixes #4681 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4682
2018-01-19 07:20:58 +01:00
Jakob Borg
91210cbb49
lib/osutil: Check PGID before trying to set it ( fixes #4679 )
...
Fixes "permission denied" return when are already process group /
session leader.
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4678
2018-01-19 07:20:47 +01:00
Audrius Butkevicius
8e9c9b9553
lib/osutil: Fix priority lowering on Windows
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4686
2018-01-18 17:03:24 +00:00
Simon Frei
fae2ca8458
lib/db: Do not modify underlying array of argument
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4685
2018-01-18 12:40:43 +00:00
Jakob Borg
3af4164c8b
lib/osutil: Don't attempt to reduce our niceness level ( fixes #4681 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4682
2018-01-18 08:34:56 +00:00
Simon Frei
a1761795fe
lib/ignore: Only handle lines prefixed with #include specially ( fixes #4680 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4684
LGTM: AudriusButkevicius, calmh
2018-01-17 16:56:53 +00:00
Jakob Borg
e147db5233
lib/osutil: Check PGID before trying to set it ( fixes #4679 )
...
Fixes "permission denied" return when are already process group /
session leader.
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4678
2018-01-17 12:32:11 +00:00
Jakob Borg
582539a1e6
lib/osutil: Disable setting priority on Windows ( fixes #4676 )
...
Presumably fixing the crash, leaving us to improve this calmly.
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4677
2018-01-17 10:14:36 +00:00
Jakob Borg
5cfb9783b3
gui, man: Update docs & translations
2018-01-17 07:45:19 +01:00
Jakob Borg
8de21be274
build: Packaging for stdiscosrv
2018-01-16 20:46:48 +01:00
Jakob Borg
c554ffccc9
cmd/syncthing, lib/config, lib/osutil: Lower process priority ( fixes #4628 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4675
2018-01-15 17:11:14 +00:00
Jakob Borg
838c182b5b
cmd/syncthing, lib/sync: Don't do deadlock detection when STDEADLOCKTIMEOUT=0 ( fixes #4644 )
...
Allows setting STDEADLOCKTIMEOUT=0 (or any integer <= 0) to disable the
deadlock detection entirely.
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4673
2018-01-15 13:33:52 +00:00
Jakob Borg
fcc6a677a5
lib/upgrade: Always return latest version, even if older than current ( fixes #4654 )
...
The only special check remaining is the one to prefer a minor upgrade
over a major one.
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4672
2018-01-15 12:13:25 +00:00
Simon Frei
bd63fd73b1
lib/model: Microoptimization of unifySubs and blockDiff
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4671
LGTM: AudriusButkevicius, calmh
2018-01-14 21:52:41 +00:00
Simon Frei
fecb21cdb1
gui: New rest endpoint to get errors when web UI is opened
...
Since #4340 pulls aren't happening every 10s anymore and may be delayed up to 1h.
This means that no folder error event reaches the web UI for a long time, thus no
failed items will show up for a long time. Now errors are populated when the
web UI is opened.
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4650
LGTM: AudriusButkevicius
2018-01-14 17:01:06 +00:00
Lars K.W. Gohlke
89a021609b
lib/scanner: Refactoring
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4642
LGTM: imsodin, AudriusButkevicius
2018-01-14 14:30:11 +00:00
Emil Hessman
bbc178ccc4
lib/fs: harmonize CreateSymlink definitions ( fixes #4567 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4632
LGTM: imsodin, AudriusButkevicius
2018-01-14 14:25:04 +00:00
Simon Frei
f1c73999be
gui: Count deleted items for remote out of sync items display ( fixes #4668 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4669
LGTM: calmh, AudriusButkevicius
2018-01-14 12:08:40 +00:00
Jakob Borg
916ec63af6
cmd/stdiscosrv: New discovery server ( fixes #4618 )
...
This is a new revision of the discovery server. Relevant changes and
non-changes:
- Protocol towards clients is unchanged.
- Recommended large scale design is still to be deployed nehind nginx (I
tested, and it's still a lot faster at terminating TLS).
- Database backend is leveldb again, only. It scales enough, is easy to
setup, and we don't need any backend to take care of.
- Server supports replication. This is a simple TCP channel - protect it
with a firewall when deploying over the internet. (We deploy this within
the same datacenter, and with firewall.) Any incoming client announces
are sent over the replication channel(s) to other peer discosrvs.
Incoming replication changes are applied to the database as if they came
from clients, but without the TLS/certificate overhead.
- Metrics are exposed using the prometheus library, when enabled.
- The database values and replication protocol is protobuf, because JSON
was quite CPU intensive when I tried that and benchmarked it.
- The "Retry-After" value for failed lookups gets slowly increased from
a default of 120 seconds, by 5 seconds for each failed lookup,
independently by each discosrv. This lowers the query load over time for
clients that are never seen. The Retry-After maxes out at 3600 after a
couple of weeks of this increase. The number of failed lookups is
stored in the database, now and then (avoiding making each lookup a
database put).
All in all this means clients can be pointed towards a cluster using
just multiple A / AAAA records to gain both load sharing and redundancy
(if one is down, clients will talk to the remaining ones).
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4648
2018-01-14 08:52:31 +00:00
Simon Frei
341b9691a7
lib/connections, lib/model: Additional connection info in logs ( fixes #4499 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4665
2018-01-12 11:27:55 +00:00
Jakob Borg
6e0f64017a
lib/logger, lib/model: Correct printf format strings in tests
...
This is a build (test) failure in Go 1.10.
2018-01-12 08:27:00 +01:00