Alexander Graf
484ce8e488
only convert maxAge from days to seconds once
2014-10-11 21:18:16 +02:00
Audrius Butkevicius
dcadefd133
Introducer should default to false ( fixes #825 )
2014-10-10 23:20:49 +01:00
Jakob Borg
d65302742c
Emit info level log when deleting directory fails
2014-10-10 21:20:46 +02:00
Jakob Borg
b2cf28efdd
Refactor out functions in main
2014-10-10 17:34:31 +02:00
Jakob Borg
41e20bb6b7
Reinstate ignore permissions
2014-10-10 00:34:32 +02:00
Jakob Borg
6e670a2499
Merge pull request #820 from seehuhn/fixes
...
ldbGenericReplace: correctly handle files with same version but different flags
2014-10-10 00:05:25 +02:00
Jochen Voss
481b2186cb
ldbGenericReplace: correctly handle files with same version but different flags.
...
This fixes syncthing bug #819 .
2014-10-09 19:36:31 +01:00
Jakob Borg
1bc1c0b14f
Print some debug info when panicing in leveldb
2014-10-09 10:44:18 +02:00
Jakob Borg
e9d27b9d2b
Slightly improve panic log format (...)
...
- Don't repeat the first log lines
- Print panic timestamp in context.
2014-10-09 09:39:08 +02:00
Audrius Butkevicius
828bbc407f
Restarting monitor process is still considered a restart ( fixes #809 )
2014-10-09 09:04:33 +02:00
Audrius Butkevicius
e50469d84e
Better version change detection ( fixes #808 , fixes #810 )
2014-10-08 21:20:54 +01:00
Jakob Borg
d3a9b126a6
Translation update
2014-10-08 13:58:41 +02:00
Jakob Borg
9eb185ec39
Threshold for existing languages to be included (75%)
2014-10-08 13:57:11 +02:00
Jakob Borg
fcf60e7f7c
Archive a copy of config.xml when the format changes
2014-10-08 13:52:05 +02:00
Jakob Borg
0ebee92f7d
Test case and goleveldb fix ( fixes #740 , fixes #796 )
2014-10-08 09:30:36 +02:00
Jakob Borg
64b42bba2e
Remove dead code
2014-10-07 19:26:55 +02:00
Jochen Voss
d297f9e032
bug fix: allow folder names up to length 64 in leveldb
...
When extracting a folder name from the byte slices used as database
keys, bytes.IndexByte() is used to find and remove trailing 0 bytes.
In case the folder name is 64 bytes long, bytes.IndexByte() returns
-1. Before this change, syncthing crashed in this case with an
out-of-bounds slice access.
The commit fixes the problem and also introduces a test case which
checks for the presence of the bug.
2014-10-07 14:05:04 +01:00
Jakob Borg
30aabf1da9
InSync is the opposite of RequiresRestart...
2014-10-07 11:31:19 +02:00
Jakob Borg
eebdaa2f27
Test for ChangeRequiresRestart
2014-10-07 10:46:33 +02:00
Jakob Borg
c3c9c4cde5
Use a separate lock for the subscriber stuff
2014-10-07 10:34:53 +02:00
Jakob Borg
640d5135df
Merge remote-tracking branch 'origin/pr/793'
...
* origin/pr/793:
Minor fixes.
2014-10-07 07:43:23 +02:00
Jakob Borg
cbbd20a687
Add seehuhn
2014-10-07 07:43:09 +02:00
Jochen Voss
1a2a27b988
Minor fixes.
...
- Bug fix - use .Errorf() instead of .Error():
Before this change, an error message for failed tests in files/set_test.go
wrongly tried to use format strings in a call to .Error()
- Change event constants to be of type EventType rather than untyped integers.
- Slightly relax the locking for registry cache lookups:
For read access to Discover.registry we only need to take a read lock.
- Some cosmetic fixes.
2014-10-06 23:03:24 +01:00
Jakob Borg
d819151020
Update goleveldb
2014-10-06 22:07:33 +02:00
Jakob Borg
d089436546
Removing a nonexistent file is OK ( fixes #792 )
2014-10-06 21:47:42 +02:00
Jakob Borg
289d604690
Minor config cleanup
2014-10-06 21:43:38 +02:00
Jakob Borg
2979e0e964
Fix tests for removed methods
2014-10-06 21:28:58 +02:00
Jakob Borg
5338f1cfbd
Fix configInSync which is still needed
2014-10-06 21:28:16 +02:00
Jakob Borg
214f18cbfd
Clean up flags vs envvars
2014-10-06 17:57:35 +02:00
Jakob Borg
9b11609b63
Use a configuration wrapper to handle loads and saves
2014-10-06 17:57:35 +02:00
Jakob Borg
d476c2b613
Simplify HTTP testing
2014-10-06 12:03:49 +02:00
Jakob Borg
590afebc0a
Handle connection closed in reconnect test
2014-10-06 11:13:06 +02:00
Jakob Borg
02bd1af293
Controlled polling interval without keepalives to avoid HTTP errors in integration test.
2014-10-06 10:56:50 +02:00
Jakob Borg
2fde82528d
Fix tests for previous
2014-10-06 10:19:27 +02:00
Jakob Borg
6c383e279f
Handle corner case where we can reuse a temp file totally
2014-10-06 10:15:57 +02:00
Jakob Borg
5c07477de4
Install verbosely
2014-10-06 08:44:59 +02:00
Jakob Borg
146a284315
Merge branch 'pr/787'
...
* pr/787:
Add tests
Reuse temporary files (fixes #4 )
Have only one block size
2014-10-06 08:31:48 +02:00
Audrius Butkevicius
a8faeeac73
Add tests
2014-10-04 16:01:05 +01:00
Audrius Butkevicius
69e385e4cd
Reuse temporary files ( fixes #4 )
2014-10-04 16:00:59 +01:00
Audrius Butkevicius
41b8dd2863
Have only one block size
2014-10-04 13:20:46 +01:00
Audrius Butkevicius
493dc8fcd5
Remove unused argument/variable
2014-10-04 13:20:07 +01:00
Jakob Borg
87764445e8
Some debug prints in the puller loop skips
2014-10-03 17:55:51 +02:00
Jakob Borg
0bb31e16c9
Move copyright inside <div> (ref #779 )
2014-10-03 16:18:22 +02:00
Jakob Borg
72c90abe36
Reschedule pulls when skipping due to scan incomplete ( fixes #777 )
2014-10-03 16:10:35 +02:00
Audrius Butkevicius
c4d8d33a60
Merge pull request #769 from AudriusButkevicius/fix
...
Disable autoupgrade if not supported (fixes #763 )
2014-10-01 20:08:27 +01:00
Audrius Butkevicius
a267bca8fb
Disable autoupgrade if not supported ( fixes #763 )
2014-10-01 20:06:51 +01:00
Jakob Borg
32d2e78e3c
Directory -> Path in folder editor ( fixes #772 )
2014-10-01 15:34:12 +02:00
Jakob Borg
555e70ebec
Remove temporary file on hash mismatch ( fixes #771 )
2014-10-01 14:43:22 +02:00
Jakob Borg
cd1b2aab46
Merge pull request #760 from syncthing/gpl
...
Relicense to GPL
2014-10-01 08:07:27 +02:00
Jakob Borg
9edce23e76
Relicense to GPL
2014-10-01 07:53:59 +02:00