Consolidate audit-fixes branch: webhooks, integrations, and deploy hardening

Batch commit of the pending working tree on security/audit-fixes-2026-07.
Major areas:
- Outbound webhooks / Zapier: schema + signed delivery with retries, public
  v1 API (REST-hook subscribe/unsubscribe), settings UI, cron drain.
- Deploy hardening: email via SMTP2GO (Resend fully removed), verified DB TLS
  (DATABASE_SSL=require + DATABASE_CA), storage fails loud in production when
  Spaces is unconfigured instead of silently using ephemeral disk.
- Integrations & features (concurrent work): accounting (QuickBooks/Xero),
  e-signature (DocuSign/Dropbox Sign), PayPal, geocoding/maps, onboarding,
  expanded legal pages.
- DB migrations 0006–0009.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Leon Serfaty
2026-07-02 13:42:34 -04:00
co-authored by Claude Opus 4.8
parent 969d5d4c8a
commit c9968531e4
282 changed files with 41530 additions and 4013 deletions
+6 -1
View File
@@ -1,15 +1,17 @@
import Link from "next/link"
import { Logo } from "@/components/shared/logo"
import { TurnstileWidget } from "@/components/shared/turnstile-widget"
import { signIn, signInWithGoogle } from "@/app/actions/auth"
export default async function LoginPage({
searchParams,
}: {
searchParams: Promise<{ error?: string; success?: string }>
searchParams: Promise<{ error?: string; success?: string; next?: string }>
}) {
const params = await searchParams
const error = params.error
const success = params.success
const next = typeof params.next === "string" && params.next.startsWith("/") ? params.next : ""
return (
<div className="w-full">
@@ -54,6 +56,7 @@ export default async function LoginPage({
{/* Email + Password form */}
<form action={signIn} className="space-y-4">
{next && <input type="hidden" name="next" value={next} />}
<div>
<label htmlFor="email" className="mb-1.5 block text-sm font-medium text-white/70">
Email
@@ -89,6 +92,8 @@ export default async function LoginPage({
/>
</div>
<TurnstileWidget />
<button
type="submit"
className="mt-2 w-full rounded-lg bg-indigo-600 px-4 py-2.5 text-sm font-semibold text-white transition hover:bg-indigo-500 active:scale-[0.98]"