Merge branch 'main' into codex/0.2-gitea-integration/01-git-provider-abstraction-and-gitea-foundation
linter / quality (pull_request) Successful in 1m17s
tests / ci (8.4) (pull_request) Successful in 1m15s

This commit is contained in:
2026-04-01 18:23:30 +02:00
41 changed files with 331481 additions and 88 deletions
@@ -12,7 +12,7 @@ class UpdateUserAdminStatusRequest extends FormRequest
*/
public function authorize(): bool
{
return $this->user()?->is_admin === true;
return $this->user()?->can('access-admin') ?? false;
}
/**
@@ -27,15 +27,4 @@ class StoreBoardColumnRequest extends FormRequest
'position' => ['nullable', 'integer', 'min:1'],
];
}
public function position(): ?int
{
$position = $this->validated('position');
if ($position === null) {
return null;
}
return (int) $position;
}
}
@@ -27,9 +27,4 @@ class UpdateBoardColumnRequest extends FormRequest
'position' => ['required', 'integer', 'min:1'],
];
}
public function position(): int
{
return (int) $this->validated('position');
}
}