feat: OPDS v1 server — acquisition feeds, Basic auth, interface-scoped listeners - #142
Closed
phildenhoff wants to merge 8 commits into
Closed
phildenhoff wants to merge 8 commits into
phildenhoff wants to merge 8 commits into
Conversation
phildenhoff
added this pull request to stack #145
September 17, 2026 18:59
phildenhoff
force-pushed
the
stack-2-opds-runtime
branch
from
September 17, 2026 19:23
36e6ec0 to
5c95a24
Compare
libcalibre Test Coverage ReportOverall coverage: 83.69% Coverage breakdown available in the artifacts. |
libcalibre Test Coverage ReportOverall coverage: 83.69% Coverage breakdown available in the artifacts. |
phildenhoff
force-pushed
the
stack-2-opds-runtime
branch
from
September 17, 2026 21:55
5c95a24 to
be7d7f9
Compare
phildenhoff
force-pushed
the
stack-2-opds-runtime
branch
from
September 17, 2026 21:58
be7d7f9 to
3a66dd3
Compare
libcalibre Test Coverage ReportOverall coverage: 83.69% Coverage breakdown available in the artifacts. |
libcalibre Test Coverage ReportOverall coverage: 83.69% Coverage breakdown available in the artifacts. |
phildenhoff
force-pushed
the
stack-2-opds-runtime
branch
from
September 17, 2026 22:35
3a66dd3 to
a01d8e3
Compare
libcalibre Test Coverage ReportOverall coverage: 83.69% Coverage breakdown available in the artifacts. |
libcalibre Test Coverage ReportOverall coverage: 83.69% Coverage breakdown available in the artifacts. |
phildenhoff
force-pushed
the
stack-2-opds-runtime
branch
from
September 17, 2026 22:50
a01d8e3 to
7273e82
Compare
libcalibre Test Coverage ReportOverall coverage: 83.69% Coverage breakdown available in the artifacts. |
Member
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CDL-27: let OPDS reader apps (KOReader, Moon+, …) browse and download from the active Calibre library over the local network, on the user's terms — a selected interface or all ordinary local networks, never more.
What changed
New
citadel-opdscrate (Tauri-independent, so the headless host can reuse it):Waitingwhen the interface disappears, never widen to wildcardPlus
citadel-server, a headless host binary for packaged QA, and the Tauri wiring: Sharing settings pane, commands, and state.Reviewer focus
auth.rs— the padding/target-duration logic is subtle; it's unit-tested but a second pair of eyes helpsservice.rs— the listener reconciliation loop (apply_plan/monitor_service) is where the fail-closed guarantees livenetwork.rs— interface classification is product policy, not a security boundary (per ADR 0002)Validation
57 crate tests (feeds, auth middleware, listener lifecycle, real-library loopback). Packaged smoke test against the signed nightly — IPv4 + IPv6 200s on every route, 401s with
WWW-Authenticateon bad credentials — recorded indocs/opds-validation.md(that doc lands later in this stack).Stack
#142 (this) → #143 genres → #144 hardening → #137 docs.