mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #5224] [MERGED] Fix Android APK bootstrap authentication #6679
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#6679
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/5224
Author: @SpicyMarinara
Created: 8/18/2026
Status: ✅ Merged
Merged: 8/18/2026
Merged by: @SpicyMarinara
Base:
staging← Head:agent/5222-android-apk-install📝 Commits (3)
888142fFix Android APK bootstrap authentication3513c5aHarden Android release artifact upload9113d2eValidate Android release version consistency📊 Changes
15 files changed (+180 additions, -42 deletions)
View changed files
📝
.env.example(+2 -0)📝
.github/workflows/build-apk.yml(+35 -9)📝
CHANGELOG.md(+1 -0)📝
CONTRIBUTING.md(+2 -2)📝
README.md(+3 -3)📝
android/README.md(+7 -5)📝
android/app/src/main/java/com/marinara/engine/MainActivity.java(+4 -1)📝
docs/CONFIGURATION.md(+4 -4)📝
docs/FAQ.md(+3 -3)📝
docs/INSTALLATION.md(+3 -2)📝
docs/TROUBLESHOOTING.md(+7 -1)📝
docs/UPGRADING.md(+1 -1)📝
docs/installation/android-termux.md(+6 -6)📝
packages/server/src/middleware/csrf-protection.ts(+12 -0)📝
scripts/regressions/android-local-auth.regression.ts(+90 -5)📄 Description
Linked issue
Closes #5222
Why this change
Origin: null, causing the general CSRF gate to reject the request before Android authentication verified its one-time proof..envor supplying build/runtime secrets.What changed
Origin: nullrejected for every other unsafe API route and replace the impossible whitelist hint with actionable update guidance.marinara-engine-android.apkbeside the versioned release asset for a stable one-click latest-download URL.Validation
pnpm checkpasses locallyCONTRIBUTING.mdAutomated evidence already run during preparation:
pnpm checkpnpm regression:android-local-auth./android/build-apk.sh(debug APK compiled successfully)git diff --checkManual verification notes
.envedit appears.marinara-engine-android.apk.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)UI evidence (if applicable)
No UI layout change. The remaining proof is the on-device APK flow described above.
Summary by CodeRabbit
New Features
Bug Fixes
Documentation
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.