feat: public events/polls, friends graph, captcha, SSE hardening, and admin UX

Ship product gaps: register/vote pages, friend add/accept/decline/remove, email verify TTL, captcha on login/forgot, soft-fail user actions, SSE abort/shared client, Commando Centrum error toasts, admin delete for events/polls, and IT/NL i18n fills.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
simoleo89
2026-07-21 21:08:33 +02:00
co-authored by Cursor
parent 2ff08e5127
commit ed7db6e048
76 changed files with 4834 additions and 1376 deletions
+3
View File
@@ -242,6 +242,9 @@ export function handleActionError(error: unknown): ActionFailure {
if (error instanceof DatabaseError) {
return fail("A database error occurred");
}
if (error instanceof Error && error.name === "ActionError") {
return fail(error.message);
}
if (error instanceof Error && error.name === "ZodError") {
return fail("Validation failed");
}