Update: ersetzten Plugin-Ordner ignorieren; Uploads trotz open_basedir
All checks were successful
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 3m14s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 3m17s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 3m35s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 3m43s
CI / PHP 8.3 / mysql:8.0 (pull_request) Successful in 5m14s
CI / PHP 8.4 / mysql:8.0 (pull_request) Successful in 5m18s
CI / PHP 8.3 / mysql:8.4 (pull_request) Successful in 5m16s
CI / PHP 8.4 / mysql:8.4 (pull_request) Successful in 5m11s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m40s
All checks were successful
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 3m14s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 3m17s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 3m35s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 3m43s
CI / PHP 8.3 / mysql:8.0 (pull_request) Successful in 5m14s
CI / PHP 8.4 / mysql:8.0 (pull_request) Successful in 5m18s
CI / PHP 8.3 / mysql:8.4 (pull_request) Successful in 5m16s
CI / PHP 8.4 / mysql:8.4 (pull_request) Successful in 5m11s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m40s
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
30d2e42ee3
commit
6bede3e2ee
103 changed files with 477 additions and 397 deletions
|
|
@ -72,9 +72,14 @@ class ProfileController extends Controller
|
|||
// zu wenig Speicher) – verständliche Meldung statt „500 Interner Fehler“.
|
||||
report($e);
|
||||
|
||||
throw ValidationException::withMessages([
|
||||
'avatar' => 'Das Bild konnte nicht gespeichert werden. Bitte ein anderes Foto versuchen oder die Administration informieren (Details unter „Systemzustand“ und im Fehlerprotokoll).',
|
||||
]);
|
||||
$message = 'Das Bild konnte nicht gespeichert werden. Bitte ein anderes Foto versuchen oder die Administration informieren (Details unter „Systemzustand“ und im Fehlerprotokoll).';
|
||||
|
||||
// Administration sieht den technischen Grund direkt
|
||||
if ($request->user()->can('updates.manage')) {
|
||||
$message .= ' Technischer Grund: '.class_basename($e).': '.$e->getMessage();
|
||||
}
|
||||
|
||||
throw ValidationException::withMessages(['avatar' => $message]);
|
||||
}
|
||||
|
||||
return back()->with('status', 'avatar-updated');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue