Peter Marquardt
3ef19411f9
cmd/syncthing: Remove spurious <nil> in debug output
...
Remove spurious gui.go:985: DEBUG: <nil> on successful call time.Parse() in getSystemLog and getSystemLogTxt.
2018-04-14 10:46:33 +02:00
Jakob Borg
ea43e089d4
authors: Add wwwutz
2018-04-14 10:43:42 +02:00
Jakob Borg
5fa9237a62
script: Don't base64 encode the assets ( #4874 )
...
We did this to minimize source size and make it compile faster. Nowadays
byte slice literals compile as fast as anything, and the source isn't
checked in so it doesn't matter how big it is.
Not using base64 avoids a decode step at startup and makes the binary
about 400k smaller.
2018-04-11 22:02:14 +01:00
Jakob Borg
fa367e92b0
gui, man: Update docs & translations
2018-04-11 07:45:15 +02:00
Simon Frei
4072ae4d05
lib/model: Prevent warning on request in paused folder ( fixes #4870 )
2018-04-09 20:55:52 +01:00
Jakob Borg
e9c6795ef8
docker: Add README from old Docker repo ( fixes #4868 ) ( #4869 )
...
With slight modifications
2018-04-09 10:48:37 +02:00
Audrius Butkevicius
afb27f7f02
cmd/strelaypoolsrv: Move metric scraping to the server itself ( #4866 )
2018-04-08 20:13:55 +01:00
Jakob Borg
cf4d7ff50f
gui, man: Update docs & translations
2018-04-04 07:45:15 +02:00
Audrius Butkevicius
29e7e54bb4
assets: Use icon from synctrayzor (ref #4839 ) ( #4859 )
2018-04-02 19:57:01 -04:00
Jakob Borg
6982c06261
cmd/strelaypoolsrv: Handle portless X-Forwarded-For ( #4856 )
2018-04-01 21:29:34 -04:00
Simon Frei
26d87ec3bb
lib/fs: Don't panic when watching a folder with symlinked root ( #4846 )
2018-03-28 22:01:25 +01:00
John Rinehart
c51591b308
cmd/syncthing: Set Content-Type header regardless of asset location ( #4847 )
2018-03-28 15:51:24 -04:00
Jakob Borg
8b052a950d
authors: Add fuzzybear3965
2018-03-28 15:48:04 -04:00
Audrius Butkevicius
1ff5fc9620
cmd/syncthing: Correct --paths in some cases ( #4845 )
2018-03-28 18:02:43 +01:00
Jakob Borg
4aaf8d4ceb
gui, man: Update docs & translations
2018-03-28 07:45:15 +02:00
Audrius Butkevicius
720e8dedbc
lib/osutil: Use unix lowprio implementation on Android ( #4844 )
2018-03-27 22:03:09 +01:00
Jakob Borg
8ac11f19bd
Merge branch 'release'
...
* release:
lib/scanner, lib/model: Actually assign version when un-ignoring (fixes #4841 ) (#4842 )
2018-03-27 16:27:53 -04:00
Simon Frei
bea6ecaf35
lib/scanner, lib/model: Actually assign version when un-ignoring ( fixes #4841 ) ( #4842 )
...
This fixes a mistake introduced in #4750 and #4776 and is relevant to v0.14.46-rc1
2018-03-27 16:25:36 -04:00
Simon Frei
69f2c26d50
lib/scanner, lib/model: Actually assign version when un-ignoring ( fixes #4841 ) ( #4842 )
...
This fixes a mistake introduced in #4750 and #4776 and is relevant to v0.14.46-rc1
2018-03-27 16:24:20 -04:00
Jakob Borg
59802c3981
cmd/stdiscosrv, vendor: Remove remnants of golang.org/x/net/context ( #4843 )
2018-03-27 07:37:34 -04:00
Jakob Borg
bdbaa84989
lib/connections: Wrong context snuck in somehow
2018-03-27 07:18:26 -04:00
Harrison Jones
8208bfa2b9
build: Add icon & file info to syncthing.exe ( #4839 )
2018-03-26 19:44:44 +01:00
Jakob Borg
c49d864f14
lib/connections: Slightly refactor limiter juggling
...
Two small behavior changes: don't "charge" the data to the global rate
limit until it's been accepted by the device specific limiter, and fix
the send/recv direction in the log print on per device rate limits.
2018-03-26 11:45:02 -04:00
qepasa
2621c6fd2f
lib/connections, lib/config: Bandwidth throttling per remote device ( fixes #4516 ) ( #4603 )
2018-03-26 12:01:59 +02:00
Audrius Butkevicius
3c920c61e9
gui: Add folder label to global changes, use bootstrap table ( fixes #4828 ) ( #4838 )
2018-03-26 11:29:06 +02:00
Audrius Butkevicius
a5e40563de
lib/model: Don't log ignored files ( fixes #4832 ) ( #4837 )
2018-03-25 22:12:50 +02:00
Simon Frei
a557d62c4a
all: Transition to using fs watcher by default ( fixes #4552 )
2018-03-25 21:05:47 +01:00
Jakob Borg
d6bb8e6e06
docker: Build using Go 1.10
2018-03-24 09:21:22 +01:00
Simon Frei
69d05a3637
Handle versions as returned from transformVersion ( #16 )
2018-03-24 09:08:58 +01:00
Simon Frei
da3b38ccce
lib/fs: Fix and update error about inotify watch limit ( fixes #4833 ) ( #4835 )
2018-03-23 12:56:38 +01:00
Graham Miln
e7dc2f9190
lib/nat: Fix clearAddresses/notify deadlock (ref #4601 ) ( #4829 )
...
clearAddresses write locks the struct and then calls notify. notify in turn tries to obtain a read lock on the same mutex. The result was a deadlock. This change unlocks the struct before calling notify.
2018-03-21 08:02:32 +01:00
Jakob Borg
ac2e9b0e09
authors: Update grahammiln
2018-03-21 08:00:41 +01:00
Jakob Borg
6cb4ac9ec2
gui, man: Update docs & translations
2018-03-21 07:45:15 +01:00
Audrius Butkevicius
862eec34db
cmd/syncthing: Rename weak to rolling ( #4830 )
2018-03-20 23:42:36 +01:00
Jakob Borg
7da829a86f
authors: Add grahammiln
2018-03-20 19:59:55 +01:00
Simon Frei
81bd428b25
review & forgotten fixes from other PR
2018-03-18 01:10:13 +00:00
Simon Frei
ae74ac8329
gui: Tabify edit folder modal
...
Copied over from settings. Moves ignore patterns from its own modal into a tab
of the folder edit modal. Advanced settings are in a tab instead of a expandable
section and versioning gets it's own tab.
Also added modal hidden event handler to remove the anchor in the url.
2018-03-18 01:10:13 +00:00
Simon Frei
5520022766
lig/ignore, lib/logger: Fix race and potential dead-locks when logging ( #4821 )
2018-03-17 16:49:12 +01:00
Jakob Borg
7872bfa173
cmd/syncthing: Improve local host check ( fixes #4815 ) ( #4816 )
...
This does a less restrictive (and more correct) check on the IP address,
and also allows the fully qualified "localhost.".
2018-03-15 11:29:52 +01:00
Jakob Borg
bea3c01772
vendor: github.com/Zillode/notify is now github.com/syncthing/notify ( #4813 )
...
Given that we've taken on the resposibility of maintaining this forked
package I've added it to the Syncthing organization. We still vendor it
like an external package, because it's convenient to keep it as a fork
of upstream to easier merge and file pull requests towards them.
2018-03-14 14:48:22 +01:00
Simon Frei
55a7830ff9
lib/fs, lib/model: Make tests caching compatible ( fixes #4749 ) ( #4804 )
2018-03-13 14:03:10 +01:00
Jakob Borg
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
b31bad1c4d
lib/model: Remove unused shouldIgnore function ( #4805 )
2018-03-12 20:16:40 +01:00
Simon Frei
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
2bdb37d412
cmd/syncthing: More information in help about -logfile option ( #4796 )
2018-03-12 13:17:12 +01:00
Jakob Borg
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