summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2023-04-28wiprelease-multiquicJakob Borg
2023-04-28wipJakob Borg
2023-04-28wipJakob Borg
2023-04-28all: Use multiple QUIC streams (fixes #8879)Jakob Borg
Work in progress, to be described more fully in time, but in principle: - support multiple streams on a single connection at the protocol level - use multiple streams for concurrent requests - hope for improved greatness
2023-04-24build(deps): bump github.com/quic-go/quic-go from 0.33.0 to 0.34.0 (#8877)dependabot[bot]
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go) from 0.33.0 to 0.34.0. - [Release notes](https://github.com/quic-go/quic-go/releases) - [Changelog](https://github.com/quic-go/quic-go/blob/master/Changelog.md) - [Commits](https://github.com/quic-go/quic-go/compare/v0.33.0...v0.34.0) --- updated-dependencies: - dependency-name: github.com/quic-go/quic-go dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-24gui, man, authors: Update docs, translations, and contributorsSyncthing Release Automation
2023-04-20lib/ignore: Properly handle non-existing included ignore-files (fixes #8764) ↵Eric P
(#8874) In the sequence of loading ignores, the error File Does Not Exist is not being considered a fatal error, since the .stignore file is allowed to not exist. However, included ignore files also tossed that same error in case those do not exist while in those cases it's considered an error and it should lead to the folder stopping. Changing the error when opening an included ignore file to something other than the regular does fix this issue, as in it now works again as described in the Documentation.
2023-04-19lib/connections: Avoid using nil lanCheckerJakob Borg
Otherwise it panics when someone calls Priority() on it...
2023-04-17gui, man, authors: Update docs, translations, and contributorsSyncthing Release Automation
2023-04-16lib/config, lib/connections: Configurable protocol priority (ref #8626) (#8868)Jakob Borg
This makes the various protocol priorities configurable among the other options. With this, it's possible to prefer QUIC over TCP for WAN connections, for example. Both sides need to be similarly configured for this to work properly. The default priority order remains the same as previously (TCP, QUIC, Relay, with LAN better than WAN). To make this happen I made each dialer & listener more priority aware, and moved the check for whether a connection is LAN or not into the dialer / listener -- this is the new "lanChecker" type that's passed around.
2023-04-14build: Upgrade recli (fixes #8503) (#8871)Simon Frei
2023-04-11build: Update dependencies (#8869)Jakob Borg
2023-04-11lib/model: Improve path generation for auto accepted folders (fixes #8859) ↵Jakob Borg
(#8860) - Make sure we don't try to use empty last path components - Create the directory to "reserve" it once we've decided to use it
2023-04-10docs: fix typo (#8857)Evgeny Kuznetsov
2023-04-10gui, man, authors: Update docs, translations, and contributorsSyncthing Release Automation
2023-04-05lib/syncthing: Handle successful global migration (fixes #8851) (#8852)v1.23.4Jakob Borg
lib/syncthing: Handle successfull global migration (fixes #8851)
2023-04-03gui, man, authors: Update docs, translations, and contributorsv1.23.3Syncthing Release Automation
2023-03-28lib/model: Set enc. trailer size on pull (ref #8563, #8556) (#8839)v1.23.3-rc.2Simon Frei
In the original fix in #8563 I simply forgot this. Which meant #8556 wasn't actually fixed, as the trialer size would have been 0 (default), and thus we would have still sent the inflated size to encrypted peers.
2023-03-28lib/model: Fix file size inconsistency due to enc. trailer (#8840)Simon Frei
lib/model: Fix file size inconsisency due to enc. trailer Fixes a regression due to PR #8563, while arguable the bug was actually introduced in a much older PR #7155, but didn't have any bad effects so far: We account for the encryption trailer in the db updater routine, calculating the file-info size there. However there's no guarantee that the file-info at this point is still the exact same as when it was written. It was before, but isn't anymore since introducing the new EncryptedTrailerSize field. Fix: Adjust the size in the info at the same place where the trailer is written, i.e. we definitely have the actual size on disk.
2023-03-27gui, man, authors: Update docs, translations, and contributorsSyncthing Release Automation
2023-03-24cmd/stdiscorv: Fix database test (fixes #8828)Jakob Borg
The problem was that a statistics/cleanup run is triggered when the database started and runs concurrently with the test. That cleanup run removes old entries without valid addresses, and one of the test objects matched this. The test object would thus randomly be removed in the middle of the test, causing a failure. This fixes it so the object looks recent when the cleaner-upper looks, and also uses a RAM database (faster).
2023-03-24lib/ur: Fix custom releases URL comparisonJakob Borg
2023-03-23gui: Remove untranslated strings from JSON files (#8836)André Colomb
* gui: Import latest state from Weblate. Downloaded 2023-03-23 at 20:38:53. * gui: Remove untranslated strings from JSON files. The GUI code will fall back to the English string translation anyway, so keeping it identical inside the other language files does not help. It makes the filter handling on Weblate easier though. Current state retreived with these filter settings: state:>=translated OR (state:needs-editing AND NOT check:same)
2023-03-21all: Fix typos found by codespell (#8833)Dimitri Papadopoulos Orfanos
2023-03-20gui: Hide download progress legend when download progress is disabledJakob Borg
2023-03-20gui, man, authors: Update docs, translations, and contributorsSyncthing Release Automation
2023-03-18lib/protocol: Handle encrypted requests without encrypted hash (fixes #8277) ↵Jakob Borg
(#8827) The layout of the request differs based on whether it comes from an untrusted device or a trusted device with encrypted enabled. Handle both. Closes #8819.
2023-03-18build(deps): bump github.com/hashicorp/golang-lru/v2 from 2.0.1 to 2.0.2 (#8826)dependabot[bot]
Bumps [github.com/hashicorp/golang-lru/v2](https://github.com/hashicorp/golang-lru) from 2.0.1 to 2.0.2. - [Release notes](https://github.com/hashicorp/golang-lru/releases) - [Commits](https://github.com/hashicorp/golang-lru/compare/v2.0.1...v2.0.2) --- updated-dependencies: - dependency-name: github.com/hashicorp/golang-lru/v2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-18lib/config: Allow sub-second watcher delay (fixes #7859) (#7864)tomasz1986
Allow the watcher delay to take fractional values, effectively allowing for much shorter delays. The minimum value is limited at 0.01, which effectively translates to 10ms. This is required in order to guarantee that there is still enough time to aggregate multiple single change events. Signed-off-by: Tomasz Wilczyński <twilczynski@naver.com>
2023-03-13gui, man, authors: Update docs, translations, and contributorsv1.23.3-rc.1Syncthing Release Automation
2023-03-12lib/protocol: Cache expensive key operations (fixes #8599) (#8820)Jakob Borg
This adds a cache to the expensive key generation operations. It's fixes size LRU/MRU stuff to keep memory usage bounded under absurd conditions. Also closes #8600.
2023-03-10gui: Add Persian (fa) translation template (#8822)André Colomb
gui: Add Persian (fa) translation template. Based on user request from Weblate, user @a-kbd.
2023-03-10lib: Correctly handle encrypted trailer size (fixes #8556) (#8563)Simon Frei
2023-03-10gui: Disable Restore Versions filters when no versioned files exist (fixes ↵tomasz1986
#5408) (#8539) Currently, the name and date filters in the Restore Versions modal are always enabled, even if there are no versioned files present. With this change, they are enabled only when there are no errors and versioned files actually exist. In addition to disabling the filters, also completely skip date picker generation, as it serves no function while still displaying a non-sense date range, which starts today and ends in the past. Signed-off-by: Tomasz Wilczyński <twilczynski@naver.com>
2023-03-10build(deps): bump github.com/chmduquesne/rollinghash from ↵dependabot[bot]
0.0.0-20180912150627-a60f8e7142b5 to 4.0.0+incompatible (#8804) build(deps): bump github.com/chmduquesne/rollinghash Bumps [github.com/chmduquesne/rollinghash](https://github.com/chmduquesne/rollinghash) from 0.0.0-20180912150627-a60f8e7142b5 to 4.0.0+incompatible. - [Release notes](https://github.com/chmduquesne/rollinghash/releases) - [Commits](https://github.com/chmduquesne/rollinghash/commits/v4.0.0) --- updated-dependencies: - dependency-name: github.com/chmduquesne/rollinghash dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-10build: Update dependencies (#8821)Jakob Borg
2023-03-06lib/api: Expose `blocksHash` in file info (#8810)Jakob Borg
This adds the BlocksHash field from the FileInfo to our API output. It can be useful for debugging, or for external tools. I'm intentionally leaving it as an opaque base64 string because no meaning should be derived from it: it's just a string.
2023-03-06gui, man, authors: Update docs, translations, and contributorsSyncthing Release Automation
2023-03-04lib/discover: Don't leak relay-tokens to discovery (#8762)entity0xfe
Use an allowlist to send only the `id` query param to the discovery server.
2023-02-27gui, man, authors: Update docs, translations, and contributorsv1.23.2-rc.2v1.23.2Syncthing Release Automation
2023-02-24gui: Add Croatian (hr) translation template (#8801)André Colomb
2023-02-22build(deps): bump github.com/quic-go/quic-go from 0.32.0 to 0.33.0 (#8800)dependabot[bot]
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go) from 0.32.0 to 0.33.0. - [Release notes](https://github.com/quic-go/quic-go/releases) - [Changelog](https://github.com/quic-go/quic-go/blob/master/Changelog.md) - [Commits](https://github.com/quic-go/quic-go/compare/v0.32.0...v0.33.0) --- updated-dependencies: - dependency-name: github.com/quic-go/quic-go dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-22cmd/stupgrades: Cache should apply to HEAD as well as GETJakob Borg
2023-02-22build: Add more GitHub ActionsJakob Borg
2023-02-21gui: Remove non-existent customicons.css file reference (fixes #8797) (#8798)tomasz1986
The reference comes from fd0a6225aadce9cee19ab058465fa5c8658f0be9, but the file itself was removed in the process of working on the pull request, yet the reference to it was still left in the index.html. Signed-off-by: Tomasz Wilczyński <twilczynski@naver.com>
2023-02-20Only fail after chmod error if permissions differ (e.g. on config file) (#8771)Andreas Sommer
2023-02-20gui, man, authors: Update docs, translations, and contributorsSyncthing Release Automation
2023-02-15build: Use Go 1.19.6 for WindowsJakob Borg
2023-02-14build: Update dependenciesv1.23.2-rc.1Jakob Borg
2023-02-13gui, man, authors: Update docs, translations, and contributorsSyncthing Release Automation