Jakob Borg
3ca46c29c3
Merge pull request #2680 from calmh/xunit
...
Add XUnit compatible test results
2016-01-10 01:00:07 +01:00
Jakob Borg
837fde70ae
Add XUnit compatible test output
2016-01-10 00:50:43 +01:00
Jakob Borg
1e52cc474f
Merge pull request #2677 from nrm21/default_sync
...
Added STNODEFAULTFOLDER envvar to skip default folder creation
2016-01-09 13:24:53 +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
bc2ed60b92
Translations for relaying stuff
2016-01-07 10:28:21 +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
6e1d364d60
Don't allow in use CSRF tokens to expire ( fixes #1008 )
2016-01-03 22:03:02 +01:00
Jakob Borg
096b2d73cd
Don't conflict copy conflict copies ( fixes #2605 )
2016-01-03 21:16:31 +01:00
Jakob Borg
ed3ed1f90a
Change default max conflicts to 10 ( fixes #2604 )
2016-01-03 21:10:25 +01:00
Jakob Borg
adb1227b2e
Update kardianos/osext ( fixes #2650 )
2016-01-03 19:59:56 +01:00
Jakob Borg
ac190b2e39
Change DB label format (index folders, devices)
2016-01-03 19:32:40 +01:00
Jakob Borg
18ae87962d
Clarify points of contact
2016-01-03 13:07:22 +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
ded7abb1f6
Also build linux-arm64, linux-ppc64, linux-ppc64le
2016-01-01 20:56:31 +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
Jakob Borg
be5e5d837b
Merge branch 'pr/2625'
...
* pr/2625:
Show device ID QR code from edit dialog (fixes #1494 )
2016-01-01 11:24:49 +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
6365a026c1
Merge branch 'pr/2628'
...
* pr/2628:
Disallow adding duplicate device ID in GUI
2015-12-30 08:53:29 +01:00
Jakob Borg
7c89193398
Add ironmig
2015-12-30 08:53:19 +01:00
Jakob Borg
7b3fa8da60
Update translations & docs
2015-12-27 13:26:14 +01:00
Jakob Borg
2fae7ccf5c
Ignore error on os.Chtimes in config archiving
2015-12-26 18:25:36 +01:00
Jakob Borg
8b726c7e8b
Correct GUI asset dir handling ( fixes #2621 )
2015-12-26 13:32:46 +01:00
Jakob Borg
b7a58d2f87
Merge pull request #2620 from andersonvom/issue-2454
...
Remove fixed footer at first media break (fixes #2454 )
2015-12-24 11:26:40 +01:00
Jakob Borg
4874301615
Merge pull request #2618 from AudriusButkevicius/svc
...
Svc -> Service
2015-12-23 21:33:42 +01: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
Jakob Borg
84eacde63a
Add jgke
2015-12-23 16:09:11 +01:00
Jakob Borg
d98290c17f
Merge pull request #2617 from andersonvom/issue-2598
...
Refactor rwfolder tests
2015-12-23 07:55:47 +01:00
Jakob Borg
6f95afdc59
Humanize serialization of version vectors
2015-12-22 21:53:25 +01:00
Jakob Borg
aaa75a32a5
Temporarily patch kardianos/osext to build on FreeBSD
2015-12-22 13:41:04 +01:00
Jakob Borg
eb4f5e9faa
Update deps, step two (because I suck)
2015-12-22 09:43:47 +01: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
Jakob Borg
37aa89b19d
Update kardianos/osext (ref #1272 )
2015-12-22 09:39:47 +01:00
Jakob Borg
435afa0eea
Merge pull request #2610 from calmh/fix2608-2
...
Correctly set default logfile location on Windows (fixes #2608 )
2015-12-21 12:26:49 +01:00
Jakob Borg
fb82a5e086
Correctly set default logfile location on Windows ( fixes #2608 )
2015-12-21 12:19:28 +01:00
Jakob Borg
4a97aa12d6
Don't crash on stat error in ensureDir ( fixes #2608 )
...
I'm not really sure under what circumstances MkdirAll returns a nil
error but a subsequent stat fails, but apparently it can happen and we
need to handle it. The "mode >= 0" was a no-op, and we never call
ensureDir anyway without the intention of ensuring the mode, so removed
that.
2015-12-21 09:35:43 +01: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
aeb3af7105
Merge branch 'pr/2594'
...
* pr/2594:
Move event timestamp to header for share folder prompt
Edit device after accepting new connection (fixes #1929 )
Move new device timestamp to box header
Fix unmatching closing span tag
2015-12-20 09:53:26 +01:00
Jakob Borg
e5cf99e31c
Move event timestamp to header for share folder prompt
2015-12-20 09:52:59 +01: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
2b89f33765
Merge pull request #2592 from andersonvom/remove_globals
...
Remove some global variables from main.go
2015-12-19 09:05:05 +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
Jakob Borg
2cdfa59fbe
Merge pull request #2588 from andersonvom/browser-only
...
Add command line option to open GUI (fixes #2210 )
2015-12-17 08:41:31 +01:00
Jakob Borg
bebe74fa4a
Merge pull request #2590 from andersonvom/refactor
...
Refactor main.go
2015-12-17 08:34:21 +01:00
Jakob Borg
6379d50f07
Sort and retabify AUTHORS & NICKS
2015-12-16 09:16:16 +01:00
Jakob Borg
5a2792ae24
Merge branch 'pr/2587'
...
* pr/2587:
Add helper function to format JSON responses
2015-12-16 09:08:16 +01:00
Jakob Borg
9b26f3cd84
Add andersonvom
2015-12-16 09:08:03 +01: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
Jakob Borg
33173e76a0
Merge pull request #2581 from rumpelsepp/master
...
systemd: Remove exit code 2, due to #2578
2015-12-15 09:10:36 +01:00
Jakob Borg
4ab4aeacb0
Example GUI override address ( fixes #2530 )
2015-12-14 14:39:07 +01:00
Jakob Borg
7b686c1103
Implement signal handling
...
With this change, the behavior is as follows:
- SIGTERM / SIGINT: Exit cleanly (exit code 0)
- SIGHUP: Restart
This is the case both when hitting the monitor process or the inner
process, or if running with NORESTART (but then we won't restart,
obviously, just exit with code exitRestarting).
It enables "pkill -HUP syncthing" to do the right thing to restart all
Syncthings on package upgrade, for example.
2015-12-14 13:07:42 +01: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
Jakob Borg
c3625e16d7
Add wkennington
2015-12-13 10:35:34 +01:00
Jakob Borg
80aaf6a065
Merge pull request #2513 from calmh/noandroidhax
...
Remove Android hacks (fixes #2505 )
2015-12-08 12:53:10 +01: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
ded0925155
Neater build.sh all
2015-12-08 09:33:34 +01:00
Jakob Borg
931408037c
Build should use -i (keep built pkg:s) and -v (verbose)
2015-12-08 09:14:52 +01:00
Jakob Borg
3318651565
Correct type assertion in verbose logger, restart ( fixes #2561 )
2015-12-07 08:04:09 +01:00
Jakob Borg
1b6e4645b1
Update docs & translations
2015-12-06 13:09:22 +01:00
Jakob Borg
a6a573f5dc
Fix STTRACE=http (it should use the http debug logger)
2015-12-05 15:59:35 +01:00
Jakob Borg
415415b5b2
Response with Bad Request to bad config posts, not Internal Server Errors
...
The error is the clients fault, or so we think, so we should not accept
the blame.
2015-12-05 15:56:10 +01:00
Jakob Borg
739979a116
Add nrm21
2015-12-04 08:38:45 +01:00
Jakob Borg
7cbc81adca
Merge pull request #2545 from rumpelsepp/master
...
Add syncthing-relay(7)
2015-12-01 15:54:10 +01:00
Jakob Borg
ab1962934d
Docs & translations update
2015-12-01 11:24:30 +01:00
Jakob Borg
192455702d
Repair AUTHORS
2015-12-01 11:23:35 +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
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
Jakob Borg
ec54550f21
Merge pull request #2529 from AudriusButkevicius/fixlinks
...
Fix symlinks (fixes #2524 )
2015-11-28 21:29:33 +01: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
Jakob Borg
e5b33ce9f6
Regenerate XDR for empty struct types
2015-11-24 20:54:49 +01:00
Jakob Borg
30374d46c9
Merge pull request #2510 from plouj/master
...
Log problems fetching releases
2015-11-24 20:39:29 +01: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
Jakob Borg
45c1357bab
Update osext dependency ( fixes #1272 )
2015-11-23 13:09:42 +01:00
Jakob Borg
5136675fae
Docs & translation update
2015-11-22 16:05:20 +01:00
Jakob Borg
db4f23f377
Refactor: extract function generate
2015-11-22 07:35:24 +01:00
Jakob Borg
d46f267663
Handle sparse files ( fixes #245 )
2015-11-21 17:58:09 +01:00
Jakob Borg
6a98534d5d
Merge pull request #2498 from AudriusButkevicius/relaystuff
...
Change the way relays are chosen, add RelayFull message.
2015-11-21 16:51:03 +01:00
Jakob Borg
ff8a66d22f
Add metrics for HTTP calls
2015-11-21 09:48:57 +01:00
Jakob Borg
f7ad97918a
HTTP debug middleware should be behind ShouldDebug()
2015-11-21 09:39:40 +01:00
Jakob Borg
945ddc2403
Moved to syncthing-nsi repo
2015-11-20 19:56:01 +01:00
Jakob Borg
bed6155c79
Refactor: multiple-if to switch
2015-11-20 11:24:50 +01:00
Jakob Borg
f2459e61dd
Refactor: break out walkRegular method
2015-11-20 10:32:16 +01:00