Audrius Butkevicius
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
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
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
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
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
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
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
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
ba17cc0a11
gui: Show introducedBy ( fixes #3809 )
2016-12-21 11:01:15 +01:00
AudriusButkevicius
9e0afb7d8a
lib/connections: Support setting traffic class ( fixes #3790 )
2016-12-21 11:01:15 +01:00
AudriusButkevicius
9e7d50bc76
cmd/syncthing: Explain corruption panics ( fixes #3689 )
2016-12-21 11:01:15 +01:00
Audrius Butkevičius
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
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
bb23e3940e
cmd/strelaysrv: Use listen address for outgoing HTTP requests ( fixes #3682 )
2016-11-13 09:32:05 +01:00
Audrius Butkevicius
94e4370c7e
cmd/strelaysrv: Outbox will get GCed ( fixes #3718 )
2016-11-13 09:32:05 +01:00
Audrius Butkevicius
38d28c3f4a
lib/relay: Close invitation channel in all error cases ( fixes #3726 )
2016-11-13 09:32:05 +01:00
Audrius Butkevicius
f60b424d70
lib/config: Raw() -> RawCopy()
2016-11-13 09:29:35 +01:00
Audrius Butkevicius
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
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
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
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
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
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
1de787fab8
cmd/strelaypoolsrv: Ability to select listen protocol
2016-08-23 08:42:57 +02:00
Audrius Butkevicius
81f683a61c
cmd/stdiscosrv: Generate keys if missing on startup ( fixes #3511 )
2016-08-23 08:41:49 +02:00
Audrius Butkevicius
db6f68d031
cmd/stdiscosrv: Use UTC in database timestamps ( fixes #3509 )
2016-08-23 08:41:15 +02:00
Audrius Butkevicius
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
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
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
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
becb5ab1dc
cmd/relaysrv: Missed changes in the repo merge (README, systemd)
2016-06-02 14:42:57 +02:00
Audrius Butkevicius
49170bf2d8
cmd/relaysrv: Add number of routines
2016-06-02 14:39:19 +02:00
Audrius Butkevicius
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
AudriusButkevicius
bbe0d34f43
Godeps
2016-04-14 17:19:56 -04:00
Audrius Butkevicius
dd364c962f
Refactor javascript, always show table, add sorting
2016-04-14 22:01:25 +01:00
Audrius Butkevicius
50068b0b0f
Add local geoip
2016-04-13 21:34:11 +01:00
Audrius Butkevicius
c49453c519
lib/pmp: Add NAT-PMP support (ref #698 )
...
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/2968
2016-04-13 18:50:40 +00:00
Audrius Butkevicius
19b4f3bfb4
lib/nat: Add a nat package and service to track mappings on multiple IGDs
2016-04-10 19:36:38 +00:00
Audrius Butkevicius
490464e170
gui: Some browsers force lowercase attributes
2016-04-09 12:20:56 +00:00
Audrius Butkevicius
6130578d18
lib/db: Empty slice is not nil ( fixes #2872 )
2016-04-09 07:46:19 +00:00
Audrius Butkevicius
4389bb037d
lib/model: Add option for overwriting names on connect ( fixes #2912 )
2016-04-09 07:43:47 +00:00
Audrius Butkevicius
2eb8a9ef56
all: Dead code cleanup
2016-04-09 01:10:31 +00:00
Audrius Butkevicius
393798098c
cmd/syncthing: Listening on a 0 port is not valid ( fixes #2926 )
2016-04-09 01:06:55 +00:00
Audrius Butkevicius
5a98af622d
lib/ignore: Implement deletable ignores using (?d) prefix ( fixes #1362 )
2016-04-07 09:34:07 +00:00
Audrius Butkevicius
b678b4e048
cmd/syncthing: Skip a calculation if timediff is zero ( fixes #2854 )
2016-04-05 07:12:17 +02:00
Audrius Butkevicius
432c78079b
lib/connections: Increase lock periods to prevent races ( fixes #2899 )
2016-04-01 07:23:11 +00:00
Audrius Butkevicius
68185dd93c
gui: Remove bootswatch
2016-03-27 14:08:17 +00:00
Audrius Butkevicius
4b6c2d0d3d
gui: Pretty theme names
2016-03-27 06:40:50 +00:00
Audrius Butkevicius
b4f9a55e6e
protocol: Add "Hello" message at connection start, also for unauthed peers
2016-03-25 20:29:07 +00:00
Audrius Butkevicius
1d17891286
lib/upnp: Refactor out methods to util with tests, refactor IGD
2016-03-25 20:22:29 +00:00
Audrius Butkevicius
6a3f3f5577
gui: Add theme.css, move dark theme, adjust popover advanced folder settings colors ( fixes #2878 )
2016-03-25 16:55:53 +00:00