Commit Graph
7 Commits
Author SHA1 Message Date
Matthew Meszaros 72c0777c33 feat: confirm an agency plan switch only from the price and billing period its preview was made for, let a switch Stripe already holds be previewed and completed, hold keyed requests on agency routes to the agency's staff before any answer is recorded or replayed, and bound the switch locks 2026-11-11 09:18:27 +01:00
Matthew Meszaros a170997c17 feat: bill an agency plan switch at the moment its preview priced it, run one switch per agency at a time, complete a switch Stripe already holds, scope retry keys on agency routes to the agency for staff with no workspace selected, and refresh the open workspace's plan after a switch 2026-11-11 08:57:39 +01:00
Matthew Meszaros a79a196912 feat: add Warmbly for Agencies with a separate agency view, agency accounts, a shared monthly send pool, a shared agency AI balance with per-client caps and transfers, agency billing and top-ups, agency API keys across clients, client mailbox connect links and shareable and scheduled client reports served by a separate portal service on portal domains, white-label branding with a branded client dashboard on agency portal domains and website embeds, copy campaigns and templates across workspaces, and a cross-client inbox 2026-11-10 08:31:31 +01:00
Matthew Meszaros 8586d794cd feat: key OAuth Idempotency-Key records to the access grant, word the idempotency_outcome_unknown guidance around the 24-hour key lifetime and confirming the change did not happen, note that a 429 never clears a recorded outcome and a gateway 5xx leaves the key unused, carry the error code out of the retry example, and bound the live test's wait for a held request 2026-11-09 17:33:28 +01:00
Matthew Meszaros 1e9594f6c0 feat: key Idempotency-Key records to the calling credential and the concrete resource path, record each outcome on a context detached from the request, free the key after a 401/403/429 refusal, and answer 409 idempotency_outcome_unknown after a server error, panic or abandoned request, with live PostgreSQL tests wired into CI and the retry-safety, authentication and error-code docs updated 2026-11-09 17:02:06 +01:00
Matthew Meszaros 3837cd3898 feat: bound auth login network waits
Add request and mail-delivery timeouts around auth flows so login requests cannot hang indefinitely when notification delivery stalls.

Allow the local admin dev origin through default CORS and update context-aware lint fixes so the repository lint gate passes.
2026-06-01 16:56:24 +02:00
Matthew Meszaros 640da62b32 feat: add api idempotency keys 2026-05-30 04:31:43 +00:00