T11.2: PrusaLink & OctoPrint absichern, Moonraker dokumentieren #188

Merged
xanibale merged 2 commits from feat/t11.2-prusalink-octoprint into phase/11 2026-11-20 16:39:57 +01:00
Owner

Aufgabe: WORKPLAN T11.2 PrusaLink & OctoPrint – inkl. Moonraker-Kompatibilität (OctoPrint-API) prüfen und dokumentieren.

Änderung

  • OctoPrintStub (sharedTest) erweitert: konfigurierbare api/version-Antwort, PrusaLink-PUT api/v1/files/…, GET api/v1/storage, HTTP Digest (RFC 2617), Unterpfad (Reverse Proxy), Moonraker-/PrusaLink-Versionsantworten. Bisheriges Verhalten unverändert.
  • Neu OctoPrintPrusaLinkTest (11 Tests, upstreams Hosts unverändert): Versionsprüfung OctoPrint/PrusaLink, URL-Bildung, Upload mit/ohne Druck, API-Key-Fehler, PUT inkl. Speicher/prozentkodiertem Pfad/Print-After-Upload/Overwrite, POST für ältere PrusaLink, Digest, Speicherliste inkl. IOError, Moonraker als OctoPrint.
  • Neu OctoPrintLiveTest (@HostDriven, nicht im normalen Lauf) + tools/octoprint-live.sh: optional gegen echte OctoPrint-Instanz; Zugangsdaten aus toolchain/local.env über stdin ins private Test-Verzeichnis (nie Argument/Log/Repo), Uploads nur nach droidslice-test/ und danach gelöscht, „Upload and Print“ nur bei GET /api/printer = 409. androidTest-Manifest: usesCleartextTraffic (nur Test-APK).
  • Doku docs/upstream-notes/print-host.md (OctoPrint/PrusaLink-Details, Moonraker-Abschnitt), FEATURES.md neue Zeile, tools/README.md.

Tests

  • tools/check.sh grün; OctoPrintPrusaLinkTest 11/11, PrintHostTest 5/5 (emulator-5554).
  • tools/octoprint-live.sh gegen OctoPrint 1.11.8: OK (2 tests), Testordner danach entfernt, Drucker blieb „not operational“.
  • Moonraker nur gegen den Nachbau (keine Test-Instanz).

Gerät prüfen

  • Optional: Physical Printer PrusaLink (MK4/XL/MINI) bzw. OctoPrint anlegen, „Send to printer“ mit Speicher-Auswahl; ggf. Klipper/Moonraker mit [octoprint_compat] als Host-Typ OctoPrint.

🤖 Generated with Claude Code

**Aufgabe:** WORKPLAN T11.2 PrusaLink & OctoPrint – inkl. Moonraker-Kompatibilität (OctoPrint-API) prüfen und dokumentieren. **Änderung** - `OctoPrintStub` (sharedTest) erweitert: konfigurierbare `api/version`-Antwort, PrusaLink-`PUT api/v1/files/…`, `GET api/v1/storage`, HTTP Digest (RFC 2617), Unterpfad (Reverse Proxy), Moonraker-/PrusaLink-Versionsantworten. Bisheriges Verhalten unverändert. - Neu `OctoPrintPrusaLinkTest` (11 Tests, upstreams Hosts unverändert): Versionsprüfung OctoPrint/PrusaLink, URL-Bildung, Upload mit/ohne Druck, API-Key-Fehler, PUT inkl. Speicher/prozentkodiertem Pfad/`Print-After-Upload`/`Overwrite`, POST für ältere PrusaLink, Digest, Speicherliste inkl. IOError, Moonraker als OctoPrint. - Neu `OctoPrintLiveTest` (`@HostDriven`, nicht im normalen Lauf) + `tools/octoprint-live.sh`: optional gegen echte OctoPrint-Instanz; Zugangsdaten aus `toolchain/local.env` über stdin ins private Test-Verzeichnis (nie Argument/Log/Repo), Uploads nur nach `droidslice-test/` und danach gelöscht, „Upload and Print“ nur bei `GET /api/printer` = 409. androidTest-Manifest: `usesCleartextTraffic` (nur Test-APK). - Doku `docs/upstream-notes/print-host.md` (OctoPrint/PrusaLink-Details, Moonraker-Abschnitt), FEATURES.md neue Zeile, tools/README.md. **Tests** - `tools/check.sh` grün; `OctoPrintPrusaLinkTest` 11/11, `PrintHostTest` 5/5 (emulator-5554). - `tools/octoprint-live.sh` gegen OctoPrint 1.11.8: OK (2 tests), Testordner danach entfernt, Drucker blieb „not operational“. - Moonraker nur gegen den Nachbau (keine Test-Instanz). **Gerät prüfen** - Optional: Physical Printer PrusaLink (MK4/XL/MINI) bzw. OctoPrint anlegen, „Send to printer“ mit Speicher-Auswahl; ggf. Klipper/Moonraker mit `[octoprint_compat]` als Host-Typ OctoPrint. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
T11.2: PrusaLink & OctoPrint absichern, Moonraker dokumentieren
Some checks failed
ci / changes (pull_request) Successful in 7s
ci / build (pull_request) Has been cancelled
ci / deps (pull_request) Has been cancelled
ci / slic3r (pull_request) Has been cancelled
ci / unit-tests (pull_request) Has been cancelled
ci / emulator-smoke (pull_request) Has been cancelled
ci / release (pull_request) Has been cancelled
ci / lint (pull_request) Has been cancelled
7af3fb963b
OctoPrintPrusaLinkTest gegen den erweiterten Nachbau (PUT, Digest, Speicher,
Moonraker-Antworten), optionaler OctoPrintLiveTest über tools/octoprint-live.sh
gegen eine echte OctoPrint-Instanz (Zugangsdaten nur aus local.env).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
WORKPLAN: T11.2 PR-Link
All checks were successful
ci / changes (pull_request) Successful in 6s
ci / lint (pull_request) Successful in 4s
ci / release (pull_request) Has been skipped
ci / deps (pull_request) Successful in 42s
ci / emulator-smoke (pull_request) Has been skipped
ci / build (pull_request) Successful in 2m0s
ci / slic3r (pull_request) Successful in 32m41s
ci / unit-tests (pull_request) Has been skipped
0c68999835
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
xanibale merged commit 8c94242f89 into phase/11 2026-11-20 16:39:57 +01:00
xanibale deleted branch feat/t11.2-prusalink-octoprint 2026-11-20 16:39:57 +01:00
Sign in to join this conversation.
No reviewers
No labels
feedback
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
xanibale/DroidSlice!188
No description provided.