feat: port cron URL, honeypot and All-Inkl deployment from WunschSchreiner #5

Merged
csaeum merged 1 commit from feature/port-wunschschreiner into main 2026-10-25 19:25:23 +00:00
Owner

Bringt die Vorlage auf den Stand von SuluProjekt_WunschSchreiner v0.3.0 (Theme-Anpassungen und CI-Timeout waren schon in PR #3 und #4).

Übernommen

  • src/Controller/CronController.php: Cron-URL /cron/task-run/<CRON_TOKEN> für KAS-Cronjobs (ohne Token 404, Docker-Betrieb unberührt)
  • config/packages/sulu_form.yaml: Honeypot „Website“, Strategie no_email
  • config/webspaces/website.xml: prod mit main="true" und 301 von www.example.com
  • docs/deployment.md (neu): getesteter All-Inkl-Ablauf inkl. Go-live und Stolperfallen, mit Platzhaltern
  • docs/installation.md: CRON_TOKEN, Cron-URL (P7), Sitemap ohne Dump (P8), fos:httpcache:clear bei jedem Deployment (P6), Verweis auf docs/deployment.md
  • STATUS.md, Projekt.md: beantwortete Hosting-Fragen, neue Verweise

Getestet im DDEV der Vorlage (frische DB per sulu:build dev)

Prüfung Ergebnis
Cron mit Token / falschem Token / ohne CRON_TOKEN 200 OK / 404 / 404
prod: example.com / www.example.com 200 / 301 → https://example.com
Formular, Honeypot leer / gefüllt gespeichert + Mail / gespeichert ohne Mail
PHP-CS-Fixer, PHPStan, Rector, Twig-CS-Fixer, Symfony-Lints, Doctrine, composer validate grün

🤖 Generated with Claude Code

Bringt die Vorlage auf den Stand von `SuluProjekt_WunschSchreiner` `v0.3.0` (Theme-Anpassungen und CI-Timeout waren schon in PR #3 und #4). **Übernommen** - `src/Controller/CronController.php`: Cron-URL `/cron/task-run/<CRON_TOKEN>` für KAS-Cronjobs (ohne Token 404, Docker-Betrieb unberührt) - `config/packages/sulu_form.yaml`: Honeypot „Website“, Strategie `no_email` - `config/webspaces/website.xml`: `prod` mit `main="true"` und 301 von `www.example.com` - `docs/deployment.md` (neu): getesteter All-Inkl-Ablauf inkl. Go-live und Stolperfallen, mit Platzhaltern - `docs/installation.md`: `CRON_TOKEN`, Cron-URL (P7), Sitemap ohne Dump (P8), `fos:httpcache:clear` bei jedem Deployment (P6), Verweis auf `docs/deployment.md` - `STATUS.md`, `Projekt.md`: beantwortete Hosting-Fragen, neue Verweise **Getestet im DDEV der Vorlage** (frische DB per `sulu:build dev`) | Prüfung | Ergebnis | |---|---| | Cron mit Token / falschem Token / ohne `CRON_TOKEN` | 200 `OK` / 404 / 404 | | `prod`: `example.com` / `www.example.com` | 200 / 301 → `https://example.com` | | Formular, Honeypot leer / gefüllt | gespeichert + Mail / gespeichert ohne Mail | | PHP-CS-Fixer, PHPStan, Rector, Twig-CS-Fixer, Symfony-Lints, Doctrine, composer validate | grün | 🤖 Generated with [Claude Code](https://claude.com/claude-code)
feat: port cron URL, honeypot and All-Inkl deployment from WunschSchreiner
All checks were successful
CI / php (push) Successful in 1m55s
CI / sicherheit (push) Successful in 1m12s
CI / php (pull_request) Successful in 2m12s
CI / sicherheit (pull_request) Successful in 1m12s
709f624c7c
Bring the template up to SuluProjekt_WunschSchreiner v0.3.0:

- CronController: /cron/task-run/<CRON_TOKEN> runs the php-task runner,
  because KAS cronjobs can only call URLs (404 without a token, so the
  Docker setup with its own cron container is unaffected)
- Form bundle honeypot ("Website", strategy no_email)
- prod webspace: main domain plus 301 from www.
- docs/deployment.md: the tested All-Inkl flow including go-live, with
  placeholders; installation.md gets CRON_TOKEN, the cron URL, the sitemap
  note and fos:httpcache:clear in every deployment
- STATUS.md and Projekt.md: answered hosting questions, new references

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
csaeum merged commit 273fc86df2 into main 2026-10-25 19:25:23 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Komplett-Projekte/SuluProjekt_Vorlage!5
No description provided.