diff --git a/PROJECT_STATE.md b/PROJECT_STATE.md index 1a89815..f087ba6 100644 --- a/PROJECT_STATE.md +++ b/PROJECT_STATE.md @@ -4,7 +4,7 @@ OTB Cloud ## Current version -v0.1.1 +v0.1.2 ## Build date 2026-04-12 @@ -53,24 +53,25 @@ Each device should have: - Main blueprint - Auth blueprint - MariaDB connection helper -- Signed handoff placeholder route +- Signed handoff endpoint - Auth-protected dashboard -- Local temporary portal base template +- Temporary portal base template - SQL schema file - DB bootstrap script - Storage bootstrap scripts +- Gunicorn systemd service on vault3 +- Mintme reverse proxy in place ## Immediate next tasks -1. Create MariaDB database and otb_cloud DB user -2. Run schema bootstrap script -3. Install Python requirements into venv -4. Start local Flask test run on 127.0.0.1:5090 -5. Add real shared `portal_base.html` integration from OTB portal -6. Build file library and upload endpoints -7. Add OTB Billing service-card integration +1. Patch OTB Billing to add OTB Cloud services card +2. Add signed handoff redirect route in OTB Billing +3. Replace temporary portal base with shared portal template structure +4. Build file library and upload endpoints +5. Add upload audit logging +6. Add first real storage browsing page ## Notes Original uploaded files should remain preserved and effectively read-only. Any user-facing edits or processing outputs should create derivative files. Admin access should require owner-issued one-time support authorization. -The current auth handoff is a placeholder scaffold using a shared secret and HMAC signature. +This version cleans up the temporary UI while keeping the same signed handoff endpoint for OTB Billing integration. diff --git a/README.md b/README.md index 9e58464..cee613f 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,12 @@ # OTB Cloud +## v0.1.2 - 2026-04-12 +- Cleaned up unauthenticated OTB Cloud pages +- Hid Dashboard/Logout navigation when not authenticated +- Updated portal-required messaging for production-style flow +- Updated handoff error page wording +- Updated test handoff helper to load `.env` automatically + ## v0.1.1 - 2026-04-12 - Added app config module and MariaDB connection helper - Added signed portal handoff placeholder routes diff --git a/VERSION b/VERSION index 8308b63..5366600 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v0.1.1 +v0.1.2 diff --git a/app/templates/auth/handoff_error.html b/app/templates/auth/handoff_error.html index 4951fed..fbba73d 100644 --- a/app/templates/auth/handoff_error.html +++ b/app/templates/auth/handoff_error.html @@ -1,10 +1,13 @@ {% extends "portal_base.html" %} -{% block title %}Handoff Error{% endblock %} +{% block title %}Portal Handoff Error{% endblock %} {% block content %}
{{ message }}
+- OTB Cloud does not allow direct unauthenticated access. - This app is intended to be reached through the OTB Billing portal handoff. + OTB Cloud is available only through a signed handoff from the OTB Billing portal.
- v0.1.1 provides portal-handoff scaffolding, tenant bootstrap, device records, and an authenticated dashboard. + OTB Cloud is now running as a portal-linked secure storage service. + Next steps are real OTB Billing handoff integration, file library pages, and upload endpoints.