Skip to content

feat(ios): add runtime server URL switcher, dev password recovery, and wireless launcher - #48

Merged
ur1el0 merged 11 commits into
mainfrom
feat/federated-book-sources
Nov 16, 2026
Merged

ur1el0 merged 11 commits into
mainfrom
feat/federated-book-sources

Conversation

@ur1el0

@ur1el0 ur1el0 commented Nov 16, 2026

Copy link
Copy Markdown
Owner

Summary

  • Backend (0837030): Return an in-band recoveryToken from POST /api/v1/auth/password-reset/request when FABLE_ENV=development and SMTP is unconfigured (FABLE_SMTP_HOST / FABLE_SMTP_FROM_EMAIL unset), while preserving strict 503 failure in staging/production.
  • iOS Client (897ce97):
    • Decode fractional-microsecond ISO-8601 timestamps emitted by FastAPI/Pydantic via StoryAPIService.iso8601DateDecodingStrategy.
    • Add runtime Backend Server URL switcher (StoryAPIService.setCustomBaseURL) accessible from both WelcomeView (Server: <host> • Change) and SettingsView so a physical iPhone can switch between a local LAN/Hotspot backend, a Cloudflare HTTPS tunnel, and Render Cloud without rebuilding in Xcode.
    • Declare FABLE_API_BASE_URL and NSAppTransportSecurity keys in frontend/FableApp-Info.plist for physical device builds.
    • Auto-populate recoveryToken in PasswordRecoveryViewModel when returned in development mode.
  • Tooling (4e8dccb): Add scripts/start_wireless_server.sh one-command wireless backend and Cloudflare tunnel launcher for macOS and Fedora Linux.
  • Documentation (32b2b34): Add docs/WIRELESS_IPHONE_AND_LINUX_SETUP.md and update README.md, docs/MAC_LAB_RUNBOOK.md, and docs/AGENT_HANDOFF_CONTEXT.md.

Verification

  • Backend pytest suite (PYTHONPATH=.:backend .venv/bin/pytest backend -v): Passed
  • iOS Simulator XCTest suite (xcodebuild test on iPhone 17 Pro): 38 passed, 0 failed

@ur1el0
ur1el0 merged commit f3f5b87 into main Nov 16, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant