Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 1m56s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 1m56s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 2m2s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 2m9s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 2m40s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 2m35s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 2m29s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 2m38s
CI / Build-Artefakte aktuell (pull_request) Successful in 55s
- Seiten-Plugin: Seitenbaum mit Adressen, Seitennavigation, Brotkrumen und optional Hauptnavigation; Sichtbarkeit vererbt sich auf Unterseiten - Pagebuilder (Block-Registry im Kern, Plugins tragen Blöcke bei): Abschnitt, Spalten, Tabs, Akkordeon, Box, Überschrift, Text (TipTap), Zitat, Schaltflächen, Symbolliste, Tabelle, Trennlinie, Abstand, Bild, Galerie, Video (erst nach Klick), Titelbild, Ansprechpartner, Downloads, Unterseiten, Neuigkeiten, Termine; Sichtbarkeit je Block; Bereinigung beim Speichern - Editor im Portal: Ziehen und Ablegen, Autospeichern als Entwurf, Rückgängig, Gerätevorschau, Versionen, Zeitsteuerung, Bearbeitungssperre, Freigabe anfordern - Rechte „inkl. Unterseiten“ werden im Rechte-Cache aufgelöst - Neuigkeiten: Schreiben im Portal, Freigabe-Workflow mit Benachrichtigungen - Bereich „Redaktion“, Benachrichtigungen im Portal - storage/.migrations-fingerprint nicht mehr ausliefern Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
62 lines
3.6 KiB
PHP
62 lines
3.6 KiB
PHP
<?php
|
||
|
||
use App\Http\Controllers\Admin\UpdateController;
|
||
use App\Http\Controllers\Auth\IdentityLoginController;
|
||
use App\Http\Controllers\CronController;
|
||
use App\Http\Controllers\DashboardController;
|
||
use App\Http\Controllers\EditorialController;
|
||
use App\Http\Controllers\InstallController;
|
||
use App\Http\Controllers\NotificationController;
|
||
use App\Http\Controllers\PeopleController;
|
||
use App\Http\Controllers\ProfileController;
|
||
use Illuminate\Support\Facades\Route;
|
||
|
||
// Web-Installer – nur solange die Installation nicht eingerichtet ist.
|
||
Route::prefix('install')->middleware('throttle:30,1')->group(function () {
|
||
Route::get('/', [InstallController::class, 'requirements']);
|
||
Route::get('/datenbank', [InstallController::class, 'database']);
|
||
Route::post('/datenbank', [InstallController::class, 'saveDatabase']);
|
||
Route::get('/konto', [InstallController::class, 'account']);
|
||
Route::post('/konto', [InstallController::class, 'saveAccount']);
|
||
});
|
||
|
||
// Web-Cron für Hoster ohne Cron (siehe App\Support\BackgroundTasks).
|
||
Route::get('/cron/{token}', CronController::class)->middleware('throttle:10,1')->name('cron');
|
||
|
||
// Anmeldung über Identity Provider (Microsoft Entra ID)
|
||
Route::middleware(['guest', 'throttle:30,1'])->group(function () {
|
||
Route::get('/auth/{provider:slug}/redirect', [IdentityLoginController::class, 'redirect'])->name('identity.redirect');
|
||
Route::get('/auth/{provider:slug}/callback', [IdentityLoginController::class, 'callback'])->name('identity.callback');
|
||
});
|
||
|
||
// Login, Logout und Passwort-Reset stellt Laravel Fortify bereit (FortifyServiceProvider).
|
||
|
||
Route::middleware('auth')->group(function () {
|
||
Route::get('/', DashboardController::class)->name('dashboard');
|
||
|
||
Route::get('/redaktion', EditorialController::class)->name('editorial');
|
||
|
||
Route::get('/personen', [PeopleController::class, 'index'])->name('people.index');
|
||
Route::get('/personen/suche', [PeopleController::class, 'search'])->name('people.search');
|
||
|
||
Route::get('/benachrichtigungen', [NotificationController::class, 'index'])->name('notifications.index');
|
||
Route::post('/benachrichtigungen/gelesen', [NotificationController::class, 'markAllRead'])->name('notifications.read');
|
||
Route::get('/benachrichtigungen/{id}', [NotificationController::class, 'open'])->name('notifications.open');
|
||
Route::get('/personen/{user}', [PeopleController::class, 'show'])->name('people.show');
|
||
|
||
Route::get('/profil', [ProfileController::class, 'show'])->name('profile.show');
|
||
Route::get('/profil/bearbeiten', [ProfileController::class, 'edit'])->name('profile.edit');
|
||
Route::put('/profil', [ProfileController::class, 'update'])->name('profile.update');
|
||
Route::post('/profil/bild', [ProfileController::class, 'updateAvatar'])->name('profile.avatar.update');
|
||
Route::delete('/profil/bild', [ProfileController::class, 'destroyAvatar'])->name('profile.avatar.destroy');
|
||
Route::put('/profil/darstellung', [ProfileController::class, 'updateTheme'])->name('profile.theme.update');
|
||
});
|
||
|
||
// Self-Updater (docs/specs/self-updater.md) – nur für Administratoren, CSRF über die web-Gruppe.
|
||
Route::middleware(['auth', 'can:updates.manage'])->prefix('admin/update')->name('admin.update.')->group(function () {
|
||
Route::post('/check', [UpdateController::class, 'check'])->name('check');
|
||
Route::post('/install', [UpdateController::class, 'install'])->name('install');
|
||
Route::get('/progress', [UpdateController::class, 'progress'])->name('progress');
|
||
Route::post('/channel', [UpdateController::class, 'channel'])->name('channel');
|
||
Route::post('/migrations', [UpdateController::class, 'migrations'])->name('migrations');
|
||
});
|