Simon Frei and Jakob Borg
55a7830ff9
lib/fs, lib/model: Make tests caching compatible ( fixes #4749 ) ( #4804 )
2018-03-13 14:03:10 +01:00
Jakob Borg and GitHub
470ef87dd5
vendor: Don't panic in FS watcher on old FreeBSD ( fixes #4806 ) ( #4809 )
...
This adds a recover step to the notify package to avoid the panic. We
should get something like this upstreamed.
2018-03-13 13:31:26 +01:00
Simon Frei and Jakob Borg
b31bad1c4d
lib/model: Remove unused shouldIgnore function ( #4805 )
2018-03-12 20:16:40 +01:00
Simon Frei and Jakob Borg
8b4346c3ec
lib/scanner, lib/fs: Don't create file infos with abs paths ( fixes #4799 ) ( #4800 )
2018-03-12 13:18:59 +01:00
Simon Frei and Jakob Borg
2bdb37d412
cmd/syncthing: More information in help about -logfile option ( #4796 )
2018-03-12 13:17:12 +01:00
Jakob Borg and GitHub
1471c15b29
cmd/syncthing, lib/db: Be nicer about dropping deltas on upgrade ( #4798 )
...
When dropping delta index IDs due to upgrade, only drop our local one.
Previously, when dropping all of them, we would trigger a full send in
both directions on first connect after upgrade. Then the other side
would upgrade, doing the same thing. Net effect is full index data gets
sent twice in both directions.
With this change we just drop our local ID, meaning we will send our
full index on first connect after upgrade. When the other side upgrades,
they will do the same. This is a bit less cruel.
2018-03-10 11:42:01 +01:00
Jakob Borg
4b1782cf6d
gui, man: Update docs & translations
2018-03-07 07:45:16 +01:00
Jakob Borg
71fab4d250
cmd/stdiscosrv: Record time of failed lookup
...
So that we can eventually garbage collect keys that noone is asking
about any more.
2018-03-06 16:15:29 +01:00
Jakob Borg
22ebc80329
cmd/stdiscosrv: Expose process metrics
...
Like this:
$ curl -s http://localhost:9098/metrics | egrep '^syncthing_discovery_process'
syncthing_discovery_process_cpu_seconds_total 12.92
syncthing_discovery_process_max_fds 10240
syncthing_discovery_process_open_fds 51
syncthing_discovery_process_resident_memory_bytes 1.3674496e+08
syncthing_discovery_process_start_time_seconds 1.52034731837e+09
syncthing_discovery_process_virtual_memory_bytes 1.40324864e+08
2018-03-06 15:43:36 +01:00
Jakob Borg
74b820f287
test: Update conflict tests
2018-03-04 14:52:09 +01:00
Simon Frei and Jakob Borg
3949b750f5
gui: In remote need use index and auto-expand if only one folder ( fixes #4759 ) ( #4781 )
2018-03-01 16:21:35 +01:00
Jakob Borg
a26778fa9b
gui, man: Update docs & translations
2018-02-28 07:45:16 +01:00
Jakob Borg and Audrius Butkevicius
d4b7be009c
cmd/syncthing: Reset delta indexes on upgrade
2018-02-26 22:22:19 +00:00
Jakob Borg
c126831108
Add version penetration level stats
2018-02-25 18:04:28 +01:00
Audrius Butkevicius and Jakob Borg
2751be57dc
lib/connections: Fix relay connections when two devices use the same relay ( fixes #4778 ) ( #4779 )
2018-02-25 16:12:46 +01:00
Audrius Butkevicius and Simon Frei
8df90bb475
lib/scanner: Track modified by in symlinks ( #4777 )
2018-02-25 14:51:37 +01:00
Simon Frei and Jakob Borg
36251b86f7
lib/model: Mark deleted file as conflicting when un-ignoring ( #4776 )
...
This completes #4750 as a followup to #4765 .
2018-02-25 13:03:55 +01:00
Jakob Borg and GitHub
42cc64e2ed
lib/config, lib/model: Auto adjust pullers based on desired amount of pending data ( #4748 )
...
This makes the number of pullers vary with the desired amount of outstanding requests instead of being a fixed number.
2018-02-25 10:14:02 +01:00
Simon Frei and Jakob Borg
158859a1e2
lib: Handle metadata changes for send-only folders ( fixes #4616 , fixes #4627 ) ( #4750 )
...
Unignored files are marked as conflicting while scanning, which is then resolved
in the subsequent pull. Automatically reconciles needed items on send-only
folders, if they do not actually differ except for internal metadata.
2018-02-25 09:39:00 +01:00
Simon Frei and Jakob Borg
5822222c74
lib/model: More precise deletion detection ( fixes #2571 , fixes #4573 ) ( #4765 )
2018-02-25 09:27:54 +01:00
Jakob Borg and Audrius Butkevicius
e99be02055
lib/model: Don't panic if block size in index is larger than protocol block size
...
This doesn't happen today, but it might in the future if the block size
were increased or made variable and we were talking to a client from the
future.
2018-02-24 07:34:23 -05:00
Matic Potočnik and Jakob Borg
1901a5a9f4
all: Fix typos ( #4772 )
...
Skip-check: authors
2018-02-24 08:51:29 +01:00
Jakob Borg and Audrius Butkevicius
a27032f09e
cmd/strelaysrv: Don't patch the default HTTP client ( fixes #4745 )
2018-02-21 09:56:04 -05:00
Jakob Borg and GitHub
5e041dca9f
cmd/strelaypoolsrv: Return better error codes and messages ( #4770 )
...
The current 500 "test failed" looks and sounds like a problem in the
relay pool server, while it actually indicates a problem on the
announcing side. Instead use 400 "connection test failed" to indicate
that the request was bad and what was the test.
2018-02-21 12:53:49 +01:00
Jakob Borg
c9ec6159e8
lib/fs, vendor: s/zillode/Zillode/
2018-02-21 08:27:33 +01:00
Jakob Borg
5b17aae1b2
cmd/syncthing: Fix help text for STRECHECKDBEVERY ( fixes #4764 )
2018-02-21 08:26:57 +01:00
Jakob Borg
5931231a32
gui, man: Update docs & translations
2018-02-21 07:45:16 +01:00
Jakob Borg
d7dc37b3c4
There are more numbers in the Go version now
2018-02-20 08:03:34 +01:00
Simon Frei and Jakob Borg
6802505dda
lib/fs: Fix MkdirAll failure due to \\?\ ( fixes #4762 ) ( #4763 )
2018-02-16 15:19:20 +01:00
Jakob Borg and GitHub
7a92f6c6b1
lib/db: Don't panic on negative counts ( #4761 )
...
* lib/db: Don't panic on negative counts (fixes #4659 )
So, negative counts should never happen and hence the original idea to
panic. However, this sucks as the panic will happen in a folder runner,
be automatically swallowed by suture, and the runner gets restarted but
now we are in a bad state. (Related: #4758 )
At the time of writing the global list is somewhat in flux (we've
changed how ignored files are handled, invalid bits, etc.) and I think
that can cause unusual conditions here. Hence just fixing up the numbers
instead until the next full recount.
2018-02-14 11:25:34 +01:00
Simon Frei and Jakob Borg
68c1b2dd47
all: Revert simultaneously walk fs and db on scan ( fixes #4756 ) ( #4757 )
...
This reverts commit 6d3f9d5154 .
2018-02-14 08:59:46 +01:00
Jakob Borg
b57c9b6af5
gui, man: Update docs & translations
2018-02-14 07:45:17 +01:00
Jakob Borg and Audrius Butkevicius
c120c3a403
lib/scanner: Error handling in walk function ( fixes #4753 ) ( #4754 )
2018-02-13 10:02:07 +00:00
Jakob Borg
2bbd2d6ed1
Merge branch 'release'
...
* release:
lib/osutil: Fix priority lowering on Windows
lib/osutil: Don't attempt to reduce our niceness level (fixes #4681 )
lib/osutil: Check PGID before trying to set it (fixes #4679 )
2018-02-12 15:27:27 +01:00
Simon Frei and GitHub
4955297bf6
lib/protocol: Invalid files should always lose ( #4747 )
2018-02-10 19:40:57 +01:00
Simon Frei and GitHub
6d3f9d5154
all: Simultaneously walk fs and db on scan ( fixes #2571 , fixes #4573 ) ( #4584 )
...
When scanner.Walk detects a change, it now returns the new file info as well as the old file info. It also finds deleted and ignored files while scanning.
Also directory deletions are now always committed to db after their children to prevent temporary failure on remote due to non-empty directory.
2018-02-10 16:56:53 +01:00
Jakob Borg and GitHub
b97d5bcca8
Remove KCP ( fixes #4737 ) ( #4741 )
2018-02-09 11:40:57 +01:00
Alexandre Viau and Audrius Butkevicius
97068c10f3
vendor: Add missing vendor licenses
2018-02-08 16:52:15 +00:00
Jakob Borg
8cdab7231a
meta: Fix authors check
2018-02-07 17:32:26 +01:00
Kropekk and Audrius Butkevicius
bc7639b0ff
lib/versioner: Fix external versioner command specification on Windows ( fixes #4560 )
2018-02-07 14:12:27 +00:00
Simon Frei and Jakob Borg
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 and Jakob Borg
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 and Jakob Borg
f87f13081b
all: Display fs watcher status and retry starting it (ref #4552 ) ( #4713 )
2018-02-04 22:46:24 +01:00
Jakob Borg and GitHub
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 and Jakob Borg
c7cf361a96
vendor: Update github.com/zillode/notify ( #4734 )
2018-02-04 22:37:32 +01:00
Jakob Borg and GitHub
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