[PR #8510] [MERGED] docs: align remote access, upgrade and mobile lockout recovery (#7914) #8644

Closed
opened 2026-11-07 16:46:12 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/8510
Author: @Gunterlie
Created: 10/30/2026
Status: ✅ Merged
Merged: 10/30/2026
Merged by: @Gunterlie

Base: staging ← Head: docs/access-recovery-7914


📝 Commits (2)

  • 292f567 docs: align remote access, upgrade and mobile lockout recovery (#7914)
  • b36c8e4 docs: correct Docker Tailscale login and allowlist wording (#7914)

📊 Changes

7 files changed (+24 additions, -10 deletions)

View changed files

📝 .env.example (+2 -1)
📝 android/README.md (+2 -0)
📝 docs/CONFIGURATION.md (+7 -5)
📝 docs/REMOTE_ACCESS.md (+4 -2)
📝 docs/UPGRADING.md (+1 -0)
📝 docs/installation/android-termux.md (+6 -0)
📝 docs/installation/ios-pwa.md (+2 -2)

📄 Description

Linked issue

Refs #7914 (slice 2 of the follow-up audit; #7914 stays open for the access-chain regression and the Docker gateway decision).

Why this change

An audit of #7914 against staging found the access code correct but several docs out of date after #7987, #8003, #7988 and #8102. Users who follow them get an unexpected login prompt, miss the broad-allowlist risk, or have no lockout recovery steps on Android, Termux or the iOS home-screen app.

What changed

  • docs/REMOTE_ACCESS.md: the Tailscale "already works" line now says direct Tailscale clients skip the login only with pnpm start; on Docker, once a login is set, every device signs in (Docker sees them at the gateway address). The realm-prompt text now points to the /login page. Broad allowlist warning added.
  • docs/CONFIGURATION.md: /login is the browser sign-in path, BASIC_AUTH_REALM only names the Basic Auth challenge; broad allowlist warning; Docker images bind 0.0.0.0 inside the container while the default Compose file publishes on 127.0.0.1.
  • .env.example: broad allowlist warning; the allowlist comment now says loopback, trusted Tailscale/Docker peers and TRUSTED_AUTH_PROXY still pass.
  • docs/UPGRADING.md: note that the automatic Tailscale bypass is narrower since #8003.
  • android/README.md, docs/installation/android-termux.md: lockout recovery (pnpm reset-login, data path under $HOME/Marinara-Engine/packages/server/data), separated from APK local auth.
  • docs/installation/ios-pwa.md: describes the sign-in and setup pages instead of the old password prompt; server-side recovery goes to the server owner.

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Docs-only. Agent checks: git diff --check clean; Markdown link targets in the changed docs resolve. An Opus review checked every changed sentence against access-policy.ts, basic-auth.ts, login-credential.ts, ip-allowlist.ts, runtime-config.ts, the Dockerfile, Compose and MainActivity.java; its two wording findings are fixed in the second commit.

Manual verification notes

  • Manually verify on Docker with a login set that a Tailscale device is asked to sign in (matches the new REMOTE_ACCESS text).
  • Manually verify pnpm reset-login on Termux from $HOME/Marinara-Engine clears a forgotten remote login.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README) as needed
  • Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] follow-up issue opened (see CONTRIBUTING.md § Translated documentation)
  • Version/release files updated (only if this PR includes a version bump)

UI evidence (if applicable)

Not applicable (docs only).


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/8510 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 10/30/2026 **Status:** ✅ Merged **Merged:** 10/30/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `staging` ← **Head:** `docs/access-recovery-7914` --- ### 📝 Commits (2) - [`292f567`](https://github.com/Pasta-Devs/Marinara-Engine/commit/292f5672e4a7045a9b81931f4483d127fe890861) docs: align remote access, upgrade and mobile lockout recovery (#7914) - [`b36c8e4`](https://github.com/Pasta-Devs/Marinara-Engine/commit/b36c8e4183124af1b3823e597fe0ec74d11c85f2) docs: correct Docker Tailscale login and allowlist wording (#7914) ### 📊 Changes **7 files changed** (+24 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `.env.example` (+2 -1) 📝 `android/README.md` (+2 -0) 📝 `docs/CONFIGURATION.md` (+7 -5) 📝 `docs/REMOTE_ACCESS.md` (+4 -2) 📝 `docs/UPGRADING.md` (+1 -0) 📝 `docs/installation/android-termux.md` (+6 -0) 📝 `docs/installation/ios-pwa.md` (+2 -2) </details> ### 📄 Description ## Linked issue Refs #7914 (slice 2 of the follow-up audit; #7914 stays open for the access-chain regression and the Docker gateway decision). ## Why this change An audit of #7914 against `staging` found the access code correct but several docs out of date after #7987, #8003, #7988 and #8102. Users who follow them get an unexpected login prompt, miss the broad-allowlist risk, or have no lockout recovery steps on Android, Termux or the iOS home-screen app. ## What changed - `docs/REMOTE_ACCESS.md`: the Tailscale "already works" line now says direct Tailscale clients skip the login only with `pnpm start`; on Docker, once a login is set, every device signs in (Docker sees them at the gateway address). The realm-prompt text now points to the `/login` page. Broad allowlist warning added. - `docs/CONFIGURATION.md`: `/login` is the browser sign-in path, `BASIC_AUTH_REALM` only names the Basic Auth challenge; broad allowlist warning; Docker images bind `0.0.0.0` inside the container while the default Compose file publishes on `127.0.0.1`. - `.env.example`: broad allowlist warning; the allowlist comment now says loopback, trusted Tailscale/Docker peers and `TRUSTED_AUTH_PROXY` still pass. - `docs/UPGRADING.md`: note that the automatic Tailscale bypass is narrower since #8003. - `android/README.md`, `docs/installation/android-termux.md`: lockout recovery (`pnpm reset-login`, data path under `$HOME/Marinara-Engine/packages/server/data`), separated from APK local auth. - `docs/installation/ios-pwa.md`: describes the sign-in and setup pages instead of the old password prompt; server-side recovery goes to the server owner. ## Validation - [ ] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [ ] Read and followed `CONTRIBUTING.md` Docs-only. Agent checks: `git diff --check` clean; Markdown link targets in the changed docs resolve. An Opus review checked every changed sentence against `access-policy.ts`, `basic-auth.ts`, `login-credential.ts`, `ip-allowlist.ts`, `runtime-config.ts`, the Dockerfile, Compose and `MainActivity.java`; its two wording findings are fixed in the second commit. ### Manual verification notes - Manually verify on Docker with a login set that a Tailscale device is asked to sign in (matches the new REMOTE_ACCESS text). - Manually verify `pnpm reset-login` on Termux from `$HOME/Marinara-Engine` clears a forgotten remote login. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README) as needed - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n]` follow-up issue opened (see CONTRIBUTING.md § Translated documentation) - [ ] Version/release files updated (only if this PR includes a version bump) ## UI evidence (if applicable) Not applicable (docs only). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 16:46:12 +07:00
Sign in to join this conversation.
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
Pasta-Devs/Marinara-Engine#8644
No description provided.