feat: UpdateAgent Selbstaktualisierung & kopflose Installation, .NET 10 Migration, Backend- & SDK-Fixes
- .NET 10 Migration: Alle .NET-Projekte auf net10.0 umgestellt (#459) - Client-SDK: ResolveAgentPath bereinigt und DLL-Pruefung ergaenzt (#458) - Packager: Commit-Ermittlung aus publishDir / Assembly InformationalVersion (#456) - BuildInfo.targets: ExitCode-Abfang und Regex-Validierung gegen Git-Fehlertexte (#363) - UpdateService: Re-Publish erhaelt bestehende Manifeste und Werte (#457) - Bugtracker API: on_roadmap-Filter in manage?action=list durchgereicht (#349) - Watchdog API: project_slug-Filter in GET /status ergaenzt (#420) - UpdateService API: no_release_for_platform mit verfuegbaren Plattformen (#421) - Bugtracker Core: Fehler-Normalisierung gegen zersplitterte error_hashes (#419) - UpdateAgent: Kopfloser Installationsmodus via --answers (#89) - Installer & Agent: Automatische Selbstaktualisierung beim Start - Tooling: AGENTS.md, CLAUDE.md und Standalone-CLI scripts/dc.py hinzugefuegt
This commit is contained in:
@@ -157,9 +157,16 @@ switch ($action) {
|
||||
Http::ok(['event_id' => $eventId], 201);
|
||||
|
||||
case 'status':
|
||||
ApiAuth::requireScope($db, 'watchdog:read');
|
||||
$monitors = $monitorRepo->getAllMonitors();
|
||||
Http::ok(['count' => count($monitors), 'monitors' => $monitors]);
|
||||
$context = ApiAuth::requireScope($db, 'watchdog:read');
|
||||
$requestedSlug = Http::str('project_slug') ?? Http::str('project');
|
||||
$boundProject = ApiAuth::projectFilter($context);
|
||||
$projectSlug = $boundProject ?? $requestedSlug;
|
||||
|
||||
$monitors = $monitorRepo->getAllMonitors($projectSlug);
|
||||
Http::ok(array_merge(
|
||||
['count' => count($monitors), 'monitors' => $monitors],
|
||||
ApiAuth::scopeNotice($requestedSlug, (string)($projectSlug ?? 'all'))
|
||||
));
|
||||
|
||||
case 'events':
|
||||
ApiAuth::requireScope($db, 'watchdog:read');
|
||||
|
||||
Reference in New Issue
Block a user