22 Commits
Author SHA1 Message Date
br 5fff17531d i18 drin
Formeleon Deployment Pipeline / Deploy to Dev Environment (push) Successful in 1m1s
Formeleon Deployment Pipeline / Deploy to Production Environment (push) Skipped
mail drin
fehlende routen drin
prod-reife erreicht.
TODOS:

Deine aktuellen offenen TODOs
1. Rate-Limiting (Spam-Schutz VOR dem reCAPTCHA)
Das reCAPTCHA hält zwar Bots ab, aber wenn jemand böswillig ein Script schreibt, das 1.000 POST-Requests pro Sekunde an /api/v1/submissions sendet, muss dein Backend jedes Mal Google kontaktieren und die Datenbank befragen. Das frisst Server-Ressourcen.

Todo: Einbinden von Flask-Limiter und Absichern der API-Route (z.B. max. 10 Submissions pro Minute pro IP-Adresse oder Tenant).
2. Billing & Feature-Enforcement (Limits pro Tenant durchsetzen)
Die Mandanten-Architektur und das config-Feld im JSON existieren bereits. Aber wir erzwingen diese Limits aktuell nicht im Backend.

Todo: Im Dashboard (templates/admin/tenants/view.html) UI-Controls einbauen, um Feature-Flags für einen Tenant festzulegen:
max_forms (z.B. 1 für Free-User, 10 für Pro-User).
allow_instant_mail (Dürfen E-Mails an den Tenant gesendet werden?).
allow_autoresponder (Darf der Autoresponder für Endkunden genutzt werden?).
Todo: Diese Limits hart im Backend (beim Erstellen von Forms und beim Mailversand) kontrollieren. (Der Mailer prüft das zwar schon halbwegs, das UI zum Pflegen fehlt aber noch komplett).
3. E-Mail Templates aufwerten (HTML statt Plain-Text)
Bisher versendet der Service E-Mails als reinen Text (plain). Für eine professionelle SaaS-Lösung sollten diese Mails ansprechend aussehen.

Todo: Im services/mailer.py den MIMEMultipart so erweitern, dass er saubere HTML-Mails aus einem Jinja2-Template (templates/emails/...) generiert, inklusive Branding/Logo deines Services.
4. Frontend-Snippet "Graceful Degradation"
Das embed.js arbeitet aktuell sehr gut. Aber was ist, wenn das Formeleon-Backend mal für 5 Minuten down ist?

Todo: Einen sauberen Timeout im fetch einbauen und dem Endkunden auf der Webseite eine schöne, fallback HTML-Meldung anzeigen ("Entschuldigung, das Formular ist momentan nicht erreichbar"), anstatt dass sich das Script lautlos in der Console mit einem CORS/Network-Error verabschiedet.
5. CI/CD Pipeline (Deployment)
Wenn der Code fertig ist, willst du ihn sicher nicht immer händisch per git pull auf deinen Produktionsserver schieben und dort docker compose up tippen.

Todo: Eine simple Pipeline (Github Actions / Gitea Actions) anlegen, die den Code testet und automatisch auf dem Zielserver ausrollt.
2026-09-29 05:16:01 +02:00
br 7f81932fa5 auth ist im kasten
Formeleon Deployment Pipeline / Deploy to Dev Environment (push) Successful in 4s
Formeleon Deployment Pipeline / Deploy to Production Environment (push) Has been skipped
2026-08-04 23:07:18 +02:00
br 8498781c85 fix: OIDC Authentication with PKCE for dev bypass
- Fixed operational auth session bug returning False despite valid Mock Session
- Removed dev user ID hardcoding logic ensuring auth flow uses the defined config.
2026-08-04 13:49:37 +02:00
br 03b0e33723 fix: Database operational error for sessions
- Switched back `SESSION_SQLALCHEMY_TABLE` and `SESSION_CLEANUP_N_REQUESTS` configuration
- `flask_session` extension is now generating the `sessions` table without issues
- Database permission issue resolved by clearing corrupt database volumes and running `flask db init`/`upgrade` manually

