Jakob Borg
7f0593cd2d
Set default UPnP lease time to 60 minutes
2015-05-09 22:17:53 +02:00
Audrius Butkevicius
f2b12014e1
Merge pull request #1729 from calmh/lint-clean
...
Run vet and lint. Make us lint clean.
2015-04-29 10:16:36 +01:00
Jakob Borg
60fcaebfdb
Run vet and lint. Make us lint clean.
2015-04-29 10:38:02 +02:00
Jakob Borg
0642402449
Break out UPnP port mapping into a service
2015-04-28 10:25:25 +02:00
Jakob Borg
be7b3a9952
Configurable file pull order (alphabetic, random, by size or age)
2015-04-25 23:20:21 +09:00
Audrius Butkevicius
433b923ea7
Add mutex logging
2015-04-23 10:54:14 +01:00
Audrius Butkevicius
7d954dd5d1
Fix tests on Windows ( fixes #1531 )
2015-04-16 21:18:17 +01:00
Audrius Butkevicius
2a31031cbc
Add unit suffix to UPnP settings
2015-04-16 10:32:22 +01:00
Audrius Butkevicius
d148cd8ccc
Make UPnP timeout configurable
2015-04-16 10:32:12 +01:00
Jakob Borg
aa803ce2ff
Move folder errors to state
...
The "Invalid" config attribute is retained for errors discovered during
config loading (empty path, duplicate ID). This can only be set or
cleared at config loading time.
Errors discovered during runtime (I/O problems, etc) are now in the
folder state instead. Changes to these are sent as any other folder
state change.
2015-04-13 07:43:45 +09:00
Jakob Borg
b2a79855ae
Handle long filenames on Windows ( fixes #1295 )
2015-04-08 14:05:39 +02:00
Jakob Borg
bf4eb4b269
Copy configuration struct when sending Changed() events
...
Avoids data race. Copy() must be called with lock held.
2015-04-05 21:07:15 +02:00
Jakob Borg
bd2051febd
Remove handling for old deprecated config versions
2015-04-04 23:37:47 +02:00
Audrius Butkevicius
7406176fad
More graceful handling on folder errors ( fixes #762 )
...
Checks health before accepting every scanner batch, also
recovers from errors without having to restart.
2015-03-30 08:27:12 +02:00
Lode Hoste
960c0cbddf
Change (default) GUI port from 8080 to 8384 ('ST' in ascii values)
2015-03-26 21:36:06 +01:00
Jakob Borg
66f7d83baa
Don't allow arbitrarily short reconnection intervals ( fixes #1524 )
2015-03-26 13:57:57 +01:00
Jakob Borg
ad9ea07309
Set defaults correctly for autoNormalize
...
The default:"foo" struct tags aren't actually used for folder configs.
2015-03-21 15:33:31 +01:00
Jakob Borg
8311162be3
Automatically fix file name normalization errors ( fixes #430 )
2015-03-19 00:21:48 +01:00
Jakob Borg
32425c5561
MPLv2
2015-03-17 16:02:27 +01:00
Pascal Jungblut
49bc74e7a0
Use lowerCamelCase for the JSON API ( fixes #1338 )
...
Replace the current mix of UpperCamelCase und lowerCamelCase with
consistent lowerCamelCase keys for the JSON API. Also adapt the frontend
so it works with the changed API.
Attention: this will break existing consumers of the API.
2015-03-16 10:05:01 +01:00
Jakob Borg
70c841f23a
Compress only metadata by default ( fixes #1374 )
2015-03-11 19:10:57 +01:00
Audrius Butkevicius
6fa97eeec7
Allow not to limit bandwidth in LAN ( fixes #1336 )
2015-03-09 20:54:33 +00:00
Jakob Borg
f4f4fda520
String slice uniquification must return a well defined order, or tests fail
2015-03-07 21:05:30 +01:00
Jakob Borg
1d77aeb69c
Add global announce server on IPv6
2015-03-07 21:01:20 +01:00
Audrius Butkevicius
acd3dab957
Fix tests on Windows
2015-02-10 19:52:14 +00:00
Jakob Borg
fd507e3e41
Merge pull request #1290 from krozycki/master
...
Ensuring path separator at the end of the folder path. (fixes #1262 )
2015-01-22 15:36:32 -08:00
Jakob Borg
69e3824840
Add test for #1262
2015-01-22 15:34:22 -08:00
Karol Różycki
fcb1a98129
Ensuring path separator at the end of the folder path. ( fixes #1262 )
2015-01-23 00:22:30 +01:00
Audrius Butkevicius
a53facf709
Cleanup temporary files ( fixes #1239 )
2015-01-18 20:34:47 +00:00
Jakob Borg
eef1aebe8c
Refactor out protocol and luhn (protocol dependency) packages
2015-01-13 13:22:56 +01:00
Audrius Butkevicius
5827a686b8
Make parallel hasher configurable, remove finisher setting ( fixes #1199 )
2015-01-10 14:32:20 +00:00
Audrius Butkevicius
56ccb5b2ab
New device, folder prompts ( fixes #120 , fixes #330 )
2015-01-03 23:06:41 +00:00
Jakob Borg
20d30a80be
Generate a random API key on initial setup ( fixes #1118 )
...
Also makes the javascript implementation use the same algorithm for
generating random strings.
2014-12-29 13:48:26 +01:00
Jakob Borg
febeed3277
config.ConfigWrapper -> config.Wrapper
2014-12-08 16:39:11 +01:00
Jakob Borg
9d07aa006d
Various style fixes
2014-12-08 16:36:15 +01:00
Audrius Butkevicius
69f8ac6b56
Change to URL based announce server addresses ( fixes #943 )
2014-12-01 10:30:25 +00:00
Jakob Borg
e7441ff6e8
DisableSymlinks -> !SymlinksEnabled
2014-12-01 11:27:07 +01:00
Audrius Butkevicius
7ad711f554
Add option to disable symlinks ( fixes #1017 )
2014-11-30 22:10:32 +00:00
Audrius Butkevicius
fd2d2c035e
Add support for multiple announce servers ( fixes #677 )
...
Somebody owes me a beer.
2014-11-30 13:25:06 +01:00
Jakob Borg
126c4e9a06
Dependency update, new golang.org/x package names
2014-11-30 00:17:00 +01:00
Jakob Borg
5251f1c9db
Use a separate, unique ID for usage reporting ( fixes #1000 )
2014-11-27 10:00:07 +01:00
piobpl
90a31589bb
Showing detailed sync progress ( fixes #476 )
...
based on commit by Audrius Butkevicius <audrius.butkevicius@gmail.com>
2014-11-25 20:18:35 +01:00
Audrius Butkevicius
262cf63956
Populate correct defaults
2014-11-23 18:45:45 +00:00
Audrius Butkevicius
4427149a38
Make copiers, pullers and finishers configurable
...
Compliments #999
2014-11-23 00:02:12 +00:00
Jakob Borg
82c6caef85
Use more inclusive copyright header
2014-11-17 12:54:42 +01:00
Jakob Borg
15ee9a5cac
Break out logger as a reusable component
2014-10-26 13:16:54 +01:00
Audrius Butkevicius
6210b9e746
Best attempt when creating a folder marker ( fixes #857 )
2014-10-15 10:20:40 +01:00
Jakob Borg
964d17d05a
Merge pull request #842 from AudriusButkevicius/ignorecache
...
Cache ignore file matches
2014-10-14 12:43:21 +02:00
Audrius Butkevicius
665c5992f0
Cache ignore file matches
2014-10-14 10:30:37 +01:00
Jakob Borg
5f52e0581d
Add linientMtimes workaround for Android brokenness (ref #831 )
2014-10-14 08:48:43 +02:00