Full NestJS backend for the KC-App platform: - auth: Authentik OIDC resource-server strategy + guest invite-code JWT login, plus TokenVerificationService for the WS handshake path - kc: Leitungsteam-only KC (event) creation/listing - wahl: Wahl/Workshop admin, Force-Zuteilung overrides, ZuteilungService (port of the WP plugin's kc_run_zuteilung), CSV export - files: LT-only upload with visibility tiers; list/download filtered by caller tier; StorageProvider abstraction (WebDAV/Nextcloud default, S3) - chat: Gemeinde group / DM / LT-wide / broadcast channels; REST + raw ws gateway sharing ChatService access rules - sync: append-only SyncLogEntry replication log + local<->cloud push/pull scheduler, shared-secret guarded - common: Role enum, @Roles decorator, KC-scoped RolesGuard (LT global) - serves client/web/ interim static web client under / (API under /api) Typecheck, nest build and boot test pass; needs real Postgres/Authentik/ Nextcloud to run end to end. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
52 lines
1.5 KiB
HTML
52 lines
1.5 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="de">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>KC-App</title>
|
|
<link rel="stylesheet" href="style.css" />
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<h1>KC-App</h1>
|
|
<p class="subtitle">Web-Client (Platzhalter, bis der Flutter-Client bereitsteht)</p>
|
|
</header>
|
|
|
|
<main>
|
|
<section id="login-section">
|
|
<h2>Guest/Konfi-Zugang</h2>
|
|
<form id="guest-form">
|
|
<label>Einladungscode <input id="invite-code" name="inviteCode" required /></label>
|
|
<label>Vorname <input id="first-name" name="firstName" required /></label>
|
|
<label>Nachname <input id="last-name" name="lastName" required /></label>
|
|
<button type="submit">Beitreten</button>
|
|
</form>
|
|
<p id="login-status"></p>
|
|
</section>
|
|
|
|
<section id="app-section" hidden>
|
|
<h2>Wahl</h2>
|
|
<div>
|
|
<label>Wahl-ID <input id="wahl-id" /></label>
|
|
<label>Prioritäten (Workshop-IDs, Komma-getrennt) <input id="prioritaeten" /></label>
|
|
<button id="submit-wahl">Absenden</button>
|
|
</div>
|
|
<p id="wahl-status"></p>
|
|
|
|
<h2>Dateien</h2>
|
|
<button id="load-files">Dateien laden</button>
|
|
<ul id="file-list"></ul>
|
|
|
|
<h2>Chat (Broadcast)</h2>
|
|
<div>
|
|
<label>Channel-ID <input id="channel-id" /></label>
|
|
<button id="join-channel">Beitreten</button>
|
|
</div>
|
|
<ul id="chat-log"></ul>
|
|
</section>
|
|
</main>
|
|
|
|
<script src="app.js"></script>
|
|
</body>
|
|
</html>
|