Age | Commit message (Collapse) | Author |
|
|
|
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3092
|
|
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3093
|
|
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3089
|
|
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3088
|
|
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3084
|
|
As discussed in
https://github.com/syncthing/docs/pull/169
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3082
|
|
This was fixed upstream due to our ticket, so we no longer need the
manual handling of commas. Keep the tests and better debug output around
though.
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3081
|
|
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3079
|
|
The old usage pattern was to create a Walker with a bunch of attributes,
then call Walk() on it and nothing else. This extracts the attributes
into a Config struct and exposes a Walk(cfg Config) method instead, as
there was no reason to expose the state-holding walker type.
Also creates a few no-op implementations of the necessary interfaces
so that we can skip nil checks and simiplify things here and there.
Definitely look at this diff without whitespace.
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3060
|
|
Just an optimization. Required exposing the priority from the factory,
so made that an interface with an extra method instead of just a func
type.
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3071
|
|
This fixes the deadlock by reducing where we hold the various locks. To
start with it splits up the existing "mut" into a "listenersMut" and a
"curConMut" as these are the two things being protected and I can see no
relation between them that requires a shared lock. It also moves all
model calls outside of the lock, as I see no reason to hold the lock
while calling the model (and it's risky, as proven).
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3069
|
|
When doing prefix scans in the database, "foo" should not be considered
a prefix of "foo2". Instead, it should match "foo" exactly and also
strings with the prefix "foo/". This is more restrictive than what the
standard leveldb prefix scan does so we add some code to enforce it.
Also exposes the initialScanCompleted on the rwfolder for testing, and
change it to be a channel (so we can wait for it from another
goroutine). Otherwise we can't be sure when the initial scan has
completed, and we need to wait for that or it might pick up changes
we're doing at an unexpected time.
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3067
|
|
listen address
The VersioningConfig change is because it defaults to nil but gets
deserialized to map[string]string{}. Now prepare() enforces a single
representation of the empty map.
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3065
|
|
This uses the same charset as the Javascript code, excluding confusing
characters like 0, O, I, 1, l etc.
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3064
|
|
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3063
|
|
Skip-check: authors pr-build-mac
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3056
|
|
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3057
|
|
consuming the reader
Because json.NewDecoder(r).Decode(&v) doesn't necessarily consume all
data on the reader, that means an HTTP connection can't be reused. We
don't do a lot of HTTP traffic where we read JSON responses, but the
discovery is one such place. The other two are for POSTs from the GUI,
where it's not exactly critical but still nice if the connection still
can be keep-alive'd after the request as well.
Also ensure that we call req.Body.Close() for clarity, even though this
should by all accounts not really be necessary.
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3050
|
|
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3048
|
|
size (ref #3045)
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3047
|
|
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3046
|
|
New signature is the HMAC of archive name (which includes the release
version and architecture) plus the contents of the binary. This is
expected in a new file "release.sig" which may be present in a
subdirectory. The new release tools put this in [.]metadata/release.sig.
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3043
|
|
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3041
|
|
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3040
|
|
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3039
|
|
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3036
|
|
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3034
|
|
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
|
|
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3032
|
|
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3029
|
|
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3031
|
|
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3030
|
|
#2993)
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3023
|
|
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3025
|
|
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3022
|
|
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3016
|
|
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3015
|
|
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3007
|
|
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3009
|
|
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3005
|
|
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3004
|
|
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3003
|
|
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/2994
|
|
This happens automatically in the background anyway, and it can take a
long time on low powered devices at an inconvenient time. We just want
to get up and running as quickly as possible.
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3000
|
|
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/2998
|
|
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/2997
|
|
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/2996
|
|
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/2991
|
|
#2779)
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/2989
|