Audrius Butkevicius
b678b4e048
cmd/syncthing: Skip a calculation if timediff is zero ( fixes #2854 )
2016-04-05 07:12:17 +02:00
Jakob Borg
1934b3a5b6
lib/ignore: Remove pattern for foo/** which is already covered by foo/
...
Actual speed difference according to benchmarks is hidden in the noise
Also make the "pattern" field for each entry match what is actually
evaluated.
2016-04-04 13:22:25 +01:00
Jakob Borg
cc1d122352
lib/model: Correctly detect deleted but previously ignored files as deleted
2016-04-04 11:53:55 +01:00
Jakob Borg
a4f0b85462
lib/config: Disable cacheIgnoredFiles, new default is disabled
2016-04-03 20:18:16 +01:00
Laurent Etiemble
7b4e1e9055
cmd/syncthing: Fix handler ordering so CORS middleware wraps all the others but the debug one
2016-04-03 13:24:55 +02:00
Jakob Borg
4c3cd4c9e3
lib/ignore: Replace lib/fnmatch with github.com/gobwas/glob
...
Because it's literally ten times faster:
benchmark old ns/op new ns/op delta
BenchmarkMatch-8 13842 1200 -91.33%
BenchmarkMatchCached-8 139 147 +5.76%
benchmark old allocs new allocs delta
BenchmarkMatch-8 0 0 +0.00%
BenchmarkMatchCached-8 0 0 +0.00%
benchmark old bytes new bytes delta
BenchmarkMatch-8 12 0 -100.00%
BenchmarkMatchCached-8 0 0 +0.00%
2016-04-02 20:03:24 +01:00
Lars K.W. Gohlke
46e913dc23
gui: Improve header and footer layout on small screens
2016-04-02 10:31:16 +02:00
Jakob Borg
8f580b13df
gui: Update translations and documentation
2016-04-01 07:33:42 +00:00
Jakob Borg
a551686d37
lib/discovery: Receiving a new announcement should be non-blocking
...
Pretty sure the intention of the select was for it to be non-blocking.
Not that it will matter almost ever.
2016-04-01 07:24:04 +00:00
Audrius Butkevicius
432c78079b
lib/connections: Increase lock periods to prevent races ( fixes #2899 )
2016-04-01 07:23:11 +00:00
Jakob Borg
f5f0e46016
lib: Use bytes.Equal instead of bytes.Compare where possible
2016-03-31 15:12:46 +00:00
Jakob Borg
b6f32b6e45
build: Clean up environment handling
...
Don't set variables for cross compilation when building assets, cleaner
check for Go version.
2016-03-31 07:33:09 +00:00
Michael Ploujnikov
66f480519b
lib/model: Refactor out scanning method from rwfolder.Serve loop
2016-03-30 06:53:47 +00:00
Jakob Borg
8044522691
vendor: Update calmh/xdr to avoid unexpected string behavior ( fixes #2882 )
2016-03-29 19:55:43 +00:00
Jakob Borg
c6a67bd203
gui: Update lang-en with new strings from GUI
2016-03-28 10:55:35 +00:00
Jakob Borg
c6881b6d02
gui: Update Bootstrap (v3.3.6), non-minified
2016-03-28 10:51:12 +00:00
Jakob Borg
4489bec6ef
gui: Upgrade jQuery (v2.2.2), non-minified
2016-03-28 10:50:19 +00:00
Jakob Borg
3d71e68696
gui: Upgrade Angular (v1.5.3 plus various), non-minified
2016-03-28 10:46:51 +00:00
Jakob Borg
783d2da4a8
gui: Upgrade Font Awesome (v4.5.0), non-minified
2016-03-28 10:46:05 +00:00
Jakob Borg
6be4b49999
build: Generate gui.files.go on the fly, remove from repo
2016-03-28 10:03:13 +00:00
Audrius Butkevicius
68185dd93c
gui: Remove bootswatch
2016-03-27 14:08:17 +00:00
Jakob Borg
d01ea9d6fb
lib/discovery: Handle nil relayService ( fixes #2890 )
2016-03-27 11:37:43 +00:00
Jakob Borg
d91e6023eb
lib/sync: Skip the timing tests if the host timer is flaky
2016-03-27 10:41:38 +00:00
Jakob Borg
17ed01a0c9
lib/connections: Rename makeTcp -> makeTCP according to go vet's wishes
2016-03-27 07:18:33 +00:00
Audrius Butkevicius
4b6c2d0d3d
gui: Pretty theme names
2016-03-27 06:40:50 +00:00
norgeous
46c07bb207
gui: Clean up CSS
2016-03-27 00:43:07 +00:00
norgeous
eaa805b9f0
gui: add Bootswatch themes
2016-03-26 21:57:05 +00:00
Lars K.W. Gohlke
436fd0b88e
pull_request_template: Add note about docs needing update
2016-03-26 07:00:12 +00:00
Jakob Borg
f706d3c393
cmd/stbench: Add utility to run benchmark tests
2016-03-25 20:52:20 +00:00
Jakob Borg
c58eb1d47a
cmd/stgenfiles: Add utility for generating test data
...
I use this to generate ~40 gigs of random test data in 200k files:
~/stgenfiles -dir /data/benchdata -files 200000 -maxexp 22 -src /dev/urandom
2016-03-25 20:50:48 +00:00
Audrius Butkevicius
b4f9a55e6e
protocol: Add "Hello" message at connection start, also for unauthed peers
2016-03-25 20:29:07 +00:00
Audrius Butkevicius
1d17891286
lib/upnp: Refactor out methods to util with tests, refactor IGD
2016-03-25 20:22:29 +00:00
Audrius Butkevicius
6a3f3f5577
gui: Add theme.css, move dark theme, adjust popover advanced folder settings colors ( fixes #2878 )
2016-03-25 16:55:53 +00:00
Audrius Butkevicius
29913dd1e4
lib/connections: Refactor address listing into connection service
2016-03-25 07:35:18 +00:00
Audrius Butkevicius
690837dbe5
lib/connections: Allow "tcp4" and "tcp6" addresses
2016-03-25 07:15:32 +00:00
norgeous
82e80a479a
gui: Add bootstrap tooltip to existing tooltip on folders
2016-03-25 07:09:55 +00:00
norgeous
bc508aee7b
gui: Docs links should be HTTPS
2016-03-25 07:02:29 +00:00
Jakob Borg
95247f7740
cmd/syncthing: Basic smoke test of all API endpoints
...
... except /rest/system/upgrade that requires a correct response from
Github, which we shouldn't depend on.
2016-03-24 10:17:04 +00:00
Jakob Borg
e5731229c7
cmd/syncthing: Add test for starting API service and requesting some URLs
2016-03-24 08:55:33 +00:00
Jakob Borg
52c74ad866
cmd/syncthing: Add mock types for API service testing
2016-03-24 08:09:13 +00:00
Jakob Borg
a28f890e83
issue_template: Add note about using forum for support
2016-03-23 20:50:52 +00:00
Wulf Weich
31362dfc17
gui: Better accessibility for folder & device panels ( fixes #2288 )
2016-03-22 20:53:56 +00:00
Jakob Borg
a492cfba13
cmd/syncthing: Extract interfaces for things the API depends on
...
Enables testing of the API service, in the long run.
2016-03-21 19:36:08 +00:00
Audrius Butkevicius
894ccd18ff
Merge pull request #2855 from calmh/marshalfail
...
cmd/syncthing: Return 500 with an error object instead of empty 200 on marshalling error in REST response
2016-03-20 11:09:59 +00:00
Jakob Borg
9dec6f1324
cmd/syncthing: Return 500 with an error object instead of empty 200 on marshalling failure in REST response
2016-03-20 11:54:53 +01:00
Jakob Borg
aba2cc4db2
lib/model: Properly handle deleting multiple files when doing scans with subs ( fixes #2851 )
2016-03-18 12:16:33 +00:00
Jakob Borg
2df001fe5c
lib/model: Correct handling of multiple subs when scanning ( fixes #2851 )
...
Previously the code failed in that it would return top-level plus a sub,
i.e. ["", "foo"], and it would consider "usr/lib" a prefix of
"usr/libexec" which it is not.
2016-03-18 08:28:44 +00:00
Audrius Butkevicius
a49b8a2608
lib/relay/client: Log relay client messages ( fixes #2624 )
2016-03-18 07:25:37 +00:00
kc1212
bea272c40b
Confirmation box for when adding multiple folders on the same path ( #1960 )
2016-03-17 23:05:37 +00:00
Jakob Borg
a455e32adf
meta: Amend wweich in NICKS
2016-03-17 21:23:47 +01:00