Jakob Borg
feffc0416f
Fix events timeout errors
...
Resetting the timeout doesn't fully cut it, as it may timeout after we
got an event and be delivered later. This should fix it well enough for
the moment. https://github.com/golang/go/issues/11513
2015-08-24 09:40:21 +02:00
Audrius Butkevicius
42dfa45d52
Try harder removing the temp file
2015-08-23 15:53:00 +02:00
Jakob Borg
706926543e
Report reason for no IPv6 multicast with STTRACE=discover
2015-08-23 15:52:28 +02:00
Jakob Borg
a024cefd35
IPv6 multicast on Windows ( fixes #1817 )
2015-08-23 15:52:03 +02:00
Jakob Borg
42dcb3d2cc
Translation & docs update
2015-08-23 12:03:28 +02:00
Jakob Borg
ed1852f8f6
Update protocol dependency
2015-08-20 12:14:47 +02:00
Zillode
e2be051558
Merge pull request #2169 from calmh/restartmon
...
Retain standard streams over restart (fixes #2155 )
2015-08-19 23:16:32 +02:00
Audrius Butkevicius
50702eda94
Merge pull request #2171 from Zillode/staggered-test
...
Add unit test for staggered versioning (fixes #2165 )
2015-08-19 20:11:19 +01:00
Jakob Borg
59eeafbdfa
Merge pull request #2174 from alex2108/master
...
Fix time zone error in staggered versioning (fixes #2165 )
2015-08-19 20:25:24 +02:00
Alexander Graf
abc606608c
Fix time zone error in staggered versioning ( fixes #2165 )
2015-08-19 17:23:50 +02:00
Jakob Borg
1487552b48
s/in/at/ ( fixes #2158 )
2015-08-19 10:42:48 +02:00
Jakob Borg
c7dbe18df6
Newest first should be different from oldest first ( fixes #2161 )
2015-08-19 09:42:52 +02:00
Jakob Borg
c2bc3358cc
Merge pull request #2168 from calmh/codename
...
Add release code name
2015-08-19 08:31:22 +02:00
Lode Hoste
47a1494d68
Add unit test for staggered versioning ( fixes #2165 )
2015-08-18 19:52:58 +02:00
Jakob Borg
dbb388719e
Retain standard streams over restart ( fixes #2155 )
2015-08-18 17:24:50 +02:00
Jakob Borg
283c91548a
Add release code name
...
I figured we're missing out on being cool and awesome by not having an
alphabetically based release code name like the big guys. This commit
fixes that. I've unilaterally decided on a theme of "$metal $bug"
because metals are kind of cool, and bugs, well, ...
2015-08-18 13:33:36 +02:00
Audrius Butkevicius
38b93bd310
Merge pull request #2167 from uok/fixicon
...
Fix missing folder master icon
2015-08-18 09:52:22 +01:00
Ben Schulz
8dcc30ac83
Fix missing folder master icon
2015-08-18 10:40:18 +02:00
Jakob Borg
0ee123375d
Merge remote-tracking branch 'syncthing/pr/2117'
...
* syncthing/pr/2117:
Disable testing upgrade endpoint because it fails when disconnected
2015-08-18 09:15:00 +02:00
Jakob Borg
be18cbef8b
Update dependencies
2015-08-18 08:56:07 +02:00
Lode Hoste
8eb494c13e
Disable testing upgrade endpoint because it fails when disconnected
2015-08-17 22:08:35 +02:00
Audrius Butkevicius
b6b6375f70
Merge pull request #2163 from calmh/dbrecover
...
Recover from 'corrupted or incomplete CURRENT file' etc
2015-08-16 15:58:51 +01:00
Jakob Borg
8783688391
Recover from 'corrupted or incomplete CURRENT file' etc ( fixes #2017 )
2015-08-16 16:36:06 +02:00
Jakob Borg
98afc3e99c
Docs & translation update
2015-08-16 15:29:48 +02:00
Audrius Butkevicius
50a1858367
Merge pull request #2136 from calmh/noarchivedir
...
Clarify and correct handling of existing files/directories when pulling
2015-08-15 14:31:38 +01:00
Audrius Butkevicius
f3f586773b
Merge pull request #2160 from calmh/rlimit
...
Increase open file (fd) limit if possible
2015-08-15 14:31:20 +01:00
Jakob Borg
61a182077f
Clarify and correct handling of existing files/directories when pulling
...
This fixes a corner case I discovered in the symlink branch, where we
unexpectedly succeed in "replacing" an entire non-empty directory tree
with a file or symlink. This happens when archiving is in use, as we
then just move the entire tree away into the archive. This is wrong as
we should just archive files and fail on non-empty dirs in all cases.
New handling first checks what the (old) thing is, and if it's a
directory or symlink just does the delete, otherwise does conflict
handling or archiving as appropriate.
2015-08-15 15:29:59 +02:00
Jakob Borg
1c9513e770
Increase open file (fd) limit if possible
...
This will decrease the risk of running out of file descriptors for the
database and other bad things, which could otherwise potentially happen
if we're serving lots of requests and scanning in parallel, etc.
Windows doesn't have a per process open file limit like Unix so we don't
need to worry about it there.
2015-08-15 15:28:53 +02:00
Jakob Borg
5e5eb9bf8e
Update test configs to v11
2015-08-14 14:19:43 +02:00
Audrius Butkevicius
7a9bb65e03
Merge pull request #2156 from calmh/stuckatzero
...
Don't get stuck at "Syncing 0%" when adding a new folder
2015-08-14 10:42:01 +01:00
Jakob Borg
a5345ac71e
Don't get stuck at "Syncing 0%" when adding a new folder
...
The number of copiers and pullers is set to default at config loading
time, but the new folder configuration doesn't pass through config
loading so we start up with 0 copiers and 0 pullers and hence get stuck.
I moved the default handling to the puller itself instead. I think this
way is also cleaner as we get to keep the 0 in the config and the puller
gets to decide the defaults on it's own.
2015-08-14 10:35:51 +02:00
Jakob Borg
ae5079f7b4
Update lang-en.json
2015-08-14 09:13:09 +02:00
Jakob Borg
ea1ecfbc38
Merge pull request #2147 from uok/dontbesonegative
...
Prevent negative values for number inputs
2015-08-14 09:12:10 +02:00
Jakob Borg
a84b6b4bcc
Merge pull request #2145 from uok/awesome
...
Change to Font Awesome icon font (fixes #2138 )
2015-08-14 09:11:14 +02:00
Ben Schulz
93023128fd
Prevent negative values for number inputs
...
- settings: incoming/outgoing rate limit - min: 0
- folder: maximum age (staggered file versioning) - min: 0
- help texts for validation
2015-08-13 15:56:10 +02:00
Ben Schulz
77157f16a1
Change to Font Awesome icon font ( fixes #2138 )
...
- remove Glyphicon assets and customize bootstrap CSS
- add Font Awesome v4.4.0 assets
- replace Glyphicons with Font Awesome icons in HTML
- add icons to modal headers
- add attribution for Font Awesome
- format HTML source code for buttons
2015-08-13 15:41:51 +02:00
Jakob Borg
99736e5066
Ensure dir before files ordering when scanning
2015-08-13 13:01:50 +02:00
Jakob Borg
681306b7a1
Clean up the scripts a bit (...)
...
- Move the Go files into script/ instead of random places
- Rewrite check-contrib.sh into check-authors.go and check-copyright.go
- Clean up build.sh a little bit
2015-08-13 12:35:26 +02:00
Jakob Borg
5f36c9d4de
Merge pull request #2152 from Zillode/fix-gui-reorg
...
Revert small changes made during reorg GUI
2015-08-12 21:47:25 +02:00
Lode Hoste
6cbc8791b1
Revert small changes made during reorg GUI
2015-08-12 21:31:34 +02:00
Jakob Borg
c08de67b0d
Remove erroneous file
2015-08-11 17:05:59 +02:00
Audrius Butkevicius
b21e18dfad
Merge pull request #2149 from kamadak/fix-delete-folder
...
Fix deleting a folder.
2015-08-11 00:14:26 +01:00
KAMADA Ken'ichi
1e497915be
Fix deleting a folder.
...
Removing a folder does not work in the "Edit Folder" dialog.
This bug was introduced in 26d52be .
2015-08-11 07:48:48 +09:00
Audrius Butkevicius
3704c41dda
Merge pull request #2146 from uok/double
...
Remove double slashes in directives (fixes #2143 )
2015-08-10 11:45:03 +01:00
Ben Schulz
6ff31ac666
Remove double slashes in directives ( fixes #2143 )
2015-08-10 11:48:39 +02:00
Jakob Borg
a2f73a7d35
Allow specifying Docker image to use for building
2015-08-09 14:40:18 +02:00
Jakob Borg
1492e57676
Minor typo in UPnP service description list
2015-08-09 14:14:13 +02:00
Jakob Borg
7504fc53b6
Merge branch 'v0.11'
...
* v0.11:
Translations and docs update
Enable browser caching of static resources
Handle multiple case insensitivity prefixes in ignores (fixes #2134 )
Make rescan available for unshared folders
Add timeout for peek (fixes #1035 )
Fix TestReset when Syncthing shuts down too fast
Clarify password in integration tests
Properly rename config files during integration tests (fixes #1769 )
2015-08-09 11:58:18 +02:00
Jakob Borg
daa2bcefad
Translations and docs update
2015-08-09 11:56:22 +02:00
Jakob Borg
49aa9399be
Repair config tests
2015-08-09 11:46:28 +02:00
Jakob Borg
a71090df81
Enable browser caching of static resources
...
This sends the Cache-Control header to allow caching of static resources,
and checks the If-Modified-Since header to allow browser to use the
cached resource on refresh.
2015-08-09 11:36:06 +02:00
Jakob Borg
0bfcafc5c6
Handle multiple case insensitivity prefixes in ignores ( fixes #2134 )
2015-08-09 11:35:12 +02:00
Lode Hoste
161d5c8379
Make rescan available for unshared folders
2015-08-09 11:34:44 +02:00
Audrius Butkevicius
5cfb578170
Add timeout for peek ( fixes #1035 )
2015-08-09 11:34:30 +02:00
Lode Hoste
9b0d47e9eb
Fix TestReset when Syncthing shuts down too fast
2015-08-09 11:34:21 +02:00
Lode Hoste
13f4706067
Clarify password in integration tests
2015-08-09 11:34:10 +02:00
Lode Hoste
7ebdb1736f
Properly rename config files during integration tests ( fixes #1769 )
2015-08-09 11:34:05 +02:00
Jakob Borg
2bcb57c994
Merge branch 'pr-2066'
...
* pr-2066:
Configurable home disk percentage, translations
Add minimum disk free percentage to GUI
Stop folder when running out of disk space (fixes #2057 )
2015-08-09 10:38:33 +02:00
Jakob Borg
a2df691c7d
Configurable home disk percentage, translations
2015-08-09 10:37:23 +02:00
Lode Hoste
58f1191f2d
Add minimum disk free percentage to GUI
2015-08-09 10:37:23 +02:00
Lode Hoste
dfaa999291
Stop folder when running out of disk space ( fixes #2057 )
...
& tweaks by calmh
2015-08-09 10:37:23 +02:00
Jakob Borg
6a58033f2b
Merge pull request #2124 from calmh/go15
...
Updates for Go 1.5
2015-08-09 09:37:09 +02:00
Jakob Borg
7705a6c1f1
mv internal lib
2015-08-09 09:35:26 +02:00
Jakob Borg
0a803891a4
Updates for Go 1.5
2015-08-09 09:35:25 +02:00
Jakob Borg
7d620a93b9
Merge pull request #2141 from kamadak/fix-setting-addrlist
...
Fix editing address lists in the Settings dialog.
2015-08-09 09:11:30 +02:00
KAMADA Ken'ichi
3f3b2f4c99
Fix editing address lists in the Settings dialog.
...
Setting "Sync Protocol Listen Addresses" and "Global Discovery
Server" in the Settings dialog does not work. This bug seems to
have been introduced in 26d52be .
2015-08-09 15:52:22 +09:00
Audrius Butkevicius
9eb4089710
Merge pull request #2137 from calmh/caching
...
Enable browser caching of static resources
2015-08-08 13:20:58 +01:00
Jakob Borg
257d1afdf8
Enable browser caching of static resources
...
This sends the Cache-Control header to allow caching of static resources,
and checks the If-Modified-Since header to allow browser to use the
cached resource on refresh. Also fixes some paths that caused redirects
(core//foo -> core/foo)
2015-08-08 13:50:18 +02:00
Audrius Butkevicius
dad1fb7805
Merge pull request #2135 from calmh/caseinsign
...
Handle multiple case insensitivity prefixes in ignores (fixes #2134 )
2015-08-08 12:04:46 +01:00
Jakob Borg
e312fdd4f8
Handle multiple case insensitivity prefixes in ignores ( fixes #2134 )
2015-08-08 11:58:20 +02:00
Jakob Borg
9b6681d543
Use grid instead of three-column ( fixes #2130 )
2015-08-08 11:37:19 +02:00
Jakob Borg
bcc04623c1
Fix editing device address ( fixes #2129 )
2015-08-08 11:29:13 +02:00
Jakob Borg
d75d162058
Merge pull request #2126 from AudriusButkevicius/peek
...
Add timeout for peek (fixes #1035 )
2015-08-07 17:30:54 +02:00
Audrius Butkevicius
8f2294bbd4
Merge pull request #2128 from Zillode/fix-rescan-btn-unshared
...
Make rescan available for unshared folders
2015-08-06 20:54:41 +01:00
Lode Hoste
d1b91c7619
Make rescan available for unshared folders
2015-08-06 21:52:29 +02:00
Audrius Butkevicius
1b6b481fcc
Add timeout for peek ( fixes #1035 )
2015-08-06 12:07:34 +01:00
Jakob Borg
dd64ba1910
Merge pull request #2116 from Zillode/fix-test-reset
...
Fix TestReset when Syncthing shuts down too fast
2015-08-05 09:47:23 +02:00
Jakob Borg
82a5d1cd79
Merge pull request #2108 from Zillode/fix-delete-button
...
Rename 'delete' to 'remove' (fixes #1007 )
2015-08-05 09:34:27 +02:00
Jakob Borg
c26c172d01
Merge pull request #2103 from Zillode/fix-integration-rename-windows
...
Fix integration rename windows
2015-08-05 08:59:53 +02:00
Lode Hoste
a7b7aaa7cb
Fix TestReset when Syncthing shuts down too fast
2015-08-04 09:20:46 +02:00
Lode Hoste
4e5c02c05c
Clarify password in integration tests
2015-08-03 20:03:50 +02:00
Lode Hoste
2baf61fda3
Properly rename config files during integration tests ( fixes #1769 )
2015-08-03 20:03:50 +02:00
Lode Hoste
219a25fe80
Rename 'delete' to 'remove' ( fixes #1007 )
2015-08-03 20:01:26 +02:00
Jakob Borg
b1dd704819
Rebuild assets
2015-08-02 09:41:22 +02:00
Jakob Borg
9513e91d66
Flatten GUI tree somewhat
...
The very deep tree structure didn't really aggree with me, sorry. This
makes the core module rather large, but on the other hand that just
highlights that it is rather large.
2015-08-02 09:24:01 +02:00
Dennis Wilson
26d52bedb3
Squashed commit of pull request #1954
2015-08-02 09:21:46 +02:00
Jakob Borg
19451e0654
Translation and docs update
2015-08-02 09:19:32 +02:00
Jakob Borg
fa922d7792
Send index immediately on local change
2015-08-02 08:08:24 +02:00
Jakob Borg
bbe1de3119
Merge pull request #2100 from AudriusButkevicius/memory
...
Use protocol provided buffer for requests (fixes #1157 )
2015-08-02 08:07:52 +02:00
Jakob Borg
f87e9b596d
Merge pull request #2106 from Zillode/scan-deletes
...
Reduce scanning effort
2015-08-02 07:42:39 +02:00
Jakob Borg
917e12952e
Merge pull request #2109 from Zillode/update-credits
...
Update credits for dependencies (fixes #2082 )
2015-08-02 07:25:45 +02:00
Audrius Butkevicius
1977c526e4
Use protocol provided buffers for requests ( fixes #1157 )
2015-08-01 12:35:47 +01:00
Audrius Butkevicius
b63351074c
Update protocol package
2015-08-01 12:22:19 +01:00
Lode Hoste
d78eb1247e
Update credits for dependencies ( fixes #2082 )
2015-07-31 23:19:09 +02:00
Lode Hoste
9b9fe0d65c
Reduce scanning effort
2015-07-31 21:32:49 +02:00
Jakob Borg
5a2db802d9
Fix TestReset
2015-07-28 21:31:01 +04:00
Jakob Borg
d3972b88f2
Remove set.ReplaceWithDelete (dead code)
2015-07-28 21:09:43 +04:00
Audrius Butkevicius
e62cf13760
Add stwatchfile
2015-07-27 19:00:22 +01:00
Jakob Borg
a5f6e3bba0
Update translations and docs
2015-07-26 11:25:40 +02:00
Jakob Borg
d170660c25
Usage -> Statistics
2015-07-24 12:04:16 +02:00
Audrius Butkevicius
2202aaed51
Merge pull request #2087 from calmh/norestart
...
Add folders without restart (fixes #2063 )
2015-07-24 08:06:36 +01:00
Audrius Butkevicius
cbefcd50cf
Merge pull request #2088 from calmh/usagedata
...
Link to usage data (ref syncthing/website#17 )
2015-07-24 07:55:41 +01:00
Jakob Borg
1acfa291a0
Link to usage data (ref syncthing/website#17 )
2015-07-24 08:53:33 +02:00
Jakob Borg
21accd534c
Add folders without restart ( fixes #2063 )
2015-07-24 08:20:57 +02:00
Audrius Butkevicius
de89d7a976
Merge pull request #2084 from calmh/norestart
...
Add devices without restart (fixes #2083 )
2015-07-23 11:07:27 +01:00
Jakob Borg
319abebd70
Update all dependencies
2015-07-22 12:09:44 +02:00
Jakob Borg
76480adda5
Add devices without restart ( fixes #2083 )
2015-07-22 10:43:47 +02:00
Jakob Borg
e205f8afbb
Don't error integration tests on unexpected EOF at Stop()
2015-07-22 10:43:33 +02:00
Audrius Butkevicius
42dc51784e
Merge pull request #2079 from snnd/bugfix_reloads
...
fix(core): prevent endless reload on cache requests
2015-07-21 23:01:15 +01:00
Dennis Wilson
a4a46f480d
refactor(core): eleminate global state of guiVersion and deviceId
2015-07-21 23:47:35 +02:00
Dennis Wilson
e34be16237
style(core): add simple flow, hoisting, stacktrace infos
2015-07-21 23:41:10 +02:00
Dennis Wilson
dfcc166918
fix(core): prevent endless reload on cache requests
2015-07-21 22:35:51 +02:00
Audrius Butkevicius
895d56ed04
Merge pull request #2076 from calmh/ignoredelete
...
Optionally ignore remote deletes
2015-07-21 19:48:06 +01:00
Jakob Borg
12eab4a8ba
Optionally ignore remote deletes ( fixes #1254 )
2015-07-21 20:39:19 +02:00
Zillode
3eb2b1f7a2
Fix Systemd readme link
2015-07-21 20:32:35 +02:00
Audrius Butkevicius
6ecc9bf93a
Merge pull request #2077 from calmh/conflictwins
...
Determine conflict winner based on change type and modification time (fixes #1848 )
2015-07-21 15:05:08 +01:00
Jakob Borg
da4ebb6535
Determine conflict winner based on change type and modification time ( fixes #1848 )
2015-07-21 15:39:20 +02:00
Jakob Borg
6e4d33c741
Don't run tests with audit on
2015-07-20 15:46:14 +02:00
Jakob Borg
d3387e2a28
Make sure CPU profile actually gets written before exiting
2015-07-20 15:34:40 +02:00
Jakob Borg
491452a19d
Improve performance for syncing many small files quickly
...
Without this, as soon as we'd touched 1000 files in the last minute
(which can happen), we got stuck doing cache cleaning all the time,
burning a lot of CPU time.
2015-07-20 15:30:44 +02:00
Jakob Borg
7d3257b222
Use soft shutdown when running tests
2015-07-20 15:05:15 +02:00
Jakob Borg
1836ef2884
Squashed commit of pull request #1981
...
Conflicts:
gui/scripts/syncthing/core/controllers/syncthingController.js
internal/auto/gui.files.go
2015-07-20 14:48:03 +02:00
Jakob Borg
43d6322d0f
Merge pull request #2061 from calmh/atomicwriter
...
Add osutil.AtomicWriter (take two)
2015-07-20 14:27:36 +02:00
Jakob Borg
f0684d83e9
Add osutil.AtomicWriter
...
This captures the common pattern of writing to a temp file and moving it
to it's real name only if everything went well. It reduces the amount of
code in some places where we do this, but maybe not as much as I
expected because the upgrade thing is still a special snowflake...
2015-07-20 14:27:14 +02:00
Jakob Borg
3f3170818d
Merge pull request #2072 from dva/patch-1
...
Double curly brace notation displaying
2015-07-20 14:25:27 +02:00
Jakob Borg
7683096fe1
Add dva
2015-07-20 14:25:07 +02:00
Jakob Borg
bb438bfb17
Squashed commit of pull request #1990
...
commit 4eb3ff55ba
Merge: ddb3fea a04b005
Author: Brian R. Becker <brbecker@gmail.com >
Date: Sat Jul 11 20:45:30 2015 -0700
Merge remote-tracking branch 'upstream/master'
commit ddb3fea0d9
Author: Brian R. Becker <brbecker@gmail.com >
Date: Mon Jun 22 11:36:58 2015 -0700
Corrected spelling in GUI message
2015-07-20 14:22:36 +02:00
Jakob Borg
a11aa295de
Squashed commit of pull request #1875
...
commit d60fbce311
Author: Jacek Szafarkiewicz <szafar@linux.pl >
Date: Mon Jun 1 11:16:36 2015 +0200
Correct order of deb files
commit 3b2ecfcc45
Merge: f4daebb c23a601
Author: Jacek Szafarkiewicz <szafar@linux.pl >
Date: Mon Jun 1 11:15:06 2015 +0200
Merge github.com:syncthing/syncthing
Conflicts:
build.go
commit f4daebb851
Author: Jacek Szafarkiewicz <szafar@linux.pl >
Date: Tue May 26 12:58:25 2015 +0200
Add me to AUTHORS
commit 9e77f4bea0
Author: Jacek Szafarkiewicz <szafar@linux.pl >
Date: Tue May 26 12:57:40 2015 +0200
Add systemd files to deb packate
2015-07-20 14:18:07 +02:00
Denis A.
9a50f4ac1f
Double curly brace notation displaying
...
Prevent double curly brace notation from displaying momentarily before angular.js compiles/interpolates document
2015-07-20 12:18:48 +03:00
Jakob Borg
59e829e595
Translation & docs update
2015-07-19 13:34:11 +02:00
Jakob Borg
78dca5fe8b
Assets & translations
2015-07-16 14:03:21 +02:00
Jakob Borg
8c816f64e4
Merge pull request #2064 from uok/infotext
...
Improve info text for device addresses (fixes #2044 )
2015-07-16 14:02:35 +02:00
Ben Schulz
22c525e3fe
Improve info text for device addresses ( fixes #2044 )
...
Improve info text for device addresses (#2044 )
2015-07-16 10:15:33 +02:00
Jakob Borg
f3f6b03d85
Don't let folder ID escape into HTML tag ID:s ( fixes #2059 )
2015-07-16 08:13:10 +02:00
Audrius Butkevicius
00bebc317e
Merge pull request #2062 from canton7/feature/issue-2041
...
Allow #editIgnores to scroll in browser (fixes #2041 )
2015-07-15 17:48:15 +01:00
Antony Male
8f38e83aaf
Allow #editIgnores to scroll in browser ( fixes #2041 )
...
class modal-open is applied to <body>, which ultimately means that the
browser will scoll to the modal's content. However, #editFolder was
finishing its close animation (and removing this modal-open class)
after #editIgnores had set modal-open (and had started its open
animation). The end result is that <body> ends up without modal-open
when #editIgnores is open, and so the browser doesn't properly scroll.
Instead, only open the #editIgnores once #editFolder has finished closing.
2015-07-15 14:20:57 +01:00
Jakob Borg
8fab7ec5e3
Decrease timing sensitivity of ignore.TestCache
2015-07-14 12:12:57 +02:00
Jakob Borg
50eb968109
Merge pull request #2060 from brgmnn/master
...
Added select-on-click for remote 'Device ID' and 'API Key'
2015-07-14 10:55:32 +02:00
Daniel Bergmann
569314be45
Added select-on-click for remote 'Device ID' and 'API Key'
...
Now these uneditable boxes match the behaviour when clicking on the ID
box in Actions > Show ID.
2015-07-13 17:01:13 +01:00
Jakob Borg
909d60464e
Revert "Merge pull request #2053 from calmh/atomicwriter" ( fixes #2058 )
...
This reverts commit b611f72e08 , reversing
changes made to a04b005e93 .
2015-07-13 12:47:32 +02:00
Jakob Borg
d855abf8b0
Translation & docs update
2015-07-13 08:24:04 +02:00
Audrius Butkevicius
b611f72e08
Merge pull request #2053 from calmh/atomicwriter
...
Add osutil.AtomicWriter
2015-07-12 12:10:54 +01:00
Jakob Borg
44e3bec42e
Add osutil.AtomicWriter
...
This captures the common pattern of writing to a temp file and moving it
to it's real name only if everything went well. It reduces the amount of
code in some places where we do this, but maybe not as much as I
expected because the upgrade thing is still a special snowflake...
2015-07-12 14:28:59 +10:00
Jakob Borg
a04b005e93
Revert "Let suture logging bubble upwards"
...
This reverts commit 1b837116e6 .
2015-07-11 11:12:20 +10:00
Jakob Borg
1b837116e6
Let suture logging bubble upwards
2015-07-11 10:52:57 +10:00
Jakob Borg
d16b04b683
Protocol dep update because I screwed up previous one
2015-07-10 19:58:56 +10:00
Audrius Butkevicius
d2e7a8004d
Merge pull request #2048 from calmh/clusterconfigrace
...
Make sure connection is added to m.protoConn and m.rawConn before it's Start()ed (fixes #2034 )
2015-07-10 08:46:31 +01:00
Jakob Borg
0c28216ee5
Make sure connection is added to m.protoConn and m.rawConn before it's Start()ed ( fixes #2034 )
2015-07-10 16:43:41 +10:00
Jakob Borg
5bb8ea7449
Remove one of two emits of events.DeviceConnected (ref #2034 )
2015-07-10 16:12:59 +10:00
Jakob Borg
b78c515724
Debug output on request errors
2015-07-10 16:01:10 +10:00
Audrius Butkevicius
cb1a7a7bdc
Update panic instructions ( fixes #2039 )
2015-07-09 22:43:16 +01:00
Audrius Butkevicius
b8dcb7c884
Update protocol package ( fixes #2040 )
2015-07-09 22:39:22 +01:00
Audrius Butkevicius
1ded554a15
Fix advanced option saving ( fixes #2042 )
2015-07-09 21:58:58 +01:00
Jakob Borg
bc0ce7b820
launchd: Log to files
2015-07-06 21:45:49 +02:00
Jakob Borg
1da3a57fe7
Asset rebuild
2015-07-05 19:44:55 +02:00
Jakob Borg
8697982302
Add canton7
2015-07-05 19:44:19 +02:00
Jakob Borg
c4168cf855
Merge pull request #2030 from canton7/feature/issue-2029
...
Use bootstrap grid instead of column-count:3 for aligning checkboxes (fixes #2029 )
2015-07-05 19:41:44 +02:00
Antony Male
7023d3ca2b
Use bootstrap grid instead of column-count:3 for aligning checkboxes ( fixes #2029 )
...
Upgrading to bootstrap 3.3.5 meant that checkboxes inside a div with
column-count:3 set would be unclickable in Chrome: in fact, the entire
div appears to sit on top of its contents, making interaction impossible.
This affected both the 'show folder with these devices' and 'these devices
can access this folder' sections of the UI.
I'm not sure what the the underlying cause is, but moving to Bootstrap's
grid system appears work around the issue. Devices/folders have to be
explicitly split out into rows, otherwise the final element appears offset.
To do this grouping by row, a new filter (groupFilter) has been added, which
turns an input of e.g. [1, 2, 3, 4, 5] with a groupSize of 3 into
[[1, 2, 3], [4, 5]]. However altering the collection in this way throws
Angular into an infinite watch loop, terminating in infdig. m59peacemaker's
pmkr.filterStabilize (MIT) was added to work around this issue.
This also has the nice side-effect of wrapping the list of devices/folders
when the screen width decreases.
See also:
- #2027 (bootstrap update which triggered this issue)
- #1121 (last time it happened)
2015-07-05 17:21:02 +01:00
Jakob Borg
57a5d13c47
Translation and docs update
2015-07-05 11:24:21 +02:00
Jakob Borg
500b96240b
Don't show Failed Items on folder masters
2015-07-05 11:21:15 +02:00
Jakob Borg
13d961d41d
Correctly show Override button when out of sync
2015-07-05 11:20:59 +02:00
Jakob Borg
fddc4c2fc0
Rebuild assets
2015-07-05 11:13:35 +02:00
Jakob Borg
061ec7369f
Merge pull request #2027 from calmh/bootstrap
...
Update bootstrap
2015-07-05 11:07:13 +02:00
Jakob Borg
8366dbd8e0
Add link to home page ( fixes #1993 , fixes #1999 )
2015-07-05 11:06:29 +02:00
Jakob Borg
b02047e4b5
Update Bootstrap 3.1.0 -> 3.3.5
2015-07-05 11:05:38 +02:00
Jakob Borg
e9545c4961
Merge pull request #2022 from brgmnn/master
...
Preserve setgid bit on local directores (fixes #2012 )
2015-07-04 19:37:21 +02:00
Audrius Butkevicius
966a2b1df5
Merge pull request #2023 from calmh/advedit
...
Advanced configuration dialog
2015-07-04 15:08:40 +01:00
Jakob Borg
dec6540967
Implement "advanced configuration" dialog ( fixes #2010 )
2015-07-04 13:47:43 +02:00
Daniel Bergmann
3fe1673ce9
Preserve setgid bit on local directores ( fixes #2012 )
...
When setting the permissions on directories with ignore permissions off,
preserve the setgid bit to it's original value instead of setting it
off.
2015-07-04 09:01:34 +01:00
Jakob Borg
e9e13474c9
Merge pull request #2021 from brgmnn/master
...
Fixed add device button being overlapped by footer (fixes #1950 )
2015-07-03 08:56:33 +02:00
Daniel Bergmann
aee9093848
Fixed add device button being overlapped by footer ( fixes #1950 )
2015-07-02 16:16:42 +01:00
Jakob Borg
76822c7c34
Merge pull request #2018 from brgmnn/master
...
Added select ID text on click to gui
2015-07-02 11:01:37 +02:00
Daniel Bergmann
5c18d34d89
Added a contact email address for myself.
...
Added myself to the AUTHORS, NICKS and GUI contributors files. Also
fixed the sort order in AUTHORS and NICKS when adding myself as there
were a couple of entries in both that were not quite in alphabetical
order.
2015-07-02 09:45:22 +01:00
Daniel Bergmann
970a9c7552
Added select ID text on click to gui
2015-07-02 09:34:12 +01:00
Audrius Butkevicius
37a42dc408
Fix CSRF tests ( fixes #2009 )
2015-06-30 19:38:27 +01:00
Audrius Butkevicius
a03c9f9457
Merge pull request #2001 from calmh/failed-files
...
Show failed files in web UI
2015-06-30 15:26:24 +01:00
Jakob Borg
60004ebff1
Show FolderErrors result in UI ( fixes #1437 )
2015-06-30 14:41:48 +02:00
Jakob Borg
2d9fcf6828
Collect puller errors, send FolderErrors event
2015-06-30 14:41:47 +02:00
Jakob Borg
c8ac9721d7
Translation and docs update
2015-06-28 21:10:57 +02:00
Audrius Butkevicius
b1b68b58fe
Update protocol package
2015-06-28 11:40:53 +01:00
Jakob Borg
ca21db9481
Merge pull request #2006 from AudriusButkevicius/timeout
...
Make ping timeout configurable (fixes #1751 )
2015-06-28 07:45:02 +02:00
Audrius Butkevicius
93ad803073
Make ping timeout configurable ( fixes #1751 )
2015-06-27 12:34:41 +01:00
Audrius Butkevicius
6cc7f70a65
Update protocol package
2015-06-27 12:07:42 +01:00
Jakob Borg
2b0c33f74d
Merge pull request #1996 from AudriusButkevicius/checkrace
...
Potential race between folder being added and scan (fixes #1986 )
2015-06-26 12:56:07 +02:00
Audrius Butkevicius
dae1d36a23
Trim string slices upon loading config ( fixes #1750 )
2015-06-25 16:50:27 +01:00
Audrius Butkevicius
824fa8f17a
Fix go lint warnings
2015-06-24 22:05:27 +01:00
Audrius Butkevicius
31cd0b943c
Potential race between folder being added and scan (potentially fixes #1986 )
2015-06-24 21:59:03 +01:00
Jakob Borg
070eced2f6
Merge pull request #1985 from calmh/fix-reset
...
Fix reset DB
2015-06-24 14:07:15 +02:00
Audrius Butkevicius
986f8dfb2e
Remove dead variable
2015-06-24 08:43:33 +01:00
Audrius Butkevicius
8c0c03eb38
Merge pull request #1989 from AudriusButkevicius/session
...
Use different session cookies per device
2015-06-23 13:56:14 +01:00
Audrius Butkevicius
fd9bc20bc5
Merge pull request #1988 from calmh/dups
...
Don't rename duplicate folders (fixes #1675 )
2015-06-23 11:17:30 +01:00
Audrius Butkevicius
089fca2319
Use different session cookies per device
2015-06-22 19:51:46 +01:00
Jakob Borg
e936890927
Don't rename duplicate folders ( fixes #1675 )
...
Renaming them puts the user in a difficult situation as they can't
rename them back in the GUI. This way, they need to fix the config in
the same way it got broken (manual editing or external tool).
2015-06-22 11:27:47 +02:00
Zillode
0450d48f89
Merge pull request #1856 from calmh/fix-1391
...
Serialize scans (fixes #1391 )
2015-06-21 14:26:17 +02:00
Jakob Borg
2463819a3d
Update translations and docs
2015-06-21 11:45:54 +02:00
Jakob Borg
2b2cae2d50
Fix reset DB
...
The reset of all folders failed when there was no data for a given
folder, as it was not returned by db.ListFolders then. But we don't
really care about that, we can "reset" it anyway...
2015-06-21 09:35:41 +02:00
Zillode
0f1b40da71
Merge pull request #1982 from calmh/fix-1978
...
Sanitize rescan interval values (fixes #1978 )
2015-06-20 23:28:18 +02:00
Jakob Borg
f73d5a9ab2
Serialize scans and pulls ( fixes #1391 )
2015-06-20 23:01:40 +02:00
Jakob Borg
4eb0e24c6e
Sanitize rescan interval values ( fixes #1978 )
2015-06-20 23:01:30 +02:00
Jakob Borg
1d2235abe7
Model must be running for tests
2015-06-20 23:00:33 +02:00
Jakob Borg
d347e54acb
Don't start model until services have been added ( fixes #1969 )
2015-06-20 20:04:47 +02:00
Jakob Borg
b5198d8119
Merge pull request #1968 from calmh/newtests
...
Refactored integration tests
2015-06-20 19:24:04 +02:00
Jakob Borg
b8b5c5ff34
Merge pull request #1913 from Zillode/fix-reset
...
Fix 'reset' Rest API on windows
2015-06-20 11:43:05 +02:00
Jakob Borg
a738490a3b
Update translation strings
2015-06-20 11:40:05 +02:00
Jakob Borg
54a8de2059
Merge remote-tracking branch 'syncthing/pr/1979'
...
* syncthing/pr/1979:
Display Local State Summary (All Folders)
2015-06-20 11:39:31 +02:00
Jakob Borg
cb2c0e7ac5
Add fti7
2015-06-20 11:32:55 +02:00
Frank Isemann
510d309b8a
Display Local State Summary (All Folders)
2015-06-19 21:52:19 +02:00
Jakob Borg
a7ce2a7aa5
Merge pull request #1963 from wsgcsysadmin/master
...
Put thisDeviceName first in page tile to make small browser tabs distinguishable
2015-06-19 08:51:24 +02:00
Jakob Borg
cfe24ecdd9
Add wsgcsysadmin
2015-06-19 08:50:36 +02:00
Jakob Borg
c5e9cb025c
Merge pull request #1977 from Zillode/fix-1976
...
Corrected API response when resetting folder (fixes #1976 )
2015-06-19 08:48:40 +02:00
Jakob Borg
c3d07d60ca
Refactored integration tests
...
Added internal/rc to remote control a Syncthing process and made the
"awaiting sync" determination reliable.
2015-06-19 08:47:47 +02:00
Lode Hoste
a0897a7456
Corrected API response when resetting folder ( fixes #1976 )
2015-06-19 08:30:19 +02:00
WSGCSysadmin
c50ba9267c
Put thisDeviceName first in page title
2015-06-18 10:53:37 -05:00
Jakob Borg
423e69916c
Merge pull request #1962 from Zillode/fix-pull-order-gui
...
Set default pull order in webGUI
2015-06-18 16:51:10 +02:00
Lode Hoste
b56c76f8ad
Fix 'reset' Rest API on windows
2015-06-18 12:45:08 +02:00
Lode Hoste
cb2d2f000f
Set default pull order in webGUI
2015-06-18 12:42:00 +02:00
Audrius Butkevicius
69af77a3bd
Merge pull request #1967 from calmh/woops
...
Incorrect error condition on shortcuts
2015-06-18 11:07:07 +01:00
Jakob Borg
7767746d3e
Incorrect error condition on shortcuts
2015-06-18 11:55:43 +02:00
Audrius Butkevicius
7219aaeb89
Merge pull request #1966 from calmh/overrideevents
...
Generate LocalIndexUpdated events in Override
2015-06-18 10:17:38 +01:00
Jakob Borg
7af1863e81
Generate LocalIndexUpdated events in Override
...
The override should look like we detected the changes locally, or the
GUI and other things won't update correctly.
This is/was caught by the Override integration test, on my newly
refactored integration test suite which is soon ready for prime time, so
a test is coming. :)
2015-06-18 10:49:24 +02:00
Jakob Borg
4beb42bf45
Merge pull request #1959 from AudriusButkevicius/lastfile
...
Add label next to "Last file received" (fixes #1952 )
2015-06-18 10:45:27 +02:00
Audrius Butkevicius
12a3086a9e
Add label next to "Last file received" ( fixes #1952 )
2015-06-16 12:12:34 +01:00
Audrius Butkevicius
198725216f
Merge pull request #1957 from calmh/myid
...
Include myID in the StartupComplete event
2015-06-16 08:46:50 +01:00
Audrius Butkevicius
08647f1267
Merge pull request #1956 from calmh/earlyevents
...
Fix API event subscription
2015-06-16 08:46:29 +01:00
Audrius Butkevicius
87811efc30
Merge pull request #1955 from calmh/localver
...
Add version to LocalIndexUpdate event.
2015-06-16 08:45:09 +01:00
Jakob Borg
82c3e6f87f
Include myID in the StartupComplete event
...
Nice to have...
2015-06-16 09:27:06 +02:00
Jakob Borg
1ac40a3043
Fix API event subscription
...
The API never got the first few events ("Starting" etc) as it subscribed
too late. Instead, set up a subscription for it early on. If the API is
configured not to run this is unnecessary but doesn't hurt very much.
2015-06-16 09:17:58 +02:00
Jakob Borg
127b0c3332
Add version to LocalIndexUpdate event.
...
Allows correlating LocalIndexUpdate events on one device with RemoteIndexUpdated on another to make sure the cluster has converged.
2015-06-16 08:30:15 +02:00
Jakob Borg
a6d9150b14
Skip extra newline between assets
2015-06-15 23:13:43 +02:00
Jakob Borg
7e5197c566
Help link for folder master
2015-06-15 22:34:39 +02:00
Jakob Borg
2d217e72bd
Dependency update
2015-06-15 21:10:33 +02:00
Jakob Borg
12331cc62b
Merge pull request #1943 from ralder/webgui-events-in-service
...
webgui: moved events controller to events service
2015-06-15 20:33:27 +02:00
Sergey Mishin
2449f1e1b6
webgui: moved events controller to events service
2015-06-15 19:05:46 +03:00
Audrius Butkevicius
6a6593c656
Merge pull request #1948 from calmh/symwarning
...
Dont warn about irrelevant symlinks, print path to culprit (ref #1945 )
2015-06-15 10:41:51 +01:00
Jakob Borg
ad220d61f9
Merge pull request #1951 from AudriusButkevicius/voodoo
...
Voodoo
2015-06-15 11:31:03 +02:00
Audrius Butkevicius
1e35383b4d
Merge pull request #1947 from calmh/metadata
...
Differentiate between content and metadata updates in ItemStarted/ItemFinished
2015-06-15 10:26:09 +01:00
Audrius Butkevicius
c8457ab005
Voodoo
2015-06-15 10:22:44 +01:00
Jakob Borg
070a308217
Dont warn about irrelevant symlinks, print path to culprit (ref #1945 )
...
This skips the warning about "unsupported symlinks" for invalid or
deleted symlinks (and as a side effect also accepts them into the index,
which should be fine). It also prints the affected file paths to the
log. This should be in the hypothetical list of "errored files" we
should present instead of the cryptic "puller stopped" message in the
future...
2015-06-15 00:47:13 +02:00
Jakob Borg
c1f4477376
ItemStarted can be map[string]string
2015-06-14 22:59:21 +02:00
Jakob Borg
d728320ece
New ItemStart/Finished type 'metadata' for shortcut updates
2015-06-14 22:56:41 +02:00
Audrius Butkevicius
fee0d7168a
Merge pull request #1946 from calmh/guiassets
...
Default GUI override dir
2015-06-14 21:40:56 +01:00
Jakob Borg
7c23b32de3
Default GUI override dir
...
If STGUIASSETS is not set, look for assets in $confdir/gui by default.
Simplifies deploying overrides and stuff.
2015-06-14 22:28:40 +02:00
Jakob Borg
1437952aee
Translation and docs update
2015-06-14 13:52:00 +02:00
Jakob Borg
a162157301
Add translation strings for trash can versioning
2015-06-14 11:08:25 +02:00
Audrius Butkevicius
6316bf3582
Merge pull request #1941 from AudriusButkevicius/errors
...
Correctly set and clear errors for missing folders (fixes #1937 )
2015-06-13 23:47:20 +01:00
Audrius Butkevicius
1d856b4723
Correctly set and clear errors for missing folders ( fixes #1937 )
2015-06-13 23:45:54 +01:00
Audrius Butkevicius
7f56d5c23a
Merge pull request #1935 from calmh/trashcan
...
Add trash can file versioning (fixes #1931 )
2015-06-12 13:20:37 +01:00
Jakob Borg
a778763851
Add trash can file versioning ( fixes #1931 )
2015-06-12 13:30:49 +02:00
Audrius Butkevicius
983d7ec265
Merge pull request #1933 from calmh/fix-1907
...
More resilient broadcast handling (fixes #1907 )
2015-06-11 14:59:31 +01:00
Jakob Borg
297769ef57
More resilient broadcast handling ( fixes #1907 )
...
My theory is that some error condition on the socket results in it
blocking for writes, which maybe also blocks reads... This separates the
two into separate services with their own socket, with restarts and
retries as appropriates on write timeouts and read/write errors. It
should be more robust, hopefully, but I have a hard time testing the
actual error conditions...
2015-06-11 15:06:05 +02:00
Jakob Borg
885d050e5f
Correct docs site link
2015-06-11 14:24:39 +02:00
Jakob Borg
8fb4ce6cad
Merge pull request #1927 from ralder/patch-1
...
fix disappeared status of folder after restart syncthing
2015-06-11 08:47:53 +02:00
Jakob Borg
42738ab54d
Add missing copyright notice
2015-06-11 08:46:57 +02:00
ralder
7d1250620e
fix disappeared status of folder after restart syncthing
...
sometimes after restart process syncthing '/rest/db/status' for folder may return data with 'state' = empty string
2015-06-10 16:48:16 +03:00
Jakob Borg
5c49b93c67
Links are nice, too
2015-06-10 00:04:53 +02:00
Jakob Borg
9a11f81fd3
Point to contribution guidelines and docs
2015-06-10 00:02:39 +02:00
Audrius Butkevicius
cba2e972fd
Merge pull request #1810 from calmh/cfg-commit
...
Configuration commit thingy
2015-06-09 15:09:21 +01:00
Jakob Borg
76ad925842
Refactor config commit stuff to support restartless updates better
...
Includes restartless updates of the GUI settings (listening port etc) as
a proof of concept.
2015-06-09 15:41:22 +02:00
Jakob Borg
ef6f52f688
Correctly handle nil error in verbose logging ( fixes #1921 )
2015-06-09 09:04:03 +02:00
Audrius Butkevicius
197bfa9f11
Merge pull request #1919 from calmh/fix-1918
...
Start folders before GUI/API (fixes #1918 )
2015-06-08 11:13:02 +01:00
Jakob Borg
145f8c7435
Start folders before GUI/API ( fixes #1918 )
2015-06-08 11:04:09 +02:00
Jakob Borg
a8b43ae598
Translation / docs update
2015-06-07 12:57:26 +02:00
Audrius Butkevicius
567f19bf68
Do not overwrite error value
2015-06-06 08:30:01 +01:00
Jakob Borg
5cd4cd2271
Merge pull request #1912 from AudriusButkevicius/warnings
...
Silence discovery warnings (fixes #1388 )
2015-06-04 19:29:42 +02:00
Audrius Butkevicius
4180569443
Silence discovery warnings ( fixes #1388 )
...
Not performing net.InterfaceAddrs() check in the constructor, as that means we wouldn't start
the read loop, which completely kills it.
2015-06-04 12:59:06 +01:00
Jakob Borg
5f4a92c8e6
Correct link
2015-06-03 19:47:39 +02:00
Jakob Borg
ccf3fed950
Merge remote-tracking branch 'syncthing/pr/1911'
...
* syncthing/pr/1911:
replaced (not all) wiki links to new location docs.syncthing.net
2015-06-03 19:24:30 +02:00
Lars K.W. Gohlke
3626003f68
replaced (not all) wiki links to new location docs.syncthing.net
2015-06-03 19:09:36 +02:00
Audrius Butkevicius
11cb040ad1
Merge pull request #1880 from calmh/itemfinished-err
...
Fix ItemFinished
2015-06-03 16:50:33 +01:00
Jakob Borg
c1761cab49
Trigger ItemFinished when temp file creation fails instead of failing silently
2015-06-03 16:28:31 +02:00
Jakob Borg
25b25b5434
Merge pull request #1885 from AudriusButkevicius/moar-checks
...
Additional cases for detecting folders disappearing
2015-06-03 08:40:21 +02:00
Jakob Borg
8bdf66d9c0
Merge pull request #1906 from ralder/fix-style-top-menu-for-small-devices
...
fix language menu for small screen devices
2015-06-03 08:38:40 +02:00
Sergey Mishin
ccebdd142a
fix webgui top menu for small screen devices
2015-06-02 17:48:31 +03:00
Jakob Borg
e952da7f91
Ensure we always have an up to date list of language names
2015-06-02 08:47:26 +02:00
Jakob Borg
5bd1e4a167
Re-add mistakenly removed languages
2015-06-02 08:33:36 +02:00
Jakob Borg
6d3de41751
Merge pull request #1905 from ralder/fix-missing-languages
...
fix missing languages (fixes #1902 )
2015-06-02 08:12:06 +02:00
Sergey Mishin
f11bac6705
fix missing languages ( fixes #1902 )
2015-06-02 01:19:21 +03:00
Jakob Borg
c23a601cc6
Random number is too large for 32 bit archs ( fixes #1894 )
2015-06-01 09:33:13 +02:00
Jakob Borg
36d4c69fd6
Translation update
2015-05-31 09:37:02 +02:00
Jakob Borg
ca7e7fa0c4
Docs link, capitalization
2015-05-31 09:35:17 +02:00
Jakob Borg
1f6dd5dbb9
Add man pages to Debian package
2015-05-30 13:11:17 +02:00
Jakob Borg
db52646655
Include generated man pages
2015-05-30 13:05:55 +02:00
Jakob Borg
8bb18fa988
Create 'prerelease' step to run before releases
2015-05-30 10:39:27 +02:00
Jakob Borg
f0edaf2f8c
Merge pull request #1884 from calmh/helplink
...
Show help link, add icons, tweak icon spacing
2015-05-30 10:32:16 +02:00
Jakob Borg
d632e3aa1b
Show help link, add icons, tweak icon spacing
2015-05-30 10:31:45 +02:00
Audrius Butkevicius
f0e58fa804
Additional cases for detecting folders disappearing
2015-05-27 22:46:10 +01:00
Jakob Borg
ceced09d02
Merge pull request #1882 from calmh/folderstats
...
Reduce db writes for small files
2015-05-27 22:02:04 +02:00
Jakob Borg
7d48115b90
Reduce db writes for small files
...
We introduced the dbUpdater routine to handle many small files
efficiently, but the folder stats call is almost equally expensive as it
results in two distinct write transactions to the database. This moves
it to the same routine.
(Doesn't make a *huge* difference with leveldb actually, but reduces the
50k-files benchmark time by 25% on my experimental bolt branch...)
2015-05-27 18:36:26 +02:00
Bart De Vries
d2205228fb
Make syncthing honor both the ignorePerms and FlagNoPermBits settings ( fixes #1871 )
2015-05-26 16:27:26 +02:00
Audrius Butkevicius
5417fb7287
Merge pull request #1872 from calmh/large-file-transfer
...
Large file transfer
2015-05-25 17:13:58 +01:00
Jakob Borg
3f59d6daff
Add validation cache
2015-05-25 13:19:18 +02:00
Jakob Borg
0d659933aa
Merge pull request #1868 from mogwa1/umask
...
Change permissions of newly created files and directories (fixes #1339 )
2015-05-25 08:34:34 +02:00
Jakob Borg
3e8eabe833
Add mogwa1
2015-05-25 08:07:59 +02:00
Bart De Vries
badfc77339
Change permissions of newly created files and directories ( fixes #1339 )
2015-05-25 00:12:51 +02:00
Audrius Butkevicius
c51d3e59ea
Merge pull request #1862 from calmh/allocs
...
Reduce allocations during iteration
2015-05-24 12:31:39 +01:00
Jakob Borg
c0d02a65c3
Reduce allocations during iteration
...
Reuses key byte slices to reduce allocations:
benchmark old allocs new allocs delta
Benchmark10kReplace 178112 168615 -5.33%
Benchmark10kUpdateChg 567954 561557 -1.13%
Benchmark10kUpdateSme 238691 228680 -4.19%
Benchmark10kNeed2k 105382 103383 -1.90%
Benchmark10kHaveFullList 60230 60230 +0.00%
Benchmark10kGlobal 237484 227493 -4.21%
benchmark old bytes new bytes delta
Benchmark10kReplace 8725368 7661788 -12.19%
Benchmark10kUpdateChg 58155152 57441025 -1.23%
Benchmark10kUpdateSme 16130875 14996717 -7.03%
Benchmark10kNeed2k 6561685 6338283 -3.40%
Benchmark10kHaveFullList 7611112 7611135 +0.00%
Benchmark10kGlobal 21415056 20300723 -5.20%
2015-05-24 13:08:14 +02:00
Audrius Butkevicius
3a203b8d83
Merge pull request #1861 from calmh/fix-1860
...
Be more lenient against errors when deleting (fixes #1860 )
2015-05-24 00:58:46 +01:00
Audrius Butkevicius
feecdcc7a4
Merge pull request #1854 from calmh/eventmemallocs
...
Reuse a timer instead of allocating a new one in subscription.Poll
2015-05-23 23:23:46 +01:00
Audrius Butkevicius
51ad533be6
Merge pull request #1859 from calmh/fix-1858
...
UPnP discovery results must not be collected in a background goroutine (fixes #1858 )
2015-05-23 22:58:09 +01:00
Jakob Borg
29da0bc8f5
Be more lenient against errors when deleting ( fixes #1860 )
2015-05-23 23:57:41 +02:00
Jakob Borg
bccf7fc2a8
Merge pull request #1857 from calmh/testhax
...
Refactor integration tests to be a little cleaner and more stable, I hope
2015-05-23 23:57:21 +02:00
Jakob Borg
7b6b5981c4
UPnP discovery results must not be collected in a background goroutine ( fixes #1858 )
2015-05-23 23:27:02 +02:00
Jakob Borg
9463192224
Refactor integration tests to be a little cleaner and more stable, I hope
2015-05-23 23:26:23 +02:00
Audrius Butkevicius
d1689f0012
Merge pull request #1855 from calmh/dboptsagain
...
Reduce db write cache to (2*) 4 MiB
2015-05-23 20:38:41 +01:00
Jakob Borg
8ed67fe349
Reduce db write cache to (2*) 4 MiB
...
I haven't been able to reproduce any performance advantage of having it
set higher and it reduces the memory footprint a bit.
2015-05-23 21:05:52 +02:00
Jakob Borg
90a1d99785
Reuse a timer instead of allocating a new one in subscription.Poll
...
This is surprisingly memory expensive when Poll gets called a lot, such
as when syncing lots of small files generating itemstarted/itemfinished
events. It's line number three in this heap profile on the
TestBenchmarkManyFiles test:
jb@syno:~/src/github.com/syncthing/syncthing/test (master) $ go tool pprof ../bin/syncthing heap-13194.pprof
Entering interactive mode (type "help" for commands)
(pprof) top
80.91MB of 83.05MB total (97.42%)
Dropped 1024 nodes (cum <= 0.42MB)
Showing top 10 nodes out of 85 (cum >= 1.75MB)
flat flat% sum% cum cum%
32MB 38.53% 38.53% 32.01MB 38.54% github.com/syndtr/goleveldb/leveldb/memdb.New
22.16MB 26.68% 65.21% 22.16MB 26.68% github.com/syndtr/goleveldb/leveldb/util.(*BufferPool).Get
13.02MB 15.68% 80.89% 13.02MB 15.68% time.NewTimer
6.94MB 8.35% 89.24% 6.94MB 8.35% github.com/syndtr/goleveldb/leveldb/memdb.(*DB).Put
3.18MB 3.82% 93.06% 3.18MB 3.82% github.com/calmh/xdr.(*Reader).ReadBytesMaxInto
With this change the allocation is removed entirely.
2015-05-23 20:38:41 +02:00
Jakob Borg
e215cf6fb8
Add some REST API benchmarks
2015-05-23 20:15:54 +02:00
Jakob Borg
e827c0bd94
Run benchmarks in docker-all instead
2015-05-23 15:17:19 +02:00
Jakob Borg
8dd7e4e6b5
Run benchmarks when running tests
2015-05-23 15:08:17 +02:00
Jakob Borg
a2b94f4e06
Build Debian armhf and armel
2015-05-23 13:10:33 +02:00
Jakob Borg
8b0037ffab
Make check-contribs a little more generous in recognizing a copyright header
2015-05-21 21:42:46 +02:00
Jakob Borg
4ab03f3bef
Update CONTRIBUTING to not encourage changing AUTHORS
2015-05-21 20:58:17 +02:00
Jakob Borg
3c3db52f49
Merge pull request #1842 from Zillode/fix-1822
...
Support the creation of top-level folders on Windows (fixes #1822 )
2015-05-21 20:50:52 +02:00
Jakob Borg
5b1e884659
Merge pull request #1847 from Zillode/fix-1833
...
Show date and time for web GUI notification (fixes #1833 )
2015-05-21 20:49:04 +02:00
Lode Hoste
7ec6740e26
Show date and time for web GUI notification ( fixes #1833 )
2015-05-21 19:44:45 +02:00
Lode Hoste
f12b8c19be
Support the creation of top-level folders on Windows ( fixes #1822 )
2015-05-21 19:21:19 +02:00
Jakob Borg
76174d31ce
Merge pull request #1843 from Zillode/fix-1831
...
Set permanent UPnP lease when required
2015-05-21 12:50:48 +02:00
Lode Hoste
5042248260
Set permanent UPnP lease when required ( fixes #1831 )
2015-05-21 10:48:40 +02:00
Lode Hoste
1df6589533
Add status code to SOAP response
2015-05-21 09:54:39 +02:00
Jakob Borg
12f76b448c
Merge pull request #1826 from AudriusButkevicius/screwflags
...
Don't check interface flags on Windows
2015-05-19 14:59:16 +02:00
Audrius Butkevicius
f112ef34f6
Don't check interface flags on Windows
2015-05-17 16:42:26 +01:00
Jakob Borg
e4b57a978f
Translation update
2015-05-15 10:46:47 +02:00
Audrius Butkevicius
b51e09e0e8
Merge pull request #1811 from calmh/bc
...
Further reduce maximum db block cache
2015-05-15 11:12:25 +03:00
Jakob Borg
a3ba3f895c
Further reduce maximum db block cache
2015-05-14 20:59:59 +02:00
Jakob Borg
947a129e12
Use updateLocals to ensure event generation
2015-05-14 08:56:42 +02:00
Jakob Borg
f3fe6a6cbd
Assure existence of a folder marker in the test
2015-05-14 08:46:00 +02:00
Jakob Borg
9d150bef9f
Refactor GetMtime for early return
2015-05-14 08:26:21 +02:00
Jakob Borg
65be18cc93
Merge pull request #1804 from cdhowie/virtual-mtimes
...
Implement virtual mtime support for Android
2015-05-14 08:14:29 +02:00
Jakob Borg
e27ea63900
Add cdhowie
2015-05-14 08:11:02 +02:00
Chris Howie
aa96f7b660
Virtual mtime support for environments that don't support altering mtimes ( fixes #831 )
2015-05-13 14:57:29 +00:00
Jakob Borg
053690d885
Don't attempt reschedule with zero interval
...
Can happen on manual rescans of folders with zero interval.
2015-05-13 16:51:08 +02:00
Jakob Borg
b9fc6397a3
Merge pull request #1791 from Zillode/test-master
...
Add unit test for overriding ignored files (fixes #1701 )
2015-05-13 14:50:12 +02:00
Audrius Butkevicius
19b9f15da3
Merge pull request #1803 from calmh/kvspaceclear
...
Reset a namespaced kv-store
2015-05-13 15:43:52 +03:00
Jakob Borg
0b9441e1a4
Reset a namespaced kv-store
2015-05-13 14:41:47 +02:00
Audrius Butkevicius
2324d7420c
Merge pull request #1800 from calmh/ursvc
...
Break out usage reporting into a service
2015-05-13 15:41:44 +03:00
Jakob Borg
c6b2ca8b19
Break out usage reporting into a service
2015-05-13 14:39:27 +02:00
Audrius Butkevicius
83ea8dc577
Merge pull request #1801 from calmh/fix-1799
...
Only restart global discovery on UPnP change if it was enabled to start with (fixes #1799 )
2015-05-12 18:49:24 +03:00
Jakob Borg
d898277f62
stindex: add some missing newlines
2015-05-12 11:47:30 +02:00
Jakob Borg
a289cfb986
Only restart global discovery on UPnP change if it was enabled to start with ( fixes #1799 )
2015-05-12 09:48:55 +02:00
Jakob Borg
d603998617
Debian maintainer is release team
2015-05-11 21:59:40 +02:00
Jakob Borg
8bf9f4f5ab
Build debian skeleton
2015-05-11 21:34:43 +02:00
Jakob Borg
2c4e6f2926
wip
2015-05-11 19:04:39 +02:00
Jakob Borg
21fbbc50cd
hax
2015-05-11 18:39:53 +02:00
Audrius Butkevicius
99512418da
Merge pull request #1796 from calmh/adaptive-cache-tweak
...
Tweak the database block cache size, and add config for it
2015-05-11 11:06:31 +03:00
Jakob Borg
c2f2d8771f
Tweak the database block cache size, and add config for it
2015-05-11 09:08:25 +02:00
Jakob Borg
179c9ee8cc
Merge pull request #1792 from Zillode/tempname
...
Retains part of meaningful filename, added unit test and did a small refactoring
2015-05-10 20:44:55 +02:00
Jakob Borg
eb8a505287
Merge pull request #1774 from Zillode/fix-rename-windows
...
If rename works we are happy (fixes #1767 )
2015-05-10 19:04:03 +02:00
Lode Hoste
a7482a3644
Added simple unit test for temporary filenames
2015-05-10 18:57:27 +02:00
Lode Hoste
a692348336
Retain meaningful names for temporary files
2015-05-10 18:57:27 +02:00
Jakob Borg
285dcc30cf
Use md5 hash of filename for temporary file ( fixes #1786 )
2015-05-10 18:57:27 +02:00
Jakob Borg
bcf51aed83
Translation update
2015-05-10 14:59:12 +02:00
Zillode
1a11ce6211
Merge pull request #1784 from calmh/fix-1782
...
Implement upnpSvc.Stop() (fixes #1782 )
2015-05-10 14:47:02 +02:00
Lode Hoste
10021c97a6
Add unit test for overriding ignored files ( fixes #1701 )
2015-05-10 11:23:29 +02:00
Audrius Butkevicius
e869e3c534
Merge pull request #1789 from calmh/reduce-default-lease
...
Set default UPnP lease time to 60 minutes
2015-05-10 01:43:10 +03:00
Lode Hoste
f6416285db
If rename works we are happy ( fixes #1767 )
2015-05-10 00:00:24 +02:00
Jakob Borg
7f0593cd2d
Set default UPnP lease time to 60 minutes
2015-05-09 22:17:53 +02:00
Jakob Borg
e4c41718d8
Fix upnp mapping name
2015-05-09 20:04:15 +02:00
Jakob Borg
7234553990
Implement upnpSvc.Stop() ( fixes #1782 )
2015-05-09 12:49:58 +02:00
Jakob Borg
5761efdb73
Remove system/editor specific ignores (ref #1778 )
2015-05-08 20:34:06 +02:00
Jakob Borg
1133192a86
Merge remote-tracking branch 'syncthing/pr/1779'
...
* syncthing/pr/1779:
Remove stray VIM swap file
2015-05-08 20:32:02 +02:00
Chris Howie
af3288043a
Remove stray VIM swap file
2015-05-08 16:11:32 +00:00
Jakob Borg
24a348f6a8
Use larger files for large file transfer benchmark
2015-05-08 14:59:37 +02:00
Audrius Butkevicius
5528b6c231
Merge pull request #1775 from calmh/fix-1765
...
Trigger pull check on remote index updates (fixes #1765 )
2015-05-08 11:45:03 +03:00
Jakob Borg
245bd1eb17
Trigger pull check on remote index updates ( fixes #1765 )
...
Without this, when an index update comes in we only do a new pull if the
remote `localVersion` was increased. But it may not be, because the
index is sent alphabetically and the file with the highest local version
may come first. In that case we'll never do a new pull when the rest of
the index comes in, and we'll be stuck in idle but with lots of out of
sync data.
2015-05-08 10:02:46 +02:00
Jakob Borg
03506db76c
Fix rename with capitalization test
2015-05-08 10:02:19 +02:00
Jakob Borg
cb5ef26020
Revert "Enforce line endings when cloning ( fixes #1766 )"
...
This reverts commit 2361a0dd6e .
2015-05-07 22:55:31 +02:00
Jakob Borg
2493ae4c2c
Merge pull request #1773 from Zillode/fix-browser
...
Do not launch browser when running integration tests
2015-05-07 22:23:47 +02:00
Jakob Borg
2bd88344ad
Merge pull request #1772 from Zillode/fix-lf
...
Enforce line endings when cloning (fixes #1766 )
2015-05-07 22:03:20 +02:00
Lode Hoste
4950980d69
Don't launch browser for integration tests
2015-05-07 20:59:12 +02:00
Lode Hoste
2361a0dd6e
Enforce line endings when cloning ( fixes #1766 )
2015-05-07 20:32:18 +02:00
Audrius Butkevicius
152cdd1750
Merge pull request #1771 from calmh/stindex
...
Simplify stindex
2015-05-07 11:13:49 +03:00
Jakob Borg
31797a5831
Simplify stindex
2015-05-07 09:59:04 +02:00
Jakob Borg
9308c42cff
Skip boring concurrency test in internal/db
2015-05-07 09:57:49 +02:00
Audrius Butkevicius
c096cd34b9
Merge pull request #1763 from calmh/win-executable
...
Set the execute bit on Windows executables (fixes #1762 )
2015-05-06 08:28:06 +03:00
Jakob Borg
5fc0808f28
Set the execute bit on Windows executables ( fixes #1762 )
2015-05-05 21:45:26 +02:00
Jakob Borg
e6866ee980
strings.TrimLeft is not actually TrimPrefix
2015-05-05 13:53:11 +02:00
Jakob Borg
45631d30b0
Merge pull request #1756 from LordLandon/master
...
Fix #1728 by using latest version property
2015-05-04 18:34:34 +02:00
Lord Landon "Warbles" Agahnim
0f432a0844
Use actual release version for release note link ( fixes #1728 )
2015-05-04 08:23:24 -07:00
Jakob Borg
df59bc7194
Merge pull request #1747 from Zillode/fix-1743
...
Partial fix for #1743
2015-05-04 10:51:40 +02:00
Jakob Borg
ff4706e450
Merge branch 'pr-1748'
...
* pr-1748:
Reschedule before scan
Use a channel instead of locks
Reschedule the next scan interval (fixes #1591 )
2015-05-04 10:40:14 +02:00
Jakob Borg
fc013bd04c
Add LordLandon
2015-05-04 10:36:40 +02:00
Audrius Butkevicius
7e29a8b927
Merge pull request #1755 from calmh/fix-1754
...
Wait for stdout/stderr to close (fixes #1754 )
2015-05-03 22:45:00 +03:00
Jakob Borg
67ae7a0b6c
Wait for stdout/stderr to close ( fixes #1754 )
2015-05-03 17:36:01 +02:00
Jakob Borg
bd5a64bac0
Reschedule before scan
2015-05-03 14:18:50 +02:00
Jakob Borg
1bd85d8baf
Use a channel instead of locks
2015-05-03 14:18:32 +02:00
Lode Hoste
fe34b08ece
Reschedule the next scan interval ( fixes #1591 )
2015-05-03 12:48:44 +02:00
Jakob Borg
33048f88b8
Merge pull request #1752 from alex2108/master
...
Distinguish files with same name but different extension in staggered versioner (fixes #1738 )
2015-05-03 12:32:20 +02:00
Alexander Graf
0ec01f4e78
Distinguish files with same name but different extension in staggered versioner ( fixes #1738 )
2015-05-03 10:36:46 +02:00
Jakob Borg
d0ebf06ff8
Translation update
2015-05-03 08:29:29 +02:00
Jakob Borg
687b249034
Don't create stopped folder in staggered versioning ( fixes #1749 )
2015-05-03 08:22:11 +02:00
Jakob Borg
d1528dcff0
Remove old name conversion from staggered versioning
2015-05-03 08:22:11 +02:00
Jakob Borg
1c31cf6319
Merge pull request #1744 from Zillode/fix-1692
...
Upgrade running Syncthing instances (fixes #1692 )
2015-05-02 15:17:45 +02:00
Lode Hoste
67f0c9bef0
Do not remove the file when renaming on a case-insensitive platform ( fixes #1743 )
2015-05-01 23:43:45 +02:00
Lode Hoste
d54c366150
Upgrade running Syncthing instances ( fixes #1692 )
2015-05-01 23:38:54 +02:00
Jakob Borg
4ff535f883
Twitter link (lazily wrong icon, because not in Glyphicons...)
2015-05-01 23:32:51 +02:00
Lode Hoste
58b15f9452
Limit alterfiles to a single operation per file
2015-05-01 13:03:03 +02:00
Lode Hoste
dedca59ac9
Add capitalization changes to integration tests
2015-05-01 12:11:57 +02:00
Jakob Borg
3cbddfe545
Merge pull request #1745 from Zillode/fix-1678
...
Added test for combining case insensitive and negated patterns (fixes #1678 )
2015-05-01 09:20:51 +02:00
Lode Hoste
e3cae69495
Added test for combining case insensitive and negated patterns ( fixes #1678 )
2015-05-01 00:58:44 +02:00
Audrius Butkevicius
aee40316f8
Merge pull request #1732 from calmh/guisvc
...
Break out GUI into an API service
2015-04-30 22:15:47 +01:00
Audrius Butkevicius
d754f9ae89
Merge pull request #1742 from calmh/adaptive-cache
...
Adaptive database cache size
2015-04-30 21:56:40 +01:00
Audrius Butkevicius
3c50b3a9e0
Merge pull request #1741 from calmh/verbose
...
Verbose logging
2015-04-30 21:54:49 +01:00
Jakob Borg
fb312a71f7
Add verbose logging ( fixes #179 )
2015-04-30 20:47:21 +02:00
Jakob Borg
136d79eaa3
Break out GUI into an API service
2015-04-30 20:36:07 +02:00
Jakob Borg
834336499a
Adaptive database cache size
2015-04-30 20:25:44 +02:00
Jakob Borg
c9da8237df
Report usage statistics after transfer bench
2015-04-30 08:43:57 +02:00
Audrius Butkevicius
9638dcda0a
Merge pull request #1735 from calmh/kinder-rehashing
...
User fewer hasher routines when there are many folders.
2015-04-29 20:43:51 +01:00
Jakob Borg
756c5a2604
User fewer hasher routines when there are many folders.
2015-04-29 21:26:08 +02:00
Jakob Borg
a9c31652b6
Merge branch 'pr-1725'
...
* pr-1725:
typos and spelling correction
2015-04-29 17:09:30 +02:00
dartraiden
32a76901a9
typos and spelling correction
2015-04-29 15:59:47 +02:00
Audrius Butkevicius
a5e11c7489
Merge pull request #1730 from calmh/bug-1721
...
Don't hang when attempting multicast discovery on non-multicast interfaces
2015-04-29 11:01:25 +01: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
Audrius Butkevicius
32fe2cb659
Merge pull request #1700 from calmh/upnpsvc
...
Break out UPnP port mapping into a service
2015-04-29 00:18:49 +01:00
Jakob Borg
1207d54fdd
Tweak UPnP discovery, avoid non-multicast interfaces ( fixes #1721 )
2015-04-28 22:32:10 +02:00
Stefan Tatschner
3932884688
Drop systemd README instruction in favor of the wiki
2015-04-28 14:11:12 +02:00
Audrius Butkevicius
19a2042746
Merge pull request #1723 from calmh/bug-1722
...
Handle conflict with local delete (fixes #1722 )
2015-04-28 10:39:22 +01:00
Jakob Borg
4c6eb137da
Merge pull request #1720 from AudriusButkevicius/ignores
...
Matcher is always there
2015-04-28 11:35:12 +02:00
Jakob Borg
57ec2ff915
Handle conflict with local delete ( fixes #1722 )
2015-04-28 11:34:16 +02:00
Audrius Butkevicius
77a161a087
Matcher checks nil receiver
2015-04-28 10:17:14 +01:00
Jakob Borg
0642402449
Break out UPnP port mapping into a service
2015-04-28 10:25:25 +02:00
Audrius Butkevicius
50d377d9fe
Fix integration tests
2015-04-28 00:09:44 +01:00
Jakob Borg
f5211b0697
Add some more cache forbidding headers, for various user agents.
2015-04-27 09:08:55 +02:00
Jakob Borg
fd4ea46fd7
Merge pull request #1708 from jarlebring/upnp_close_conn_fix
...
Fix to for routers that cannot handle many open HTTP-connections
2015-04-26 22:54:47 +02:00
Elias Jarlebring
8d8546868d
Fix to for routers that cannot handle many open HTTP-connections
...
Some routers do not respond when too many subsequent SOAP-requests are sent and will generate an EOF-error in the DefaultClient.Do(req). This modification adds a req.Close = True following the description on http://stackoverflow.com/questions/17714494/golang-http-request-results-in-eof-errors-when-making-multiple-requests-successi
2015-04-26 22:31:43 +02:00
Audrius Butkevicius
8ce547edeb
Fix HTML ( fixes #1707 )
2015-04-26 20:14:34 +01:00
Jakob Borg
a17c48aed6
Merge pull request #1705 from AudriusButkevicius/glob
...
Add osutil.Glob to deal with Windows (fixes #1690 )
2015-04-26 18:28:25 +02:00
Audrius Butkevicius
d12db3e7b8
Add osutil.Glob to deal with Windows ( fixes #1690 )
2015-04-26 16:37:50 +01:00
Jakob Borg
15b87ae297
Merge pull request #1704 from jarlebring/upnp_caps
...
Fix capitalization in HTTP-header in SOAP request (fixes #1696 )
2015-04-26 20:10:14 +09:00
Jakob Borg
02fdf59839
Add jarlebring
2015-04-26 19:40:02 +09:00
jarlebring
d9da02b7a8
Formatting with gofmt
2015-04-26 12:37:37 +02:00
Elias Jarlebring
8f2ad6418d
Fix capitalization in HTTP-header in SOAP request ( fixes #1696 )
...
Some routers are sensitive to the capitalization in "SOAPAction" in the HTTP-header in SOAP request. This modification follows the recommendation of preserving caps in HTTP-headers in go described on http://stackoverflow.com/questions/26351716/how-to-keep-key-case-sensitive-in-request-header-using-golang?lq=1
2015-04-26 12:16:40 +02:00
Jakob Borg
ff984425a3
Merge pull request #1703 from AudriusButkevicius/page
...
Add pagination to Out of sync item list (fixes #1509 )
2015-04-26 18:42:17 +09:00
Audrius Butkevicius
ac1058359f
Rebuild assets
2015-04-26 00:22:30 +01:00
Audrius Butkevicius
9afbca3001
Add pagination to Out of sync item list ( fixes #1509 )
2015-04-26 00:22:26 +01:00
Audrius Butkevicius
ec3f17cb9c
Add angular-dirPagination
2015-04-25 22:52:52 +01:00
Audrius Butkevicius
73b9d5c5f9
Merge pull request #1698 from calmh/pull-order
...
Configurable file pull order (alphabetic, random, by size or age)
2015-04-25 15:41:02 +01:00
Audrius Butkevicius
ecc8591c95
Merge pull request #1699 from calmh/connsvc
...
Break out connection handling into a service
2015-04-25 15:37:08 +01:00
Audrius Butkevicius
696b67e4b1
Merge pull request #1697 from calmh/auditsvc
...
Add audit log feature
2015-04-25 15:34:34 +01:00
Jakob Borg
266a5116a1
Break out connection handling into a service
2015-04-25 23:21:42 +09:00
Jakob Borg
131f2be857
Add audit log feature
2015-04-25 23:20:39 +09:00
Jakob Borg
be7b3a9952
Configurable file pull order (alphabetic, random, by size or age)
2015-04-25 23:20:21 +09:00
Jakob Borg
bb31b1785b
Add a service manager to main (future use)
2015-04-25 23:16:46 +09:00
Jakob Borg
2a60f4b1e9
Add .gitattributes; normalize line endings
2015-04-25 23:16:46 +09:00
Jakob Borg
33a4fb5a1a
Fix folder check tests
2015-04-25 23:16:46 +09:00
Audrius Butkevicius
aece6e8b6c
Merge pull request #1689 from calmh/nolocks
...
events.Subscription.Poll does not seem to require locking
2015-04-24 10:26:58 +01:00
Jakob Borg
7bf55dd14f
events.Subscription.Poll does not seem to require locking
...
This is a large source of output from the new lock logging, and it
doesn't seem to accomplish anything useful that I can see. Running
integration with the race detector to make sure...
2015-04-24 11:25:42 +09:00
Jakob Borg
e158f17c2b
Adjust sync test intervals to be less latency sensitive
2015-04-24 11:25:24 +09:00
Jakob Borg
c5027d9478
Merge branch 'pr-1688'
...
* pr-1688:
Minor fixup
Add tests, fix getCaller, replace wg.Done with wg.Wait
2015-04-24 09:43:52 +09:00
Jakob Borg
36c1d82146
Minor fixup
2015-04-24 09:43:40 +09:00
Audrius Butkevicius
bd4f404d45
Add tests, fix getCaller, replace wg.Done with wg.Wait
2015-04-23 20:09:14 +01:00
Jakob Borg
43d39844f7
Merge pull request #1685 from AudriusButkevicius/mut
...
Add mutex logging
2015-04-23 21:16:23 +09:00
Audrius Butkevicius
e041a4d212
Track RUnlockers while locking a RWMutex
2015-04-23 11:29:23 +01:00
Audrius Butkevicius
433b923ea7
Add mutex logging
2015-04-23 10:54:14 +01:00
Audrius Butkevicius
f8f1c72b44
Merge pull request #1686 from calmh/major-upgrade-v11
...
Allow major upgrades
2015-04-23 09:31:58 +01:00
Jakob Borg
542716e216
Allow major upgrades
2015-04-23 17:13:11 +09:00
Jakob Borg
b35958d024
Avoid spurious request for /qr?text={{myID}} ( fixes #1679 )
2015-04-22 09:37:18 +09:00
Audrius Butkevicius
9ee3541655
Merge pull request #1673 from calmh/filestatus-json
...
Clean up REST JSON a little further
2015-04-21 17:11:06 +01:00
Jakob Borg
bf7d84c12a
Clean up REST JSON a little further
2015-04-21 23:28:58 +09:00
Audrius Butkevicius
34c691087e
Merge pull request #1674 from calmh/rc-upgrade
...
Loosen the requirements on what can be upgraded to what
2015-04-21 08:42:33 +01:00
Jakob Borg
08c383012f
Loosen the requirements on what can be upgraded to what
2015-04-21 09:06:10 +09:00
Jakob Borg
e2420495f3
Fix type in device sort ( fixes #1668 )
2015-04-20 22:18:19 +09:00
Audrius Butkevicius
d530c5eda7
Merge pull request #1665 from calmh/wat
...
Don't initialize subscription in init()
2015-04-20 08:12:58 +01:00
Audrius Butkevicius
ef7420ecf6
Merge pull request #1666 from calmh/cpu-remind
...
Reminder in debug output to explain high CPU usage
2015-04-20 08:09:56 +01:00
Jakob Borg
c905a41e2a
Reminder in debug output to explain high CPU usage
2015-04-20 14:29:38 +09:00
Jakob Borg
42ff4b5bf0
changelog.go should not be built
2015-04-20 14:03:50 +09:00
Jakob Borg
4fb74a32cc
Don't initialize subscription in init()
...
By doing it init(), the monitor process also gets a subscription thing
running, which is unnecessary (and really confused me when seeing it in
the debug output).
2015-04-20 12:58:58 +09:00
Jakob Borg
c741465328
Use versionString() in about modal ( fixes #1663 )
2015-04-20 08:23:59 +09:00
Jakob Borg
fbca537a40
Merge pull request #1655 from kamadak/fix-nil-deref
...
Fix nil pointer dereferences in REST with non-existent folders
2015-04-19 17:20:47 +09:00
Jakob Borg
83420b0199
Merge pull request #1654 from AudriusButkevicius/fixes
...
Fix capitalization (fixes #1652 , fixes #1649 )
2015-04-19 17:20:05 +09:00
KAMADA Ken'ichi
33d3ba1b45
Fix nil pointer dereferences in REST with non-existent folders
2015-04-18 22:41:47 +09:00
Audrius Butkevicius
497f85a236
Fix capitalization ( fixes #1652 , fixes #1649 )
2015-04-18 11:23:21 +01:00
Audrius Butkevicius
a624c302ab
Merge pull request #1648 from calmh/scanner-batches
...
Don't buffer large files a long time while scanning
2015-04-17 09:05:09 +01:00
Jakob Borg
cebe21a3af
Don't buffer large files a long time while scanning
2015-04-17 16:40:09 +09:00
Audrius Butkevicius
9eb679d70a
Merge pull request #1647 from calmh/fix-localindexupdated
...
Homogenize the LocalIndexUpdated event
2015-04-17 08:14:38 +01:00
Jakob Borg
6d84443db8
Homogenize the LocalIndexUpdated event
...
It had two different formats, and we use "items" instead of "numFiles"
in other places.
(Discovered while documenting :)
2015-04-17 14:22:06 +09:00
Jakob Borg
da8a1f242c
Merge pull request #1646 from AudriusButkevicius/readonly
...
Make targets writeable before removal on Windows (fixes #1610 )
2015-04-17 14:21:39 +09:00
Jakob Borg
946d98b71f
Merge pull request #1645 from AudriusButkevicius/tests
...
Fix tests on Windows (fixes #1531 )
2015-04-17 14:20:53 +09:00
Audrius Butkevicius
dff51fc707
Make targets writeable before removal on Windows ( fixes #1610 )
2015-04-16 22:53:53 +01:00
Audrius Butkevicius
7d954dd5d1
Fix tests on Windows ( fixes #1531 )
2015-04-16 21:18:17 +01:00
Jakob Borg
c6300a5da8
Tone down UPnP errors a little
2015-04-16 23:45:12 +09:00
Jakob Borg
9359daa0d9
Merge branch 'pr-1636'
...
* pr-1636:
Store and use _localStorage object
fix using detect localStorage
2015-04-16 23:44:59 +09:00
Jakob Borg
2322e9cff7
Store and use _localStorage object
2015-04-16 23:44:34 +09:00
Jakob Borg
a876e1e348
Merge remote-tracking branch 'syncthing/pr/1636' into pr-1636
...
* syncthing/pr/1636:
fix using detect localStorage
2015-04-16 23:32:48 +09:00
Jakob Borg
6a863c8f71
Translation update
2015-04-16 23:27:27 +09:00
Jakob Borg
392b006b06
Add Moter8
2015-04-16 23:23:34 +09:00
Audrius Butkevicius
96289f42b7
Merge pull request #1644 from syncthing/timeout
...
UPnP refactor/fixes
2015-04-16 14:32:16 +01:00
Audrius Butkevicius
1b69c2441c
Make UPnP discovery requests on each interface explicitly ( fixes #1113 )
2015-04-16 14:23:36 +01:00
Audrius Butkevicius
8ca85a4918
Merge pull request #1639 from calmh/events
...
Improve event handling a little bit.
2015-04-16 14:18:52 +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
d1cc1828b8
Improve ItemStarted/ItemFinished events
...
- Remove full details from ItemStarted (unnecessary, incorrect CamelCase)
- Add "type" ("file" or "dir") to both events
- Add "action" (what we tried to do - "delete" or "update") to both
events.
2015-04-14 23:31:39 +09:00
Jakob Borg
069e8cf122
Don't schedule summaries on all state changes
...
Prior to this change we schedule summaries on each state change, i.e.
scanning->idle and idle->scanning, which is unnecessary. Now we only do
it on index updates, plus the immediate one on going syncing->idle.
2015-04-14 20:57:42 +09:00
Audrius Butkevicius
45cbcaca6d
Merge pull request #1638 from calmh/lstat
...
Work around broken Lstat on Android
2015-04-14 11:59:20 +01:00
Jakob Borg
102a2db1f3
Work around broken Lstat on Android
2015-04-14 19:53:49 +09:00
Sergey Mishin
9f81c85ca7
fix using detect localStorage
2015-04-13 19:07:39 +03:00
Audrius Butkevicius
ba4a6fc0c5
Merge pull request #1633 from calmh/errorstate
...
Move folder errors to state
2015-04-13 00:48:13 +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
a027a60f5d
Correctly feature detect localStorage ( fixes #1632 )
2015-04-13 06:50:07 +09:00
Jakob Borg
270649535e
Merge pull request #1625 from Moter8/patch-1
...
Reword and clarify some sentences.
2015-04-10 13:48:14 +02:00
Carsten H
cf80ba71f4
Reword and clarify some sentences
2015-04-10 13:46:38 +02:00
Jakob Borg
b74df18a4a
Translation update
2015-04-10 13:32:23 +02:00
Jakob Borg
5cd2906a39
Fix NICKS and authors in index.html
2015-04-10 12:57:43 +02:00
Jakob Borg
bc37b69d17
Add ARM to GUI architectures, and fallback for unknowns
2015-04-10 12:45:53 +02:00
Francois-Xavier Gsell
94f6e400ad
fix '~' completion in add folder build assets ( fix #1478 )
2015-04-10 15:42:52 +08:00
Francois-Xavier Gsell
b95a6ccf80
fix '~' completion in add folder ( fix #1478 )
2015-04-10 15:42:52 +08:00
Jakob Borg
7df9c1b6e4
Merge pull request #1621 from Zillode/fix-no-upgrade
...
Fix compilation of -noupgrade builds
2015-04-10 08:30:50 +02:00
Lode Hoste
75348c0158
Fix compilation of -noupgrade builds
2015-04-09 22:44:46 +02:00
Audrius Butkevicius
75fb14acaf
Fix integration tests
2015-04-09 16:16:39 +01:00
Audrius Butkevicius
5350315b68
Merge pull request #1614 from calmh/new-short-id
...
Index reset should generate file conflicts (fixes #1613 )
2015-04-09 13:48:37 +01:00
Audrius Butkevicius
658e39c270
Merge pull request #1618 from calmh/id-conflict
...
Check for short ID conflict at startup
2015-04-09 13:40:32 +01:00
Audrius Butkevicius
ef7ce6c7e1
Merge pull request #1619 from calmh/gui-version
...
GUI version string includes OS and Arch
2015-04-09 12:29:58 +01:00
Jakob Borg
509e2411bf
Merge pull request #1616 from syncthing/rates
...
Fix total transfer rates (fixes #1615 )
2015-04-09 13:08:49 +02:00
Jakob Borg
65c906f951
Merge pull request #1617 from syncthing/integ
...
Try capturing panics
2015-04-09 13:07:46 +02:00
Audrius Butkevicius
1f159e8233
Fix total transfer rates ( fixes #1615 )
2015-04-09 12:07:21 +01:00
Jakob Borg
936c76119d
Index reset should generate file conflicts ( fixes #1613 )
2015-04-09 13:06:09 +02:00
Jakob Borg
f45865606a
Add initial merge and reset conflict tests
2015-04-09 13:06:09 +02:00
Jakob Borg
cfc9776bae
Check for short ID conflict at startup
2015-04-09 13:06:00 +02:00
Audrius Butkevicius
0cb7ed9e4e
Try capturing panics
2015-04-09 11:49:02 +01:00
Jakob Borg
4b07609458
GUI version string includes OS and Arch
...
(Useful when debugging via screenshots...)
2015-04-09 11:33:24 +02:00
Audrius Butkevicius
e41e58e781
Merge pull request #1608 from calmh/xdr-update
...
Update XDR dependency (fixes #1606 )
2015-04-08 14:33:53 +01:00
Jakob Borg
f5030f1c2c
Update XDR dependency ( fixes #1606 )
2015-04-08 14:49:29 +02:00
Jakob Borg
2a48fb8e87
Merge pull request #1607 from syncthing/deadlock
...
Don't run deadlock detection in release mode unless asked to (fixes #1536 )
2015-04-08 14:48:20 +02:00
Audrius Butkevicius
df6dbc5fa4
Only run deadlock detection if asked or non-release/beta ( fixes #1536 )
2015-04-08 13:40:05 +01:00
Jakob Borg
4b1d2839e8
Correct override PATH in test
2015-04-08 14:23:26 +02:00
Audrius Butkevicius
a892f80e86
Merge pull request #1590 from calmh/long-filenames
...
Handle long filenames on Windows (fixes #1295 )
2015-04-08 13:12:25 +01:00
Jakob Borg
b2a79855ae
Handle long filenames on Windows ( fixes #1295 )
2015-04-08 14:05:39 +02:00
Audrius Butkevicius
ff4974178a
Merge pull request #1605 from calmh/http-trace
...
Add HTTP request tracing
2015-04-07 21:10:51 +01:00
Jakob Borg
d7100fd9bc
Add HTTP request tracing
2015-04-07 21:52:47 +02:00
Jakob Borg
0bfb40ae51
discourse -> forum
2015-04-07 16:07:16 +02:00
Jakob Borg
11c83670d6
Merge pull request #1601 from syncthing/conns
...
Fix GUI
2015-04-07 15:35:54 +02:00
Audrius Butkevicius
68ff4f3842
Fix GUI
2015-04-07 14:24:34 +01:00
Jakob Borg
ab25cd09ed
Merge pull request #1600 from syncthing/conns
...
Change /rest/system/connections output (fixes #1487 )
2015-04-07 14:29:40 +02:00
Audrius Butkevicius
8f05b8f982
Change /rest/system/connections output ( fixes #1487 )
2015-04-07 13:21:03 +01:00
Jakob Borg
63ae2f64cf
Woops: /rest/system/errors -> /rest/system/error
2015-04-07 13:46:39 +02:00
Jakob Borg
105103fae0
Woops: /rest/system/report -> /rest/svc/report
2015-04-07 13:33:37 +02:00
Jakob Borg
70f4792ab1
Translation update
2015-04-07 12:24:02 +02:00
Jakob Borg
defd9fa322
Merge pull request #1595 from calmh/rest-rework
...
Tidy up the REST interface URLs (fixes #1593 )
2015-04-07 12:20:36 +02:00
Jakob Borg
e884d0fda6
Tidy up the REST interface URLs ( fixes #1593 )
2015-04-07 12:16:23 +02:00
Audrius Butkevicius
5f6a8fdc20
Merge pull request #1568 from calmh/override
...
Override needs to twiddle the version a bit more (fixes #1564 )
2015-04-07 11:13:43 +01:00
Audrius Butkevicius
196a9ddbb0
Merge pull request #1599 from calmh/cleanup
...
Clean up config directory of old crap
2015-04-07 10:33:46 +01:00
Audrius Butkevicius
746140bd11
Merge pull request #1573 from calmh/beacon
...
Use a socket per interface for v6 multicast (fixes #1563 )
2015-04-07 10:23:25 +01:00
Jakob Borg
7b99a5fbac
Clean up config directory of old crap
2015-04-07 09:25:28 +02:00
Jakob Borg
b74c31e520
Only show Override button in idle state
2015-04-06 23:33:28 +02:00
Jakob Borg
221f43e4bd
Use a socket per interface for v6 multicast ( fixes #1563 )
2015-04-06 20:55:50 +02:00
Jakob Borg
a17333d73e
Override needs to twiddle the version a bit more ( fixes #1564 )
2015-04-06 20:55:40 +02:00
Jakob Borg
207b43499c
Merge remote-tracking branch 'syncthing/pr/1577'
...
* syncthing/pr/1577:
Add uptime in webgui (fixes #1501 )
Conflicts:
cmd/syncthing/gui.go
internal/auto/gui.files.go
2015-04-06 20:53:32 +02:00
Jakob Borg
0c0de17b38
Merge pull request #1582 from ralder/webgui-enable-gzip
...
Enable gzip for static files for webgui
2015-04-06 08:33:57 +02:00
Sergey Mishin
77882e6086
Enable gzip encoding static files for webgui
2015-04-06 03:11:30 +03:00
Audrius Butkevicius
19a9834843
Merge pull request #1589 from calmh/copyconf
...
Copy configuration struct when sending Changed() events
2015-04-05 20:53:10 +01:00
Audrius Butkevicius
23dab30ca5
Merge pull request #1588 from calmh/dbcommitter
...
Use separate routine for database updates in puller
2015-04-05 20:43:46 +01:00
ralder
b5d7ce8ebe
Add uptime in webgui ( fixes #1501 )
2015-04-05 22:37:55 +03: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
a5edb6807e
The -reset option now only removes db
2015-04-05 17:40:58 +02:00
Jakob Borg
ecadf30fe7
model: Use separate db commit routine ( fixes #1558 )
2015-04-05 16:19:14 +02:00
Jakob Borg
515f0db5b4
Benchmark syncing many vs large files
2015-04-05 16:16:15 +02:00
Jakob Borg
c2f367cf70
Merge pull request #1585 from Zillode/extra-case-test
...
Test combination of prefixes (@benapetr)
2015-04-05 13:37:52 +02:00
Lode Hoste
f21dfea965
Test combination of prefixes (@benapetr)
2015-04-05 11:45:43 +02:00
Audrius Butkevicius
b84cad4db0
Merge pull request #1583 from calmh/configcleanup
...
Remove handling for old deprecated config versions
2015-04-05 01:31:53 +01:00
Jakob Borg
16ae019c8c
Fix AUTHORS
2015-04-04 23:52:23 +02:00
Jakob Borg
bd2051febd
Remove handling for old deprecated config versions
2015-04-04 23:37:47 +02:00
Audrius Butkevicius
6fb1e03ed4
Merge pull request #1576 from Zillode/reset-indexes
...
Update reset API to reflect new use cases.
2015-04-04 22:31:59 +01:00
Jakob Borg
8d41a762b6
Clean up translations, generate assets
2015-04-04 23:21:45 +02:00
Jakob Borg
6d3003716c
Merge remote-tracking branch 'syncthing/pr/1553'
...
* syncthing/pr/1553:
Add dzarda
Added an "n", typo in a GUI string
2015-04-04 23:20:48 +02:00
Marc Laporte
2c87c3bac3
Fix some typos
2015-04-04 23:15:07 +02:00
Jakob Borg
739c525a98
model: TestIgnores should not randomly fail
2015-04-04 22:55:24 +02:00
Lode Hoste
ab287ebf40
Update reset API to reflect new use cases.
...
/rest/reset clears the entire Syncthing DB and restart the program
/rest/reset&folder=default clears the indexes of the default folder
2015-04-04 22:45:11 +02:00
Jakob Borg
ab6bcab78a
fnmatch: Test should pass on Mac/windows
2015-04-04 22:05:15 +02:00
Jakob Borg
6e317896e9
golint: FNM_FOOBAR -> fnmatch.FooBar
2015-04-04 22:03:03 +02:00
Jakob Borg
b08ee3ff81
golint: locHttps -> locHTTPS
2015-04-04 21:59:54 +02:00
Jakob Borg
17fd09102e
go vet: t.Errorf -> t.Error
2015-04-04 21:58:21 +02:00
Jakob Borg
a598cd2b18
Auto generate author list in gui/index.html
2015-04-04 10:09:42 +02:00
Jakob Borg
55e434d67a
Allow non-word characters at the end of commit messages
2015-04-04 09:50:59 +02:00
Jakob Borg
04d4b5d8a0
NICKS
2015-04-04 09:47:54 +02:00
Jakob Borg
7ea00bcb78
Merge pull request #1570 from ralder/select-language-webgui
...
Add language select menu in webgui (fixes #981 )
2015-04-04 09:47:08 +02:00
ralder
0ab56ffde8
Add ralder
2015-04-04 03:27:02 +03:00
ralder
e7e945533e
Add language select menu in webgui ( fixes #981 )
2015-04-04 02:57:07 +03:00
Jakob Borg
7fd1047832
Merge pull request #1578 from Zillode/fix-config-windows
...
Expand locations during initialisation (fixes #1575 ).
2015-04-03 22:04:08 +02:00
Lode Hoste
19dfa88258
Expand locations during initialisation ( fixes #1575 ).
2015-04-03 21:57:19 +02:00
Jakob Borg
65923b5c20
The summary event service should send summary events
2015-04-02 10:07:54 +02:00
Jaroslav Malec
ac731aa50c
Add dzarda
2015-04-01 17:12:56 +02:00
Audrius Butkevicius
2aa3182476
Merge pull request #1539 from calmh/locations
...
Move index to index-v0.11.0.db (new format) and centralize location config
2015-04-01 13:18:49 +01:00
Audrius Butkevicius
529c386943
Merge pull request #1529 from calmh/modeldata
...
Push model data instead of pull (fixes #1434 )
2015-04-01 13:10:44 +01:00
Jakob Borg
b659da8a4b
Merge pull request #1548 from Zillode/case-insensitive-ignores
...
Support case-insensitive ignores (fixes #1511 ).
2015-04-01 13:46:59 +02:00
Jakob Borg
eba98717c9
Dependency update
2015-04-01 11:58:35 +02:00
Jakob Borg
e4dba99cc0
Immediately recalculate summary when folder state changes syncing->idle
2015-04-01 11:58:27 +02:00
Jakob Borg
454e688c3d
Push model data instead of pull ( fixes #1434 )
2015-04-01 11:46:30 +02:00
Jakob Borg
54752deaa1
Move index to index-v0.11.0.db (new format) and centralize location config
2015-04-01 11:30:28 +02:00
Jakob Borg
a3cf37cb2e
Refactor and improve integration tests
2015-04-01 11:13:19 +02:00
Jakob Borg
6459d11d32
Merge pull request #1378 from Zillode/draft-upgrade
...
Do not consider draft releases or releases with emtpy assets
2015-04-01 11:03:13 +02:00
Jaroslav Malec
15f2fabaaf
Added an "n", typo in a GUI string
2015-03-31 19:27:25 +02:00
Lode Hoste
d6030b8d68
Only consider relevant releases ( fixes #1285 ).
2015-03-31 10:22:28 +02:00
Audrius Butkevicius
e1757ee726
Fix test
2015-03-30 22:49:16 +01:00
Lode Hoste
9fed75d59c
Support case-insensitive ignores ( fixes #1511 ).
2015-03-30 22:41:12 +02:00
Audrius Butkevicius
5fe15475a4
Merge pull request #1540 from calmh/conflicts
...
Handle conflicts when pulling (fixes #220 )
2015-03-30 21:20:23 +01:00
Jakob Borg
c7f6f4f48d
Merge pull request #1546 from Zillode/fix-reset-dir
...
Fix -reset folder target
2015-03-30 21:57:09 +02:00
Lode Hoste
747c6c2714
Fix -reset folder target
2015-03-30 17:07:31 +02:00
Jakob Borg
2951f128f6
Translation update for external versioner
2015-03-30 14:15:17 +02:00
Jakob Borg
53cb66eeaf
Merge pull request #1537 from syncthing/marker
...
More graceful handling on folder errors (fixes #762 )
2015-03-30 09:30:15 +02:00
Jakob Borg
bcf8f798e2
Merge pull request #1543 from rumpelsepp/systemd
...
systemd: Fix error code definitions to prevent failed units
2015-03-30 08:37:08 +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
Jakob Borg
34ba5678c3
Allowed integration test time 60m -> 90m
2015-03-30 08:26:31 +02:00
Stefan Tatschner
da0b78c67a
systemd: Fix error code definitions to prevent failed units
...
The systemd exit code definitions (introduced in c586a17 , refs #1324 ) caused
problems. Per default systemd considers a return code != 0 as failed. So when
you click on "Restart" in the WebUI an error appears:
systemd[953]: syncthing.service: main process exited, code=exited, status=3/NOTIMPLEMENTED
systemd[953]: Unit syncthing.service entered failed state.
systemd[953]: syncthing.service failed.
systemd[953]: syncthing.service holdoff time over, scheduling restart.
systemd[953]: Started Syncthing - Open Source Continuous File Synchronization.
systemd[953]: Starting Syncthing - Open Source Continuous File Synchronization...
syncthing[13222]: [LFKUK] INFO: syncthing v0.10.30 (go1.4.2 linux-amd64 default) builduser@jara 2015-03-29 07:46:44 UTC
To fix this error we have to add the "succes codes" 2, 3, 4 to
"SuccessExitStatus":
syncthing[13006]: [LFKUK] INFO: Restarting
syncthing[13006]: [LFKUK] OK: Exiting
systemd[953]: syncthing.service holdoff time over, scheduling restart.
systemd[953]: Started Syncthing - Open Source Continuous File Synchronization.
systemd[953]: Starting Syncthing - Open Source Continuous File Synchronization...
syncthing[13031]: [LFKUK] INFO: syncthing v0.10.30 (go1.4.2 linux-amd64 default) builduser@jara 2015-03-29 07:46:44 UTC
To make sure that syncthing restarts in case of error, and to make sure
that "Restart=on-failure" actually works, let's remove
"RestartPreventExitStatus=1". Systemd considers this as an error per
default and the restart will be triggered successfully.
2015-03-30 00:51:06 +02:00
Jakob Borg
47e64ae503
Handle conflicts when pulling ( fixes #220 )
2015-03-30 00:01:52 +02:00
Audrius Butkevicius
520bb74626
Merge pull request #1541 from calmh/no-gctweak
...
Remove default GC tweak
2015-03-29 20:01:45 +01:00
Jakob Borg
4beef5cc66
Remove default GC tweak
...
This reverts the GC behavior to the Go default of triggering GC when the
heap has grown 100% compared to after the previous GC. We were setting
this to 25% to keep memory usage at a minimum, but it has a pretty
severe performance cost (especially when syncing large files) as we keep
triggering GC too often.
This documents the tweak in the `-help` message so users can decide for
themselves, and sticks to whatever the Go runtime developers thinks is
best for the default.
2015-03-29 19:08:22 +02:00
Jakob Borg
ba575f55ec
Merge pull request #1530 from Zillode/multi-scan
...
Support multiple scan query strings at the same time
2015-03-29 16:02:45 +02:00
Lode Hoste
2012ce02e8
Support multiple scan query strings at the same time
2015-03-28 22:40:13 +01:00
Jakob Borg
c67e2c2a5a
Merge pull request #1528 from Zillode/change-gui-port
...
Change (default) GUI port from 8080 to 8384 ('ST' in ascii values)
2015-03-27 14:08:03 +01:00
Jakob Borg
4b1ce250c1
Merge pull request #1527 from AudriusButkevicius/protochanges
...
Cherry-picks
2015-03-27 13:44:03 +01:00
Audrius Butkevicius
0401a07507
Change existingBlocks map type
2015-03-26 22:04:34 +00:00
Audrius Butkevicius
c12265499a
Response errors may be protocol defined errors
2015-03-26 22:04:34 +00:00
Audrius Butkevicius
0e341832e0
Handle unknown flags at the model
2015-03-26 22:04:34 +00:00
Audrius Butkevicius
489e2e6ad5
Update Model function signatures
2015-03-26 22:04:33 +00:00
Audrius Butkevicius
941f637bca
Update protocol package
2015-03-26 22:04:28 +00:00
Audrius Butkevicius
fc0cb704f2
Merge pull request #1523 from calmh/vv
...
Implement version vectors
2015-03-26 20:46:02 +00:00
Lode Hoste
960c0cbddf
Change (default) GUI port from 8080 to 8384 ('ST' in ascii values)
2015-03-26 21:36:06 +01:00
Audrius Butkevicius
9f67d86b30
Merge pull request #1526 from calmh/minreconnect
...
Don't allow arbitrarily short reconnection intervals (fixes #1524 )
2015-03-26 13:01:29 +00:00
Jakob Borg
66f7d83baa
Don't allow arbitrarily short reconnection intervals ( fixes #1524 )
2015-03-26 13:57:57 +01:00
Jakob Borg
b44e87c6e8
Silence go vet composites warning
...
https://code.google.com/p/go/issues/detail?id=6820
2015-03-25 23:18:43 +01:00
Jakob Borg
6da7f17c4a
Implement version vectors
2015-03-25 23:10:34 +01:00
Jakob Borg
b4f45d1e79
Update tests for version vectors
2015-03-25 23:10:33 +01:00
Jakob Borg
7d766bf7c7
Update protocol
2015-03-25 22:52:43 +01:00
Jakob Borg
75dc7e6671
Assets
2015-03-25 22:08:16 +01:00
Audrius Butkevicius
3fd887fc57
Merge pull request #1518 from calmh/negcache
...
Add negative cache time to global discovery
2015-03-25 21:06:15 +00:00
Audrius Butkevicius
128447a681
Merge pull request #1520 from calmh/flags
...
Add flags and options for future extensibility (fixes #1027 )
2015-03-25 21:04:47 +00:00
Jakob Borg
23bae932c7
Add flags and options for future extensibility ( fixes #1027 )
2015-03-25 21:21:41 +01:00
Jakob Borg
9701998f82
Add negative cache time to global discovery
...
This reduces the amount of external queries by not repeating a query for
a given address if we have failed within the last three minutes.
2015-03-25 16:55:42 +01:00
Jakob Borg
0289c50ad9
Changelog.go needs a copyright header
2015-03-25 08:55:10 +01:00
Jakob Borg
50490f5b26
Merge pull request #1514 from kamadak/name
...
List the given name first for consistency with others
2015-03-24 21:10:12 +01:00
Jakob Borg
d12f802027
Merge pull request #1513 from kamadak/dir-perm
...
Preserve the permission of a newly created directory
2015-03-24 21:09:48 +01:00
KAMADA Ken'ichi
ac7097b4d0
Preserve the permission of a newly created directory
...
We need an explicit chmod() when creating a new directory.
Otherwise a new directory may be created with a different permission
from the one received from an originating device, because the umask
is applied to the mode given to mkdir().
The incorrect permission is later sent back to the originating device
and the original permission will be lost.
2015-03-23 22:39:16 +09:00
KAMADA Ken'ichi
66087e4332
List the given name first for consistency with others
2015-03-23 21:38:07 +09:00
Jakob Borg
3706f9bcb8
Merge pull request #1510 from AudriusButkevicius/location
...
Configure location provider
2015-03-22 18:38:33 +01:00
Audrius Butkevicius
c505218896
Configure location provider
2015-03-22 15:36:40 +00:00
Jakob Borg
6186a746e0
Rewrite changelog.sh in Go
2015-03-22 16:14:52 +01:00
Jakob Borg
3e98bae5ec
Fix changelog.sh for Linux
2015-03-22 15:45:40 +01:00
Audrius Butkevicius
2e1e8f764e
Fix crash on walker error ( fixes #1507 )
2015-03-22 14:28:14 +00:00
Jakob Borg
a7492f8612
Send correct MIME type for SVG images ( fixes #1506 )
2015-03-22 12:57:16 +01:00
Jakob Borg
123b1f01e4
Translation update
2015-03-22 11:33:10 +01:00
Jakob Borg
865f62e3eb
Merge pull request #1505 from rumpelsepp/systemd
...
systemd: Set -logflags to 0, provide -no-browser flag
2015-03-21 23:28:54 +01:00
Stefan Tatschner
3ea93f52ee
systemd: Set -logflags to 0, provide -no-browser flag
...
Syncthing should not try to start a browser when invoked by systemd.
Furthermore we do not need any timestamps in the journal as systemd
already handles this for us.
2015-03-21 20:55:29 +01:00
Audrius Butkevicius
b53e545ebc
Merge pull request #1502 from calmh/defaults
...
Set defaults correctly for autoNormalize
2015-03-21 14:44:46 +00:00
Jakob Borg
157a4c891c
Update integration test configs to v10
2015-03-21 15:40:00 +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
fc483cdfc6
Assets
2015-03-20 09:35:02 +01:00
Jakob Borg
9033838cf2
Merge pull request #1492 from alex2108/fix-gui
...
use lowerCamelCase for file versioning display
2015-03-20 09:34:48 +01:00
Jakob Borg
8e5d2d5905
Merge pull request #1491 from alex2108/master
...
use Lstat instead of Stat to prevent errors with symlinks
2015-03-20 09:34:10 +01:00
Alexander Graf
18aa66dabb
use lowerCamelCase for file versioning display
2015-03-19 18:16:48 +01:00
Alexander Graf
a2f7b78453
use Lstat instead of Stat to prevent errors with symlinks
2015-03-19 17:36:15 +01:00
Jakob Borg
5c026cbe1d
Merge pull request #1490 from syncthing/unspecified
...
Skip unspecified IPs
2015-03-19 14:02:47 +01:00
Audrius Butkevicius
dc51476897
Skip unspecified IPs
2015-03-19 12:44:38 +00:00
Jakob Borg
39eaa577e0
Merge pull request #1489 from syncthing/lans
...
Print LANs on startup
2015-03-19 13:09:59 +01:00
Jakob Borg
1f006481ee
Merge pull request #1484 from alex2108/master
...
Add external versioner (ref #573 )
2015-03-19 13:08:54 +01:00
Audrius Butkevicius
60faabcbe2
Print LANs on startup
2015-03-19 11:07:20 +00:00
Alexander Graf
d3f1eaf1a3
Add external versioner (ref #573 )
2015-03-19 11:31:21 +01:00
Audrius Butkevicius
f568e76fd4
Merge pull request #1488 from calmh/utf8
...
Automatically fix file name normalization errors (fixes #430 )
2015-03-19 08:33:08 +00:00
Jakob Borg
e947223aaa
Decide once and for all to return filepath.SkipDir or nil
2015-03-19 07:46:13 +01:00
Jakob Borg
8311162be3
Automatically fix file name normalization errors ( fixes #430 )
2015-03-19 00:21:48 +01:00
Jakob Borg
75523556e8
Use SVG format logos
2015-03-18 12:51:23 +01:00
Audrius Butkevicius
c82b5d4982
Merge pull request #1474 from calmh/refactor-states
...
Refactor state handling
2015-03-17 19:09:48 +00:00
Jakob Borg
1c3158099c
Rename files to match type names
2015-03-17 19:37:06 +01:00
Jakob Borg
bdbca75dfa
Refactor state tracking (...)
...
Move state tracking into the puller/scanner objects. This is a first
step towards resolving #1391 .
Rename Puller and Scanner to roFolder and rwFolder as they have more
duties than just pulling and scanning, and don't need to be exported.
2015-03-17 19:37:06 +01:00
Audrius Butkevicius
124b189cc0
Rebuild assets
2015-03-17 17:58:19 +00:00
Audrius Butkevicius
de38b46392
Fix build
2015-03-17 17:54:25 +00:00
Jakob Borg
e1975644d6
Add /rest/filestatus
2015-03-17 17:51:50 +00:00
Jakob Borg
d9fd27a9e8
Merge pull request #1421 from syncthing/mpl
...
Relicense to MPLv2
2015-03-17 16:42:33 +01:00
Jakob Borg
32425c5561
MPLv2
2015-03-17 16:02:27 +01:00
Johan Vromans
8d20923881
Suppress 'Last File Received' if a node is folder master ( fixes #1472 )
2015-03-17 08:44:17 +01:00
Jakob Borg
3a35b8b26c
Add sciurius
2015-03-17 08:42:27 +01:00
Jakob Borg
36c93b755a
Merge pull request #1465 from pascalj/lowercase-api
...
Use lowerCamelCase for the JSON API (fixes #1338 )
2015-03-16 21:43:34 +01:00
Jakob Borg
ea8c3debea
Merge pull request #1470 from syncthing/silence
...
Silence warnings (ref #1388 )
2015-03-16 12:01:29 +01:00
Audrius Butkevicius
b2425b2a25
Silence warnings (ref #1388 )
2015-03-16 10:47:59 +00: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
51c932164f
bep/1.0 negotiation can't be a hard error.
2015-03-15 17:49:47 +01:00
Jakob Borg
19e82e93b1
Translation update
2015-03-15 16:42:52 +01:00
Jakob Borg
3f785eaecf
Merge pull request #1466 from kamadak/win-w-bits
...
Do not send group/others-writable bits from Windows.
2015-03-15 16:35:13 +01:00
Jakob Borg
e59c0f38d9
Also build darwin/386
2015-03-15 16:23:45 +01:00
Jakob Borg
64004c6bc0
Alternate email for pascalj
2015-03-15 16:02:34 +01:00
Jakob Borg
422332de7e
Add kamadak
2015-03-15 15:19:17 +01:00
Jakob Borg
5a15ba7451
Add pascalj
2015-03-15 15:17:35 +01:00
Jakob Borg
d3686bb1e2
Add kilburn
2015-03-15 15:17:26 +01:00
KAMADA Ken'ichi
3a6eeef580
Do not send group/others-writable bits from Windows.
...
There is no user/group/others in Windows' read-only attribute,
and all "w" bits are set in os.FileInfo if the file is not read-only.
Do not send these group/others-writable bits to other devices
in order to avoid unexpected world-writable files on other platforms.
2015-03-15 22:14:44 +09:00
Audrius Butkevicius
1dc5c6b8a8
Merge pull request #1457 from calmh/relverv3
...
Guessing version from directory name is not viable in Go (ref #1449 )
2015-03-13 10:42:27 +00:00
Jakob Borg
3532a560d8
Guessing version from directory name is not viable in Go (ref #1449 )
2015-03-13 10:10:13 +01:00
Audrius Butkevicius
d2d894d808
Merge pull request #1451 from calmh/relverv2
...
Get version from RELEASE file if it exists, or guess from directory (fixes #1449 )
2015-03-12 10:38:39 +00:00
Jakob Borg
2aa38bfc4b
Get version from RELEASE file if it exists, or guess from directory ( fixes #1449 )
2015-03-12 11:18:23 +01:00
Jakob Borg
9c3cee9ae4
Translation update
2015-03-11 21:15:55 +01:00
Jakob Borg
fc521b5f9d
Protocol dep update
2015-03-11 21:13:17 +01:00
Audrius Butkevicius
5253368acc
Merge pull request #1448 from calmh/xp
...
Fall back to %AppData% is %LocalAppData% is blank (fixes #1446 )
2015-03-11 20:06:13 +00:00
Jakob Borg
51cfc3d4be
Fall back to %AppData% is %LocalAppData% is blank ( fixes #1446 )
2015-03-11 21:04:10 +01:00
Audrius Butkevicius
80bffd93e7
Merge pull request #1447 from calmh/silencio
...
Don't yell about discovery listening and resolving (ref #1418 )
2015-03-11 20:03:37 +00:00
Jakob Borg
df4f22e899
Don't yell about discovery listening and resolving (ref #1418 )
2015-03-11 20:57:20 +01:00
Audrius Butkevicius
8cc70843a5
Merge pull request #1445 from calmh/compression
...
Compress only metadata by default (fixes #1374 )
2015-03-11 19:35:15 +00:00
Jakob Borg
70c841f23a
Compress only metadata by default ( fixes #1374 )
2015-03-11 19:10:57 +01:00
Jakob Borg
7b22e09805
Merge pull request #1438 from moshen/runit-reparenting
...
Fix syncthing process reparenting with runit
2015-03-10 08:21:41 +01:00
Jakob Borg
c5838c143c
Merge pull request #1425 from AudriusButkevicius/laan
...
Allow not to limit bandwidth in LAN (fixes #1336 )
2015-03-10 08:19:29 +01:00
Colin Kennedy
eaf71db7c9
Fix syncthing process reparenting with runit
...
When you: `sudo sv down /etc/service/syncthing/` the `TERM` signal
isn't propogated or trapped, so syncthing is orphaned and adopted by
init (PID 1).
- Changed call to `chpst` to `exec`
- Moved logging to `log/run` per `runsv` standard
2015-03-10 01:01:52 -05:00
Jakob Borg
b322b527b3
Add SVG versions of logo
2015-03-10 00:02:46 +01:00
Jakob Borg
cc4b231875
Merge pull request #1429 from moshen/runit-fix
...
Use chpst instead of djb name setuidgid
2015-03-09 23:50:08 +01:00
Jakob Borg
05642a3e17
Merge remote-tracking branch 'syncthing/pr/1436'
...
* syncthing/pr/1436:
Remove red if we managed to report to atleast one discovery server (fixes #1427 )
Conflicts:
internal/auto/gui.files.go
2015-03-09 23:47:41 +01:00
Jakob Borg
7dcc6bb579
Add moshen
2015-03-09 23:45:03 +01:00
Audrius Butkevicius
f15c416e59
Remove red if we managed to report to atleast one discovery server ( fixes #1427 )
2015-03-09 21:55:14 +00:00
Audrius Butkevicius
6fa97eeec7
Allow not to limit bandwidth in LAN ( fixes #1336 )
2015-03-09 20:54:33 +00:00
Jakob Borg
03bbf273b3
Update protocol dep
2015-03-09 21:21:50 +01:00
Audrius Butkevicius
1e376cd3a6
Update assets
2015-03-09 12:13:43 +00:00
Audrius Butkevicius
49cf939c04
Add missing translation strings ( fixes #1430 )
2015-03-09 12:02:30 +00:00
Colin Kennedy
338394f8c3
Use chpst instead of djb name setuidgid
...
Some distros (Ubuntu, Debian?) don't link `chpst` to `setuidgid`, as it
could conflict with djb daemontools installation. If daemontools isn't
going to be referenced in the README, then the example runit config
should reference the runit packaged utility.
2015-03-08 18:50:54 -05:00
Audrius Butkevicius
575b62d77b
Merge pull request #1424 from AudriusButkevicius/scanner
...
Make sure we start scanning at an indexed location (fixes #1399 )
2015-03-08 19:46:21 +00:00
Audrius Butkevicius
57fc0eb5b1
Make sure we start scanning at an indexed location ( fixes #1399 )
2015-03-08 19:45:47 +00:00
Jakob Borg
3a19fe3663
Merge pull request #1423 from AudriusButkevicius/warn
...
Silence discovery warnings when v6 not available
2015-03-08 19:50:35 +01:00
Audrius Butkevicius
0c049179b4
Silence discovery warnings when v6 not available ( fixes #1418 )
2015-03-08 16:49:12 +00:00
Jakob Borg
e22c873ec4
Repair integration tests
2015-03-08 08:41:43 +01:00
Jakob Borg
d644ebab09
Translation update
2015-03-08 07:52:52 +01:00
Jakob Borg
2fdc578a88
Update goleveldb ( fixes #1414 )
2015-03-08 07:49:02 +01:00
Jakob Borg
aeb3a3f7b5
Handle crap at the end of commit subjects
2015-03-07 22:50:54 +01:00
Audrius Butkevicius
044b7ce070
Merge pull request #1415 from calmh/announce-v6
...
Add global announce server on IPv6
2015-03-07 21:39:53 +00:00
Jakob Borg
815e538f10
Merge pull request #1401 from Zillode/fix-chmod-android
...
Fix chmod android
2015-03-07 21:42:44 +01:00
Lode Hoste
758233f001
Do not error when chmod failes when permissions are ignored ( fixes #1404 ).
2015-03-07 21:38:16 +01: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
Jakob Borg
29dbfc647d
Add bencurthoys
2015-03-07 14:41:18 +01:00
Jakob Borg
55d9514e83
Merge pull request #1407 from bencurthoys/master
...
Windows Service Setup.exe
2015-03-07 14:38:43 +01:00
Jakob Borg
46bd7956a3
Merge branch 'pr-1410'
...
* pr-1410:
Add test for osutil.InWritableDir
Exit and error if the target is not a directory
2015-03-07 14:35:54 +01:00
Jakob Borg
e1ee394c26
Add test for osutil.InWritableDir
2015-03-07 14:35:29 +01:00
Lode Hoste
19884ade99
Exit and error if the target is not a directory
2015-03-06 22:02:29 +01:00
bencurthoys
f0a88061db
Setup.exe for Windows
...
NSIS script to build setup file to install Syncthing and install as a service.
2015-03-06 15:30:50 +00:00
Audrius Butkevicius
6057138466
Merge pull request #1400 from calmh/negproto
...
Verify negotiated protocol bep/1.0
2015-03-05 15:16:59 +00:00
Jakob Borg
aaaa6556f3
Some commentary on the initial connection checks
2015-03-05 16:09:20 +01:00
Jakob Borg
4745431cda
Verify negotiated protocol bep/1.0
2015-03-05 15:58:16 +01:00
Jakob Borg
0455a948a9
Merge pull request #1337 from AudriusButkevicius/fileslevels
...
Add /rest/tree API call
2015-03-05 15:24:51 +01:00
Audrius Butkevicius
bf3e249237
Add GlobalDirectoryTree benchmarks
2015-03-04 23:39:33 +00:00
Audrius Butkevicius
fb649e9525
Fix benchmarks, cleanup tests
2015-03-04 23:39:32 +00:00
Audrius Butkevicius
9d1e2d9f46
Add /rest/tree API call
2015-03-04 23:39:27 +00:00
Audrius Butkevicius
9876d93b60
Fix tests on Windows while running as a simple user
2015-03-04 22:39:33 +00:00
Jakob Borg
b3dd05580b
Don't follow the prototype chain when looking for a folder name ( fixes #1387 )
2015-03-01 22:10:34 +01:00
Jakob Borg
32847f33fd
Translation update
2015-03-01 21:51:56 +01:00
Jakob Borg
bff9723fe3
Merge branch 'fix-1373'
...
* fix-1373:
fixup alterFiles
Ensure progress when delete-by-rename fails (fixes #1373 )
Handle weird Lstat() returns for disappeared items (ref #1373 )
Alter files into directories and the other way around
2015-03-01 21:51:26 +01:00
Jakob Borg
d114648c16
fixup alterFiles
2015-03-01 21:38:04 +01:00
Jakob Borg
44d0da02d0
Ensure progress when delete-by-rename fails ( fixes #1373 )
2015-03-01 10:55:48 +01:00
Jakob Borg
c25107eff3
Handle weird Lstat() returns for disappeared items (ref #1373 )
2015-03-01 10:55:43 +01:00
Jakob Borg
af5c36d2a8
Merge remote-tracking branch 'syncthing/pr/1373' into fix-1373
...
* syncthing/pr/1373:
Alter files into directories and the other way around
2015-03-01 10:55:34 +01:00
Audrius Butkevicius
0828a67145
Merge pull request #1275 from calmh/kv-cache
...
Namespaced key value store and value cache
2015-02-26 13:51:43 +00:00
Jakob Borg
617fb84983
Also build Solaris, NetBSD by default
2015-02-26 12:21:20 +01:00
Jakob Borg
6f8ac2b61c
Refactor: add and use db.NamespacedKV
2015-02-26 09:56:11 +01:00
Jakob Borg
6f2b4b96cf
Refactor: use leveldb/util.BytesPrefix
2015-02-26 09:56:11 +01:00
Jakob Borg
3cc288a169
Build binary packages for Dragonfly
2015-02-26 08:58:58 +01:00
Jakob Borg
0bbbf3eb3b
Compile on Dragonfly
2015-02-26 08:42:39 +01:00
Jakob Borg
4b1b56fee8
Reduce CPU usage ( fixes #1376 )
2015-02-25 23:30:24 +01:00
Jakob Borg
154fc59e93
Switch back to original kardianos/osext
2015-02-24 20:44:49 +01:00
Lode Hoste
218c4c128c
Alter files into directories and the other way around
2015-02-23 12:12:31 +01:00
Audrius Butkevicius
53f1af0cab
Merge pull request #1375 from calmh/fix-987
...
Attempt recovery of corrupted DB at startup (fixes #987 )
2015-02-23 09:17:29 +00:00
Jakob Borg
f9577a38dc
Attempt recovery of corrupted DB at startup ( fixes #987 )
2015-02-23 08:22:39 +01:00
Jakob Borg
fadc7d9ba5
Merge pull request #1366 from krozycki/master
...
All folder panels collapsed, fixes #1034
2015-02-20 10:18:50 +01:00
Jakob Borg
1e4b2133f6
Also handle ()| in glob patterns ( fixes #1365 )
2015-02-20 10:12:06 +01:00
Karol Różycki
bfefa6d016
All folder panels collapsed, fixes #1034
2015-02-19 15:48:43 +01:00
Jakob Borg
8b66472949
Fix sync benchmark for latest test changes
2015-02-19 13:15:51 +02:00
Jakob Borg
3b3aa94c4e
Refactor out connection related functions to a separate file
2015-02-19 12:05:26 +02:00
Audrius Butkevicius
dc05275670
Merge pull request #1357 from calmh/truncate-v3
...
Simplify FileInfoTruncated
2015-02-19 10:04:53 +00:00
Jakob Borg
7921082ece
Correctly handle ^ and $ in ignore patterns ( fixes #1365 )
2015-02-19 09:10:32 +02:00
Jakob Borg
efd6a29909
Translation update
2015-02-15 16:55:44 +01:00
Jakob Borg
88c44b303d
Simplify FileInfoTruncated
2015-02-15 12:50:03 +01:00
Jakob Borg
e7dbb8ccdc
Fix test for unknown flags
2015-02-15 09:51:39 +01:00
Jakob Borg
fe2a743c8d
Protocol update
2015-02-15 09:41:32 +01:00
Audrius Butkevicius
1f5c124ac4
Merge pull request #1359 from krozycki/master
...
Typo fix. Fixes #1358
2015-02-14 15:17:45 +00:00
Karol Różycki
64a5bc038a
Typo fix. Fixes #1358
2015-02-14 16:10:43 +01:00
Jakob Borg
5d9396334c
Merge pull request #1311 from krozycki/master
...
Button to rescan all folders (fixes #1151 )
2015-02-13 08:36:17 +01:00
Karol Różycki
ec160f1f0a
Button to rescan all folders, fixes #1151
2015-02-12 21:03:35 +01:00
Jakob Borg
bbaeca96eb
Merge pull request #1326 from rumpelsepp/systemd
...
Some systemd tweaks
2015-02-12 16:58:54 +01:00
Jakob Borg
3ab779895f
Add tnn2
2015-02-12 12:14:56 +01:00
Jakob Borg
203c7360e7
Merge remote-tracking branch 'syncthing/pr/1332'
...
* syncthing/pr/1332:
Implement memorySize() for NetBSD
2015-02-12 12:13:35 +01:00
Jakob Borg
a831f174ef
Add marclaporte
2015-02-12 12:08:49 +01:00
Stefan Tatschner
153091f52f
Some systemd tweaks
...
- Removed environment file to keep the service file minimal.
"systemctl edit syncthing.service" does the job if somebody wants
to customize the service.
- Changed "cmdline.target" to "default.target" as "cmdline.target"
does not exist in systemd.special:
http://www.freedesktop.org/software/systemd/man/systemd.special.html
- Added a missing "After=network.target".
- Added a documentation hint, thx @jaystrictor
2015-02-12 09:23:12 +01:00
Jakob Borg
35d3af5039
Use syncthing/build:latest for building
2015-02-11 10:17:15 +01:00
Jakob Borg
57e8cd6eab
Regenerate assets
2015-02-11 09:35:08 +01:00
Jakob Borg
fc123a71af
Merge pull request #1341 from AudriusButkevicius/configtest
...
Fix tests on Windows
2015-02-11 08:13:54 +01:00
Audrius Butkevicius
f14836cf02
Merge pull request #1346 from uok/match-icons
...
Match icons for ignore patterns
2015-02-10 21:42:53 +00:00
Ben Schulz
4178feb65f
Match icons for ignore patterns
2015-02-10 21:38:56 +01:00
Audrius Butkevicius
2edaf22590
Merge pull request #1345 from calmh/smaller-batches
...
Reduce memory usage by writing smaller batches
2015-02-10 19:53:53 +00:00
Audrius Butkevicius
acd3dab957
Fix tests on Windows
2015-02-10 19:52:14 +00:00
Jakob Borg
6bbd74adcd
Merge pull request #1321 from AudriusButkevicius/bitcheck
...
Refuse files with unknown bits set (fixes #1276 )
2015-02-10 20:27:14 +01:00
Jakob Borg
9bb928bb38
Reduce memory usage by writing smaller batches
2015-02-10 20:24:25 +01:00
Jakob Borg
c87a6c5969
Use single filename for heap profiles
2015-02-10 19:50:27 +01:00
Jakob Borg
c482c13dcb
Configurable heap profiling rate
2015-02-10 19:45:32 +01:00
Audrius Butkevicius
b87ed97402
Refuse files with unknown bits set ( fixes #1276 )
2015-02-09 23:32:33 +00:00
Jakob Borg
ee000dabfd
Translation update
2015-02-09 23:03:31 +01:00
Jakob Borg
a73a011ee0
Merge pull request #1323 from AudriusButkevicius/finished
...
Add ItemFinished event (fixes #1258 )
2015-02-09 15:24:10 +01:00
Jakob Borg
2a8e5e2c14
Merge pull request #1304 from AudriusButkevicius/pprof
...
Add STBLOCKPROFILE
2015-02-09 15:18:42 +01:00
Jakob Borg
5d9a41f712
Merge pull request #1319 from AudriusButkevicius/renames
...
Fix issues with renames
2015-02-09 15:14:47 +01:00
Jakob Borg
ebcf4b60f6
Merge pull request #1320 from AudriusButkevicius/cache
...
Remove fd cache (ref #1308 )
2015-02-09 15:10:42 +01:00
Jakob Borg
f976b78917
Merge pull request #1322 from AudriusButkevicius/browser
...
Opening a browser happens in it's own routine (fixes #1273 )
2015-02-09 15:06:56 +01:00
Tobias Nygren
078790bd0f
Implement memorySize() for NetBSD
2015-02-05 20:31:25 +01:00
Audrius Butkevicius
b88c5a89a8
Add rumpelsepp
2015-02-03 00:15:57 +00:00
Audrius Butkevicius
57028e3acc
Merge pull request #1325 from rumpelsepp/master
...
Added exit code definitions to systemd service files (fixes #1324 )
2015-02-02 08:04:27 +00:00
Stefan Tatschner
c586a17926
Added exit code definitions to systemd service files ( fixes #1324 )
2015-02-01 23:55:54 +01:00
Audrius Butkevicius
9d078bac54
Add STBLOCKPROFILE
2015-02-01 19:00:24 +00:00
Audrius Butkevicius
38eaefcabd
Add ItemFinished event ( fixes #1258 )
2015-02-01 18:59:29 +00:00
Audrius Butkevicius
ba8cadc2f1
Opening a browser happens in it's own routine ( fixes #1273 )
2015-02-01 18:59:28 +00:00
Audrius Butkevicius
380d5dfa6d
Remove fd cache (ref #1308 )
2015-02-01 18:59:24 +00:00
Audrius Butkevicius
32af626630
Fix issues with renames ( fixes #1302 )
...
Extra comments explain current issues.
2015-02-01 18:58:27 +00:00
Audrius Butkevicius
8358fedaf4
Fix failing integration tests
2015-02-01 18:57:46 +00:00
Audrius Butkevicius
ec82b0c648
Merge pull request #1309 from uok/fix-override
...
Fix button "override changes" line break (fixes #1144 )
2015-01-29 10:40:14 +00:00
Ben Schulz
81a87f873f
Fix button "override changes" line break
2015-01-29 11:28:59 +01:00
Audrius Butkevicius
d91b8ac444
Merge pull request #1299 from krozycki/master
...
Show information in folder panel if ignore patterns are active fixes #1279
2015-01-27 19:54:09 +00:00
Karol Różycki
952e51ac75
Show information in folder panel if ignore patterns are active, fixes #1279
2015-01-27 15:27:44 +01:00
Audrius Butkevicius
11267cd44f
Merge pull request #1298 from uok/link-usage
...
Make links to usage report clickable
2015-01-26 20:59:20 +00:00
Ben Schulz
0e59e0aebd
Make links to usage report clickable
2015-01-26 17:20:55 +01:00
Audrius Butkevicius
ae1d3b3dd3
Merge pull request #1293 from uok/move-panels
...
Move panels to top of page (ref #1270 )
2015-01-25 09:53:03 +00:00
Ben Schulz
1a91dbee5f
Move panels to top of page
...
- Move panels (new device, new folder, notice) to top of page
- Add icons to panel headers (restart, new folder, notice)
2015-01-23 16:28:30 +01: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
9c1a67cf47
Add krozycki
2015-01-22 15:35:58 -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
6d942635af
Merge pull request #1269 from uok/master
...
Small improvements for job queue
2015-01-22 22:58:33 +00:00
Audrius Butkevicius
cda2c5d459
Fix integration tests
2015-01-22 22:42:39 +00:00
Jakob Borg
969bb5a742
Fix protocol dependency hash
2015-01-22 13:29:54 -08:00
Jakob Borg
4bccc611c3
Update dependencies
2015-01-22 12:53:10 -08:00
Jakob Borg
d18c4ece0c
Merge pull request #1282 from syncthing/integ
...
Improvements to integration tests
2015-01-22 08:22:46 -08:00
Audrius Butkevicius
25c664b13a
Improvements to integration tests
2015-01-22 00:18:08 +00:00
Audrius Butkevicius
7c680c955f
Merge pull request #1274 from calmh/minor-tweaks
...
Integer type policy
2015-01-19 20:40:36 +00:00
Ben Schulz
f037d1b6ca
improve job queue
2015-01-19 20:49:19 +01:00
Jakob Borg
2c8b627008
Integer type policy
...
Integers are for numbers, enabling arithmetic like subtractions and for
loops without getting shot in the foot. Unsigneds are for bitfields.
- "int" for numbers that will always be laughably smaller than four
billion, and where we don't care about the serialization format.
- "int32" for numbers that will always be laughably smaller than four
billion, and will be serialized to four bytes.
- "int64" for numbers that may approach four billion or will be
serialized to eight bytes.
- "uint32" and "uint64" for bitfields, depending on required number of
bits and serialization format. Likewise "uint8" and "uint16", although
rare in this project since they don't exist in XDR.
- "int8", "int16" and plain "uint" are almost never useful.
2015-01-19 10:34:36 -08:00
Jakob Borg
221e3eddd5
Remove leveldb panic workaround
...
Haven't seen this triggered for a long time...
2015-01-19 10:23:00 -08:00
Jakob Borg
74c39c677b
Actually remove test file after test run
2015-01-19 10:23:00 -08:00
Jakob Borg
e6558832bf
check-contrib
2015-01-19 10:18:28 -08:00
Jakob Borg
9c50625c55
Merge pull request #1267 from rumpelsepp/doc
...
Fix documentation link
2015-01-19 10:16:43 -08:00
Jakob Borg
d372435e92
Merge pull request #1264 from AudriusButkevicius/tempclean
...
Put temporary files in the OS temp directory (fixes #1239 )
2015-01-19 10:12:32 -08:00
Audrius Butkevicius
a53facf709
Cleanup temporary files ( fixes #1239 )
2015-01-18 20:34:47 +00:00
Stefan Tatschner
ffc39dfbcb
Fix documentation link
2015-01-18 18:17:55 +01:00
Audrius Butkevicius
cba38b15a9
Check for deleted files
2015-01-18 13:44:10 +00:00
Audrius Butkevicius
5ac7564bfe
Merge pull request #1259 from calmh/check-folder-shared
...
Verify folder<->device permission in Request
2015-01-16 12:07:37 +00:00
Jakob Borg
53cd289b90
Verify folder<->device permission in Request
...
Requests from valid devices for valid folders should be rejected if the
folder is not shared with that device.
2015-01-16 12:50:51 +01:00
Jakob Borg
8dc13bcf1a
go1.4.1
2015-01-16 10:18:54 +01:00
Audrius Butkevicius
261825a89b
Merge pull request #1256 from calmh/fix-963
...
Adds File Versioning to folder info (fixes #963 )
2015-01-15 17:25:28 +00:00
Jakob Borg
f47a5a309d
Add File Versioning to folder info ( fixes #963 )
...
Could potentially use shorter value strings ("Simple" vs "Simple File
Versioning"), but this avoid introducing unnecessary strings to
translate - can always be changed in the future.
2015-01-15 15:50:49 +01:00
Jakob Borg
a40f2b9fa0
Merge pull request #1237 from syncthing/renamer
...
Efficient renames (fixes #1217 )
2015-01-14 00:28:58 +01:00
Jakob Borg
cfcd3892f7
More concise changelog
2015-01-14 00:27:29 +01:00
Jakob Borg
703987f61c
Changelog should read in chronological order from the top
2015-01-13 23:11:46 +01:00
Audrius Butkevicius
e50a8917ec
Add renames to integration tests
2015-01-13 22:07:14 +00:00
Audrius Butkevicius
74d7c8e625
Efficient renames ( fixes #1217 )
2015-01-13 22:06:13 +00:00
Jakob Borg
a5d1383fe8
Translation update
2015-01-13 17:27:47 +01:00
Jakob Borg
bf2bcf515c
Merge pull request #1247 from Rewt0r/master
...
Change Bottom Bar links to a new tab/window
2015-01-13 17:26:48 +01:00
Jakob Borg
4c5e94c64b
Add Rewt0r
2015-01-13 17:25:51 +01:00
Jakob Borg
b4043216b6
Use bytes.Reader instead of bytes.Buffer for compiled in assets
2015-01-13 16:05:03 +01:00
Michael Jephcote
4371014667
Change Bottom Bar links to a new tab/window
...
Was getting kinda annoying clicking links in the footer and it navigating away from the page, I've added "_blank" as the target to those links.
2015-01-13 14:24:08 +00:00
Jakob Borg
fbb3222d29
Update dependencies
2015-01-13 13:55:35 +01:00
Audrius Butkevicius
4ca3889bed
Merge pull request #1246 from syncthing/break-out-proto
...
Refactor out protocol and luhn (protocol dependency) packages
2015-01-13 12:37:46 +00:00
Jakob Borg
eef1aebe8c
Refactor out protocol and luhn (protocol dependency) packages
2015-01-13 13:22:56 +01:00
Audrius Butkevicius
48382c4b59
Merge pull request #1245 from syncthing/indexclean-v2
...
Also filter out some other obviously invalid filenames (ref #1243 )
2015-01-13 11:35:04 +00:00
Jakob Borg
9a45f0b31c
Also filter out some other obviously invalid filenames (ref #1243 )
2015-01-13 12:28:35 +01:00
Audrius Butkevicius
25c26e2f81
Merge pull request #1244 from syncthing/indexclean
...
Remove nil filenames from database and indexes (fixes #1243 )
2015-01-13 08:36:49 +00:00
Jakob Borg
e4837f14b1
Remove nil filenames from database and indexes ( fixes #1243 )
2015-01-13 09:20:14 +01:00
Audrius Butkevicius
ce86131d12
Merge pull request #1242 from syncthing/rename-set
...
Renaming of package internal/files and type files.Set
2015-01-12 21:10:27 +00:00
Jakob Borg
e6c9baf6ef
Rename db.Set to db.FileSet
2015-01-12 20:57:39 +01:00
Jakob Borg
8d6db7be31
Rename package internal/files to internal/db
2015-01-12 20:57:22 +01:00
Audrius Butkevicius
a2548b1fd0
Merge pull request #1241 from syncthing/fix-1143
...
Don't start a new refresh() loop on each UIOnline (fixes #1143 )
2015-01-12 11:29:53 +00:00
Jakob Borg
e4658bb99d
Don't start a new refresh() loop on each UIOnline ( fixes #1143 )
...
Separate out the stuff that should run on each UIOnline from the stuff
that should only run on init.
2015-01-12 12:15:58 +01:00
Jakob Borg
bf2e4a561a
Changelog prints output on two lines per commit
2015-01-11 21:58:19 +01:00
Jakob Borg
1816320124
One more translation update
2015-01-11 21:19:42 +01:00
Jakob Borg
f09bfe293d
Translation update
2015-01-11 20:31:30 +01:00
Jakob Borg
7b4e8fda4b
Modal dialog titles must be manually translated
2015-01-11 14:48:40 +01:00
Audrius Butkevicius
c95812353f
Merge pull request #1236 from syncthing/flag-safe
...
Reject Index and Request messages with unexpected flags
2015-01-11 12:40:40 +00:00
Jakob Borg
b622ec7a28
Reject Index and Request messages with unexpected flags
2015-01-11 13:29:01 +01:00
Jakob Borg
d8fbe7b77f
Refactor readerLoop to switch on message type directly
2015-01-11 13:24:56 +01:00
Jakob Borg
dbcac37d91
Can run integration tests between different versions
2015-01-11 09:55:44 +01:00
Jakob Borg
d4d391b34f
Change integration test "log" field to "instance"
2015-01-11 09:55:17 +01:00
Jakob Borg
571cf7d490
Merge pull request #1182 from AudriusButkevicius/autoauto
...
Connecting to a newer node triggers autoupgrade check (fixes #1177 )
2015-01-11 09:16:12 +01:00
Jakob Borg
e18b19ca5a
Translation base & assets update
2015-01-10 18:15:08 +01:00
Jakob Borg
48651bf482
Merge pull request #1234 from uok/master
...
Small improvements for footer navbar (ref #1154 )
2015-01-10 18:14:47 +01:00
Audrius Butkevicius
5034a41c08
Connecting to a newer node triggers autoupgrade check ( fixes #1177 )
2015-01-10 17:05:19 +00:00
Ben Schulz
6795173e77
Small improvements for footer navbar
2015-01-10 18:02:27 +01:00
Jakob Borg
219ef996f5
Merge pull request #1226 from syncthing/deregister-fix
...
All roads lead to Finisher (fixes #1201 )
2015-01-10 17:53:01 +01:00
Jakob Borg
00af1db275
Translation base & assets update
2015-01-10 17:51:18 +01:00
Jakob Borg
5935ea896f
Merge pull request #1232 from facastagnini/master
...
"Quick guide to supported patterns" link updated
2015-01-10 17:50:23 +01:00
Jakob Borg
459983c05e
Add facastagnini
2015-01-10 17:47:41 +01:00
Jakob Borg
ebf4f029ac
Merge pull request #1229 from AudriusButkevicius/cfg-hasher
...
Make parallel hasher configurable, remove finisher setting (fixes #1199 )
2015-01-10 17:45:15 +01:00
Jakob Borg
0eec945df1
Merge pull request #1230 from AudriusButkevicius/separator
...
Expose and use path separator (fixes #1163 )
2015-01-10 17:43:41 +01:00
Jakob Borg
8824b9d68f
Merge pull request #1231 from AudriusButkevicius/text
...
Rename "Last File Synced" to "Last File Received" (fixes #1145 )
2015-01-10 17:43:06 +01:00
Jakob Borg
d2862814c5
Merge pull request #1233 from AudriusButkevicius/disco-log
...
Make discovery logging a bit better (fixes #1188 )
2015-01-10 17:42:13 +01:00
Audrius Butkevicius
25fece2d50
Make discovery logging a bit better ( fixes #1188 )
2015-01-10 16:15:16 +00:00
Federico Castagnini
beb4239d1b
The "Quick guide to supported patterns" link now points to the wiki article and will open in a new page/tab to avoid disrupting the settings page.
2015-01-10 10:42:45 -05:00
Audrius Butkevicius
2b78e37d92
Rename "Last File Synced" to "Last File Received" ( fixes #1145 )
...
IMHO this is more clear
2015-01-10 14:55:08 +00:00
Audrius Butkevicius
a2070d9ce4
Expose and use path separator ( fixes #1163 )
2015-01-10 14:51:29 +00:00
Audrius Butkevicius
5827a686b8
Make parallel hasher configurable, remove finisher setting ( fixes #1199 )
2015-01-10 14:32:20 +00:00
Audrius Butkevicius
dec479532e
All roads lead to Finisher ( fixes #1201 )
2015-01-10 13:45:48 +00:00
Jakob Borg
5d173168cc
Merge pull request #1214 from bigbear2nd/master
...
Added colored status indicator for narrow screens. (Fixes #1084 )
2015-01-09 16:23:24 +01:00
bigbear2nd
2aac1cde04
Added colored status indicator for narrow screens. ( Fixes #1084 )
2015-01-09 20:54:00 +09:00
Audrius Butkevicius
3676f0268f
Merge pull request #1220 from syncthing/arm-build
...
Only build ARMv5 (fixes #1218 )
2015-01-09 10:25:50 +00:00
Audrius Butkevicius
a7b75a54bb
Merge pull request #1219 from syncthing/refactor-truncated
...
Refactor stuff around FileInfoTruncated
2015-01-09 10:12:48 +00:00
Jakob Borg
961a87b743
Only build ARMv5 ( fixes #1218 )
...
With this change, the build system only builds one ARM variant - ARMv5.
We call the build architecture simply "arm", as this is what
runtime.GOARCH says.
2015-01-09 10:45:15 +01:00
Jakob Borg
e03d59e381
The protocol specs moved again
2015-01-09 08:54:19 +01:00
Jakob Borg
d46ce5003c
Implement GetGlobalTruncated
2015-01-09 08:41:02 +01:00
Jakob Borg
4c4143d9be
Move FileInfoTruncated to files package
...
This is where it's used, and it clarifies that it's never used over the
wire.
2015-01-09 08:28:24 +01:00
Jakob Borg
8bc7d259f4
Move FileIntf to files package, expose Iterator type
...
This is where FileIntf is used, so it should be defined here (it's not
a protocol thing, really).
2015-01-09 08:18:42 +01:00
Jakob Borg
2d047fa428
Remove unused types
2015-01-09 08:14:02 +01:00
Audrius Butkevicius
735d420d40
Merge pull request #1215 from syncthing/new-proto-bc
...
Add some new protocol fields
2015-01-08 21:54:01 +00:00
Jakob Borg
bc9fc1aece
Actually close connection based on unknown protocol version
2015-01-08 22:11:26 +01:00
Jakob Borg
b88e3c99c1
Add fields for future extensibility
...
This adds a number of fields to the end of existing messages. This is a
backwards compatible change.
2015-01-08 22:11:26 +01:00
Jakob Borg
ce3e6e084c
Ensure backwards compatibility before modifying protocol
...
This change makes sure that things work smoothly when "we" are a newer
version than our peer and have more fields in our messages than they do.
Missing fields will be left at zero/nil.
(The other side will ignore our extra fields, for the same effect.)
2015-01-08 14:25:11 +01:00
Jakob Borg
2a58ca7697
Merge pull request #1212 from cqcallaw/upnp
...
Properly handle absolute URLs when parsing UPnP service control URLs
2015-01-08 08:50:30 +01:00
Caleb Callaway
af96f7a0cd
Properly handle absolute URLs when parsing UPnP service control URLs
...
Fixes #1187
2015-01-07 21:23:20 -08:00
Jakob Borg
7d39d1a925
Make it possible to include extra external files into binary packages
2015-01-07 16:15:50 +01:00
Jakob Borg
1b6c700e18
Merge remote-tracking branch 'origin/pr/1198'
...
* origin/pr/1198:
Fix rendering issue on firefox when zoomed (fixes #1197 )
2015-01-07 14:24:49 +01:00
Tim Abell
6304bd60ee
Fix rendering issue on firefox when zoomed ( fixes #1197 )
...
issue #1197
2015-01-07 09:27:17 +00:00
Jakob Borg
4ad4417740
Add timabell
2015-01-07 08:36:54 +01:00
Jakob Borg
6a4c259a73
Merge pull request #1196 from AudriusButkevicius/finddevice
...
Add device finder utility
2015-01-07 08:31:54 +01:00
Audrius Butkevicius
12eabb220d
Add device finder utility
2015-01-06 23:12:12 +00:00
Jakob Borg
d68ce2d68c
Translation update
2015-01-06 23:12:40 +01:00
Jakob Borg
8e02c040eb
Update key ID for signed releases in README ( fixes #1180 )
2015-01-06 23:06:16 +01:00
Jakob Borg
a7a317c284
The predictableRandom test can only run once successfully ( fixes #1184 )
2015-01-06 23:03:35 +01:00
Audrius Butkevicius
9d6ef24660
Merge pull request #1194 from syncthing/fix-1186
...
Use comma-ok idiom to signal files missing in database (fixes #1186 )
2015-01-06 21:54:13 +00:00
Jakob Borg
14014408fb
Merge pull request #1181 from kozec/stnoupgrade-disable-button
...
Return HTTP/500 from /rest/upgrade if STNOUPGRADE is defined
2015-01-06 22:54:08 +01:00
kozec
b933e9666a
/rest/upgrade returns HTTP/500 if STNOUPGRADE is defined
2015-01-06 22:50:56 +01:00
Jakob Borg
7aff59bcce
Add brendanlong
2015-01-06 22:48:01 +01:00
Jakob Borg
8e2760cb3d
Merge pull request #1183 from brendanlong/fix-tests-on-go-1.3
...
Don't use Go 1.4 range syntax in queue_test.go
2015-01-06 22:47:23 +01:00
Brendan Long
7a9fc6dbd3
Don't use Go 1.4 range syntax in queue_test.go, since the listed requirement is Go 1.3.
2015-01-06 15:45:58 -06:00
Jakob Borg
75d0dc251e
Use comma-ok idiom to signal files missing in database ( fixes #1186 )
...
Prevents us from doing stupid things to the folder root (empty file
path) when nodes disconnect...
2015-01-06 22:40:20 +01:00
Jakob Borg
9a50c4d93f
Don't unnecessarily chmod directories when renaming
2015-01-06 22:10:44 +01:00
Audrius Butkevicius
010d5a0192
Merge pull request #1179 from syncthing/httperror
...
Handle HTTP errors on non-event requests (fixes #1120 )
2015-01-05 17:45:18 +00:00
Jakob Borg
cf1594829a
Handle HTTP errors on non-event requests ( fixes #1120 , fixes #807 )
2015-01-05 16:03:00 +01:00
Jakob Borg
854d720ce0
Merge pr/988
...
* commit 'b9817ac':
add README
on-failure instead of always as we cannot otherwise kill the service
systemd units for system/user
2015-01-05 15:14:33 +01:00
Jakob Borg
2f43c74ece
Add peterhoeg
2015-01-05 15:14:22 +01:00
Peter Hoeg
b9817ac6b4
add README
2015-01-05 18:29:13 +08:00
Peter Hoeg
1e8da0d494
on-failure instead of always as we cannot otherwise kill the service
2015-01-05 18:29:13 +08:00
Peter Hoeg
c47be7b415
systemd units for system/user
2015-01-05 18:29:13 +08:00
Jakob Borg
d3f6cb860f
Translation update
2015-01-04 20:18:14 +01:00
Audrius Butkevicius
83d25f09a3
Fix broken upgrades ( fixes #1175 )
2015-01-04 18:19:00 +00:00
Audrius Butkevicius
ed747a2d3d
Add identicons to device prompts
2015-01-03 23:34:15 +00:00
Jakob Borg
3a8ee4ce2e
Merge pull request #1169 from syncthing/pullhash
...
Hash blocks after receipt, try multiple peers (fixes #1166 )
2015-01-04 00:24:07 +01:00
Audrius Butkevicius
5ac01a3af4
Hash blocks after receipt, try multiple peers ( fixes #1166 )
2015-01-03 23:21:57 +00:00
Jakob Borg
46343f2f9e
Merge pull request #1174 from AudriusButkevicius/intro
...
New device, folder prompts (fixes #120 , fixes #330 )
2015-01-04 00:16:10 +01:00
Audrius Butkevicius
56ccb5b2ab
New device, folder prompts ( fixes #120 , fixes #330 )
2015-01-03 23:06:41 +00:00
Jakob Borg
9a946eed80
Discourse -> Wiki for docs
2015-01-03 16:44:13 +01:00
Audrius Butkevicius
9c6cb0f630
Merge pull request #1172 from syncthing/random-scanintv
...
Add a random perturbation to the scan interval (fixes #1150 )
2015-01-02 15:25:22 +00:00
Audrius Butkevicius
1b066d6965
Merge pull request #1171 from syncthing/jobqueue
...
Add job queue (replaces #1060 )
2015-01-02 15:18:50 +00:00
Jakob Borg
54c3caad53
Add a random perturbation to the scan interval ( fixes #1150 )
2015-01-02 16:16:16 +01:00
Jakob Borg
9b5e8aaf83
Repair buggy BringToFront
2015-01-02 15:54:04 +01:00
Jakob Borg
5143c09bcf
Refactor / cleanup
2015-01-02 15:54:04 +01:00
Jakob Borg
2496185629
Only buffer file names, not full &FileInfo
2015-01-02 15:33:39 +01:00
Jakob Borg
34deb82aea
Use slice instead of list, no map
...
benchmark old ns/op new ns/op delta
BenchmarkJobQueueBump 345 154498 +44682.03%
BenchmarkJobQueuePushPopDone10k 9437373 3258204 -65.48%
benchmark old allocs new allocs delta
BenchmarkJobQueueBump 0 0 +0.00%
BenchmarkJobQueuePushPopDone10k 10565 22 -99.79%
benchmark old bytes new bytes delta
BenchmarkJobQueueBump 0 0 +0.00%
BenchmarkJobQueuePushPopDone10k 1452498 385869 -73.43%
2015-01-02 15:33:39 +01:00
Jakob Borg
8f72ae9da2
Add some benchmarks
2015-01-02 15:33:39 +01:00
Audrius Butkevicius
b753f01ac1
Add tests
2015-01-02 15:33:39 +01:00
Audrius Butkevicius
fd0a147ae6
Add job queue ( fixes #629 )
...
Request to terminate currently ongoing downloads and jump to the bumped file
incoming in 3, 2, 1.
Also, has a slightly strange effect where we pop a job off the queue, but
the copyChannel is still busy and blocks, though it gets moved to the
progress slice in the jobqueue, and looks like it's in progress which it isn't
as it's waiting to be picked up from the copyChan.
As a result, the progress emitter doesn't register on the task, and hence the file
doesn't have a progress bar, but cannot be replaced by a bump.
I guess I can fix progress bar issue by moving the progressEmiter.Register just
before passing the file to the copyChan, but then we are back to the initial
problem of a file with a progress bar, but no progress happening as it's stuck
on write to copyChan
I checked if there is a way to check for channel writeability (before popping)
but got struck by lightning just for bringing the idea up in #go-nuts.
My ideal scenario would be to check if copyChan is writeable, pop job from the
queue and shove it down handleFile. This way jobs would stay in the queue while
they cannot be handled, meaning that the `Bump` could bring your file up higher.
2015-01-02 15:33:39 +01:00
Audrius Butkevicius
e94bd90782
Merge pull request #1164 from syncthing/ro-tempfiles
...
Handle read only temp files after crash/restart
2014-12-31 12:08:37 +00:00
Jakob Borg
ce4b897d0e
Handle read only temp files after crash/restart
2014-12-31 13:06:28 +01:00
Jakob Borg
a7694029e2
Make sure to stop processes when exiting integration test
2014-12-31 13:04:06 +01:00
Jakob Borg
1e9110b763
Add debugging utility for manual directory comparison
2014-12-31 13:04:06 +01:00
Jakob Borg
6f3fbbbe49
Improve error checking in integration tests
2014-12-31 13:04:04 +01:00
Jakob Borg
d346ec7bfe
Merge pull request #1160 from AudriusButkevicius/upnp
...
Use unique names for UPnP mappings (fixes #1100 , fixes #1128 )
2014-12-31 12:56:47 +01:00
Jakob Borg
26a3613397
Merge pull request #1162 from AudriusButkevicius/silence
...
Silence versioner warnings for unmatched files (fixes #1117 )
2014-12-31 12:54:23 +01:00
Jakob Borg
e6318bddf3
Merge pull request #1161 from AudriusButkevicius/upnp2
...
Use ListenMulticastUDP for multicast sockets (potentially fixes #1113 )
2014-12-31 12:53:56 +01:00
Audrius Butkevicius
514bb0beda
Silence versioner warnings for unmatched files ( fixes #1117 )
2014-12-30 22:43:07 +00:00
Audrius Butkevicius
41b1bd2f05
Use ListenMulticastUDP for multicast sockets (potentially fixes #1113 )
2014-12-30 22:27:47 +00:00
Audrius Butkevicius
bf40dadf04
Use unique names for UPnP mappings ( fixes #1100 , fixes #1128 )
2014-12-30 21:47:12 +00:00
Jakob Borg
cb1678ebec
Clean up folders after -reset test
2014-12-30 11:02:49 +01:00
Jakob Borg
0c1ac568b5
Fix tests with newer goleveldb
2014-12-29 14:50:24 +01:00
Audrius Butkevicius
0f9550c747
Merge pull request #1149 from syncthing/fix-1058
...
Also check file size when determining if file is unchanged (fixes #1058 )
2014-12-29 13:29:00 +00:00
Audrius Butkevicius
b13ae17a47
Merge pull request #1147 from syncthing/fix-1118
...
Generate a random API key on initial setup (fixes #1118 )
2014-12-29 13:28:38 +00:00
Jakob Borg
f762a12d18
Also check file size when determining if file is unchanged ( fixes #1058 )
2014-12-29 14:24:12 +01: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
Audrius Butkevicius
229b218203
Merge pull request #1146 from syncthing/fix-1047
...
Make auto upgrade careful about breaking changes (fixes #1047 )
2014-12-29 11:41:10 +00:00
Jakob Borg
4b668aaca8
Make auto upgrade careful about breaking changes ( fixes #1047 )
2014-12-29 12:35:06 +01:00
Jakob Borg
8c7f1421c6
Update goleveldb
2014-12-29 12:23:07 +01:00
Jakob Borg
d90b2c1d52
Translation update
2014-12-29 09:42:17 +01:00
Jakob Borg
22f39be197
Exit before attempting to use nil variables on scanning nonexistent folder
2014-12-23 14:14:05 +01:00
Audrius Butkevicius
2fa45436c2
Merge pull request #1140 from syncthing/fix-1133
...
Refactor ignore handling to fix #1133
2014-12-23 13:01:56 +02:00
Jakob Borg
cadbb6bbce
Move ignore handling from index recv to puller ( fixes #1133 )
...
With this change we accept updates for ignored files from other devices,
and check the ignore patterns at pull time. When we detect that the
ignore patterns have changed we do a full check of files that we might
now need to pull.
2014-12-23 10:46:02 +01:00
Jakob Borg
2c89f04be7
Refactor ignore handling (...)
...
This uses persistent Matcher objects that can reload their content and
provide a hash string that can be used to check if it's changed. The
cache is local to each Matcher object instead of kept globally.
2014-12-23 10:46:02 +01:00
Jakob Borg
597011e3a9
Disregard change to removed doc
2014-12-23 10:23:36 +01:00
Audrius Butkevicius
0d433b58ba
Merge pull request #1139 from syncthing/check-upgrade-md5
...
Check upgrade md5
2014-12-22 15:33:19 +02:00
Jakob Borg
cde8ef56e5
Implement manual -upgrade-to option
2014-12-22 12:18:10 +01:00
Jakob Borg
110816c7aa
Consolidate Windows/Unix upgrading and check MD5 ( fixes #1138 )
2014-12-22 12:13:31 +01:00
Jakob Borg
fbb1e168f7
Include MD5 sums in archives
2014-12-22 12:12:34 +01:00
Jakob Borg
23085eb5ae
Must verify success of from-network copy during upgrade (ref #1138 )
2014-12-22 10:42:47 +01:00
Jakob Borg
7344a6205f
Move protocol specs to a separate repo
2014-12-22 09:55:58 +01:00
marco-m
4b76ec40c0
Update DISCOVERY.md
...
Correct DISCOVERY.md with the changes proposed in the forum (https://discourse.syncthing.net/t/questions-about-the-discovery-protocol/1586 )
2014-12-21 22:47:47 +01:00
Audrius Butkevicius
90101d0269
Merge pull request #1134 from syncthing/fix-816
...
Don't ignore ignored items forever (fixes #816 )
2014-12-21 16:18:24 +02:00
Jakob Borg
7ac84c0660
Don't ignore ignored items forever ( fixes #816 )
2014-12-21 13:55:50 +01:00
Jakob Borg
2090530bbb
Improve and clean up integration tests, benchmark.
2014-12-19 12:43:48 +01:00
Jakob Borg
b6cb7ddbaf
There is no Legend string right now
2014-12-19 10:18:51 +01:00
Jakob Borg
3422d9335c
... and in NICKS (I should go to bed)
2014-12-18 22:55:04 +01:00
Jakob Borg
e91f9a944e
Revert "Update bootstrap" ( fixes #1121 )
...
This reverts commit 51cdd38c3e .
Conflicts:
internal/auto/gui.files.go
2014-12-18 22:32:03 +01:00
Jakob Borg
e7ddc7cf0f
... also in index.html
2014-12-18 22:02:45 +01:00
Jakob Borg
40dfa48756
Rebuild assets
2014-12-18 22:01:38 +01:00
Jakob Borg
579f92cf5f
Merge branch 'pr-1115'
...
* pr-1115:
Make progress indicators less animated
put legend above list of needed files
2014-12-18 22:01:27 +01:00
Jakob Borg
4565125da9
Add Cathryne
2014-12-18 21:59:54 +01:00
Jakob Borg
ce13a01e65
Clarify authorship requirements in contribution guidelines
2014-12-18 21:56:52 +01:00
Jakob Borg
618a8682b7
golint style tweaks
2014-12-16 23:33:56 +01:00
Jakob Borg
963077f918
Translation update
2014-12-16 23:20:59 +01:00
Jakob Borg
3704d2d86b
Don't exit after creating HTTPS certs ( fixes #1103 )
2014-12-16 22:55:44 +01:00
Jakob Borg
fc6a029311
gofmt
2014-12-16 22:40:04 +01:00
Jakob Borg
7c7b1e6c2d
Merge branch 'update-bootstrap'
...
* update-bootstrap:
Fix checkbox breakage in Settings dialog
Update bootstrap
2014-12-15 09:13:05 +01:00
Jakob Borg
892920039d
Fix checkbox breakage in Settings dialog
2014-12-15 09:12:59 +01:00
Jakob Borg
51cdd38c3e
Update bootstrap
2014-12-15 08:54:29 +01:00
Jakob Borg
80977bd4c0
Make progress indicators less animated
2014-12-15 00:34:03 +01:00
Cathryne
d8022f94ef
put legend above list of needed files
2014-12-13 18:33:20 +01:00
Jakob Borg
1c43587d7d
Patch Go for issue #9102 in build env ( fixes #1112 )
2014-12-13 10:38:05 +01:00
Jakob Borg
b2ed32b118
Command -generate should work on non-existent dir
2014-12-12 21:39:03 +01:00
Jakob Borg
0cc815d816
Need config available for -reset ( fixes #1111 )
2014-12-12 21:29:57 +01:00
Jakob Borg
d452b7593f
Merge branch 'pr-1094'
...
* pr-1094:
GUI tweaks for last file synced
Display last received file and time (fixes #292 , fixes #801 )
2014-12-12 14:25:12 +01:00
Jakob Borg
5346bdc683
GUI tweaks for last file synced
2014-12-12 14:24:36 +01:00
Jakob Borg
dc5c1e2002
Use Go 1.4 for builds
2014-12-11 12:48:40 +01:00
Jakob Borg
2e48e298a2
Merge pull request #1107 from AudriusButkevicius/cleanup
...
Remove temporaries during scan (fixes #1092 )
2014-12-10 09:19:34 +01:00
Audrius Butkevicius
7a1aaaf5c4
Remove temporaries during scan ( fixes #1092 )
2014-12-09 23:58:58 +00:00
Audrius Butkevicius
bde92d5cfe
Display last received file and time ( fixes #292 , fixes #801 )
2014-12-09 20:24:48 +00:00
Audrius Butkevicius
691f0f4845
Merge pull request #1102 from syncthing/gui-poodle
...
Protect GUI HTTPS from some attacks
2014-12-09 09:52:21 +00:00
Jakob Borg
fdd458d2fe
Protect GUI HTTPS from some attacks
...
- Disable SSLv3 against POODLE
- Disable RC4 as a weak cipher
- Set the CommonName to the system host name
2014-12-09 10:49:58 +01:00
Jakob Borg
d2c0b8374a
Fix integration tests for Windows native
2014-12-08 22:15:10 +01:00
Jakob Borg
c96c78892d
Include error in randomness failure panic
2014-12-08 19:40:38 +01:00
Jakob Borg
957643f523
crypto/rand.Reader may not return all entropy immediately
2014-12-08 19:36:08 +01:00
Audrius Butkevicius
749bbec566
Merge pull request #1099 from syncthing/vet-and-lint
...
Various changes for vet and lint
2014-12-08 17:08:18 +00:00
Jakob Borg
25e363c5fb
Style tweaks and some *IDG->IGD in UPnP code
2014-12-08 17:07:55 +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
Jakob Borg
12d69e25dd
Fixes for go vet
2014-12-08 16:19:08 +01:00
Jakob Borg
0c9f1efc75
Run vet and lint during build
2014-12-08 16:12:53 +01:00
Jakob Borg
665b4506e7
Correct check-contrib.sh
2014-12-08 15:44:55 +01:00
Jakob Borg
cb5548ceb8
Fit better in with Jenkins
2014-12-08 15:42:53 +01:00
Jakob Borg
c9492e54f7
Copyright notice
2014-12-08 15:42:53 +01:00
Jakob Borg
12490eafff
Script to fail build on missing authors and copyrights
2014-12-08 15:42:53 +01:00
Jakob Borg
6e83d11d5f
Translation update
2014-12-08 13:25:27 +01:00
Jakob Borg
9c6aedc91b
Merge remote-tracking branch 'origin/pr/1097'
...
* origin/pr/1097:
Revert "Cache file descriptors" (fixes #1096 )
2014-12-08 13:23:06 +01:00
Audrius Butkevicius
a9339d0627
Revert "Cache file descriptors" ( fixes #1096 )
...
This reverts commit 992ad97ad5 .
Causes issues on Windows which uses file locking.
Meaning we cannot archive or modify the file while it's open.
2014-12-08 11:56:14 +00:00
Jakob Borg
4d9aa10532
Merge pull request #1093 from syncthing/random
...
Refactor random string stuff and seeding
2014-12-08 09:40:30 +01:00
Audrius Butkevicius
b00264b594
Copy compression setting while introducing
2014-12-07 22:43:30 +00:00
Jakob Borg
e329c7015e
Refactor random string stuff and seeding
...
Make sure we have a good random seed on the default RNG, that the
predictable RNG is clearly marked as such, that random strings are
actually the length requested, and that they contain a restricted set of
characters only.
2014-12-07 16:47:24 +01:00
Jakob Borg
1392cfc72d
Actually commit and use new random UR ID
2014-12-07 15:49:17 +01:00
Jakob Borg
c6688d8f89
Include ref#, show author nickname in release notes
2014-12-07 12:52:18 +01:00
Jakob Borg
87abea0ba3
Script for generating the change log
2014-12-07 09:07:13 +01:00
Jakob Borg
f9fcb44f3c
Translation update
2014-12-07 08:30:54 +01:00
Jakob Borg
996cbbca38
Merge remote-tracking branch 'origin/pr/1091'
...
* origin/pr/1091:
Escape plus sign (fixes #1090 )
2014-12-07 08:05:21 +01:00
Jakob Borg
581f4b89bd
Merge remote-tracking branch 'origin/pr/977'
...
* origin/pr/977:
Cache file descriptors
2014-12-07 08:03:34 +01:00
Audrius Butkevicius
88a347dce0
Escape plus sign ( fixes #1090 )
2014-12-07 00:10:32 +00:00
Audrius Butkevicius
3e7b197a1d
Merge pull request #1074 from syncthing/fix-1071
...
Handle symlinks in versioning (fixes #1071 )
2014-12-06 20:19:25 +00:00
Jakob Borg
94ab06e92f
Handle symlinks, Staggered versioner ( fixes #1071 )
2014-12-06 15:20:35 +01:00
Jakob Borg
d38c81fcff
Handle broken symlinks, Simple versioner ( fixes #1071 )
2014-12-06 15:20:35 +01:00
Jakob Borg
3e26fdfb67
Run filetype and symlink integration tests with versioning (ref #1071 )
2014-12-06 15:20:35 +01:00
Jakob Borg
e1be73232d
Merge remote-tracking branch 'origin/pr/1086'
...
* origin/pr/1086:
Enable URL lang parameter for switching languages (fixes #1080 )
2014-12-06 14:41:41 +01:00
Jakob Borg
06fd2268d9
Use Go 1.4 'generate' to create XDR codec
2014-12-06 14:23:10 +01:00
Jakob Borg
15251dfae1
Update calmh/xdr
2014-12-06 14:20:49 +01:00
Dennis Wilson
f62812a8dc
Enable URL lang parameter for switching languages ( fixes #1080 )
2014-12-06 14:11:42 +01:00
Jakob Borg
c6041d2590
Skip dotfiles when generating assets
2014-12-06 13:46:02 +01:00
Jakob Borg
c7e779107c
Staggered versioning should use current time for filename tag ( fixes #994 )
2014-12-06 13:26:46 +01:00
Jakob Borg
7cd25c919f
Asset rebuild
2014-12-06 12:36:35 +01:00
Jakob Borg
47d67d3985
Merge remote-tracking branch 'origin/pr/1087'
...
* origin/pr/1087:
Folder/device panel header with progress indicator
2014-12-06 12:32:43 +01:00
Jakob Borg
1a7921b46c
Merge remote-tracking branch 'origin/pr/1083'
...
* origin/pr/1083:
Select repos to share with in node editor dialog (fixes #719 )
2014-12-06 12:30:46 +01:00
Jakob Borg
43d569741b
Merge remote-tracking branch 'origin/pr/1081'
...
* origin/pr/1081:
Revisit -no-console option for Windows
2014-12-06 12:17:46 +01:00
Jakob Borg
52c6869eab
Merge remote-tracking branch 'origin/pr/1082'
...
* origin/pr/1082:
Scrap IsSymlink for native support on Go 1.4
2014-12-06 12:12:53 +01:00
Jakob Borg
6dff9097a2
Use Go 1.4 build environment (currently 1.4rc2)
2014-12-06 12:12:33 +01:00
Ben Schulz
4ff211662a
Folder/device panel header with progress indicator
2014-12-05 18:44:38 +01:00
Audrius Butkevicius
05eab51a0d
Select repos to share with in node editor dialog ( fixes #719 )
2014-12-05 00:22:16 +00:00
Audrius Butkevicius
604a4e7dbc
Scrap IsSymlink for native support on Go 1.4
...
Obviously needs Go 1.4 to go back in.
I am still open to doing fix-up's on rescan interval on Windows, which
would still allow getting rid of all the Windows code.
Frankly, we could just defer creations of links (like we defer deletions of files)
in hopes that the target gets created, and if it doesn't, well tough luck, you'll
get a file symlink.
To be honest, nobody would even notice this 'issue' as I am sure nobody on
Windows uses symlinks.
But at the same time, this ugly code is hidden away in some creppy file in
it's own module far far away, and the interface that it exports is fine'ish,
so I wouldn't mind keeping it as it is.
2014-12-04 23:02:57 +00:00
Audrius Butkevicius
80dca96ee8
Revisit -no-console option for Windows
...
The reason for ShowWindow opose to your FreeConsole is because if you start up
cmd.exe and do syncthing.exe -no-output it actually hides the existing cmd.exe
window oppose to opening a separate window and then hiding it, which keeps the
existing console hanging on syncthing.exe running.
I tried playing around with compiling as GUI, then given the option is not present
allocating a console, and redirecting the std streams to the new console, but that
seems ugly as I'd have to make quite a few calls. But that does get of the initial
flash.
2014-12-04 21:59:40 +00:00
Jakob Borg
7f97037190
Revert "Merge pull request #1078 from syncthing/go1.4"
...
This reverts commit b658afd857 , reversing
changes made to 591c5dabf4 .
2014-12-04 22:24:49 +01:00
Jakob Borg
b658afd857
Merge pull request #1078 from syncthing/go1.4
...
Use Go 1.4 build env
2014-12-04 20:45:48 +01:00
Audrius Butkevicius
992ad97ad5
Cache file descriptors
2014-12-04 16:18:47 +00:00
Jakob Borg
5af6cbae2c
Verify Windows support, report appropriate errors when unsupported
2014-12-04 12:10:25 +01:00
Jakob Borg
2abe792f36
Use same order of parameters as os.Symlink
2014-12-04 11:53:55 +01:00
Jakob Borg
1ff9bb8fdc
Remove Windows specific implementation
2014-12-04 06:59:30 +01:00
Jakob Borg
5cb1039daf
Use Go 1.4 build environment (currently 1.4rc2)
2014-12-04 06:59:13 +01:00
Jakob Borg
591c5dabf4
Merge pull request #1077 from AudriusButkevicius/round
...
Avoid rounding errors (fixes #1068 )
2014-12-04 05:52:29 +01:00
Audrius Butkevicius
770fff287e
Avoid rounding errors ( fixes #1068 )
2014-12-03 23:44:39 +00:00
Jakob Borg
cea7a179ae
Utility to print all info we know about a path
2014-12-03 11:32:10 +01:00
Audrius Butkevicius
d80c40cfbf
Merge pull request #1072 from syncthing/rewrite-ignore-cache
...
Rewrite ignore cache
2014-12-03 09:50:05 +00:00
Jakob Borg
12e83374e9
Verify that a symlink can be removed
2014-12-03 09:05:01 +01:00
Jakob Borg
98344d2e5e
Rewrite ignores to fix data race, use fewer maps
2014-12-03 08:39:59 +01:00
Jakob Borg
99dc1eec50
Map is a reference type, does not need * here
2014-12-03 08:39:59 +01:00
Jakob Borg
2a886576a6
Fix announce timers on Solaris (and others, given the right timing) (...)
...
In the successfull case, we start the timer with NewTimer(0), then do a
bunch of stuff during which time it can fire, then reset it with
Reset(0). The result is that two timer firings are queued when we enter
the select loop, so we do two announcements back to back and fail the
tests.
2014-12-03 08:36:45 +01:00
Jakob Borg
919d005550
Print detected data races to stdout instead of hiding in a file
2014-12-03 07:47:40 +01:00
Jakob Borg
97abdaca5a
Merge pull request #1070 from AudriusButkevicius/staggered
...
Use unique versions in staggered versioner (fixes #1063 )
2014-12-02 23:27:01 +01:00
Jakob Borg
9cc8b7c858
Simple smoke test for parallell scans
2014-12-02 22:13:08 +01:00
Jakob Borg
0726472b91
Update test configs to v7
2014-12-02 22:05:15 +01:00
Audrius Butkevicius
3cbe92d797
Use unique versions in staggered versioner ( fixes #1063 )
2014-12-02 19:04:12 +00:00
Jakob Borg
72a278c9ed
Merge pull request #1065 from syncthing/coc
...
Add Code of Conduct
2014-12-02 16:22:13 +01:00
Jakob Borg
e567c8adce
Merge pull request #1064 from syncthing/contributors
...
Clarify/formalize contribution policy and commit access
2014-12-02 16:21:36 +01:00
Jakob Borg
dde8045109
Add Code of Conduct
2014-12-02 15:57:31 +01:00
Jakob Borg
c922c4c383
Clarify/formalize contribution policy and commit access
2014-12-02 15:55:45 +01:00
Audrius Butkevicius
bc8907e90d
Check if announcement data is available
2014-12-01 19:53:13 +00:00
Jakob Borg
a8ba7786ae
Reinstate 'Shared With' until a better alternative emerges (ref #1054 )
2014-12-01 20:50:27 +01:00
Jakob Borg
c734e48ad0
Merge pull request #1052 from AudriusButkevicius/disco4
...
Change to URL based announce server addresses (fixes #943 )
2014-12-01 17:53:48 +01:00
Audrius Butkevicius
d30d0b29a9
Fix CSS
2014-12-01 10:30:38 +00:00
Audrius Butkevicius
2912defb97
Add tests for new discovery
2014-12-01 10:30:25 +00: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
Jakob Borg
8a34158fa4
Merge pull request #1053 from AudriusButkevicius/symdis
...
Add option to disable symlinks (fixes #1017 )
2014-12-01 11:22:04 +01:00
Jakob Borg
8d2a6d96f2
Shorter Global Discovery label
2014-12-01 11:14:11 +01:00
Jakob Borg
bb50b677c7
Merge pull request #1037 from snnd/locale-service
...
Added Locale Service. Minor Controller Refactoring.
2014-12-01 10:38:44 +01:00
Jakob Borg
0fde4b3b2e
Use runtime info to determine ARM version for upgrade ( fixes #1051 )
2014-12-01 10:24:13 +01:00
Dennis Wilson
ee9c109f07
add locale service to GUI. minor cleanup of controller.
2014-12-01 10:00:03 +01:00
Jakob Borg
1219423091
Revert "Figure out GOARM without being told (ref #1051 )"
...
This reverts commit 2d7b0cf94d .
GOARM is not actually embedded and printed by "go env"
2014-12-01 09:39:57 +01:00
Jakob Borg
cf00ab854f
Translation update ( fixes #1054 )
2014-12-01 09:13:58 +01:00
Jakob Borg
c417dcb7e2
Repair Rescan button, cleanup CSS ( fixes #1054 )
2014-12-01 09:11:16 +01:00
Audrius Butkevicius
7ad711f554
Add option to disable symlinks ( fixes #1017 )
2014-11-30 22:10:32 +00:00
Jakob Borg
2d7b0cf94d
Figure out GOARM without being told (ref #1051 )
2014-11-30 21:46:00 +01:00
Jakob Borg
d669c07e8a
Increase allowed test runtimes ( fixes #1049 )
2014-11-30 21:21:37 +01:00
Jakob Borg
8bd52946b4
Merge pull request #1048 from asdil12/goarm
...
Directly accept GOARM env var for ARM version
2014-11-30 20:57:49 +01:00
Jakob Borg
27e81637be
Add asdil12
2014-11-30 20:57:34 +01:00
Jakob Borg
5c67e27a30
Use CSS column layouts in About box
2014-11-30 20:49:49 +01:00
Dominik Heidler
59af9809fe
Directly accept GOARM env var for ARM version
...
As GOARCH defaults to 'arm' on arm systems this allows packagers to
specify the arm version by setting the GOARM env var to 5, 6 or 7.
2014-11-30 17:08:43 +01:00
Jakob Borg
a564510c49
Homogenize folder and device state to 'Up to Date' ( fixes #1042 )
2014-11-30 13:45:08 +01:00
Jakob Borg
285b614927
Translation update
2014-11-30 13:38:05 +01: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
78981862be
Silence verbose docker build output
2014-11-29 08:30:41 +01:00
Jakob Borg
7f1253ff83
Revert "golang.org/x/tools in Dockerfile"
...
This reverts commit 5dd5602229 .
2014-11-30 10:42:31 +01:00
Jakob Borg
e0265aed05
Increase read timeout on HTTP server, try to not run out of sockets in stress test
2014-11-30 10:38:39 +01:00
Jakob Borg
9d36d88a65
Build std for race in Docker image
2014-11-30 00:30:23 +01:00
Jakob Borg
5dd5602229
golang.org/x/tools in Dockerfile
2014-11-30 00:18:24 +01:00
Jakob Borg
126c4e9a06
Dependency update, new golang.org/x package names
2014-11-30 00:17:00 +01:00
Jakob Borg
5dbaf6ceb0
Use short integration tests by default
2014-11-30 00:07:36 +01:00
Jakob Borg
90de5659ea
Data race: sharedPullerState WriteAt+Close
2014-11-29 23:51:53 +01:00
Jakob Borg
367e50edab
Fixup integration tests for race detector
2014-11-29 23:41:06 +01:00
Jakob Borg
42b8dafafe
Data race: can't access sharedPullerState.closed from the outside
2014-11-29 23:18:56 +01:00
Jakob Borg
577aaf8ad6
Data race: Discoverer.registryLock must cover the contents of registry as well
2014-11-29 23:04:25 +01:00
Jakob Borg
07cdf0364c
Data race: ProgressEmitter (debug output only)
2014-11-29 22:51:13 +01:00
Jakob Borg
7f829f0159
Data race: broken locking on model.folderIgnores
2014-11-29 22:38:08 +01:00
Jakob Borg
a918aa97d9
Data race: deviceActivity methods with value receiver :(
2014-11-29 22:38:08 +01:00
Jakob Borg
4fdecc9b85
Run integration tests with -race ( fixes #1043 )
2014-11-29 22:38:04 +01:00
Jakob Borg
7af25c785d
Don't send unnecessary SNI in TLS handshake
2014-11-29 20:58:24 +01:00
Jakob Borg
4de39b205d
Only color status text, not panel headings ( fixes #1039 )
2014-11-29 13:08:00 +01:00
Jakob Borg
2748a2e97f
Mark unused devices as 'Unused' and in warning color, show folders per device ( fixes #962 )
2014-11-29 09:43:05 +01:00
Jakob Borg
2926bbfe15
Mark unshared folders as 'Unshared' and in warning color ( fixes #962 )
2014-11-29 09:42:51 +01:00
Audrius Butkevicius
254c63763a
Remove top margin from checkboxes ( fixes #1036 )
2014-11-28 15:17:02 +00:00
Jakob Borg
2de834f1f4
Place list of devices to share with in columns, in supported browsers
2014-11-27 21:34:24 +01:00
Jakob Borg
7273eab80e
Clean up device panel (...) (ref #964 )
...
- Remove "Synchronization"
- Hide "Compression" when default (on)
- Hide "Introducer" when default (off)
2014-11-27 20:46:36 +01:00
Jakob Borg
13e79c777a
Clean up folder panel (...) ( fixes #964 )
...
- Remove ID
- Hide "Out of sync" when in sync
- Hide "Folder master" when default (not master)
- Hide "Ignore permissions" when default (not ignored)
- Hide "Rescan interval" when default (60 seconds)
2014-11-27 20:43:00 +01:00
Jakob Borg
8aa7d4b463
Lower the bar for when to stop restarting ( fixes #1004 )
2014-11-27 20:34:35 +01:00
Jakob Borg
5251f1c9db
Use a separate, unique ID for usage reporting ( fixes #1000 )
2014-11-27 10:00:07 +01:00
Jakob Borg
82e923dfc8
Add kozec
2014-11-26 23:25:52 +01:00
Jakob Borg
decf16b92c
Merge pull request #1029 from kozec/master
...
Add STNOUPGRADE environment variable to prevents autoupgrades
2014-11-26 23:25:45 +01:00
kozec
b84d960a81
Added STNOUPGRADE environment variable; Prevents autoupgrades, no matter of configuration.
2014-11-26 22:17:01 +01:00
Jakob Borg
34cb305755
Report all rates in bytes per second ( fixes #934 )
2014-11-26 17:30:52 +01:00
Jakob Borg
ed85bfa915
Don't perform external discovery lookups until local cache has had time to warm ( fixes #666 )
2014-11-26 17:23:15 +01:00
Jakob Borg
06ef33ff5e
Translation strings for new functionality
2014-11-26 13:47:17 +01:00
Jakob Borg
57f121178c
Update translate/transifex for new GUI paths
2014-11-26 13:46:34 +01:00
Dennis Wilson
3b88ee623b
GUI Rework: reorganized folders and split app.js
2014-11-26 13:43:38 +01:00
Jakob Borg
8588625937
Add snnd
2014-11-26 13:43:26 +01:00
Jakob Borg
3417839726
Merge pull request #1024 from AudriusButkevicius/regexp
...
Fix versioner regexp's (fixes #1023 )
2014-11-26 13:22:57 +01:00
Audrius Butkevicius
c1069052ae
Fix versioner regexp's ( fixes #1023 )
2014-11-25 22:32:18 +00:00
Audrius Butkevicius
ea17542e4b
Change progress emitter
...
1. Do not use cached value for BytesCompleted
2. Refactor JS a bit
3. Allow disabling progress emitter
2014-11-25 22:07:18 +00:00
Audrius Butkevicius
c7d779fe88
Fix tests on Windows
2014-11-25 21:27:10 +00:00
Audrius Butkevicius
a70f3f12c5
Merge pull request #999 from piobpl/master
...
Showing detailed sync progress (fixes #476 )
2014-11-25 20:55:12 +00: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
Jakob Borg
b48d9a3a82
Don't panic when lacking symlink support on XP ( fixes #1016 )
2014-11-24 23:32:11 +01:00
Jakob Borg
0255311bbe
Note about IRC channel
2014-11-24 23:07:30 +01:00
Audrius Butkevicius
bd91519df9
Add aria label on cog ( closes #1020 )
2014-11-24 21:14:14 +00:00
Jakob Borg
58fe8b0cf1
Add example for Solaris SMF running
2014-11-24 13:59:59 +01:00
Jakob Borg
064aa64f20
Point to etc dir in README
2014-11-24 13:49:18 +01:00
Jakob Borg
d9f79853fb
Include etc dir in Unix builds
2014-11-24 13:49:15 +01:00
Jakob Borg
2e68ee5c8b
Add example for Mac OS X background running
2014-11-24 13:49:15 +01:00
Jakob Borg
a9544ca890
Add example for runit service
2014-11-24 13:48:42 +01:00
Jakob Borg
9a549a853b
Update goleveldb
2014-11-24 11:57:31 +01:00
Jakob Borg
2dad769a00
Only run Go based integration tests in Docker
2014-11-24 11:49:49 +01:00
Jakob Borg
0ceb14dbf6
Merge pull request #1013 from syncthing/timestamp-before-ext
...
Use file~timestamp.ext for version (fixes #1010 )
2014-11-24 11:44:56 +01:00
Jakob Borg
bab1e26d9b
Use source data for genfiles that is guaranteed to exist
2014-11-24 11:37:00 +01:00
Jakob Borg
9a91cc232c
Use file~timestamp.ext for version ( fixes #1010 )
2014-11-24 11:02:14 +01:00
Jakob Borg
5a46cf1d48
Be a little more generous with HTTP timeouts
2014-11-24 10:16:47 +01:00
Jakob Borg
f1e241940b
Translation update
2014-11-24 10:10:01 +01:00
Jakob Borg
47b344ba12
Merge pull request #1006 from AudriusButkevicius/defaults
...
Populate correct defaults
2014-11-24 08:18:31 +01:00
Jakob Borg
afbb06a72f
Tests may dirty workspace
2014-11-23 23:10:08 +01:00
Jakob Borg
e336cd463f
Tests may take longer than 60 seconds to complete
2014-11-23 23:10:07 +01:00
Jakob Borg
3a8315971e
Run integration tests under Docker
2014-11-23 22:31:07 +01:00
Jakob Borg
4ccfa98771
Correct command in README
2014-11-23 22:01:07 +01:00
Jakob Borg
1db120bf06
Improve docker image and build
2014-11-23 21:46:18 +01:00
Audrius Butkevicius
262cf63956
Populate correct defaults
2014-11-23 18:45:45 +00:00
Jakob Borg
fe2ae4c6c3
Merge pull request #997 from syncthing/lig
...
Minor fixes
2014-11-23 11:35:19 +01:00
Jakob Borg
16d9944dbb
Merge pull request #1002 from AudriusButkevicius/routine-cfg
...
Make copiers, pullers and finishers configurable
2014-11-23 11:29:58 +01:00
Jakob Borg
e9956cc71e
Merge pull request #1003 from AudriusButkevicius/needtrim
...
Use custom structure for /need calls (fixes #1001 )
2014-11-23 11:28:38 +01:00
Audrius Butkevicius
59a85c1d75
Use custom structure for /need calls ( fixes #1001 )
...
Also, remove trimming by number of blocks as this no longer affects the size
of the response.
2014-11-23 00:52:48 +00:00
Audrius Butkevicius
4427149a38
Make copiers, pullers and finishers configurable
...
Compliments #999
2014-11-23 00:02:12 +00:00
Audrius Butkevicius
20dee618ea
Populate ignores upon adding a folder ( fixes #996 )
2014-11-22 02:22:09 +00:00
Audrius Butkevicius
37ebbb53be
Replace directories/links with files ( fixes #580 )
2014-11-22 02:22:03 +00:00
Jakob Borg
ba019efaf1
Use a docker container for full builds
2014-11-21 06:48:24 +01:00
Jakob Borg
ce948fc512
Don't leave read only dir around, fails clean
2014-11-20 23:34:14 +01:00
Jakob Borg
2cd9e7fb55
Merge pull request #953 from syncthing/symlink
...
Symlink support
2014-11-20 16:34:12 +01:00
Jakob Borg
1e2d151684
Copyright notice update
2014-11-20 16:33:16 +01:00
Jakob Borg
ce5651f5fa
Integration tests for symlinks
2014-11-20 16:32:01 +01:00
Audrius Butkevicius
20ba0bf4ed
Update PROTOCOL.md
2014-11-20 16:32:01 +01:00
Audrius Butkevicius
c325ffd0f8
Add symlink support ( fixes #873 )
2014-11-20 16:32:00 +01:00
Audrius Butkevicius
6e88d9688b
Implement symlinks package
2014-11-20 16:32:00 +01:00
Audrius Butkevicius
bf898f10fb
Add symlink support at the protocol level
2014-11-20 16:32:00 +01:00
Audrius Butkevicius
c891999e1d
Move filename conversion into osutil
2014-11-20 16:32:00 +01:00
Audrius Butkevicius
938e287501
Code smell
2014-11-20 16:32:00 +01:00
Jakob Borg
edcfc32b1a
Add integration test (disabled) for file->dir and dir->file replacement (ref #580 )
2014-11-20 16:23:58 +01:00
Jakob Borg
904b211d98
Merge pull request #990 from bigbear2nd/master
...
Add directory separator to autocomplete. Fixes #984
2014-11-20 16:09:57 +01:00
bigbear2nd
af08567f24
Add directory separator to autocomplete. Fixes #984
2014-11-20 00:26:06 +09:00
Jakob Borg
75ef658962
Correct file mode bits
2014-11-19 07:39:01 +04:00
Jakob Borg
fe2dd79838
Clean up global discovery timer handing
2014-11-19 01:03:43 +04:00
Jakob Borg
bbe7e6525d
Finalize s/CONTRIBUTORS/AUTHORS/
2014-11-18 18:13:19 +04:00
Jakob Borg
ef20df719c
Remove redundant style section
2014-11-18 17:18:10 +04:00
Jakob Borg
68399601ce
Update goleveldb
2014-11-18 16:24:42 +04:00
Jakob Borg
aa637fd942
Translation update
2014-11-18 16:22:32 +04:00
Jakob Borg
601c97c015
Clarify code style guidelines
2014-11-18 11:49:02 +04:00
Jakob Borg
6b47052491
Missing English strings
2014-11-17 19:15:30 +04:00
Jakob Borg
297da94319
Asset rebuild
2014-11-17 19:07:54 +04:00
Jakob Borg
64f101f534
Merge pull request #968 from pluby/directory-auto
...
Directory auto-complete.
2014-11-17 19:07:27 +04:00
Jakob Borg
45917f278a
Also -no-upgrade with any command
2014-11-17 19:02:41 +04:00
Jakob Borg
ddd2759cec
Support build.go -no-upgrade install ( fixes #975 )
2014-11-17 19:01:16 +04:00
Jakob Borg
70d8903d3c
Initial 'v' in versions should not be compared on ( fixes #980 )
2014-11-17 18:49:51 +04:00
Jakob Borg
f66c7dc09c
CONTRIBUTORS is now AUTHORS
2014-11-17 18:43:02 +04:00
Jakob Borg
82c6caef85
Use more inclusive copyright header
2014-11-17 12:54:42 +01:00
Phill Luby
46ec72412a
Directory auto-complete.
2014-11-16 19:31:53 +00:00
Jakob Borg
ead09395d9
Merge pull request #969 from AudriusButkevicius/dirfix
...
Remove existing file while handling dir (fixes #952 )
2014-11-14 13:58:13 +01:00
Audrius Butkevicius
7106fc5304
Remove existing file while handling dir ( fixes #952 )
2014-11-13 22:59:40 +00:00
Audrius Butkevicius
d16dcb9f19
Lock while accessing folder configs
2014-11-13 22:30:49 +00:00
Audrius Butkevicius
1aaf34b0ed
Fix typo
2014-11-13 22:30:43 +00:00
Audrius Butkevicius
39a3b8922d
Save config on device rename ( fixes #957 )
2014-11-12 23:42:17 +00:00
Jakob Borg
9b78582475
Merge pull request #955 from ceh/vet-sharedpullerstate_test
...
internal/model: fix formatting directive in test
2014-11-12 15:54:44 +01:00
Jakob Borg
3a84224b93
Add ceh
2014-11-12 15:54:16 +01:00
Emil Hessman
2592ba7399
internal/model: fix formatting directive in test
2014-11-12 12:32:25 +01:00
Jakob Borg
1795e0a290
Never use crappy cipher suites ( fixes #945 )
2014-11-12 10:47:34 +01:00
Jakob Borg
c959f59581
Quick and dirty fix for Ignores test failures
2014-11-09 22:20:20 +01:00
Jakob Borg
2449723a1c
Add list of compiled regexps to /rest/ignores ( fixes #942 )
2014-11-08 22:13:12 +01:00
Jakob Borg
ae0e56e98d
Translation update
2014-11-03 22:11:54 -06:00
Jakob Borg
6efe521e44
Update goleveldb
2014-11-03 22:00:11 -06:00
Jakob Borg
bccd21ac14
Test case to pinpoint DB corruption (failing)
2014-11-03 21:58:22 -06:00
Jakob Borg
8449a65cdf
Merge pull request #930 from AudriusButkevicius/avail
...
Only connected devices are available devices
2014-11-03 21:56:40 -06:00
Audrius Butkevicius
fc47562983
Only connected devices are available devices
2014-11-03 21:25:36 +00:00
Audrius Butkevicius
76900ae291
Fix and relax locking
2014-11-03 21:14:57 +00:00
Jakob Borg
ec55559ff1
Merge pull request #929 from AudriusButkevicius/temp
...
Do not delete temp files on error (fixes #849 )
2014-11-03 13:05:16 -06:00
Audrius Butkevicius
3daa26e1f7
Allow setting rescan interval to 0 ( fixes #856 )
2014-11-01 23:53:27 +00:00
Audrius Butkevicius
9ea8b6f659
Do not delete temp files on error ( fixes #849 )
2014-11-01 23:33:49 +00:00
Audrius Butkevicius
387f2f0a94
Do not show self in shared with ( fixes #915 )
2014-11-01 23:10:39 +00:00
Jakob Borg
b0d95d02be
Repair incorrect global entries at startup
2014-10-30 17:10:05 +01:00
Jakob Borg
3a98f01d31
Add insane levels of database debugging
2014-10-30 16:45:39 +01:00
Audrius Butkevicius
d305752749
Cleanup temporary files during directory removal ( fixes #919 )
2014-10-29 11:19:48 +00:00
Jakob Borg
2ba4b235fc
Windows logfile should follow -home by default ( fixes #918 )
2014-10-28 20:52:28 +01:00
Jakob Borg
6820c0a5d7
Don't crash on nil discoverer ( fixes #917 )
2014-10-28 20:40:04 +01:00
Audrius Butkevicius
048883ad27
Remove extra tabs from SOAP payload ( fixes #914 )
2014-10-27 23:33:59 +00:00
Jakob Borg
08e7ada242
Translation update
2014-10-27 15:05:16 +01:00
Jakob Borg
d3ddfa31f7
Merge branch 'pr/909'
...
* pr/909:
Add Vilbrekin
Correctly check whether parent directory is writable for current user. "&04" was checking if file is readable by others, while "&0200" checks if it's writable for current user.
2014-10-26 13:59:09 +01:00
Jakob Borg
4b899a813e
Add Vilbrekin
2014-10-26 13:59:03 +01:00
Jakob Borg
15ee9a5cac
Break out logger as a reusable component
2014-10-26 13:16:54 +01:00
Audrius Butkevicius
58945a429f
Revert removal of test files
2014-10-26 11:36:40 +00:00
Jakob Borg
9f4111015e
Blame
2014-10-26 12:07:54 +01:00
Jakob Borg
04b960b415
Merge branch 'pr/903'
...
* pr/903:
Ignore all paths within .stversions folder
2014-10-26 11:47:27 +01:00
Lode Hoste
33267f2178
Ignore all paths within .stversions folder
2014-10-26 11:47:02 +01:00
Vilbrekin
970e50d1f1
Correctly check whether parent directory is writable for current user.
...
"&04" was checking if file is readable by others, while "&0200" checks
if it's writable for current user.
(Fixes #904 )
2014-10-26 02:26:40 +01:00
Audrius Butkevicius
d4199c2d08
Recover from corrupt block maps
2014-10-24 23:20:08 +01:00
Audrius Butkevicius
cf4ca7b6a8
Fix test leak
2014-10-24 22:23:19 +01:00
Jakob Borg
d8b335ce65
Don't panic on queries for nonexistent folders ( fixes #765 )
2014-10-24 14:54:36 +02:00
Jakob Borg
39a2934b05
Translation update
2014-10-24 10:27:14 +02:00
Jakob Borg
7d1c720b84
Slightly more robust HTTP stress test
2014-10-24 10:01:44 +02:00
Jakob Borg
51743461ee
Futile attempt at reproducing leveldb issues
2014-10-24 09:50:41 +02:00
Jakob Borg
53cf5ca762
Don't run auto upgrade on non-release builds ( fixes #901 ).
2014-10-23 19:11:53 +02:00
Jakob Borg
b5ef42b0a1
Merge pull request #898 from cqcallaw/upnp
...
Various UPnP updates
2014-10-23 09:04:58 +02:00
Jakob Borg
0521ddd858
Merge pull request #895 from AudriusButkevicius/puller
...
Cleanup blockmap on update (fixes #889 )
2014-10-23 09:01:28 +02:00
Caleb Callaway
b7bb3bfee2
UPnP discovery fix for devices that send multiple response packets
...
Fix UPnP discovery and port mapping issues reported in #896
2014-10-22 19:10:44 -07:00
Caleb Callaway
4183044e96
Fix UPnP log spam on networks without UPnP IGDs (see #893 )
...
We should only run the UPnP port mapping renewal routine if the initial
discovery and configuration succeed. This commit applies that logic.
2014-10-22 18:47:15 -07:00
Caleb Callaway
27448bde20
Variable naming clarification
2014-10-22 18:47:15 -07:00
Caleb Callaway
87b9e8fbaf
Parse UPnP service ID from root description and expose it to consumers
2014-10-22 18:47:15 -07:00
Caleb Callaway
9d79859ba6
More verbose debug logging of UPnP SOAP requests
2014-10-22 18:47:15 -07:00
Audrius Butkevicius
25bb55491a
Cleanup blockmap on update ( fixes #889 )
2014-10-22 22:18:07 +01:00
Jakob Borg
198cbacc3e
Be lenient towards malformed UPnP IGD UUIDs ( fixes #890 )
2014-10-21 17:07:11 +02:00
Jakob Borg
3f842221f7
Write Windows line breaks on Windows; tee to stdout
2014-10-21 09:35:17 +02:00
Jakob Borg
5d0183a9ed
Add -logfile flag, Windows only
2014-10-21 09:20:26 +02:00
Jakob Borg
99df4d660b
Move recurring UPnP log messages to debug level
2014-10-21 09:20:26 +02:00
Jakob Borg
f2adfde1a8
Update xdr; handle marshalling errors
2014-10-21 09:20:14 +02:00
Jakob Borg
1e915a2903
Add test for syncing with 100 configured devices
2014-10-21 08:53:53 +02:00
Audrius Butkevicius
e2dc3e9ff3
Fix error messages
2014-10-21 00:01:02 +01:00
Jakob Borg
f1bb8daaab
Merge pull request #886 from AudriusButkevicius/limit
...
Remove 64 device limit
2014-10-20 22:52:58 +02:00
Audrius Butkevicius
b0fcbebdae
Remove 64 device limit
2014-10-20 21:46:53 +01:00
Jakob Borg
34f72ecf8f
OpenBSD support ( fixes #878 )
2014-10-19 14:02:17 +02:00
Jakob Borg
9d348319fd
Translation update
2014-10-18 20:50:40 +02:00
Jakob Borg
c55fee69de
Devices added by introducer should have dynamic address ( fixes #866 )
2014-10-18 20:40:31 +02:00
Jakob Borg
ce31cb072b
Upgrade test configs to v6
2014-10-18 20:37:15 +02:00
Jakob Borg
6b91fc9c91
Merge pull request #876 from cqcallaw/upnp
...
UPnP API Additions to address outstanding parts of #432
2014-10-18 19:58:56 +02:00
Caleb Callaway
e34f77ba0e
Enable portmapping for individual UPnP services
2014-10-18 10:20:57 -07:00
Jakob Borg
bc3b7401a1
Merge branch 'pr/875'
...
* pr/875:
Make folder path selectable in FireFox
2014-10-18 13:15:44 +02:00
Caleb Callaway
85677eaf1a
UPnP API for querying of services' external IP address
2014-10-17 20:37:00 -07:00
Caleb Callaway
75d5e74059
Refinements to UPnP documentation
2014-10-17 19:47:08 -07:00
Audrius Butkevicius
c4d15b3b95
Fix blockmap hash size
2014-10-18 00:39:36 +01:00
Audrius Butkevicius
aa168ec2d6
Populate block offsets even if the blocks are not diffed
2014-10-17 23:16:29 +01:00
bigbear2nd
4ae0efe887
Make folder path selectable in FireFox
...
Make the folder name and the folder path selectable in FireFox, as discussed here: https://pulse-forum.ind.ie/t/how-can-the-folder-path-be-changed/1153/6
Add the assets to the commit
Add me to the contributors
Add me to the contributors in the index.html
2014-10-18 01:39:57 +09:00
Jakob Borg
86a57d8b56
Hash mismatch in general doesn't merit a warning
2014-10-17 10:33:02 +02:00
Jakob Borg
9dda7485eb
Merge branch 'pr/871'
...
* pr/871:
Slight increase of contrast in identicons
Implement identicon representation for devices.
Conflicts:
internal/auto/gui.files.go
2014-10-17 09:29:06 +02:00
Jakob Borg
8b9670add9
Add cdata
2014-10-17 09:28:45 +02:00
Jakob Borg
978aebd79c
Slight increase of contrast in identicons
2014-10-17 09:26:58 +02:00
Chris Joel
ac079f0f83
Implement identicon representation for devices.
...
The first fifteen characters of device IDs are now used to procedurally
generate psuedo-unique avatars for their respective devices. The avatars
are represented using SVG elements that replace the icons previously
shown next to device names in the GUI.
2014-10-16 12:28:43 -07:00
Jakob Borg
e82e912151
Dependencies
2014-10-16 14:58:11 +02:00
Jakob Borg
5488ae5b89
Don't log inscrutable 'recovered: leveldb: not found' to web GUI
2014-10-16 13:45:42 +02:00
Jakob Borg
15b875b116
Merge branch 'pr/830'
...
* pr/830:
Delete files and directories after pulling
Add fetcher tests
Track total block counts, count copier blocks
Fix tests
Implement block fetcher (fixes #781 , fixes #3 )
Populate BlockMap
Implement BlockMap
2014-10-16 13:33:20 +02:00
Audrius Butkevicius
dedf835aa6
Delete files and directories after pulling
2014-10-16 12:26:28 +02:00
Audrius Butkevicius
e62b9c6009
Add fetcher tests
2014-10-16 12:26:28 +02:00
Audrius Butkevicius
53da778506
Track total block counts, count copier blocks
...
Will eventually allow us to track progress per file
2014-10-16 12:26:28 +02:00
Audrius Butkevicius
4360b2c815
Fix tests
2014-10-16 12:26:28 +02:00
Audrius Butkevicius
1e15b1e0be
Implement block fetcher ( fixes #781 , fixes #3 )
2014-10-16 12:26:28 +02:00
Audrius Butkevicius
0bc50f7284
Populate BlockMap
2014-10-16 12:26:27 +02:00
Audrius Butkevicius
435f9113e8
Implement BlockMap
2014-10-16 12:26:27 +02:00
Jakob Borg
8818c4785b
Fix debug and fmt poopoo
2014-10-16 12:23:33 +02:00
Jakob Borg
2e003e5404
Remove out of date upnp tests
2014-10-16 12:12:59 +02:00
Jakob Borg
e791a8ea07
Handle .stfolder completely in integration test
2014-10-16 12:12:59 +02:00
Jakob Borg
2fb8eb755b
Add a few more debug prints
2014-10-16 12:12:54 +02:00
Jakob Borg
d031f958a9
FileInfoTruncated.String() for stindex' benefit
2014-10-16 09:26:24 +02:00
Jakob Borg
9bbadac9dc
Asset rebuild
2014-10-16 09:11:23 +02:00
Jakob Borg
b012f77475
Merge pull request #848 from pluby/discovery
...
Simpler entry of locally discovered nodes
2014-10-16 09:11:08 +02:00
Jakob Borg
3cf36b1773
Add pluby
2014-10-16 09:09:41 +02:00
Jakob Borg
8f93c046a9
Merge pull request #775 from cqcallaw/master
...
UPnP cleanup and fixes for #432
2014-10-16 08:55:53 +02:00
Jakob Borg
90af68901a
Add cqcallaw
2014-10-16 08:55:27 +02:00
Caleb Callaway
c17507b216
Cleanup UPnP API
...
This commit addresses most of the issues identified in #432 :
* Support UPnP IGDs with both WANIPConnection and WANPPPConnection services
IGDs that offer both WANIPConnection and WANPPPConnection services should
now have port forwarding correctly configured for all services.
* Support multiple UPnP WANDevice and WANConnection descriptions
Per Figure 1 of the InternetGatewayDevice specification
(http://upnp.org/specs/gw/UPnP-gw-InternetGatewayDevice-v1-Device.pdf ),
an IGD may have multiple WAN devices, each with multiple WANConnection
services
* Support for discovery of UPnP InternetGatewayDevice version 2 devices
* Support for discovery of multiple UPnP IGDs
Consumers that cannot yet properly process multiple IGDs can simply use
the first IGD listed in the discovery results
* Logging refinements such as friendly UPnP IGD identifiers in log messages.
2014-10-15 21:48:11 -07:00
Phill Luby
b110b7c3f7
Make cacheEntry public so that it can be marshalled to the UI.
2014-10-15 21:52:06 +01:00
Phill Luby
36431b3dcd
Provide a data-list of locally discovered nodes when adding a new node.
2014-10-15 21:20:38 +01:00
Phill Luby
609294deee
Set content type on discovery rest request.
2014-10-15 21:20:38 +01:00
Phill Luby
fffae9a741
Repackage discovery registry so that it can be converted to JSON.
...
The registry uses a non-string type as keys which is not possible in JSON.
2014-10-15 21:20:38 +01:00
Jakob Borg
598ce4bb5f
Don't add newline on version string ( fixes #865 )
2014-10-15 18:15:40 +02:00
Jakob Borg
212f6dc9e0
Merge pull request #861 from AudriusButkevicius/int
...
Use relative path in integration tests
2014-10-15 18:07:51 +02:00
Jakob Borg
cd05f1c3d7
Merge pull request #860 from AudriusButkevicius/ticker
...
Cleanup temporaries once an hour (fixes #858 )
2014-10-15 18:07:15 +02:00
Jakob Borg
d7a0691c99
Merge pull request #859 from AudriusButkevicius/markerfix
...
Best attempt when creating a folder marker (fixes #857 )
2014-10-15 18:06:40 +02:00
Audrius Butkevicius
86346aa332
Add further nil checks ( fixes #862 , ref #864 )
2014-10-15 15:54:55 +01:00
Audrius Butkevicius
b162b1fa34
Use relative path in integration tests
2014-10-15 14:05:25 +01:00
Audrius Butkevicius
ea9f8b0ceb
Cleanup temporaries once an hour ( fixes #858 )
2014-10-15 10:30:10 +01:00
Audrius Butkevicius
6210b9e746
Best attempt when creating a folder marker ( fixes #857 )
2014-10-15 10:20:40 +01:00
Jakob Borg
a778b410b9
Only do initial scan if scanInterval==0 ( fixes #856 )
2014-10-15 10:51:09 +02:00
Jakob Borg
8a674c8bc3
Integration tests should take .stfolder into account when comparing dirs
2014-10-15 09:57:34 +02:00
Audrius Butkevicius
aaf625c624
Merge pull request #854 from AudriusButkevicius/nils
...
Revert and replace 31d95ac , 65acc7c , 87780a5
2014-10-15 08:24:19 +01:00
Jakob Borg
d4079a3273
Merge pull request #853 from AudriusButkevicius/unfinished
...
Keep temporaries for reuse, cleanup before pull (fixes #849 , fixes #841 )
2014-10-15 09:01:14 +02:00
Jakob Borg
8d94fe3346
Merge remote-tracking branch 'origin/pr/852'
...
* origin/pr/852:
`-generate` flag should also create config.xml (closes #847 ).
2014-10-15 08:45:11 +02:00
Jakob Borg
ce510e55ae
Add Nutomic
2014-10-15 08:44:58 +02:00
Audrius Butkevicius
5419ff9a71
Keep temporaries for reuse, cleanup before pull ( fixes #849 , fixes #841 )
2014-10-14 22:00:40 +01:00
Audrius Butkevicius
ade437d625
Revert and replace 31d95ac, 65acc7c, 87780a5
2014-10-14 21:35:30 +01:00
Audrius Butkevicius
87780a5b7e
Fix a missed nil ( fixes #846 )
2014-10-14 20:17:42 +01:00
Felix Ableitner
f6f6f261ed
-generate flag should also create config.xml (closes #847 ).
2014-10-14 22:11:05 +03:00
Audrius Butkevicius
65acc7c9ad
Merge pull request #850 from AudriusButkevicius/nil
...
Do not return nil pointers when loading ignores (fixes #846 )
2014-10-14 19:16:20 +01:00
Audrius Butkevicius
31d95ac9e6
Do not return nil pointers when loading ignores ( fixes #846 )
...
Not sure, perhaps we should check for error, and respect that instead.
But then in the walker we'll have to check for a nil pointer anyway.
2014-10-14 16:28:43 +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
Jakob Borg
870e3a45ef
Merge pull request #833 from AudriusButkevicius/marker
...
Add folder marker (fixes #762 )
2014-10-14 08:23:48 +02:00
Audrius Butkevicius
a5fe4a3694
Perform tilde expansion in the config wrapper
2014-10-13 21:59:42 +01:00
Audrius Butkevicius
838670ccbc
Add folder marker ( fixes #762 )
2014-10-13 21:54:42 +01:00
Jakob Borg
baf4cc225e
Build without git
2014-10-13 20:13:42 +02:00
Jakob Borg
93ac1605bd
Set version on command line when building
2014-10-13 20:10:36 +02:00
Jakob Borg
c8a68001c1
Use HTTP server read timeout ( fixes #805 , fixes #806 )
2014-10-13 19:34:26 +02:00
Jakob Borg
244a22755c
Merge branch 'pr-840'
...
* pr-840:
More descriptive error if config couldn't be loaded
Better handling of wrong config files
2014-10-13 16:02:14 +02:00
Jakob Borg
79c3ea82c7
More descriptive error if config couldn't be loaded
2014-10-13 16:01:57 +02:00
Jakob Borg
4b92960975
Add mvdan
2014-10-13 16:00:01 +02:00
Daniel Martí
ef616ff25b
Better handling of wrong config files
2014-10-13 15:41:50 +02:00
Jakob Borg
7fb1a470ce
Temporary workaround for panics in GUI/Usage reporting (ref #811 )
2014-10-13 14:45:40 +02:00
Jakob Borg
fc6b2d9193
Ignore matcher benchmark
2014-10-12 14:54:36 +02:00
Jakob Borg
e5dc66e7e5
Translation update
2014-10-12 14:09:40 +02:00
Jakob Borg
bb01b76582
Fix monitor deadlock on panic
2014-10-12 13:53:30 +02:00
Jakob Borg
f1aff0fd96
Merge pull request #829 from seehuhn/cleanups
...
Cleanup the code in internal/files/leveldb.go a bit.
2014-10-12 10:50:33 +02:00
Jakob Borg
5656be5206
Folders queried by the REST interface might not exist in the model ( fixes #823 )
2014-10-12 10:47:23 +02:00
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
Jochen Voss
28366677b0
Cleanup the code in internal/files/leveldb.go a bit.
...
This commit introduces the following, cosmetic changes:
- All callers of 'ldbGenericReplace' specify a non-nil 'deleteFn' argument.
Thus, remove the checks for 'deleteFn' being nil.
- Before this change, 'ldbInsert' took a 'FileInfo' argument and a
separate argument for the file name, but all callers passed in the
value of FileInfo.Name as the file name. Simplify this, by not not
passing in the file name as a separate argument. This makes the
function signature of 'ldbInsert' more similar to 'ldbUpdate'.
- doc fixes
2014-10-10 22:12:01 +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
Jakob Borg
756a8a35e3
Add file I forgot in previous
2014-09-30 17:56:02 +02:00
Jakob Borg
f3057c61a7
Prepare for being able to start and stop folders at any time
2014-09-30 17:52:05 +02:00
Jakob Borg
25345f08e7
Tone down initial auto upgrade warning
2014-09-30 17:38:12 +02:00
Jakob Borg
2091e12e82
Perform initial scan asynchronously ( fixes #509 , fixes #464 )
2014-09-30 17:35:04 +02:00
Jakob Borg
3eb000fa60
Don't perform any further checks on too short IP numbers ( fixes #764 )
2014-09-30 17:23:31 +02:00
Jakob Borg
3059b36118
Fix test configs to v5 format
2014-09-29 20:22:16 +02:00
Jakob Borg
35b1887e17
Spelling of Deprecated
2014-09-29 20:07:31 +02:00
Jakob Borg
8f9b8a8550
Fork osext and support Solaris
2014-09-28 23:11:12 +02:00
Jakob Borg
174befe729
Revert "Fix build on Solaris"
...
This reverts commit e212b64823 .
2014-09-28 23:09:55 +02:00
Audrius Butkevicius
e212b64823
Fix build on Solaris
2014-09-28 21:54:24 +01:00
Jakob Borg
991dc32a0b
Fix config tests for autoUpgradeIntervalH
2014-09-28 22:38:10 +02:00
Audrius Butkevicius
a76efd4166
Merge pull request #750 from AudriusButkevicius/upgrades
...
Autoupgrades (fixes #727 )
2014-09-28 21:09:08 +01:00
Audrius Butkevicius
8a768baaaa
Add autoUpgrade option in UI
2014-09-28 21:07:28 +01:00
Audrius Butkevicius
997692b494
Add autoUpgrade coroutine ( fixes #727 )
2014-09-28 21:06:46 +01:00
Audrius Butkevicius
59ffec4e39
Allow a single upgrade at a time
2014-09-28 21:06:46 +01:00
Audrius Butkevicius
56d0ecc253
Rebuild assets
2014-09-28 14:39:18 +01:00
Audrius Butkevicius
e863746bd7
Change some text in UI to make more sense
2014-09-28 14:38:57 +01:00
Audrius Butkevicius
d4dc7911eb
Migrate config
2014-09-28 14:36:21 +01:00
Audrius Butkevicius
f561d3261a
Rename FolderConfiguration.Directory to FolderConfiguration.Path
2014-09-28 14:36:16 +01:00
Audrius Butkevicius
fdf8ee7015
Manual fixup
2014-09-28 14:23:08 +01:00
Audrius Butkevicius
5ec95086f2
Run go fmt -w -s
2014-09-28 14:23:08 +01:00
Audrius Butkevicius
26e4669316
Run go fmt -w
2014-09-28 14:23:08 +01:00
Audrius Butkevicius
6c352dca74
Rename Repository -> Folder, Node -> Device ( fixes #739 )
2014-09-28 14:23:07 +01:00
Jakob Borg
9d816694ba
Don't require godep to build
2014-09-28 13:09:55 +02:00
Audrius Butkevicius
39ef35db0c
Merge pull request #753 from AudriusButkevicius/ph
...
Remove field placeholders (fixes #748 )
2014-09-28 11:10:20 +01:00
Jakob Borg
b8ed135183
Don't get stuck in idle while syncing from a disconnecting node
2014-09-28 07:56:05 +02:00
Jakob Borg
6f750582dd
Short benchmark test only by default
2014-09-28 07:55:12 +02:00
Jakob Borg
5f93fbd471
Genfiles should be random by default
2014-09-28 07:31:53 +02:00
Jakob Borg
0e2653b7dd
Correctly handle ro dirs in ro dirs etc
2014-09-28 01:54:25 +02:00
Audrius Butkevicius
47554b562d
Remove field placeholders ( fixes #748 )
...
All of them are either required, or empty by default, or for example
node name is later populated on first connection.
2014-09-28 00:47:58 +01:00
Jakob Borg
99427d649e
Complete rewrite of the puller ( fixes #638 , fixes #715 , fixes #701 )
2014-09-27 21:51:08 +02:00
Jakob Borg
7bc4589d4d
Simple reproducible syncing benchmark
2014-09-27 21:13:04 +02:00
Jakob Borg
9af586d4ac
Total in and out bytes in perfstat
2014-09-27 21:13:02 +02:00
Jakob Borg
87e68cac6c
Fix spacing under Add buttons
2014-09-27 14:43:11 +02:00
Jakob Borg
7d5a98409b
Move discovery protocol spec
2014-09-27 12:54:23 +02:00
Jakob Borg
14817e31f6
Move top level packages to internal.
2014-09-27 09:42:10 +02:00
Jakob Borg
fbdbd722b1
Don't add duplicates for introduced nodes without repos ( fixes #745 )
2014-09-27 09:37:37 +02:00
Jakob Borg
b34102cd11
Add note about squashing/rebasing
2014-09-26 09:57:16 +02:00
Audrius Butkevicius
3c51cd6626
Name is not always the hostname
2014-09-24 22:10:20 +01:00
Jakob Borg
b0b34236e3
Revert "Merge branch 'pr/711'" (...)
...
Temporary revert to the old debounce behavior. It's a bit bad and drives
up CPU usage, but mostly shows correct info in the GUI. This will be
improved shortly.
This reverts commit 5144330807 , reversing
changes made to c34f3defe1 .
Conflicts:
auto/gui.files.go
2014-09-24 22:01:30 +02:00
Jakob Borg
a502836002
Translation update
2014-09-24 21:55:12 +02:00
Jakob Borg
09417d4b83
Merge remote-tracking branch 'origin/pr/731'
...
* origin/pr/731:
Use leveldb database lock for concurrent upgrade protection (fixes #703 )
2014-09-24 14:05:37 +02:00
Audrius Butkevicius
83ef2fa84c
Add CPU usage tracker for Windows ( fixes #729 )
2014-09-24 09:57:21 +01:00
Jakob Borg
e596a45e9f
Add "cluster introducer" functionality to nodes (ref #120 )
2014-09-23 16:04:20 +02:00
Jakob Borg
24e5000c37
Use JoinHostPort for URL that browser opens ( fixes #732 )
2014-09-23 14:16:16 +02:00
Audrius Butkevicius
e3bcfa17f8
Use leveldb database lock for concurrent upgrade protection ( fixes #703 )
...
Doesn't work if config directories are different though
2014-09-22 23:37:19 +01:00
Jakob Borg
3b512676b7
Don't create 'test' file in model dir
2014-09-22 21:34:54 +02:00
Jakob Borg
928198bbfe
Use the same temporary naming as the puller
2014-09-22 16:57:06 +02:00
Jakob Borg
1fb56f0ad2
Woops, I screw up the writer again.
2014-09-22 16:53:57 +02:00
Jakob Borg
9797f62cb8
Use ioutil.TempFile, not some nasty homebrew crap
2014-09-22 15:54:36 +02:00
Jakob Borg
4ddd87e773
Locking around osutil.Rename and some descriptive text
2014-09-22 15:48:46 +02:00
Jakob Borg
7fd2e4d2db
Use temp file in same location as final .stignore
2014-09-22 15:39:25 +02:00
Jakob Borg
55c7d86205
Text and layout tweaks
2014-09-22 15:22:15 +02:00
Jakob Borg
737a28050c
Merge remote-tracking branch 'origin/pr/721'
...
* origin/pr/721:
Add tests for model.GetIgnores model.SetIgnores
Expose ignores in the UI
Add comments directive to ignores
Expose ignores rest endpoints
Expose ignores from model
2014-09-22 14:59:13 +02:00
Jakob Borg
434ecdac6b
LocalVersion is unavailable until after AddRepo ( fixes #154 )
2014-09-22 14:06:25 +02:00
Audrius Butkevicius
709570afcc
Add tests for model.GetIgnores model.SetIgnores
2014-09-21 22:35:00 +01:00
Audrius Butkevicius
b084b4faaf
Expose ignores in the UI
2014-09-21 22:34:53 +01:00
Audrius Butkevicius
d96ce23451
Add comments directive to ignores
2014-09-21 20:30:13 +01:00
Audrius Butkevicius
760a9d6d35
Expose ignores rest endpoints
2014-09-21 20:30:06 +01:00
Audrius Butkevicius
8e624cedb1
Expose ignores from model
2014-09-21 20:18:21 +01:00
Jakob Borg
39cf269d6b
Correct Max Version -> Max Local Version
2014-09-21 15:04:41 +02:00
Jakob Borg
6a00b5a79e
Fix import (merge error) that broke the build.
2014-09-20 22:18:03 +02:00
Jakob Borg
2ce674e3fd
Merge pull request #717 from Cathryne/master
...
fixed a typo in GUI
2014-09-20 22:07:38 +02:00
Jakob Borg
0fcc25d7c9
Error handler in staggered Walk() ( fixes #718 )
2014-09-20 22:06:48 +02:00
Cathryne
63bd0136fb
fixed a typo
2014-09-20 21:54:23 +02:00
Jakob Borg
80a2a934dd
Correct handling of WasSeen for new nodes
2014-09-20 20:23:44 +02:00
Jakob Borg
e13976a3b3
Adding a node does not require restart; move logic to config package
2014-09-20 20:23:44 +02:00
Jakob Borg
5144330807
Merge branch 'pr/711'
...
* pr/711:
Asset update
Move function-specific constants to the top and rename debouncedFcts
Improve debounce functionality of REST requests
2014-09-20 20:22:23 +02:00
Jakob Borg
bb29639183
Asset update
2014-09-20 19:20:41 +02:00
Lode Hoste
4667cb9de9
Move function-specific constants to the top and rename debouncedFcts
2014-09-20 17:12:39 +02:00
Jakob Borg
c34f3defe1
l.FatalErr was an antipattern
2014-09-20 15:42:20 +02:00
Jakob Borg
eb0d742672
Chmod error should not be fatal ( fixes #612 )
2014-09-20 15:41:52 +02:00
Jakob Borg
d9b0a73787
Forgot to check some errors
2014-09-20 15:31:15 +02:00
Jakob Borg
4810879b2f
Add Zillode
2014-09-20 15:14:51 +02:00
Lode Hoste
f4b6704aad
Improve debounce functionality of REST requests
2014-09-19 22:42:29 +02:00
Jakob Borg
b1a31d3b30
Send correct Node IDs in cluster config message ( fixes #707 )
2014-09-19 13:21:58 +02:00
Jakob Borg
bf909db3f9
jshint and format app.js
2014-09-18 21:29:29 +02:00
Jakob Borg
9c68be4d5e
GET and POST /rest/ping as no-op ( fixes #680 )
2014-09-18 12:55:28 +02:00
Jakob Borg
d7956dd495
/rest/version should return JSON ( fixes #694 )
2014-09-18 12:52:45 +02:00
Jakob Borg
37a473e7d6
/rest/errors should return an object ( fixes #695 )
2014-09-18 12:49:59 +02:00
Jakob Borg
5a1c885e8f
Translation update
2014-09-18 12:01:08 +02:00
Jakob Borg
0b1136ad82
Panic if http.Serve() returns an error
2014-09-18 11:46:20 +02:00
Jakob Borg
45af549897
Don't take down HTTP(S) server on connection errors ( fixes #700 )
2014-09-18 11:45:48 +02:00
Jakob Borg
97844603fc
Forced DB GC:s should be done before creating a lot of garbage, not after
2014-09-18 10:04:37 +02:00
Jakob Borg
c07b39e58b
Stress test the HTTP(S) server
2014-09-17 17:11:53 +02:00
Jakob Borg
384c543ab9
Ignore patterns should be case insensitive on OS X and Windows
2014-09-16 23:16:39 +02:00
Jakob Borg
592b13d7db
Merge branch 'integration-tests'
...
* integration-tests:
Script cleanups
Fail integration tests early
Improve integration tests
Add integration test HTTPS certificates
Upgrade integration test configs
2014-09-16 22:59:42 +02:00
Jakob Borg
6fdba3c02e
Script cleanups
2014-09-16 23:26:52 +02:00
Jakob Borg
cbf758ead9
Fail integration tests early
2014-09-16 23:22:03 +02:00
Jakob Borg
d1ad778a64
Improve integration tests
2014-09-16 23:14:19 +02:00
Jakob Borg
ce5ad296ae
Add integration test HTTPS certificates
2014-09-16 23:08:24 +02:00
Jakob Borg
797e105786
Upgrade integration test configs
2014-09-16 23:03:18 +02:00
Jakob Borg
d17d80747e
Update dependencies ( fixes #692 )
2014-09-15 18:15:16 +02:00
Jakob Borg
55ea207a55
Merge branch 'new-tls'
...
* new-tls:
Cleanups and tweaks
Add redirection middleware
Add DowngradingListener
Conflicts:
auto/gui.files.go
2014-09-15 00:19:07 +02:00
Jakob Borg
6384d1e5a3
Cleanups and tweaks
2014-09-15 00:18:05 +02:00
Jakob Borg
aba01cdace
Print error on monitor restart failure
2014-09-14 23:19:28 +02:00
Jakob Borg
517b7a14b4
Merge branch 'pr/683'
...
* pr/683:
Restart monitor as part of the upgrade process (fixes #682 )
2014-09-14 23:18:48 +02:00
Jakob Borg
2927de7cf9
More than a year ago might as well be never ( fixes #690 )
2014-09-14 23:16:15 +02:00
Jakob Borg
6471ba70e4
Merge pull request #686 from AudriusButkevicius/auth
...
Send the real hash as part of the config (fixes #681 )
2014-09-14 10:50:17 +02:00
Jakob Borg
9f9de01c51
Merge pull request #685 from AudriusButkevicius/preview
...
Add usage reporting preview (closes #395 )
2014-09-14 10:43:22 +02:00
Audrius Butkevicius
3662decb8b
Add redirection middleware
2014-09-13 22:10:55 +01:00
Audrius Butkevicius
583bcfb3c7
Add DowngradingListener
...
"Inspired" by https://github.com/BenLubar/Rnoadm/maybetls
but avoids pulling the whole game as a dependency, and has the API slightly changed,
as it makes no sense to have non-tcp TLS listeners.
2014-09-13 22:10:47 +01:00
Audrius Butkevicius
c45e3fa4d5
Require username and password for authentication
2014-09-13 22:06:25 +01:00
Audrius Butkevicius
24cbcef620
Send the real hash as part of the config ( fixes #681 )
2014-09-13 21:52:20 +01:00
Audrius Butkevicius
e2a520ff49
Add usage reporting preview ( closes #395 )
2014-09-13 21:40:13 +01:00
Audrius Butkevicius
a5e3317e28
Restart monitor as part of the upgrade process ( fixes #682 )
2014-09-13 15:32:47 +01:00
Jakob Borg
5638c4ba87
Woops (fixup of previous)
2014-09-13 15:11:47 +02:00
Jakob Borg
bf7a128142
Smarter limit on size of pull block queue
2014-09-13 10:57:36 +02:00
Jakob Borg
c5243cd4d5
Translation update
2014-09-11 20:26:10 +02:00
Jakob Borg
db868ed29d
Increase restart delay to 60s
2014-09-11 20:25:08 +02:00
Jakob Borg
450c7d80f8
Don't crash on walk error ( fixes #663 )
2014-09-11 20:23:22 +02:00
Jakob Borg
abbb001975
Typo in panic message (fixes ##662)
2014-09-11 18:42:42 +02:00
Jakob Borg
f35d83ae48
We have an extra field in compressed messages
2014-09-11 18:42:03 +02:00
Jakob Borg
a2315dc95e
Merge pull request #665 from spaam/discover-readme
...
Update magic number in PROTOCOL.md
2014-09-11 18:36:15 +02:00
Johan Andersson
4e2feb6fbc
Update magic number in PROTOCOL.md
...
Use the same magic number as in packets.go
2014-09-11 15:29:27 +02:00
Jakob Borg
13602b6769
Make the restart on wakeup configurable
2014-09-10 22:24:53 +02:00
Jakob Borg
85dba25246
Add pause before restart after standby
2014-09-10 22:20:03 +02:00
Jakob Borg
66432672b3
Clearfix to not hide Add Node on small screens ( fixes #659 )
2014-09-10 16:57:08 +02:00
Jakob Borg
e6d96e4c18
Fix hit zone for remote nodes accordion (ref #651 )
2014-09-10 14:43:23 +02:00
Jakob Borg
9812305bb9
Translation update
2014-09-10 14:21:44 +02:00
Jakob Borg
f680a63a1f
Woops, broke LastSeen
2014-09-10 11:29:01 +02:00
Jakob Borg
781d63cb2a
UI Tweaks
2014-09-10 11:27:21 +02:00
Jakob Borg
9ff04ee3d8
Don't start when the config dir is not a dir
2014-09-10 10:36:05 +02:00
Jakob Borg
5d85a24977
Don't potentially block forever in Close() ( fixes #655 )
2014-09-10 08:48:15 +02:00
Jakob Borg
1e51fca0b0
Don't crash on new nodes ( fixes #656 )
2014-09-10 08:31:30 +02:00
Jakob Borg
5537d53f9a
Timestamp the panic log
2014-09-10 08:25:56 +02:00
Jakob Borg
50a4170541
Announce actual port when UPnP is disabled ( fixes #657 )
2014-09-10 08:22:38 +02:00
Jakob Borg
3a8255bda1
Update lang-en.json
2014-09-10 07:48:35 +02:00
Jakob Borg
a617846f0f
Merge pull request #654 from AudriusButkevicius/disco
...
Check if global discovery was actually started before trying to stop it (fixes #653 )
2014-09-10 07:41:49 +02:00
Audrius Butkevicius
5772588c29
Check if global discovery was actually started before trying to stop it ( fixes #653 )
2014-09-10 00:05:28 +01:00
Jakob Borg
9d0dc45f74
Clarify clickability of top Edit menu (ref #651 )
2014-09-08 19:54:11 +02:00
Jakob Borg
c6aefbc9a0
Entire panel title should be clickable (ref #651 )
2014-09-08 19:46:33 +02:00
Jakob Borg
dbbafb0cc9
Hide irrelevant fields for disconnected nodes (ref #592 )
2014-09-08 19:41:20 +02:00
Jakob Borg
6e8272f78f
Implement incoming rate limit ( fixes #613 )
2014-09-08 17:25:55 +02:00
Jakob Borg
baf8a63121
Announce Server -> Discovery Server
2014-09-08 09:42:33 +02:00
Jakob Borg
fc4a76ee50
Only add one instance of a file to the need list ( fixes #592 )
2014-09-08 09:37:42 +02:00
Jakob Borg
2117d1d035
Tone down insignificant discovery error messages (ref #241 )
2014-09-08 09:14:21 +02:00
Jakob Borg
0a70e0b7b6
Remove orphaned temp files before attempting to remove directories ( fixes #492 )
2014-09-07 21:29:06 +02:00
Jakob Borg
64ffac5671
Update goleveldb ( fixes #644 , closes #648 )
2014-09-07 14:18:00 +02:00
Jakob Borg
ac384e8a9c
Merge remote-tracking branch 'origin/pr/647'
...
* origin/pr/647:
Listen for ConfigSaved event in the UI (fixes #244 )
Emit ConfigSaved event
Save config after updating node name
2014-09-07 14:15:17 +02:00
Jakob Borg
f97c8222c7
Cleanup imports in previous
2014-09-07 14:08:49 +02:00
Jakob Borg
728289ee3a
Merge remote-tracking branch 'origin/pr/646'
...
* origin/pr/646:
Add session support (fixes #611 )
2014-09-07 14:07:21 +02:00
Alexander Graf
5faa16f9ee
use modification time for version timestamp; change version format to filename~yyyymmdd-hhmmss
2014-09-07 13:40:22 +02:00
Audrius Butkevicius
4e608b116a
Add session support ( fixes #611 )
2014-09-07 12:10:17 +01:00
Audrius Butkevicius
521b49166e
Listen for ConfigSaved event in the UI ( fixes #244 )
2014-09-07 12:07:25 +01:00
Audrius Butkevicius
8f32decf2d
Emit ConfigSaved event
2014-09-07 12:04:40 +01:00
Audrius Butkevicius
0d51f83d2d
Save config after updating node name
2014-09-07 12:04:40 +01:00
Audrius Butkevicius
78c6a68db9
Merge pull request #645 from AudriusButkevicius/cfg
...
Allow saving config from anywhere
2014-09-07 12:02:35 +01:00
Audrius Butkevicius
2949ab73e2
Add tests
2014-09-07 12:00:41 +01:00
Audrius Butkevicius
223741820d
Fix tests
2014-09-07 12:00:41 +01:00
Audrius Butkevicius
4b57821f52
Allow saving config from anywhere
2014-09-07 12:00:37 +01:00
Audrius Butkevicius
74271a479f
Silence failing ulimit calls
2014-09-06 15:04:49 +01:00
Audrius Butkevicius
c377177108
Fix tests on Windows
2014-09-06 14:56:12 +01:00
Jakob Borg
84eb729bd4
Don't start the browser on restarts ( fixes #636 )
2014-09-06 07:35:30 +02:00
Jakob Borg
14aea365c5
Don't stop permanently on exit ( fixes #637 )
2014-09-06 07:28:57 +02:00
Jakob Borg
97cb3fa5a5
Translation update (add Catalan)
2014-09-05 14:24:20 +02:00
Jakob Borg
b5368db704
Update assets
2014-09-05 13:26:17 +02:00
Jakob Borg
8c442b72f3
Merge remote-tracking branch 'origin/pr/634'
...
* origin/pr/634:
Removed unused `optionEditor` directive from app.js
Removed unused `clean` filter from app.js.
Removed unused `shortPath` filter from app.js.
Removed unused `short` filter from app.js.
2014-09-05 13:25:53 +02:00
Jakob Borg
f8f6791d39
Add pyfisch
2014-09-05 13:25:40 +02:00
Pyfisch
0c09f077aa
Removed unused optionEditor directive from app.js
2014-09-05 12:42:52 +02:00
Pyfisch
af2831d7b6
Removed unused clean filter from app.js.
2014-09-05 12:40:45 +02:00
Pyfisch
64d5d4aec7
Removed unused shortPath filter from app.js.
2014-09-05 12:39:35 +02:00
Pyfisch
619a6b2adb
Removed unused short filter from app.js.
2014-09-05 12:38:21 +02:00
Jakob Borg
33a26bc0cf
Merge pull request #631 from AudriusButkevicius/upnp
...
Check if we had successfully acquired a UPnP mapping before (fixes #627 )
2014-09-05 09:09:23 +02:00
Audrius Butkevicius
b445a7c4d3
Check if we had successfully acquired a UPnP mapping before ( fixes #627 )
2014-09-04 23:02:10 +01:00
Jakob Borg
e6892d0c3e
Autogen warning in lang dir
2014-09-04 23:37:23 +02:00
Jakob Borg
33e9a88b56
Proper signal handling in monitor process
2014-09-04 23:31:22 +02:00
Jakob Borg
df00a2251e
Pesky copyright is pesky
2014-09-04 22:33:01 +02:00
Jakob Borg
92c44c8abe
Rework .stignore functionality ( fixes #561 ) (...)
...
- Only one .stignore is supported, at the repo root
- Negative patterns (!) are supported
- Ignore patterns affect sent and received indexes, not only scanning
2014-09-04 22:30:42 +02:00
Jakob Borg
8e4f7bbd3e
Merge pull request #626 from alex2108/master
...
staggered versioner: count directories as files (fixes #607 )
2014-09-04 21:59:38 +02:00
Jakob Borg
a40217cf07
Trim dead bits of code
2014-09-04 22:07:59 +02:00
Jakob Borg
e586fda5f2
Woops, close the right fd
2014-09-04 22:03:25 +02:00
Alexander Graf
a58564ff88
count directories as files ( fixes #607 )
2014-09-04 16:48:24 +02:00
Jakob Borg
89885b9fb9
Clean up GUI directory
2014-09-04 08:53:28 +02:00
Jakob Borg
5c7d977ae0
Use woff instead of ttf font
2014-09-04 08:47:23 +02:00
Jakob Borg
2cd3ee9698
Dead code cleanup
2014-09-04 08:39:39 +02:00
Jakob Borg
dd3080e018
Copyright cleanup
2014-09-04 08:31:38 +02:00
Jakob Borg
5915e8e86a
Don't trust mime.TypeByExtension for the easy stuff ( fixes #598 )
2014-09-04 08:26:12 +02:00
Jakob Borg
3c67c06654
Merge pull request #619 from marcindziadus/sorting-order
...
Change sorting order (fix #618 )
2014-09-03 23:26:20 +02:00
Marcin
76232ca573
change sorting order
2014-09-03 18:41:45 +02:00
Jakob Borg
5235e82bda
Limit number of open db files ( fixes #587 )
2014-09-02 14:47:36 +02:00
Jakob Borg
10f0713257
Use a monitor process to handle panics and restarts ( fixes #586 )
2014-09-02 13:24:41 +02:00
Jakob Borg
e9c7970ea4
Only create assets map on demand
2014-09-02 13:07:33 +02:00
Jakob Borg
1a6ac4aeb1
Integration tests should use v4 localhost
2014-09-02 12:10:18 +02:00
Jakob Borg
f633bdddf0
Update goleveldb
2014-09-02 09:44:07 +02:00
Jakob Borg
de0b91d157
Show IPv6 GUI URL correctly
2014-09-01 20:04:22 +02:00
Jakob Borg
2e77e498f5
Use more compact base64 encoding for assets
2014-09-01 20:04:22 +02:00
Jakob Borg
4ac67eb1f9
Merge pull request #589 from AudriusButkevicius/include
...
Add #include directive to .stignore (fixes #424 )
2014-09-01 18:08:53 +02:00
Jakob Borg
2b536de37f
Don't fake indexes for stopped repos
2014-09-01 17:48:39 +02:00
Jakob Borg
2ffa92ba1b
Warn on startup for stopped repositories
2014-09-01 17:47:18 +02:00
Jakob Borg
6ecddd8388
Don't fail build on Solaris
2014-09-01 17:26:28 +02:00
Jakob Borg
bd2772ea4c
If all instances of the global version is invalid, the file should not be on the need list
2014-09-01 09:07:51 +02:00
Audrius Butkevicius
92bf79d53b
Fix tests
2014-08-31 22:34:13 +01:00
Audrius Butkevicius
eebe0eeb71
Handle recursive includes
2014-08-31 22:33:49 +01:00
Jakob Borg
1068eaa0b9
Translation update
2014-08-31 21:52:29 +02:00
Jakob Borg
faac3e7d7c
Don't clobber staggeredMaxAge = 0 ( fixes #604 )
2014-08-31 21:44:06 +02:00
Jakob Borg
dab4340207
Merge pull request #603 from AudriusButkevicius/restart
...
Fix GUI breaking during restarts (fixes #577 )
2014-08-31 21:30:51 +02:00
Audrius Butkevicius
fd2567748f
Fix GUI breaking during restarts ( fixes #577 )
2014-08-31 15:49:08 +01:00
Jakob Borg
c2daedbd11
Try not to crash the box with failing tests
2014-08-31 15:36:05 +01:00
Jakob Borg
7c604beb73
Test cases for ignore #include
2014-08-31 15:35:48 +01:00
Audrius Butkevicius
8c42aea827
Add #include directive to .stignore ( fixes #424 )
...
Though breaks #502 in a way, as .stignore is not the only place where
stuff gets defined anymore.
Though it never was, as .stignore can be placed in each dir, but I think we
should phase that out in favor of globbing which means that we can then
have a single file, which means that we can have a UI for editing that.
Alternative would be as suggested to include a .stglobalignore which is then synced
as a normal file, but gets included by default.
Then when the UI would have two editors, a local ignore, and a global ignore.
2014-08-31 15:32:22 +01:00
Jakob Borg
cf1bfdfb61
Hold rmut read lock when looking at nodeStatRefs
2014-08-31 13:48:43 +02:00
Jakob Borg
75b26513e1
Don't crash under suspicious circumstances... ( fixes #602 )
2014-08-31 13:48:16 +02:00
Jakob Borg
6c09a77a97
Clean out index for nonexistent repositories ( fixes #549 )
2014-08-31 13:34:17 +02:00
Jakob Borg
67389c39fb
For now, don't allow changing repo path (ref #549 )
2014-08-31 13:05:08 +02:00
Jakob Borg
c326103e6e
Add X-Syncthing-Version header to HTTP responses
2014-08-31 12:59:20 +02:00
Jakob Borg
c2120a16da
Try to set some reasonable resource limits when running tests
2014-08-30 10:02:10 +02:00
Jakob Borg
258ad4352e
Fix connecting to discovered IPv6 address
2014-08-29 17:18:25 +02:00
Jakob Borg
435d3958f4
Update goleveldb
2014-08-29 12:36:45 +02:00
Jakob Borg
b0408ef5c6
Info line formatting (ref #583 )
2014-08-28 21:35:55 +02:00
Jakob Borg
1c41b0bc2f
Document GOMAXPROCS instead of (useless) STDEADLOCKTIMEOUT
2014-08-28 15:29:49 +02:00
Jakob Borg
aa827f3042
Fix language detection, never show untranslated strings ( fixes #543 )
2014-08-28 13:23:23 +02:00
Audrius Butkevicius
f44f5964bb
Set rescan interval on default repository ( fixes #579 )
2014-08-27 23:45:09 +01:00
Audrius Butkevicius
91ba93bd7a
Merge pull request #571 from syncthing/recheck
...
Add routine for checking possible standby (fixes #565 )
2014-08-27 22:44:36 +01:00
Audrius Butkevicius
0abe4cefb4
Add routine for checking possible standby ( fixes #565 )
2014-08-27 22:42:59 +01:00
Jakob Borg
bccd460f3b
Translation update
2014-08-27 10:20:44 +02:00
Jakob Borg
d1023004e1
Saner error/debug messsages for permission issues
2014-08-27 07:00:15 +02:00
Jakob Borg
04a5f9cb04
Fix fnmatch tests for Windows
2014-08-26 13:26:52 +02:00
Jakob Borg
9818e2b550
Use more fnmatch-like matcher in .stignore ( fixes #426 )
2014-08-26 11:12:20 +02:00
Jakob Borg
fe43e3b89d
Try not to leave directories behind with incorrect permissions
2014-08-26 11:12:20 +02:00
Jakob Borg
e1f1ae041f
Don't leak request slots ( fixes #483 )
2014-08-25 17:48:18 +02:00
Jakob Borg
5bcf26e324
Fix table layout for wide elements, at the price of ellipsis ( fixes #326 , fixes #309 )
2014-08-25 16:37:15 +02:00
Jakob Borg
5f47a8149f
Use ISO date format because I'm opinionated
2014-08-25 15:53:32 +02:00
Jakob Borg
00b662b53a
Merge branch 'pr/556'
...
* pr/556:
Add translation strings
Display Last Seen value in the UI
Add /rest/stats/node endpoint
Add stats package and node related statistics model
2014-08-25 15:52:59 +02:00
Jakob Borg
faf519ab1b
Warn about incorrect -goarch values
2014-08-25 14:55:19 +02:00
Jakob Borg
fce73f6f17
Verify CONTRIBUTORS file
2014-08-25 14:55:19 +02:00
Audrius Butkevicius
887890baf5
Add translation strings
2014-08-25 12:57:44 +01:00
Audrius Butkevicius
c66b24feeb
Display Last Seen value in the UI
2014-08-25 12:54:50 +01:00
Audrius Butkevicius
84c6f147ad
Add /rest/stats/node endpoint
2014-08-25 12:49:22 +01:00
Audrius Butkevicius
0cdb0daa8c
Add stats package and node related statistics model
2014-08-25 12:49:21 +01:00
Jakob Borg
eee702f299
Don't run tests in build.sh all
2014-08-25 08:50:13 +02:00
Jakob Borg
df65247325
Increase max path length 1024 -> 8192 bytes ( fixes #551 )
...
PATH_MAX seems to be 4096 most of the time; Windows limit is much lower.
2014-08-25 08:48:49 +02:00
Jakob Borg
1a174e75d3
Merge pull request #562 from AudriusButkevicius/restart
...
Fix race condition while restarting (fixes #560 )
2014-08-25 08:03:18 +02:00
Audrius Butkevicius
9e1fd3454f
Fix race condition while restarting ( fixes #560 )
2014-08-25 00:15:28 +01:00
Audrius Butkevicius
3b1603cadf
Merge pull request #557 from AudriusButkevicius/opts
...
Allow configuring GUI options from command line and environment (fixes #505 , closes #507 )
2014-08-24 16:56:15 +01:00
Audrius Butkevicius
8803bac708
Allow configuring GUI options from command line and environment ( fixes #505 , closes #507 )
2014-08-24 16:55:35 +01:00
Audrius Butkevicius
3a01eaa4a6
Fix build.go on Windows
2014-08-23 21:19:29 +01:00
Jakob Borg
9f84c1c448
New repos must have a default rescan interval ( fixes #555 )
2014-08-23 19:40:39 +02:00
Jakob Borg
dda0390156
Correctly set GOARM on ARM builds
2014-08-23 10:52:12 +02:00
Jakob Borg
c74509dd5f
Add forgotten lang-*.json files
2014-08-23 10:44:08 +02:00
Jakob Borg
f61bbb2ff4
Tweaks and optimizations
2014-08-23 10:43:48 +02:00
Jakob Borg
e7f60161a3
Don't leak fd
2014-08-23 10:37:58 +02:00
Jakob Borg
ebec4fbc24
Translation update (add Bulgarian, Lithuanian)
2014-08-22 18:18:13 +02:00
Jakob Borg
1d4105ae3d
UI tweaks for staggered versioner
2014-08-22 18:16:05 +02:00
Jakob Borg
586d49f0c3
Merge pull request #541 from alex2108/master
2014-08-22 17:58:01 +02:00
Jakob Borg
5b0fab0697
Add alex2108
2014-08-22 17:57:43 +02:00
Alexander Graf
2b3359dff3
add staggered versioner
2014-08-22 00:41:17 +02:00
Jakob Borg
63203aa14c
Merge pull request #548 from AudriusButkevicius/warning
...
Do not warn about failed IPv6 discovery, warn about no discovery
2014-08-21 18:54:33 +02:00
Audrius Butkevicius
716a8329c2
Do not warn about failed IPv6 discovery
2014-08-20 22:06:58 +01:00
Jakob Borg
dab0aec85e
Latest build badge should link to latest build
2014-08-20 12:23:04 +02:00
Jakob Borg
1f1ab017c0
Show rescan interval per repo
2014-08-20 01:44:05 +02:00
Audrius Butkevicius
b6912ef95e
Merge pull request #544 from marcindziadus/rescan-interval
...
Per repository scan intervals
2014-08-20 00:02:34 +01:00
Audrius Butkevicius
db54dca694
Do not fire UIOffline when navigating away
...
Fixes #487
2014-08-19 23:44:40 +01:00
Marcin
0e751b983c
Enable to configure scan interval per each repository independently
...
Fix broken tests
Bugfix
Clean up
Refactor variable name
Adjust tests
Minor fixes
Fix typo. Remove indent.
2014-08-20 00:36:36 +02:00
Audrius Butkevicius
997b20a975
Set Content-Type before sending out headers
2014-08-19 23:30:32 +01:00
Jakob Borg
386f9c42c2
Merge pull request #545 from AudriusButkevicius/flush
...
Flush headers before potentially blocking
2014-08-20 00:21:49 +02:00
Audrius Butkevicius
cfae06db65
Flush headers before potentially blocking
2014-08-19 23:18:28 +01:00
Jakob Borg
44260b7b5c
Add marcindziadus
2014-08-20 00:05:43 +02:00
Jakob Borg
13063b957f
Use drained legacy pool in goleveldb
2014-08-19 23:49:03 +02:00
Jakob Borg
ee05e12480
Windows nodes should ignore deleted impossible files
2014-08-19 15:36:57 +02:00
Jakob Borg
5538545fb0
README links to build guide
2014-08-19 15:33:20 +02:00
Jakob Borg
bc1167c2c5
README links to build, not only artefacts
2014-08-19 15:20:53 +02:00
Jakob Borg
c57656e4c3
Do honest test coverage analysis in Jenkins
2014-08-19 12:43:50 +02:00
Jakob Borg
264400a984
Check for supported go version build.go
2014-08-19 11:04:20 +02:00
Jakob Borg
408db4eb1d
rm -rf travis
2014-08-19 10:05:40 +02:00
Jakob Borg
9347f223ef
Note about review of pull requests
2014-08-19 09:55:50 +02:00
Jakob Borg
518aa30c9c
Don't consider empty language codes when selecting language ( fixes #540 )
2014-08-18 23:43:58 +02:00
Jakob Borg
6bbf1f9355
Emit Node/Repo Rejected events on unknown nodes / repos.
2014-08-18 23:34:03 +02:00
Jakob Borg
b221e4d445
build.sh is a shim
2014-08-18 22:05:26 +02:00
Jakob Borg
580fccbfca
Don't build build.go on go get
2014-08-18 21:57:10 +02:00
Jakob Borg
045916efcc
ARM builds in build.go
2014-08-18 21:53:08 +02:00
Jakob Borg
4f92482294
build.sh -> build.go for better cross platform support
2014-08-18 21:39:35 +02:00
Jakob Borg
2f055a75a0
Merge pull request #537 from marclaporte/patch-2
...
Fix some typos
2014-08-18 10:43:29 +02:00
Marc Laporte
f0621207e3
Fix some typos
2014-08-17 23:27:04 -04:00
Jakob Borg
d657bc4e3d
Implement IPv6 multicast again ( fixes #346 )
2014-08-17 15:14:44 +02:00
Jakob Borg
a1fd07b27c
beacon.Beacon -> beacon.Broadcast
2014-08-17 15:14:44 +02:00
Audrius Butkevicius
52219c5f3f
Merge pull request #532 from AudriusButkevicius/config
...
Replace NodeConfiguration with RepositoryNodeConfiguration (Fixes #522 )
2014-08-17 12:47:12 +01:00
Jakob Borg
1a66461e07
All printed warnings should have some context
2014-08-17 10:28:36 +02:00
Jakob Borg
d20df12168
Add repoPath and repoID as parameters to versioner factory ( fixes #531 )
2014-08-17 07:52:49 +02:00
Audrius Butkevicius
668b429615
Better error message
...
Closes #526
2014-08-17 00:03:41 +01:00
Audrius Butkevicius
7db528be39
Replace NodeConfiguration with RepositoryNodeConfiguration
2014-08-16 23:20:21 +01:00