Commit Graph
205 Commits
Author SHA1 Message Date
Matthew Meszaros 181e13a1b9 feat: let an operator handle agencies in the admin panel like workspaces, with an agency plan given without Stripe that its client workspaces receive, a send pool and AI allowance set for one agency for Agency Scale deals, sends added to the current period and AI balance added to the shared balance, attaching and releasing client workspaces, opening an agency for an account, agency plans kept off single workspaces, and the agency's billing page showing a plan arranged directly 2026-11-10 12:38:33 +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 a2e1bf58f0 feat: merge main into the Partnership branch, keeping both the OAuth app import checks and the integration reconnect marking in the org transfer repository 2026-11-09 18:11:57 +01:00
Matthew Meszaros 3b96134813 feat: decide tester sample-data eligibility from the active tester and the dedicated Test workspace's unexpired managed grant instead of the outstanding initial password, expose it as sample_data_eligible on GET /admin/testers for the admin Testers button, cover replace-then-seed and reissue in a live repository test run in CI, and update the sample data docs 2026-11-09 16:57:04 +01:00
Matthew Meszaros 8575bce7ca feat: make the Partnership plan Cloud-only by removing instance self-execution, and add the Partnership mailbox connect API (SMTP/IMAP with warmup, one-sign-in OAuth grant handoff, sign-in links), workspace-owned Google and Microsoft OAuth apps refreshed on the backend, Partnership access to placement tests and API keys, and the Partnership guide 2026-11-09 15:58:47 +01:00
Matthew Meszaros fd87346e16 feat: keep console diagnostics for caught errors whenever no error backend actually loaded, handing the errors held for a blocked SDK to the console, and strip URL credentials before cutting the query so a password holding a question mark or hash is never reported 2026-11-08 10:52:41 +01:00
Matthew Meszaros b7bce86e6d feat: decide whether an error backend is configured when a caught error is logged rather than when lib/observability loads, so tests that mock the env without PostHog settings import it again 2026-11-08 10:44:49 +01:00
Matthew Meszaros 023e5f1cab feat: strip credentials, query and fragment from every URL in a reported error's text with one pattern, report every admin route error once through RouterProvider onError instead of the route boundary and React Router's console log, and keep console diagnostics for caught render errors when no error backend is configured 2026-11-08 10:35:17 +01:00
Matthew Meszaros 2eb529ffe9 feat: reload the dashboard once instead of showing a page error when a chunk fails to link (Safari Importing binding name, Chrome missing export, Firefox import not found), and stop the dashboard and admin panel reporting every caught render error twice by logging React's caught errors and the error boundary's copy to the console only in development 2026-11-08 10:16:22 +01:00
Matthew Meszaros 8ac51a0000 feat: let the automatic vendor reconnect also move InboxKit and Zapmail Google Workspace mailboxes on app passwords onto Google sign-in, keeping the app password until the new sign-in is proven 2026-11-07 17:36:06 +01:00
Matthew Meszaros 4f80257769 feat: charge lead finder website reads, person emails and paid-source search pages to the dollar balance as priced units (lead_website_read, lead_person_email, lead_search_page) with the same refunds, record what an enrichment run cost in charged_micro, show the prices and charges in dollars in the lead finder, and add the units to the admin price list and the docs 2026-11-07 09:47:50 +01:00
Matthew Meszaros 29de4c338b feat: refresh the monthly allowance of yearly subscriptions on each month's anniversary of their period start from the balance sweep, so annual plans get their included usage every month with added money spent once it runs out, and price gpt-6-luna at $0.10 input and $0.50 output per million tokens in the default usage prices, the admin defaults and the docs 2026-11-07 09:47:50 +01:00
Matthew Meszaros 4716ab963f feat: replace AI credits with a dollar balance charged on actual usage (provider price per model and unit plus an admin-set markup), with dollar plan allowances, one-click top-ups on the saved card billed as Stripe invoices, Checkout that saves the card, automatic reload with soft-decline retries and a monthly limit, low and empty balance notices, dollar spend limits, an invoices list, the Balance tab, header meter, banner and out-of-balance dialog, an admin pricing editor, the iOS billing screen and the balance guide, keeping the credit columns in step by trigger for mixed versions and rollback 2026-11-07 09:47:50 +01:00
Matthew Meszaros 57c60d4969 feat: add a Sign-in section to the mailbox drawer that shows how each Google mailbox signs in and offers only the switches that can succeed (reconnect through InboxKit or Zapmail with live progress, reconnect with Google behind the trusted-app step, move onto an existing domain grant, switch to a verified app password), point the Overview tab at it, add Reconnect all Google mailboxes to vendor accounts and per-vendor reconnects to the sign-in banner via email_account_ids on POST /emails/vendors/:id/reconnect, refresh it all through the email_account and mailbox_vendor audit spine, add the Mailbox sign-in toggle for mailbox_signin.auto_vendor_reconnect to the admin settings, and document switching, the automatic vendor reconnect and the new routes and fields 2026-11-07 05:20:34 +01:00
Matthew Meszaros 53d5bc6a63 feat: stop the admin realtime socket and route guard looping on an expired session (no reconnects, no console error, live token watch signs out once), report a cancelled admin reauth as ReauthCancelledError and skip it, drop wallet, extension and in-app browser exceptions with no frame in our bundle in the web, admin and site PostHog before_send, and reload once on a stale chunk after a deploy in the web route boundaries with a sessionStorage time guard instead of reporting it 2026-11-06 18:47:01 +01:00
Matthew Meszaros c7fe8d193f feat: complete scheduled account deletion by deleting owned workspaces first and keeping authored rows in other workspaces through ON DELETE SET NULL references to users (migrations 000355/000356), with admin listings left-joining deleted actors 2026-11-06 16:07:24 +01:00
Matthew Meszaros eebfaf43d8 feat: label hidden and background sessions apart in warmblyctl db load, read pg_stat_statements from whatever schema holds it, give orphaned run-request handbacks their own deadline, report unsaved tracking-domain verdicts, treat missing retention fields as zero when checking the admin form for edits, and test the webhook delivery listener against a notification from another connection 2026-11-04 17:12:14 +01:00
Matthew Meszaros 6b83ad3306 feat: tie each task dispatch claim to its lease so a lapsed replica cannot release a newer claim, wake webhook delivery from any process through a throttled Postgres NOTIFY on enqueue, keep delivered send-result effects whose task can still re-apply, floor warmup thread-turn pruning at the mail and recovery windows, retry transient unibox backfill failures, hand back run requests for stopped loops, report failed prunes and pool moves, and scope db load to the whole server without non-query text 2026-11-04 16:41:20 +01:00
Matthew Meszaros 8984e1ffde feat: keep campaign feeds, notifications and webhook delivery logs unless an operator sets a window, stop pruning tracking dedupe marks, cap warmup mail retirement at one 50-message share per mailbox per run, keep the sync recovery clock exact, and prune warmup thread turns in batches that respect each mailbox's own retention 2026-11-04 14:09:37 +01:00
Matthew Meszaros fc1c59a51b feat: prune campaign feeds, notifications, webhook delivery logs, tracking dedupe marks, worker health samples, delivered send-result effects and warmup thread turns in batched ctid deletes from one jobrun table_retention job with three new retention settings, index every prune and the capacity view window, drive warmup mail retirement from the mailboxes that can act, and persist the unibox body backfill place 2026-11-04 12:56:35 +01:00
Matthew Meszaros e251836f49 feat: preserve mailbox status failures and sync ordering with enrollment-bound authenticator confirmation and clear retry guidance 2026-11-03 06:36:18 +01:00
Matthew Meszaros ae39285262 feat: raise golang.org/x/net to v0.62.0, floor follow-redirects at 1.16.2 and seroval at 1.6.11 in the web, admin and forms pnpm overrides, and update tracking's libz-sys to 1.1.31 2026-10-31 15:22:09 +01:00
Matthew Meszaros 515b2a7d17 feat: bound stored issued-password expiries to 48 hours in migration 000336 before its trigger, and add POST /admin/testers/:id/password (manage_testers, MFA, fresh auth, create_tester accounts only) that issues a fresh 48-hour initial password after signing out sessions and remembered devices, with an audited Issue new password row action on the admin Testers page and docs 2026-10-31 11:36:37 +01:00
Matthew Meszaros ba3c806fd4 feat: make issued tester passwords initial credentials capped at 48 hours by a users trigger (migration 000336), answer a sign-in with one with password_change_required and a single-use initial_password token for POST /auth/login/initial-password that stores the holder's own password and continues the normal sign-in, add the web choose-your-password step, admin panel copy and docs 2026-10-31 11:26:06 +01:00
Matthew Meszaros b098bcc567 feat: account for both warmup participants in pool replenishment and preserve retryable content repository failures 2026-10-30 06:42:52 +01:00
Matthew Meszaros 430663cb7c feat: reuse approved warmup conversations across distinct mailboxes with automatic batch replenishment and varied content 2026-10-30 06:19:37 +01:00
Matthew Meszaros 81d1a95b98 feat: add the admin-offered $90 Partnership plan with server-priced offer checkout, an admin-granted credential-free Cloud warmup mode where a linked instance keeps every mailbox credential and executes Cloud-planned warmup sends and engagement from a sealed per-link command queue, and Cloud verification of instance reports through recipient-bound arrivals, receiver-proven sends, a placement cross-check reporter-trust audit, liveness, expiry and revocation 2026-10-26 17:49:32 +01:00
Devin AI 7ad1e32026 feat: patch Go frontend tracking and realtime dependencies before the v0.6.63 release 2026-10-25 14:26:33 +00:00
Matthew Meszaros 88e4370f1f feat: merge main into the mailbox, session and input validation branch, move the resolved MAIL_ALLOW_PRIVATE_HOSTS and MAIL_TLS_INSECURE node env lines into fleetnode.RenderEnv, renumber the mailbox TLS pin migration to 000324, and keep both sides of the configuration reference 2026-10-24 12:20:12 +02:00
Matthew Meszaros b3d8c5acfd Merge pull request #1045 from warmbly/feat/release-auto-deploy
feat: release auto-deploy to AWS, fleet canary waves, in-AWS key rotation and Terraform CI
2026-10-24 07:53:36 +00:00
Matthew Meszaros 98e4b10141 feat: add an admin Sends > Holds tab and POST /admin/sends/holds/:id/resolve for recording provider-checked outcomes on held mailboxes, count send holds only on switched-on mailboxes past the in-progress window, narrow failed-send monitoring to mailbox failures without a later confirmed send, and show broker lag as a measurement instead of an attention signal 2026-10-24 09:14:02 +02:00
Matthew Meszaros 9c2cffae58 feat: deploy stable releases to AWS automatically with provenance checks, a migration gate, alarm-watched waves and reverse rollback, move worker and consumer hosts in canary rollouts with host-side health rollback and opt-in env refresh, rotate instance keys inside AWS through a rotator task and the rotate-keys workflow, plan and apply the AWS Terraform from CI with approval for replacements, and add the admin Keys tab and the matching runbooks 2026-10-24 09:10:52 +02:00
Matthew Meszaros 9be5c8a3c3 feat: give API refusals stable codes and actionable messages (attempt_check_unavailable and code_lookup_limited with Retry-After, account and workspace standing codes, session_ended, reset_link_invalid, sessions_not_ended, api_credentials_revoke_unsupported, invitation_expired, image_unreadable and the other image upload codes, own-domain redirects naming the allowed domains, Pipedrive reload guidance, duplicate parameters, structured forms service errors), and show them in the dashboard, admin panel and warmbly CLI 2026-10-23 19:53:03 +02:00
Matthew Meszaros cc1dc2f64c feat: answer refused realtime handshakes with a JSON code and reason, name a reused ws ticket or signed-out session, use the not_a_member slug on org joins, warn at boot when REALTIME_ALLOW_QUERY_CREDENTIALS is on, stop the admin socket reconnecting on admin_mfa_required, not_an_admin and jwt_required with a clear message, and have the seeder, updater, webhook and notification URL checks, instance health, fleet join and log mail transport say which setting applies and what to do 2026-10-23 19:53:03 +02:00
Matthew Meszaros 0d76f81a3f feat: cap workspace invitations and reviewer tester passwords at 48 hours, quote each invitation's real remaining lifetime in its email, list recently expired invitations behind include_expired on GET /organization/invitations, and add a one-click Resend for expired invitations on the members settings page 2026-10-23 15:57:22 +02:00
Matthew Meszaros 0ca6e7e642 feat: let the confirm-it-is-you prompt offer only the methods an account has, adding passkey, Google/Apple/SSO popup and native iOS Apple/Google re-authentication bound to the session and linked identity, across backend, dashboard, admin, iOS and docs 2026-10-15 15:26:25 +02:00
Matthew Meszaros 8b667c2d29 feat: merge main into the mobile app redesign branch, keep both the apollo and appattest handler imports, and renumber the app_attest_keys migration to 000291 now that main holds 000290 2026-10-12 10:40:02 +02:00
Matthew Meszaros 8c06efc6e4 feat: ship the iOS app to TestFlight from GitHub Actions on merges touching ios/ (ios-release workflow with cloud-managed signing, shared Warmbly scheme, ExportOptions, iPhone-only 1.0.0, privacy manifest), add in-app account deletion and a read-only billing page, let admins exempt an existing account from the emailed login code for App Review, read Apple .p8 keys as PEM or base64 through one applekey parser for Sign in with Apple and APNs, and document the release flow and Apple web sign-in setup 2026-10-12 10:38:14 +02:00
Matthew MeszarosandDevin AI 9ab0c1f589 feat: preserve retired scheduled-job history without active scheduling or monitoring
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-10 18:29:46 +00:00
Matthew Meszaros 720bef22be feat: compare refreshed administrator monitoring observations against the current render clock without concealing genuinely future evidence 2026-10-10 10:30:31 +00:00
Matthew Meszaros 507c98e008 feat: preserve retry-safe locked fleet enrollment identities and trusted canonical CLI credential roots while disclosing unavailable generic runtime log sources 2026-10-10 07:55:46 +00:00
Matthew Meszaros 7bb0ff289d feat: integrate exact cross-assignment mailbox UUID navigation with native administrator device consent schemas and focused identity lookup regressions 2026-10-10 06:41:21 +00:00
Matthew Meszaros 4db93bf292 feat: add explicit native admin CLI consent with memory-only approval and persistent redacted node evidence plus separate validated broker scopes and localhost proof source 2026-10-10 06:41:21 +00:00
Matthew Meszaros a8ddfc65ec feat: isolate admin sign-in caches, retain cached probe outcomes and clear recovered mailbox issues per measured source 2026-10-09 16:27:20 +00:00
Matthew Meszaros 2cf19ebedf feat: add permission-aware operational monitoring to admin Overview and health with evidence clocks, backlog signals, coverage docs and typed permission regressions 2026-10-09 15:34:18 +00:00
Devin AI 4cad34c84a feat: retain signup attribution through same-path marketing query navigation and reject cross-origin landing paths 2026-10-09 07:36:25 +00:00
Devin AI 6af3ba910c feat: preserve cookieless first-touch signup attribution through marketing and app redirects and expose admin referrer hosts 2026-10-09 07:19:23 +00:00
Devin AI 8e53fc7027 feat: integrate warmup observation evidence canonical diagnostics send-result recovery cloud trust exact-parent lineage durable dispatch portability and legacy compatibility 2026-10-07 12:38:58 +00:00
Matthew MeszarosandDevin AI 63bb192a40 feat: patch vulnerable production frontend dependencies across dashboard admin site docs and forms and preserve site cursor type narrowing
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-06 13:38:12 +00:00
Matthew MeszarosandDevin AI f52ef240b4 feat: add audited repeat-safe sample data provisioning for active dedicated Test workspaces in Admin Testers
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-06 09:23:31 +00:00