Update hivegrid-cloud reference to latest main

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
davidandClaude Fable 5 committed 2026-07-08 16:15:37 +02:00
1 parent e98d38e716
commit 7b21524c86
3781 files changed
+373484 -225607

No files matched your search

@@ -16,7 +16,11 @@ const postFormCsrfExceptions = new Map<string, string>([
["modules/users/components/LoginForm.tsx", "public login form creates a session before CSRF exists"],
// D-D0a — die Reset-Request-Form lebt jetzt in ForgotPasswordScreen.tsx (mit name="csrf" -> von der
// Standard-Pruefung abgedeckt, daher kein Exception-Eintrag mehr noetig).
["routes/invitation.$id.tsx", "public invitation acceptance surface"],
// WF-P2 — die Invitation-Accept-Form (routes/invitation.$id.tsx) lebt jetzt in SetPasswordScreen.tsx
// (intent=set-password / magic-link). Die Action validiert bewusst KEIN CSRF: der eingeladene
// Neu-Nutzer hat noch keine Session/keinen CSRF-Token (analog zur Login-Form), die Session entsteht
// erst am Ende des Annahme-Flows. Exception daher auf die Datei mit der Post-Form re-verankert.
["modules/users/components/SetPasswordScreen.tsx", "public invitation acceptance surface"],
// D-D0a — die Reset-Completion-Form lebt jetzt in ResetPasswordScreen.tsx (mit name="csrf").
]);
@@ -108,13 +112,6 @@ describe("CSRF session wiring sweep", () => {
expect(staleExceptionPaths, "CSRF form allowlist entries must name existing app/ post form files").toEqual([]);
});
it("validates delegated row actions before parsing submitted form data", () => {
const source = fs.readFileSync(path.join(appRoot, "modules/rows/utils/RowsRequestUtils.ts"), "utf8");
expect(source.indexOf("await validateCSRFToken(request)")).toBeGreaterThanOrEqual(0);
expect(source.indexOf("await validateCSRFToken(request)")).toBeLessThan(source.indexOf("await request.formData()"));
});
it("validates direct tenant feedback actions before parsing form data", () => {
for (const relativePath of ["routes/app.$tenant.tsx"]) {
const source = fs.readFileSync(path.join(appRoot, relativePath), "utf8");