Kant CMS: Grundgerüst, visueller Editor, Mediathek
Symfony 7.4 / Twig / Doctrine DBAL auf herkömmlichem PHP-Webhosting. Versionierte Blockdokumente (v1-v3) mit unveränderlichen Revisionen, getrennten Entwürfen/Veröffentlichungen und optimistischer Konflikterkennung. Visueller Editor mit Strukturbaum, Live-Vorschau, responsiven Gerätewerten, Abschnittsvorlagen, Bildmediathek, Galerien und Effekten. Öffentliche Ausgabe ohne Editor-JavaScript. Geprüft: 41 PHP-Tests / 155 Assertions, 10 JavaScript-Modelltests. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
commit
82b07820bc
87 files changed
+14463
No files matched your search
@@ -0,0 +1,19 @@
|
||||
framework:
|
||||
secret: '%env(APP_SECRET)%'
|
||||
csrf_protection: true
|
||||
session:
|
||||
handler_id: null
|
||||
storage_factory_id: session.storage.factory.native
|
||||
save_path: '%kernel.project_dir%/var/sessions/%kernel.environment%'
|
||||
cookie_httponly: true
|
||||
cookie_samesite: lax
|
||||
cookie_secure: auto
|
||||
cookie_path: /admin
|
||||
name: KANTSESSION
|
||||
router:
|
||||
utf8: true
|
||||
handle_all_throwables: true
|
||||
http_method_override: false
|
||||
disallow_search_engine_index: '%kernel.debug%'
|
||||
php_errors:
|
||||
log: true
|
||||
@@ -0,0 +1,29 @@
|
||||
security:
|
||||
password_hashers:
|
||||
App\Domain\CmsUser: auto
|
||||
providers:
|
||||
cms_users:
|
||||
id: App\Security\UserProvider
|
||||
role_hierarchy:
|
||||
ROLE_ADMIN: [ROLE_EDITOR, ROLE_PUBLISHER]
|
||||
ROLE_PUBLISHER: ROLE_EDITOR
|
||||
firewalls:
|
||||
admin:
|
||||
pattern: ^/admin(?:/|$)
|
||||
lazy: true
|
||||
provider: cms_users
|
||||
form_login:
|
||||
login_path: admin_login
|
||||
check_path: admin_login
|
||||
enable_csrf: true
|
||||
default_target_path: admin_pages
|
||||
login_throttling:
|
||||
max_attempts: 5
|
||||
interval: '1 minute'
|
||||
logout:
|
||||
path: admin_logout
|
||||
target: admin_login
|
||||
enable_csrf: true
|
||||
access_control:
|
||||
- { path: ^/admin/login$, roles: PUBLIC_ACCESS }
|
||||
- { path: ^/admin, roles: ROLE_EDITOR }
|
||||
@@ -0,0 +1,4 @@
|
||||
framework:
|
||||
test: true
|
||||
session:
|
||||
storage_factory_id: session.storage.factory.mock_file
|
||||
@@ -0,0 +1,5 @@
|
||||
security:
|
||||
password_hashers:
|
||||
App\Domain\CmsUser:
|
||||
algorithm: bcrypt
|
||||
cost: 4
|
||||
@@ -0,0 +1,3 @@
|
||||
twig:
|
||||
default_path: '%kernel.project_dir%/templates'
|
||||
strict_variables: true
|
||||
Reference in new issue
Block a user