Audrius Butkevicius
b00264b594
Copy compression setting while introducing
2014-12-07 22:43:30 +00: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
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
Audrius Butkevicius and Audrius Butkevicius
992ad97ad5
Cache file descriptors
2014-12-04 16:18:47 +00:00
Audrius Butkevicius
770fff287e
Avoid rounding errors ( fixes #1068 )
2014-12-03 23:44:39 +00:00
Audrius Butkevicius
d80c40cfbf
Merge pull request #1072 from syncthing/rewrite-ignore-cache
...
Rewrite ignore cache
2014-12-03 09:50:05 +00:00
Audrius Butkevicius
3cbe92d797
Use unique versions in staggered versioner ( fixes #1063 )
2014-12-02 19:04:12 +00:00
Audrius Butkevicius
bc8907e90d
Check if announcement data is available
2014-12-01 19:53:13 +00: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
Audrius Butkevicius
7ad711f554
Add option to disable symlinks ( fixes #1017 )
2014-11-30 22:10:32 +00:00
Audrius Butkevicius and Jakob Borg
fd2d2c035e
Add support for multiple announce servers ( fixes #677 )
...
Somebody owes me a beer.
2014-11-30 13:25:06 +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
Audrius Butkevicius
bd91519df9
Add aria label on cog ( closes #1020 )
2014-11-24 21:14:14 +00:00
Audrius Butkevicius
262cf63956
Populate correct defaults
2014-11-23 18:45:45 +00: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
Audrius Butkevicius and Jakob Borg
20ba0bf4ed
Update PROTOCOL.md
2014-11-20 16:32:01 +01:00
Audrius Butkevicius and Jakob Borg
c325ffd0f8
Add symlink support ( fixes #873 )
2014-11-20 16:32:00 +01:00
Audrius Butkevicius and Jakob Borg
6e88d9688b
Implement symlinks package
2014-11-20 16:32:00 +01:00
Audrius Butkevicius and Jakob Borg
bf898f10fb
Add symlink support at the protocol level
2014-11-20 16:32:00 +01:00
Audrius Butkevicius and Jakob Borg
c891999e1d
Move filename conversion into osutil
2014-11-20 16:32:00 +01:00
Audrius Butkevicius and Jakob Borg
938e287501
Code smell
2014-11-20 16:32:00 +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
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
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
Audrius Butkevicius
d305752749
Cleanup temporary files during directory removal ( fixes #919 )
2014-10-29 11:19:48 +00:00
Audrius Butkevicius
048883ad27
Remove extra tabs from SOAP payload ( fixes #914 )
2014-10-27 23:33:59 +00:00
Audrius Butkevicius
58945a429f
Revert removal of test files
2014-10-26 11:36:40 +00: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
Audrius Butkevicius
25bb55491a
Cleanup blockmap on update ( fixes #889 )
2014-10-22 22:18:07 +01:00
Audrius Butkevicius
e2dc3e9ff3
Fix error messages
2014-10-21 00:01:02 +01:00
Audrius Butkevicius
b0fcbebdae
Remove 64 device limit
2014-10-20 21:46:53 +01: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
Audrius Butkevicius and Jakob Borg
dedf835aa6
Delete files and directories after pulling
2014-10-16 12:26:28 +02:00
Audrius Butkevicius and Jakob Borg
e62b9c6009
Add fetcher tests
2014-10-16 12:26:28 +02:00
Audrius Butkevicius and Jakob Borg
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 and Jakob Borg
4360b2c815
Fix tests
2014-10-16 12:26:28 +02:00
Audrius Butkevicius and Jakob Borg
1e15b1e0be
Implement block fetcher ( fixes #781 , fixes #3 )
2014-10-16 12:26:28 +02:00
Audrius Butkevicius and Jakob Borg
0bc50f7284
Populate BlockMap
2014-10-16 12:26:27 +02:00
Audrius Butkevicius and Jakob Borg
435f9113e8
Implement BlockMap
2014-10-16 12:26:27 +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
Audrius Butkevicius
aaf625c624
Merge pull request #854 from AudriusButkevicius/nils
...
Revert and replace 31d95ac , 65acc7c , 87780a5
2014-10-15 08:24:19 +01: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
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
Audrius Butkevicius
665c5992f0
Cache ignore file matches
2014-10-14 10:30:37 +01: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
Audrius Butkevicius
dcadefd133
Introducer should default to false ( fixes #825 )
2014-10-10 23:20:49 +01:00
Audrius Butkevicius and Jakob Borg
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
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
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
Audrius Butkevicius
e212b64823
Fix build on Solaris
2014-09-28 21:54:24 +01: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
Audrius Butkevicius
39ef35db0c
Merge pull request #753 from AudriusButkevicius/ph
...
Remove field placeholders (fixes #748 )
2014-09-28 11:10:20 +01: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
Audrius Butkevicius
3c51cd6626
Name is not always the hostname
2014-09-24 22:10:20 +01:00
Audrius Butkevicius and Audrius Butkevicius
83ef2fa84c
Add CPU usage tracker for Windows ( fixes #729 )
2014-09-24 09:57:21 +01: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
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