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
+15 -6
View File
@@ -4,6 +4,7 @@ import { useState } from "react"
import Link from "next/link"
import { Mail, Search, ArrowRight, ArrowUpDown, ArrowUp, ArrowDown } from "lucide-react"
import { formatDate, formatCurrency } from "@/lib/utils"
import { DeleteTenantButton } from "@/components/forms/delete-tenant-button"
type SortKey = "name" | "property" | "move_in" | "rent"
type SortDir = "asc" | "desc"
@@ -121,12 +122,20 @@ export function TenantsTable({ tenants }: { tenants: any[] }) {
</p>
</td>
<td className="px-5 py-4 text-right">
<Link
href={`/tenants/${tenant.id}`}
className="inline-flex items-center gap-1 text-xs text-white/30 transition group-hover:text-indigo-400"
>
View <ArrowRight className="h-3 w-3" />
</Link>
<div className="flex items-center justify-end gap-3">
<Link
href={`/tenants/${tenant.id}`}
className="inline-flex items-center gap-1 text-xs text-white/30 transition group-hover:text-indigo-400"
>
View <ArrowRight className="h-3 w-3" />
</Link>
<DeleteTenantButton
tenantId={tenant.id}
tenantName={`${tenant.first_name} ${tenant.last_name}`}
refreshOnly
compact
/>
</div>
</td>
</tr>
))}