feat(data): Standard-Cookie-Datensatz (#13) #38

Merged
csaeum merged 1 commit from feature/default-cookies into main 2026-11-09 19:01:04 +00:00
Owner

Schließt #13.

  • Resources/data/default-cookies.json: 10 Cookies, de/en/fr
    • Shopware-Einträge entfernt (Shopware Analytics, Shopware 6 Komfort/technisch, Device) sowie die Shopware-Merker-Items bei YouTube/Vimeo
    • Meta Pixel und Pinterest auf Marketing umgestellt
    • Vimeo-Item vuid ergänzt
    • Keine Kundendaten; enthaltene URLs sind nur Datenschutzseiten der Anbieter
  • DefaultCookieImporter: Kategorien nur über den Key (aus der Migration), Import nur auf leere Tabelle, fehlt eine Kategorie → Abbruch ohne Teil-Import
  • Befehl wsc:cookie-consent:import-defaults
  • sulu:build-Schritt wsc_cookie_consent_defaults; da sulu:build keine Migrationen ausführt, wird er bei fehlenden Kategorien mit Hinweis übersprungen statt den Build abzubrechen
  • Importierte Cookies sind keinem Webspace zugeordnet (Default-Deny, Auswahl im Webspace-Tab)
  • 80 Tests, PHPStan Level 8, cs-check grün

Im DDEV geprüft: Erster Import → 10 Cookies / 30 Übersetzungen / 69 Items / 0 Zuordnungen, zweiter Import übersprungen, sulu:build wsc_cookie_consent_defaults --nodeps übersprungen.

🤖 Generated with Claude Code

Schließt #13. - `Resources/data/default-cookies.json`: 10 Cookies, de/en/fr - Shopware-Einträge entfernt (Shopware Analytics, Shopware 6 Komfort/technisch, Device) sowie die Shopware-Merker-Items bei YouTube/Vimeo - Meta Pixel und Pinterest auf **Marketing** umgestellt - Vimeo-Item `vuid` ergänzt - Keine Kundendaten; enthaltene URLs sind nur Datenschutzseiten der Anbieter - `DefaultCookieImporter`: Kategorien nur über den Key (aus der Migration), Import nur auf leere Tabelle, fehlt eine Kategorie → Abbruch ohne Teil-Import - Befehl `wsc:cookie-consent:import-defaults` - `sulu:build`-Schritt `wsc_cookie_consent_defaults`; da `sulu:build` keine Migrationen ausführt, wird er bei fehlenden Kategorien mit Hinweis übersprungen statt den Build abzubrechen - Importierte Cookies sind keinem Webspace zugeordnet (Default-Deny, Auswahl im Webspace-Tab) - 80 Tests, PHPStan Level 8, cs-check grün **Im DDEV geprüft:** Erster Import → 10 Cookies / 30 Übersetzungen / 69 Items / 0 Zuordnungen, zweiter Import übersprungen, `sulu:build wsc_cookie_consent_defaults --nodeps` übersprungen. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
feat(data): import default cookies for empty installations (closes #13)
All checks were successful
CI / php (push) Successful in 49s
CI / sicherheit (push) Successful in 1m8s
CI / build-release (push) Has been skipped
195cd001cb
- default-cookies.json with 10 cookies (de/en/fr), Shopware-only entries removed,
  Meta Pixel and Pinterest moved to marketing, Vimeo item vuid added
- DefaultCookieImporter resolves categories by key, imports only into empty tables
- console command wsc:cookie-consent:import-defaults and sulu:build step
  wsc_cookie_consent_defaults (skips with a hint if the categories are missing)
- imported cookies are assigned to no webspace (default deny)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
csaeum merged commit c16b03cda3 into main 2026-11-09 19:01:04 +00:00
csaeum deleted branch feature/default-cookies 2026-11-09 19:01:04 +00:00
Sign in to join this conversation.
No reviewers
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
Sulu-Bundles/wsc_sulubundle_orestbidacookieconsent!38
No description provided.