summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2016-05-14nothing: Dummy commitolder-releasesolder-releasesJakob Borg
2016-05-13lib/config: Bump config version to 14Jakob Borg
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3092
2016-05-13cmd/syncthing: Set User-Agent on upgrade checksJakob Borg
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3093
2016-05-13lib/config: Change upgrade check URL (fixes #3086)Jakob Borg
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3089
2016-05-13lib/upgrade: Increase size limits, send version headerJakob Borg
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3088
2016-05-12cleanup: removed deadcode in connection/tcp_listen.goLars K.W. Gohlke
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3084
2016-05-12lib/config: Minor attribute updatesJakob Borg
As discussed in https://github.com/syncthing/docs/pull/169 GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3082
2016-05-12lib/ignore: Revert comma handling, upgrade globbing packageJakob Borg
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
2016-05-11build: Remove unused codeLars K.W. Gohlke
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3079
2016-05-09lib/scanner: Refactor scanner.Walk APIJakob Borg
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
2016-05-09lib/connections: Don't look at devices that are already optimally connectedJakob Borg
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
2016-05-09lib/connections: More fine grained locking (fixes #3066)Jakob Borg
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
2016-05-09lib/model: Fix accounting error in rescan with multiple subs (fixes #3028)Jakob Borg
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
2016-05-09lib/config: Don't require restart when adding folders/devices or changing ↵Jakob Borg
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
2016-05-09cmd/syncthing: Use random folder ID for default folder, limit random charsetJakob Borg
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
2016-05-09lib/util: Should seed random number generator on startupJakob Borg
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3063
2016-05-08all: Correct spelling in commentsklemens
Skip-check: authors pr-build-mac GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3056
2016-05-08script: Don't verify authors on commits tagged 'Skip-check: authors'Jakob Borg
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3057
2016-05-06cmd/syncthing: Use ReadAll + json.Unmarshal in places were we care about ↵Jakob Borg
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
2016-05-06lib/ignore: Handle bare commas in ignore patterns (fixes #3042)Jakob Borg
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3048
2016-05-06lib/upgrade: Don't attempt processing files larger than expected max binary ↵Jakob Borg
size (ref #3045) GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3047
2016-05-06lib/upgrade: Enforce limits on download archives (fixes #3045)Jakob Borg
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3046
2016-05-06lib/upgrade: Auto upgrade signature should cover version & arch (fixes #3044)Jakob Borg
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
2016-05-05cmd/stsigtool: Sign stdin when not given a file to sign, or when given "-"Jakob Borg
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3041
2016-05-04lib/protocol: Add Request benchmarks over raw and TLS encrypted TCP channelsJakob Borg
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3040
2016-05-04lib/protocol: Delete erroneously checked in test binaryJakob Borg
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3039
2016-05-04gui: Fix comparison operator in expression (ref #3035)Jakob Borg
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3036
2016-05-04gui, man: Update docs & translationsv0.13.0-beta.4Jakob Borg
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3034
2016-05-04lib/connections: RefactorAudrius Butkevicius
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-04lib/config: Change folder type attribute to a FolderType typeJakob Borg
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3032
2016-05-04lib/model: Use factories for creating foldersAudrius Butkevicius
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3029
2016-05-04lib/ignore: Refactor: notMatched should be one of the constantsJakob Borg
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3031
2016-05-01lib/ignores: Use bitmask for resultAudrius Butkevicius
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3030
2016-05-01lib/model: Discard download progress upon receiving an index update (fixes ↵Audrius Butkevicius
#2993) GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3023
2016-04-30lib/protocol: Clean up error values, unused flagsAudrius Butkevicius
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3025
2016-04-28cmd/stvanity: x509.GenerateCertificate requires pointer for public keyAlex
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3022
2016-04-26lib/model: Prettify tests (fixes #3014)Audrius Butkevicius
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3016
2016-04-26lib/model: Refactor: complete renaming of p -> fJakob Borg
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3015
2016-04-26lib/model: Refactor out folder and folderscan types, simplify somewhatLars K.W. Gohlke
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3007
2016-04-24lib/dialer: Add env var to disable proxy fallback (fixes #3006)Audrius Butkevicius
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3009
2016-04-22all: Clean up dead codeLars K.W. Gohlke
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3005
2016-04-22lib/config: Remove dead codeLars K.W. Gohlke
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3004
2016-04-22readme: Remove Appveyor iconLars K.W. Gohlke
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3003
2016-04-22lib/model: Do not use WRONLY (ref #2584)Audrius Butkevicius
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/2994
2016-04-22cmd/syncthing: Don't compact database at startupJakob Borg
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
2016-04-20cmd/stvanity: Use Go 1.3 compatible interfaceJakob Borg
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/2998
2016-04-20build: Remove Appveyor and old CircleCI stuffJakob Borg
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/2997
2016-04-20vendor: Update github.com/gobwas/glob to solve 1.3 build issueJakob Borg
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/2996
2016-04-18lib/connections: Try not to deadlock (fixes #2987)Audrius Butkevicius
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/2991
2016-04-18cmd/syncthing: Accept ISO-8859-1 and UTF-8 in HTTP BasicAuth header (fixes ↵Jakob Borg
#2779) GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/2989