Audrius Butkevicius
1880284bde
Merge pull request #2711 from calmh/fix2704
...
Don't require restart for usage reporting changes (fixes #2704 )
2016-01-18 18:12:58 +00:00
Jakob Borg
6c1faa4bdb
Don't require restart for usage reporting changes ( fixes #2704 )
2016-01-18 10:06:31 -08:00
Lode Hoste
82e033942e
RLimit comment typo
...
Thanks @plouj
2016-01-17 12:54:44 +01:00
Jakob Borg
2919b76947
The "OK" log level is silly and should not exist
2016-01-16 23:04:41 +01:00
Jakob Borg
acaf134dfe
Don't crash on folder remove while pulling ( fixes #2705 )
2016-01-16 21:42:32 +01:00
Audrius Butkevicius
c4c6df179b
Handle race within the job queue ( fixes #1263 )
2016-01-16 17:20:21 +00:00
kluppy
7c42b5cb17
Update 'Edit' menu to 'Action' menu ( fixes #2662 )
2016-01-13 20:09:32 +10:00
Audrius Butkevicius
5fa8b42fac
Merge pull request #2690 from calmh/fix2665
...
Always run relaying when enabled (fixes #2665 )
2016-01-12 13:48:22 +00:00
Jakob Borg
8b3d75b339
Undo the hash algorithm additions; retain flag checks
2016-01-12 14:35:00 +01:00
Jakob Borg
357089a438
Mend protocol tests, for sure
2016-01-12 14:35:00 +01:00
Jakob Borg
f741066466
Always run relaying when enabled ( fixes #2665 )
2016-01-12 14:15:47 +01:00
Jakob Borg
9595687bce
Improve protocol tests, close handling
2016-01-12 09:30:02 +01:00
Jakob Borg
acdddc0b79
Don't leak sendIndexes on disconnect ( fixes #2589 )
...
Adds a Closed() method on protocol.Connection and clears up
wireformatConnection a little too.
2016-01-11 17:57:25 +01:00
Audrius Butkevicius
ff4bab4c07
Silence the linter
2016-01-10 18:00:52 +00:00
alessandro.g89
5c36029274
Add dark theme by alessandro.g89
...
Source: https://userstyles.org/styles/122502/syncthing-dark
2016-01-10 18:00:44 +00:00
Audrius Butkevicius
cd54186113
Add support for themes ( fixes #1925 )
2016-01-10 17:57:27 +00:00
Audrius Butkevicius
6c0a973ac3
Merge pull request #2480 from calmh/shortdblabels
...
Change database folder label format
2016-01-10 01:33:56 +00:00
Jakob Borg
837fde70ae
Add XUnit compatible test output
2016-01-10 00:50:43 +01:00
Jakob Borg
370b0fc5da
More fine grained locking in discovery cache ( fixes #2667 )
...
We only need to protect the integrity of the "finders" and "caches"
slices, and for that we only need an RLock except while actually
appending to them. The actual finders and caches are concurrency safe on
their own.
2016-01-09 00:56:03 +01:00
Jakob Borg
576c365753
Don't resolve destination address until we need to ( fixes #2671 )
2016-01-07 12:32:10 +01:00
Jakob Borg
a4385100c4
HTML attribute typo
2016-01-05 11:19:27 +01:00
Jakob Borg
1df924f4f8
Add relaying to main settings dialog ( fixes #2433 )
2016-01-05 10:08:56 +01:00
Jakob Borg
096b2d73cd
Don't conflict copy conflict copies ( fixes #2605 )
2016-01-03 21:16:31 +01:00
Jakob Borg
ac190b2e39
Change DB label format (index folders, devices)
2016-01-03 19:32:40 +01:00
Jakob Borg
4673862981
Update docs & translations
2016-01-03 09:56:33 +01:00
Jakob Borg
212d7257e9
Pretty print the new architectures
2016-01-01 21:19:15 +01:00
Jakob Borg
0db80710aa
Detect nonstandard hash algo and stop folder (ref #2314 )
2016-01-01 20:14:31 +01:00
Jakob Borg
7c47eff112
Update lang-en.json for translations
2016-01-01 20:13:44 +01:00
Jakob Borg
d81849ab3b
Merge pull request #2631 from AudriusButkevicius/igwarn
...
Don't warn about failed ignores if folder unhealthy (fixes #2630 )
2016-01-01 16:48:31 +01:00
Audrius Butkevicius
dbb3f80995
Merge pull request #2193 from AudriusButkevicius/lans
...
Remove windows specialisation from osutil.GetLans (fixes #2192 )
2016-01-01 15:01:23 +00:00
Audrius Butkevicius
80b9a3e00b
Don't warn about failed ignores if folder unhealthy ( fixes #2630 )
2016-01-01 12:59:13 +00:00
Kevin Allen
ffc4a60bc6
Show device ID QR code from edit dialog ( fixes #1494 )
2016-01-01 11:24:09 +01:00
Jakob Borg
18e70f4e79
Ensure loaded config is free of duplicate devices ( fixes #2627 )
2015-12-31 09:17:17 +01:00
Jakob Borg
62a81cfdd1
Update lang-en.json and assets
2015-12-30 08:54:09 +01:00
Jakob Borg
7b3fa8da60
Update translations & docs
2015-12-27 13:26:14 +01:00
Anderson Mesquita
219ece22fc
Remove fixed footer at first media break ( fixes #2454 )
...
After the first media break (under 1200px), the footer is too long to
fit in a single line, taking up too much space in small screen devices.
This makes it so that it will stop being fixed at the bottom, freeing up
valuable screen real estate.
2015-12-23 22:19:41 -05:00
Jakob Borg
4874301615
Merge pull request #2618 from AudriusButkevicius/svc
...
Svc -> Service
2015-12-23 21:33:42 +01:00
Audrius Butkevicius
1827dda0c6
Svc -> Service
2015-12-23 15:31:12 +00:00
Jakob Borg
d088b01f75
Rebuild assets
2015-12-23 16:09:42 +01:00
Jakob Borg
00c5062eab
Merge branch 'pr/2613'
...
* pr/2613:
Add an icon for Safari's pinned tabs
2015-12-23 16:09:31 +01:00
Anderson Mesquita
6d94a3be05
Refactor rwfolder tests
...
This creates a few utility functions to avoid repetition and removes
some redundant checks.
2015-12-22 23:43:07 -05:00
Jaakko Hannikainen
c300015ac2
Add an icon for Safari's pinned tabs
...
Safari has its own standard for handling icons for pinned tabs,
which requires a black-and-white .svg and a special tag.
Without using this, pinning a tab to localhost will show just
a blank square, instead of a pre-generated letter.
2015-12-22 12:29:59 +02:00
Jakob Borg
c7aec839ae
Merge pull request #2614 from andersonvom/issue-2598
...
WIP: Consider tempfile when checking for free space (fixes #2598 )
2015-12-22 09:42:34 +01:00
Anderson Mesquita
3f94e70488
WIP: Consider tempfile when checking for free space ( fixes #2598 )
...
Checks the existing blocks that can be reused when downloading a file so
that it only requires the space corresponding to the missing blocks.
This will prevent syncthing from claiming the folder doesn't have enough
space when resuming download of large files after they have been
partially downloaded.
2015-12-21 13:36:08 -05:00
Audrius Butkevicius
c9e67fb460
Log when we fail to connect to relay
2015-12-20 22:14:13 +00:00
Audrius Butkevicius
cec87be4e3
Remove windows specialisation from osutil.GetLans ( fixes #2192 )
2015-12-20 18:10:02 +00:00
Jakob Borg
eb1a234a77
Translation & docs update
2015-12-20 10:05:17 +01:00
Jakob Borg
394c2b67d6
Merge pull request #2595 from AudriusButkevicius/leaks
...
Always exit via error select, making sure reader routine is exits (fi…
2015-12-20 10:03:34 +01:00
Jakob Borg
e5cf99e31c
Move event timestamp to header for share folder prompt
2015-12-20 09:52:59 +01:00
Anderson Mesquita
8120535a35
Edit device after accepting new connection ( fixes #1929 )
...
This will open the "edit device" dialogue after accepting a new device
connection. This will allow the user to specify the name of the device
or leave it blank in case they want to accept whatever the device
advertises once it connects.
2015-12-19 09:48:27 -05:00
Audrius Butkevicius
e7b71f8743
Merge pull request #2601 from calmh/fix2600
...
Don't verify free space for files when folder MinDiskFreePct==0 (fixes #2600 )
2015-12-19 13:02:57 +00:00
Jakob Borg
03935b2d64
Don't verify free space for files when folder MinDiskFreePct==0 ( fixes #2600 )
2015-12-19 13:59:08 +01:00
Jakob Borg
9c82a4ca60
Merge pull request #2593 from AudriusButkevicius/httpfoo
...
Only override TLS settings if scheme is specified
2015-12-19 08:47:46 +01:00
Anderson Mesquita
69b35b2ede
Fix alignment of settings fields
...
When upgrade info is not available and the "Automatic Upgrades" options
is hidden, then "Global Discovery Server" wraps around and gets
misaligned. This fixes all that.
2015-12-18 22:40:56 -05:00
AudriusButkevicius
e8016abd97
Always exit via error select, making sure reader routine is exits ( fixes #2547 )
2015-12-18 22:29:04 +00:00
AudriusButkevicius
33a87f54bb
Only override TLS settings if scheme is specified
2015-12-18 19:42:39 +00:00
Audrius Butkevicius
f208e6f0b6
Fix typos
2015-12-15 20:11:07 +00:00
Jakob Borg
7c8c131e1a
Merge pull request #2582 from Zillode/debug-2580
...
Additional output on insufficient error (ref #2580 )
2015-12-15 10:19:59 +01:00
Jakob Borg
81e71d7275
Merge pull request #2576 from AudriusButkevicius/reconn
...
More debug to reconnect loop
2015-12-15 10:18:47 +01:00
Jakob Borg
2280566bca
Better error messages for globbing errors
2015-12-15 10:04:13 +01:00
Lode Hoste
cc0b9e5088
Additional output on insufficient error (ref #2580 )
2015-12-15 08:45:33 +01:00
Audrius Butkevicius
403583cfbb
More debug to reconnect loop
2015-12-13 12:20:25 +00:00
Jakob Borg
29bff06cd6
Translation update
2015-12-13 10:39:09 +01:00
Jakob Borg
2b80057ac9
Minimal error handling refactor
2015-12-13 10:38:21 +01:00
William A. Kennington III
5bdf4c6143
upnp: Use a separate error for the error unmarshalling
...
Previously, when unmarshing the SOAP error code data we would overwrite
the original err, typically with null since the parsing of the error
code information succeeds. If we don't have a upnp 725 error, we would fall
back to returning null or no error. This broke our upnp error handling
logic for AddPortMappings as it would think it succeeds if it gets a 718
permission error.
2015-12-12 09:58:23 -08:00
Jakob Borg
3025caf932
Also remove IP per disco server
2015-12-08 10:10:34 +01:00
Jakob Borg
95cfc50fbd
Remove Android hacks ( fixes #2505 )
...
Also fixes what I think migh thave been a bug where we did not use the
proxy for usage reports. And removes the BuildEnv field that we don't
need any more.
2015-12-08 10:10:06 +01:00
Jakob Borg
1b6e4645b1
Update docs & translations
2015-12-06 13:09:22 +01:00
Antony Male
345d727936
staticClient.connect(): don't handshake twice ( fixes #2547 , #2548 )
...
The first handshake occurred before setting the Deadline, which could
cause an unintended hang.
2015-12-04 12:01:01 +00:00
Nate Morrison
86e8e5199e
Filenames added to audit log in the LocalIndexUpdated event ( fixes #2549 )
2015-12-04 08:42:00 +01:00
Jakob Borg
739979a116
Add nrm21
2015-12-04 08:38:45 +01:00
Jakob Borg
ab1962934d
Docs & translations update
2015-12-01 11:24:30 +01:00
Jakob Borg
cb0d739daf
New key for discovery-*-3
2015-12-01 11:20:16 +01:00
Jakob Borg
a937fcc477
Lol shadowing :(
2015-12-01 11:20:16 +01:00
Jakob Borg
9f2dc4554d
Accept Retry-After header on discovery lookup failures
2015-12-01 11:10:03 +01:00
Jakob Borg
3008dc76d3
Add buinsky
2015-11-30 18:30:36 +01:00
buinsky
05a31c2686
Fix deleting folders on WinXP ( fixes #2522 )
2015-11-30 19:09:36 +03:00
Antony Male
4bd0dd2123
Allow #urPreview to scroll in the browser ( fixes #2537 )
...
This is the same issue as #2014/#2062. Bootstrap doesn't like having two dialogs
open at once: it marks the body has having no dialogs open when the first dialog
is closed, regardless of whether the second dialog is still open.
This means that scrolling doesn't happen properly, and the user cannot
scroll to the dialog's 'close' button.
Work around this by making sure the first dialog (the settings page) is fully closed
before the second dialog (usage preview) is opened.
2015-11-30 13:27:07 +00:00
Jakob Borg
9b2a643626
Update docs and translations
2015-11-29 08:55:38 +01:00
Jakob Borg
1ebc9a9a88
Merge pull request #2525 from kluppy/master
...
Don't chmod in Atomic on android (fixes #2472 )
2015-11-28 22:57:00 +01:00
Jakob Borg
f0c8b7ce40
Add kluppy
2015-11-28 22:17:05 +01:00
Audrius Butkevicius
4474d200b0
Fix symlinks ( fixes #2524 )
2015-11-28 20:23:08 +00:00
kluppy
f062e35641
Don't chmod in Atomic on android (fixes #2472 )
2015-11-28 02:46:06 +10:00
Jakob Borg
321ef9816c
Merge pull request #2521 from AudriusButkevicius/dialtimeout
...
Add dialer.DialTimeout, use that when connecting to relays
2015-11-27 10:01:21 +01:00
Jakob Borg
6d11006b54
Generate ECDSA keys instead of RSA
...
This replaces the current 3072 bit RSA certificates with 384 bit ECDSA
certificates. The advantage is these certificates are smaller and
essentially instantaneous to generate. According to RFC4492 (ECC Cipher
Suites for TLS), Table 1: Comparable Key Sizes, ECC has comparable
strength to 3072 bit RSA at 283 bits - so we exceed that.
There is no compatibility issue with existing Syncthing code - this is
verified by the integration test ("h2" instance has the new
certificate).
There are browsers out there that don't understand ECC certificates yet,
although I think they're dying out. In the meantime, I've retained the
RSA code for the HTTPS certificate, but pulled it down to 2048 bits. I
don't think a higher security level there is motivated, is this matches
current industry standard for HTTPS certificates.
2015-11-27 09:15:12 +01:00
Audrius Butkevicius
ed792b97c0
Take timeout into account when dialing
2015-11-26 23:41:11 +00:00
Audrius Butkevicius
a4b8c2298a
Add dialer.DialTimeout support
2015-11-26 23:31:37 +00:00
Jakob Borg
e5b33ce9f6
Regenerate XDR for empty struct types
2015-11-24 20:54:49 +01:00
Michael Ploujnikov
9edf8233f7
Improve upgrade error messages
2015-11-24 08:29:42 -05:00
Michael Ploujnikov
bd4a14519c
FetchLatestReleases: just log the error here
...
Since the return value is being ignored by the caller.
2015-11-24 08:29:42 -05:00
Michael Ploujnikov
f12bf8c09a
Rename LatestGithubReleases -> FetchLatestReleases
2015-11-24 08:29:42 -05:00
Jakob Borg
fa4b4dece1
Compact database on startup (ref #2400 )
2015-11-24 13:17:30 +01:00
Jakob Borg
02f044a2a1
Add plouj
2015-11-24 08:35:25 +01:00
Audrius Butkevicius
431d51f5c4
Add timeouts to relay methods
2015-11-23 21:14:46 +00:00
Jakob Borg
5136675fae
Docs & translation update
2015-11-22 16:05:20 +01:00
Audrius Butkevicius
6ff02761a9
Merge pull request #2500 from calmh/sparse
...
Handle sparse files (fixes #245 )
2015-11-21 17:21:11 +00:00
Jakob Borg
d46f267663
Handle sparse files ( fixes #245 )
2015-11-21 17:58:09 +01:00
Audrius Butkevicius
eeb5d99942
Sort relays in 50ms latency increments, shuffle relays within the same increment
2015-11-21 13:23:49 +00:00
Audrius Butkevicius
9047d56aa0
Add RelayFull message
2015-11-20 23:42:49 +00:00
Jakob Borg
bed6155c79
Refactor: multiple-if to switch
2015-11-20 11:24:50 +01:00