Audrius Butkevicius and Jakob Borg
e85ce7c94e
lib/model: Support removing paused folders ( fixes #4357 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4358
LGTM: imsodin, calmh
2017-09-09 15:08:59 +00:00
Audrius Butkevicius and Jakob Borg
9e6a1fdcd4
vendor: Update kcp, removes closeConn ( fixes #4343 )
2017-09-02 16:11:48 +02:00
Audrius Butkevicius and Jakob Borg
cbcc3ea132
lib/connections: Use our own fork of kcp ( fixes #4063 )
...
This updates kcp and uses our own fork which:
1. Keys sessions not just by remote address, but by remote address +
conversation id 2. Allows not to close connections that were passed directly
to the library. 3. Resets cache key if the session gets terminated.
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4339
LGTM: calmh
2017-09-02 06:04:35 +00:00
Audrius Butkevicius and Jakob Borg
ab132ff6fe
lib: Folder marker is now a folder
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4341
LGTM: calmh
2017-09-02 05:52:38 +00:00
Audrius Butkevicius
a69ba18f62
lib/model: Some platforms do not support usage checks ( fixes #4321 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4322
2017-08-22 18:13:58 +00:00
Audrius Butkevicius and Jakob Borg
0a96a1150b
lib/model, lib/ignores: Properly handle out of folder ignores and free space checks ( fixes #4313 , fixes #4314 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4318
2017-08-22 06:45:00 +00:00
Audrius Butkevicius and Jakob Borg
b8c249cddc
lib/model: Move stale scan check info finisher (ref #4305 , fix #3742 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4317
2017-08-22 06:42:09 +00:00
Audrius Butkevicius
e8ba6d4771
lib/upnp: Fix build
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4316
2017-08-21 11:41:40 +00:00
Audrius Butkevicius
606fce09ca
lib/upnp: Disable confusing messages
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4312
2017-08-21 10:03:25 +00:00
Audrius Butkevicius and Jakob Borg
3d8b4a42b7
all: Convert folders to use filesystem abstraction
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4228
2017-08-19 14:36:56 +00:00
Audrius Butkevicius
94acc20dd6
cmd/strelaysrv: Fix a few connection and routine leaks ( fixes #4245 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4273
2017-07-26 19:18:00 +00:00
Audrius Butkevicius
d637148cca
cmd/strelaypoolsrv: Show popup on row hover
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4201
2017-06-07 22:06:00 +00:00
Audrius Butkevicius and Jakob Borg
9667a0a618
lib/connections: Fix race ( fixes #4177 )
2017-06-07 10:17:01 +02:00
Audrius Butkevicius
91d37f35bc
lib/model: Use up to date device name, do not provide name to unknown devices ( fixes #4164 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4168
2017-05-22 19:58:33 +00:00
Audrius Butkevicius and Jakob Borg
51518490c6
lib/connections: Fix KCP from locking up the service ( fixes #4072 )
2017-05-21 22:16:21 +02:00
Audrius Butkevicius and Jakob Borg
2c10beed0b
gui: Add (?d) and (?i) to ignores guide
2017-05-21 22:16:21 +02:00
Audrius Butkevicius and Jakob Borg
ceea5ebeb3
lib/connections, vendor: Change KCP mux to SMUX
...
Closes #4032
2017-03-09 14:03:09 +01:00
Audrius Butkevicius and Jakob Borg
0da0774ce4
lib/connections: Add KCP support ( fixes #804 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3489
2017-03-07 12:44:16 +00:00
Audrius Butkevicius and Jakob Borg
120e6eab2c
lib/sync: Fix a race in unlocker logging ( fixes #3884 )
...
Other routines use atomics, hence even if we are under a lock, we should
too.
We might atomically store with
Not sure how it happens, but it's between lines
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3974
2017-02-08 22:31:19 +00:00
Audrius Butkevicius and Jakob Borg
72de47df00
lib/model: Increase in-flight buffer from 2mb to 8mb, download 2 files at a time
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3972
2017-02-08 20:00:55 +00:00
Audrius Butkevicius
67acef1794
lib/weakhash, lib/model, cmd/syncthing: Decide if to use weakhash on startup ( fixes #3938 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3949
2017-02-06 10:27:11 +00:00
Audrius Butkevicius and Jakob Borg
2c4b92d410
lib/connections: Fix rate limiting on arm64 ( fixes #3921 )
...
Skip-check: metalint
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3922
2017-01-23 20:55:00 +00:00
Audrius Butkevicius and Jakob Borg
dd78177ae0
scanner: Allow disabling weak hash in scanning ( fixes #3891 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3905
2017-01-23 13:50:32 +00:00
Audrius Butkevicius and Jakob Borg
1a1e35d998
lib/osutil: Replace IsDir with TraversesSymlink ( fixes #3839 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3883
LGTM: calmh
2017-01-10 07:09:31 +00:00
Audrius Butkevicius and Jakob Borg
29d010ec0e
lib/model, lib/weakhash: Hash using adler32, add heuristic in puller
...
Adler32 is much faster, and the heuristic avoid the obvious cases where it
will not help.
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3872
2017-01-04 21:04:13 +00:00
Audrius Butkevicius and Jakob Borg
bab7c8ebbf
all: Add folder pause, make pauses permanent ( fixes #3407 , fixes #215 , fixes #3001 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3520
2016-12-21 18:41:25 +00:00
AudriusButkevicius and Jakob Borg
aa3ef49dd7
lib/model: Fix lock order
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3823
2016-12-21 12:22:18 +00:00
AudriusButkevicius and Jakob Borg
ba17cc0a11
gui: Show introducedBy ( fixes #3809 )
2016-12-21 11:01:15 +01:00
AudriusButkevicius and Jakob Borg
9e0afb7d8a
lib/connections: Support setting traffic class ( fixes #3790 )
2016-12-21 11:01:15 +01:00
AudriusButkevicius and Jakob Borg
9e7d50bc76
cmd/syncthing: Explain corruption panics ( fixes #3689 )
2016-12-21 11:01:15 +01:00
Audrius Butkevičius and Jakob Borg
d8d3f05164
cmd/stcli: Import from syncthing-cli repository
2016-12-17 01:33:17 +01:00
Audrius Butkevicius
542b76f687
lib/model: Moar sleep
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3807
2016-12-16 12:05:27 +00:00
Audrius Butkevicius
0582836820
lib/model, lib/scanner: Efficient inserts/deletes in the middle of the file
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3527
2016-12-14 23:30:29 +00:00
Audrius Butkevicius
0dcf2f1bc8
cmd/strelaysrv: Use legacy dial ( fixes #3753 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3784
2016-12-02 22:45:08 +00:00
Audrius Butkevicius and Jakob Borg
99922feb3b
gui: Disable device removal when we know it will be reintroduced
...
Skip-check: pr-build-windows
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3762
2016-12-02 21:07:02 +00:00
Audrius Butkevicius and Jakob Borg
bb23e3940e
cmd/strelaysrv: Use listen address for outgoing HTTP requests ( fixes #3682 )
2016-11-13 09:32:05 +01:00
Audrius Butkevicius and Jakob Borg
94e4370c7e
cmd/strelaysrv: Outbox will get GCed ( fixes #3718 )
2016-11-13 09:32:05 +01:00
Audrius Butkevicius and Jakob Borg
38d28c3f4a
lib/relay: Close invitation channel in all error cases ( fixes #3726 )
2016-11-13 09:32:05 +01:00
Audrius Butkevicius and Jakob Borg
f60b424d70
lib/config: Raw() -> RawCopy()
2016-11-13 09:29:35 +01:00
Audrius Butkevicius and Jakob Borg
a1a91d5ef4
lib/model: Introducer can remove stuff it introduced ( fixes #1015 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3522
2016-11-13 09:29:33 +01:00
Audrius Butkevicius and Jakob Borg
0b88cf1d03
lib/model: Introducer can remove stuff it introduced ( fixes #1015 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3522
2016-11-11 15:54:25 +01:00
Audrius Butkevicius and Jakob Borg
56e2ba29d0
lib/config: Subscribers get a copy of the config
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3722
2016-11-11 14:52:23 +00:00
Audrius Butkevicius and Jakob Borg
ec2b097313
lib/model: Introducer can remove stuff it introduced ( fixes #1015 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3522
2016-11-08 00:40:48 +08:00
Audrius Butkevicius
caaab462bc
lib/sync: Fix broken build
2016-11-05 02:31:52 +00:00
Audrius Butkevicius
da413b823b
lib/sync: Add option for sasha-s/go-deadlock
2016-11-05 02:24:53 +00:00
Audrius Butkevicius
14937e7dd2
build: Fix proto builder on Windows
2016-11-03 22:06:51 +00:00
Audrius Butkevicius
3418497f3d
lib/sync: Log everything...
2016-11-03 21:33:33 +00:00
Audrius Butkevicius
7fba8cf759
lib/sync: Print all lockers, add holder to RWMutex
2016-10-30 00:17:25 +01:00
Audrius Butkevicius
815588daba
lib/sync, lib/model: Capture locker routine ID, print locker details on deadlock
2016-10-18 21:00:01 +01:00
Audrius Butkevicius
309795198d
cmd/strelaypoolsrv: Remove hostnames from statusAddr
2016-10-08 10:03:53 +01:00
Audrius Butkevicius
7db00132b2
cmd/strelaysrv: Fix sorting zeros versus undefined
2016-10-07 21:24:47 +01:00
Audrius Butkevicius
76a2862b7a
authors: Add Xavier O.
2016-10-07 21:24:47 +01:00
Audrius Butkevicius and Jakob Borg
76b903b2e0
lib/upgrade: Cleanup failed upgrades ( fixes #3500 , fixes #3530 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3535
2016-08-23 06:53:39 +00:00
Audrius Butkevicius and Jakob Borg
be38c2111f
cmd/strelaysrv: Add uPNP support, ability to set listen protocol ( fixes #3503 , fixes #3505 , fixes #3506 )
2016-08-23 08:43:27 +02:00
Audrius Butkevicius and Jakob Borg
1de787fab8
cmd/strelaypoolsrv: Ability to select listen protocol
2016-08-23 08:42:57 +02:00
Audrius Butkevicius and Jakob Borg
81f683a61c
cmd/stdiscosrv: Generate keys if missing on startup ( fixes #3511 )
2016-08-23 08:41:49 +02:00
Audrius Butkevicius and Jakob Borg
db6f68d031
cmd/stdiscosrv: Use UTC in database timestamps ( fixes #3509 )
2016-08-23 08:41:15 +02:00
Audrius Butkevicius and Jakob Borg
6ec4fbc82b
lib/model: Add minumum interval for progress emitter ( fixes #3517 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3518
2016-08-16 18:22:01 +00:00
Audrius Butkevicius
af3b6f9c83
lib/model, lib/config: Support "live" device removal, folder unsharing and folder configuration changes
...
Furthermore:
1. Cleans configs received, migrates them as we receive them.
2. Clears indexes of devices we no longer share the folder with
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3478
2016-08-07 16:21:59 +00:00
Audrius Butkevicius and Jakob Borg
a4f052ad31
lib/connections: Fix connection switching
...
It seems that it would be impossible to drop down to relay after establishing a direct connection
Also, we should not drop the existing connection until after we've passed the validation steps,
and it seems it's being dropped in two places unnecesserily at the moment.
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3480
2016-08-07 12:20:37 +00:00
Audrius Butkevicius and Jakob Borg
08b5a7908f
gui: Add one-off notifications that need to be acked
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3254
2016-08-02 08:07:30 +00:00
Audrius Butkevicius
f6f0486ff9
repo: Add message about voting
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3398
2016-07-09 15:58:55 +00:00
Audrius Butkevicius and Jakob Borg
502bee9a09
lib/osutil: Return "/" as filesystem root on non-windows ( fixes #3321 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3332
2016-06-20 20:25:00 +00:00
Audrius Butkevicius and Jakob Borg
becb5ab1dc
cmd/relaysrv: Missed changes in the repo merge (README, systemd)
2016-06-02 14:42:57 +02:00
Audrius Butkevicius and Jakob Borg
49170bf2d8
cmd/relaysrv: Add number of routines
2016-06-02 14:39:19 +02:00
Audrius Butkevicius and Jakob Borg
8c4723ff43
gui: Fix editing devices ( fixes #3236 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3237
2016-06-01 20:24:43 +00:00
Audrius Butkevicius and Jakob Borg
6f63909c65
lib/db,cmd/stindex: Expose VersionList and use it in stindex
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3231
2016-05-31 19:29:26 +00:00
Audrius Butkevicius and Jakob Borg
1612baca92
gui: /rest/system/browse with no arguments returns drives on Windows (ref #3201 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3203
2016-05-31 19:27:07 +00:00
Audrius Butkevicius and Jakob Borg
c2dc4a8e06
lib/db: Have prefix should be normalized
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3206
2016-05-28 04:18:31 +00:00
Audrius Butkevicius and Jakob Borg
92a23da3ec
lib/model: Make the (?d) prefix actually work
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3205
2016-05-28 04:17:34 +00:00
Audrius Butkevicius and Jakob Borg
242db26343
lib/osutil: Fix globbing at root ( fixes #3201 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3202
2016-05-28 04:13:34 +00:00
Audrius Butkevicius
87701339fe
lib/nat, lib/connections: Fix a few issues with NAT traversal
...
1. For the same internal port we ask for the same external port on all devices. This can be a problem if one device speaks over two protocols.
2. Always add a nil address even if we managed to get external address of the gateway, just because the gateway might be in DMZ behind another gateway.
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3196
2016-05-27 06:28:46 +00:00
Audrius Butkevicius and Jakob Borg
410d700ae3
cmd/syncthing: Do not modify events ( fixes #3002 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3190
2016-05-26 06:54:44 +00:00
Audrius Butkevicius and Jakob Borg
fc173bf679
lib/model: Fix wild completion percentages
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3188
2016-05-26 06:53:27 +00:00
Audrius Butkevicius and Jakob Borg
915e1ac7de
lib/model: Handle (?d) deletes of directories ( fixes #3164 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3170
2016-05-23 23:32:08 +00:00
Audrius Butkevicius and Jakob Borg
00be2bf18d
lib/model: Track puller creation times ( fixes #3145 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3150
2016-05-22 10:16:09 +00:00
Audrius Butkevicius and Jakob Borg
fddca3d2d6
lib/connections: Do not resolve addresses ( fixes #3129 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3133
2016-05-21 01:31:23 +00:00
Audrius Butkevicius
852759f904
gui: Update translations ( fixes #3125 )
2016-05-19 19:44:52 +01:00
Audrius Butkevicius
adb7fb43cb
vendor: Update go-nat-pmp
2016-05-16 20:46:03 +01:00
Audrius Butkevicius and Jakob Borg
674fc566bb
lib/connections: Refactor
...
1. Removes separate relay lists and relay clients/services, just makes it a listen address
2. Easier plugging-in of other transports
3. Allows "hot" disabling and enabling NAT services
4. Allows "hot" listen address changes
5. Changes listen address list with a preferable "default" value just like for discovery
6. Debounces global discovery announcements as external addresses change (which it might alot upon starting)
7. Stops this whole "pick other peers relay by latency". This information is no longer available,
but I don't think it matters as most of the time other peer only has one relay.
8. Rename ListenAddress to ListenAddresses, as well as in javascript land.
9. Stop serializing deprecated values to JSON
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/2982
2016-05-04 19:38:12 +00:00
Audrius Butkevicius and Jakob Borg
eabd2fc936
lib/model: Use factories for creating folders
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3029
2016-05-04 10:47:33 +00:00
Audrius Butkevicius and Jakob Borg
abb96802cb
lib/ignores: Use bitmask for result
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3030
2016-05-01 15:58:23 +00:00
Audrius Butkevicius and Jakob Borg
29fa05ae05
lib/model: Discard download progress upon receiving an index update ( fixes #2993 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3023
2016-05-01 06:49:29 +00:00
Audrius Butkevicius and Jakob Borg
49387f9494
lib/protocol: Clean up error values, unused flags
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3025
2016-04-30 04:35:38 +00:00
Audrius Butkevicius and Jakob Borg
8cf3a7aeda
lib/model: Prettify tests ( fixes #3014 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3016
2016-04-26 20:19:30 +00:00
Audrius Butkevicius and Jakob Borg
175f65aabc
Change v13 to v2
...
GitHub-Pull-Request: https://github.com/syncthing/discosrv/pull/41
2016-04-26 20:18:37 +00:00
Audrius Butkevicius and Jakob Borg
94a392144b
Remove explicit relay handling
...
GitHub-Pull-Request: https://github.com/syncthing/discosrv/pull/40
2016-04-26 07:46:43 +00:00
Audrius Butkevicius and Jakob Borg
2467678bd4
lib/dialer: Add env var to disable proxy fallback ( fixes #3006 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3009
2016-04-24 16:30:20 +00:00
Audrius Butkevicius and Jakob Borg
4aa6ecb122
lib/model: Do not use WRONLY (ref #2584 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/2994
2016-04-22 08:12:10 +00:00
Audrius Butkevicius and Jakob Borg
ea54525a33
lib/connections: Try not to deadlock ( fixes #2987 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/2991
2016-04-18 20:25:31 +00:00
Audrius Butkevicius
e9063c639a
Fetch deps of deps X_x
2016-04-17 15:03:02 +01:00
Audrius Butkevicius
8d6dedc15b
Here we go with gvt bugs
2016-04-17 14:57:31 +01:00
Audrius Butkevicius
1bc4c1a8ac
Screw godep
2016-04-17 14:49:00 +01:00
Audrius Butkevicius
1c7af1a72e
lib/upnp: Fix port order
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/2980
2016-04-16 22:44:07 +00:00
Audrius Butkevicius and Jakob Borg
e61f424ade
lib/{nat,pmp}: Fix shadowing and nil IPs
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/2979
2016-04-16 16:48:07 +00:00
AudriusButkevicius and Jakob Borg
1a5f524ae4
lib/model, lib/protocol: Implement temporary indexes ( fixes #950 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/2252
2016-04-15 10:59:41 +00:00
AudriusButkevicius
1a35c440e8
Add solaris support back in
2016-04-14 19:28:06 -04:00
Audrius Butkevicius
2c6c84ac61
Add font awesome
2016-04-14 22:31:56 +01:00
Audrius Butkevicius
bd666daf82
No value is less than zero
2016-04-14 22:26:31 +01:00
AudriusButkevicius
ca3831c4f5
Screw solaris
2016-04-14 17:21:44 -04:00