e85ba6de4f
fix: main.py bruker sys.path + direkte import fra app.py (bindestrek-safe)
2026-06-10 10:43:35 +02:00
5ccb95a1c3
fix: tilbakestill Dockerfile til fungerende versjon ( 6981359) + fiks main.py plassering
2026-06-10 10:43:22 +02:00
9b3be743bf
fix(auth): resolve NameError on require_auth decorator
2026-06-05 01:41:29 +00:00
5d42cd4383
feat(auth): add Google OAuth routes for CostGuard billing
2026-06-05 00:57:04 +00:00
Jason Vauger
7a098716ae
fix(main): exempt health/readiness paths from IAP middleware
...
/health and probe endpoints reach Cloud Run directly without the
IAP-injected x-goog-authenticated-user-email header. Without an
exemption the middleware returned 401 on /health, which would break
Cloud Run health checks, CI/CD deploys, and the Phase 8 verification.
Powered by Jason, Crafted by Vauco
2026-06-01 12:30:06 +00:00
b751a6fd38
fix(main): add global IAP middleware requiring x-goog-authenticated-user-email
2026-06-01 04:09:11 +00:00
8be65126d8
fix: opax root + remove redundant auth routes
...
* chore(docs): set region to us-central1 in AGENT_RULEBOOK
* docs: update region references europe-west1 -> us-central1
* chore(scripts): update opax/opax2 comments to us-central1
* fix(main): use opax.html root and remove IAP-handled auth routes
2026-06-01 05:22:10 +02:00
Chris Christiansen
a316f34c35
feat(C2): admin panel /admin med create-customer endpoint
2026-05-30 15:07:10 +00:00
Chris Christiansen
8f344823ef
fix: restore missing AGENT_ID constant in main.py
2026-05-30 14:46:23 +00:00
Chris Christiansen
312013f7de
fix: trust X-Forwarded-Proto from Cloud Run proxy (fixes redirect_uri_mismatch)
2026-05-30 03:23:54 +00:00
Chris Christiansen
54d21ab871
fix(deploy): Initialize Firestore and Firebase Admin to fix startup
2026-05-30 02:08:10 +00:00
Chris Christiansen
5a06158ef3
auto: sync
2026-05-30 01:56:22 +00:00
Chris Christiansen
6b1444eaef
fix: remove billing_budgets_v1 bad import, use billing_v1 only
2026-05-30 01:35:38 +00:00
Chris Christiansen
772951ef01
feat: Cloud Billing API, FCM push, OAuth, AWS billing, historikk, eksport, PWA
2026-05-30 01:20:21 +00:00
Chris Christiansen
07d49321a4
fix(billing): Remove unused client_id from agent constructors
2026-05-29 23:07:09 +00:00
Chris Christiansen
7f5541803b
fix: serve docs/index.html som landing page på /
2026-05-29 22:15:17 +00:00
a729d0b345
feat(auth): add /auth/login and /auth/callback OAuth2 routes to main.py
2026-05-27 20:06:08 +02:00
Chris Christiansen
a82c07e692
feat(cg1+cg2): expose billing endpoints in Cloud Run agent
2026-05-27 17:24:01 +00:00
324867e289
feat(cg1+cg2+cg3): billing endpoints, IAP middleware, static serving
2026-05-27 19:20:45 +02:00
Chris Christiansen
25ee2d495a
feat: opax-mcp modul-struktur, acceptance-test og preflight-check scripts
2026-05-26 13:36:59 +00:00
Chris Christiansen
05030edf61
fix: Set executable bit on shell and python scripts
...
Per the task in `docs/TODO.md`, this change runs `git update-index --chmod=+x` on all relevant `.sh` and `.py` files in the repository.
This prevents intermittent 'Permission denied' errors when scripts are run in CI/CD environments or after being edited via the GitHub web interface, which can strip file permissions.
2026-05-26 13:23:18 +00:00
7585a485e0
fix(models): gemini-2.5-flash (light) + gemini-2.5-pro (heavy), LOCATION=global for modellkall
2026-05-26 01:37:28 +02:00
f711f7be74
fix: gemini-2.0-flash-001 for light mode, fang ValueError i /run authorize_mode
2026-05-26 01:30:01 +02:00
5e1bb4e7ab
refactor(mode): rename A/A+ → light/heavy gjennomgående + ML-spor i MASTERPLAN
2026-05-26 01:20:53 +02:00
7d7c5e91a8
feat(ml-1): wire ML DAG + state store + telemetry into /run endpoint
2026-05-26 01:14:46 +02:00
e7207a67c7
fix(deploy): bruk FastAPI+uvicorn i main.py, kopier requirements.txt til rot
2026-05-26 00:37:55 +02:00
59d9859a48
fix(deploy): legg til Procfile + main.py for Cloud Run Buildpacks entrypoint
2026-05-26 00:37:04 +02:00