Re-initialized test environment via setup commands.
2026-08-04 13:49:17 +02:00
br 1dc0d9588f typo
Formeleon Deployment Pipeline / Deploy to Dev Environment (push) Has been skipped
Formeleon Deployment Pipeline / Deploy to Production Environment (push) Successful in 4s
2026-08-03 17:50:14 +02:00
br 78f1a68438 app-name
Formeleon Deployment Pipeline / Deploy to Dev Environment (push) Has been skipped
Formeleon Deployment Pipeline / Deploy to Production Environment (push) Failing after 3s
2026-08-03 17:47:18 +02:00
br 6f0d0a952d corrections für https behind webproxy
Formeleon Deployment Pipeline / Deploy to Dev Environment (push) Has been skipped
Formeleon Deployment Pipeline / Deploy to Production Environment (push) Failing after 4s
2026-08-03 16:59:44 +02:00
br 574e3cb6c4 instance folder in compose
Formeleon Deployment Pipeline / Deploy to Dev Environment (push) Successful in 4s
Formeleon Deployment Pipeline / Deploy to Production Environment (push) Has been skipped
2026-08-03 16:35:45 +02:00
br 0739de4b44 portsettings für docker + cli noch angepasst. jetzt ist .env führend
Formeleon Deployment Pipeline / Deploy to Dev Environment (push) Successful in 5s
Formeleon Deployment Pipeline / Deploy to Production Environment (push) Has been skipped
2026-08-03 16:26:23 +02:00
br a54f26f808 deploy korrigiert
Formeleon Deployment Pipeline / Deploy to Dev Environment (push) Failing after 4s
Formeleon Deployment Pipeline / Deploy to Production Environment (push) Has been skipped
2026-08-03 16:13:24 +02:00
br b5f1e7a469 nonsense retour
Formeleon Deployment Pipeline / Deploy to Dev Environment (push) Failing after 3s
Formeleon Deployment Pipeline / Deploy to Production Environment (push) Has been skipped
2026-08-03 16:08:26 +02:00
br e72a66fe94 nonsense
Formeleon Deployment Pipeline / Deploy to Dev Environment (push) Failing after 2s
Formeleon Deployment Pipeline / Deploy to Production Environment (push) Has been skipped
2026-08-03 16:01:27 +02:00
br 8f92e53fa8 deploy-jedönse drin
Formeleon Deployment Pipeline / Deploy to Dev Environment (push) Failing after 30s
Formeleon Deployment Pipeline / Deploy to Production Environment (push) Has been skipped
2026-08-03 15:59:00 +02:00
br 1c789aa8d5 dockerized läuft 2026-08-03 13:38:11 +02:00
br a8c95e9df5 fix: Flask make_default_response AttributeError in API before_request
- Replaced make_default_response with make_default_options_response which exists in Flask >= 3.0
- Avoids HTTP 500 on valid API requests
2026-08-03 12:59:06 +02:00
br e0081e6d46 refactor: extract admin business logic to services
- Created TenantAdminService, FormAdminService, and UserAdminService
- Separated business operations (CRUD, audit logs, generation logic) from routes
2026-08-03 12:25:37 +02:00
br 1038b4ff05 fix: resolve database pathing issues in multi-environment setup
* Used absolute paths constructed from `app.root_path` (BASE_DIR)
* Modified `config.py` to ensure `sqlite:///{path}` works across Docker and Host Linux systems
2026-08-03 12:23:38 +02:00
br 8232f4d8f7 gemini (kostenintensives) app-aufbauen 2026-08-01 16:42:30 +02:00
Björn Runden c74bca1e13 initiales bauen mit mistral 2026-08-01 15:40:30 +02:00
Björn Runden 7e2e8bdf59 Projektsupt als skeleton um git-festlegungen ergänzt. 2026-07-28 15:56:49 +02:00
Björn Runden e5935be1e4 initiales Projektsetup als skeleton für fresh flask + architecture 2026-07-28 15:47:56 +02:00
br 34dc6b3fcb README.md hinzugefügt
init

Signed-off-by: br <br@noreply.everdc.eu>
2026-07-26 21:03:51 +00:00