Skip to content

fix: invalid files on remote devices are not "available" (fixes #10943) - #10944

Merged
calmh merged 1 commit into
syncthing:mainfrom
calmh:invav
Oct 27, 2026
Merged

calmh merged 1 commit into
syncthing:mainfrom
calmh:invav

Conversation

@calmh

@calmh calmh commented Oct 27, 2026

Copy link
Copy Markdown
Member

Properly exclude them from the corresponding query.

…hing#10943)

Properly exclude them from the corresponding query.

Signed-off-by: Jakob Borg <[email protected]>
@github-actions github-actions Bot added the bug A problem with current functionality, as opposed to missing functionality (enhancement) label Oct 27, 2026
@calmh calmh added the maintainer-responsibility The maintainer takes responsibility for this PR being merged label Oct 27, 2026
@calmh
calmh merged commit ed38528 into syncthing:main Oct 27, 2026
33 checks passed
calmh added a commit to calmh/syncthing that referenced this pull request Oct 28, 2026
* main:
  fix: invalid files on remote devices are not "available" (fixes syncthing#10943) (syncthing#10944)
  feat(api): magic token authentication from `syncthing browse` (syncthing#10810)
  chore(gui, man, authors): update docs, translations, and contributors
  fix(model): skip ignored folders when auto-accepting (fixes syncthing#10935)
  fix(model): properly compare blocks when reconciling receive-only (fixes syncthing#10928) (syncthing#10929)
jan-23 added a commit to jan-23/SyncTrayzor that referenced this pull request Nov 22, 2026
…d sync state

Adds the Syncthing REST calls needed by the Explorer integration, all
available in current Syncthing versions:

- pausing and resuming folders (PATCH /rest/config/folders/{id})
- reading and writing ignore patterns, including the expanded patterns
  Syncthing actually matches (/rest/db/ignores)
- the items a folder still needs (/rest/db/need), a file's state in the
  index and which other devices have it (/rest/db/file), and a
  directory's subfolders across all devices (/rest/db/browse)

Folders now also know whether they are paused and which devices they
are shared with. A new capability tells whether Syncthing reports
reliably which devices have a valid copy of a file: up to v2.1.7,
/rest/db/file's availability also lists devices which ignore the file
(syncthing/syncthing#10944, not released yet).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
jan-23 added a commit to jan-23/SyncTrayzor that referenced this pull request Nov 23, 2026
…d sync state

Adds the Syncthing REST calls needed by the Explorer integration, all
available in current Syncthing versions:

- pausing and resuming folders (PATCH /rest/config/folders/{id})
- reading and writing ignore patterns, including the expanded patterns
  Syncthing actually matches (/rest/db/ignores)
- the items a folder still needs (/rest/db/need), a file's local and
  global state and which other devices have it (/rest/db/file), and a
  directory's subfolders across all devices (/rest/db/browse)
- a scan which reports failures (e.g. timeouts) instead of logging them

Folders now also know whether they are paused, their type, and which
devices they are shared with. A new capability tells whether Syncthing
reports reliably which devices have a valid copy of a file: up to
v2.1.7, /rest/db/file's availability also lists devices which ignore
the file (syncthing/syncthing#10944, not released yet).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
jan-23 added a commit to jan-23/SyncTrayzor that referenced this pull request Nov 23, 2026
…d sync state

Adds the Syncthing REST calls needed by the Explorer integration, all
available in current Syncthing versions:

- pausing and resuming folders (PATCH /rest/config/folders/{id})
- reading and writing ignore patterns, including the expanded patterns
  Syncthing actually matches (/rest/db/ignores). Reading fails if
  Syncthing reports that it can't read .stignore, as writing back what
  it returned would wipe the file.
- the items a folder still needs (/rest/db/need), a file's local and
  global state and which other devices have it (/rest/db/file), and a
  directory's subfolders across all devices (/rest/db/browse)
- a scan which reports failures (e.g. timeouts) instead of logging them

Folders now also know whether they are paused, their type, which
devices they are shared with (and which of those are untrusted), and
their modification time window. A new capability tells whether
Syncthing reports reliably which devices have a valid copy of a file:
up to v2.1.7, /rest/db/file's availability also lists devices which
ignore the file (syncthing/syncthing#10944, not released yet).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug A problem with current functionality, as opposed to missing functionality (enhancement) maintainer-responsibility The maintainer takes responsibility for this PR being merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant