Commit Graph
545 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 d7daa8eaaf Merge pull request #1223 from warmbly/fix/campaign-suggestion-false-positives
feat: show Advisor findings only when they hurt deliverability or sending
2026-11-10 13:40:41 +00:00
Matthew Meszaros 66ce6ddc26 feat: show Advisor findings only when they hurt deliverability or sending, honor {{if}}/{{with}}/default name fallbacks in the missing first name check, measure copy as rendered, drop the optimisation-only campaign, copy, list, mailbox and warmup checks with their TypeSafe copy review, and read enabled senders, stopped warmup, tracked campaigns, hard bounces and warmup plan access from the send path 2026-11-10 14:02:36 +01:00
Matthew Meszaros 9128106295 feat: give each agency portal domain its own Worker route when CLOUDFLARE_SAAS_PORTAL_WORKER names the portal Worker, added with the domain's custom hostname and removed with it, so a Cloudflare for SaaS zone shared with tracking and redirect domains sends only portal domains to the portal 2026-11-10 13:35:47 +01:00
Matthew Meszaros f81ff33eb4 feat: list the admin agency routes in the operator CLI's admin route catalog 2026-11-10 12:58:43 +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 f4c7e73176 feat: read lead finder sites that answer 401/403/406/429/503 through configurable reader services (WEB_READER: Crawl4AI, Jina Reader, DDGS, custom) and a workspace Jina AI integration, search the web for missing websites and blocked sites' addresses through a picked MCP search tool, the workspace Jina key or SEARCH_PROVIDER (now also ddgs, jina, brave and tavily, comma-separated to fall back), add web_search to enrichment runs and search_tool to MCP servers in migration 000373, show unread sites as no info available with their reason, and document it all 2026-11-10 05:01:14 +01:00
Matthew Meszaros ebf918aa74 Merge remote-tracking branch 'origin/main' into fix/hide-warmup-inbox 2026-11-09 20:46:53 +01:00
Matthew Meszaros a6e09c46ec Merge remote-tracking branch 'origin/main' into fix/hide-warmup-inbox 2026-11-09 20:19:20 +01:00
Matthew Meszaros e3b5253cbe feat: hide other services' warmup from the inbox with a Settings > Sending switch for unverified Warmbly warmup markers plus warmup tags (applied on arrival and swept from stored mail), add an opt-in per-mailbox warmup filter tag appended to warmup a mailbox receives (migration 000373, GET/PUT/DELETE /emails/:id/warmup-filter-tag, drawer row), and show provider send throttles as a calm Warmup tab note instead of a red failure 2026-11-09 20:19:19 +01:00
Matthew Meszaros 67c7b88f52 feat: merge main into the Partnership branch, renumbering the Partnership migration to 000373 after main's 000371 and 000372 and keeping the OAuth app import checks beside the new integration reconnect signature 2026-11-09 19:17:30 +01:00
Matthew Meszaros 654fde571d Merge pull request #1218 from warmbly/feat/seal-integration-inbound-secret
feat: seal integration inbound URL secrets with the organization DEK and carry them in workspace archives only passphrase-sealed
2026-11-09 18:10:27 +00:00
Matthew Meszaros 8cc09f7b67 feat: address the second Partnership review by keeping the sign-in link cookie for other open sign-ins, answering a Cloud 408 as an unknown hand-over outcome, guarding backend token refreshes by the issuing client, returning the mailbox as stored after warmup, renewing on a lost grant create race, rechecking Partnership when a link completes, recording and showing links whose warmup did not start, retrying the link completion write, keeping destination OAuth app secrets on credential-free import overwrites, guarding unsaved OAuth app drafts and fixing the setup guide anchors 2026-11-09 19:05:42 +01:00
Matthew Meszaros 59e9988750 feat: seal integration inbound URL secrets with the organization DEK in integration_connections.inbound_secret_encrypted, resolve Calendly, Cal.com and Clay deliveries by a SHA-256 digest with a dual-written clear column for the rollback window, seal remaining rows with a paced leader sweep, and carry the secret in workspace archives only as a passphrase-sealed value, and fold the import's reconnect step into one pass that names each integration once for its missing credentials or inbound URL and clears the inbound secret's clear, sealed and digest columns together 2026-11-09 18:13:10 +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 c392cbd39f Merge pull request #1217 from warmbly/fix/manual-send-recovery
feat: settle interrupted manual sends through the existing reservation and recovery loop
2026-11-09 16:33:28 +00:00
Matthew Meszaros fe21388a90 feat: settle interrupted manual sends by releasing unstarted unibox reservations left failed or dead-lettered after an unknown hand-off, notifying the owner when recovery proves a manual send never left, and sweeping manual sends claimed but never reserved back to pending (or failed past an hour) from a backend loop, with live PostgreSQL regressions wired into CI and the unibox guide updated 2026-11-09 17:14:30 +01:00
Matthew Meszaros 81982ac3d0 feat: make warmblyctl backup and restore pick the pg_dump and psql matching the server's PostgreSQL major from the 16, 17 and 18 clients the backend image now ships, skip preamble settings the target server lacks such as transaction_timeout when replaying a dump, run the schema drop and load in one transaction so a failed restore changes nothing, and add a live backup and restore round trip test to CI 2026-11-09 17:05:23 +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 90e4d48228 feat: work out each contact's timezone and country from its imported location fields, phone and email domain, add world region, country and timezone segment fields with Split by region, let a campaign read its sending windows in each lead's local time with a lead timezone breakdown on the Schedule tab, and auto-map location columns on import 2026-11-08 12:06:03 +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 d448cdb20d feat: add map-based lead finder under /app/leads with pluggable OpenStreetMap, Google Places, Foursquare and Outscraper sources, website reads that find emails, socials and the people who run each business with pattern-built verified addresses, filters, saved searches, per-business or per-person CSV/XLSX/JSON export and add-to-contacts 2026-11-07 09:21:41 +01:00
Matthew Meszaros 18b5e0c7b6 Merge remote-tracking branch 'origin/main' into feat/google-trusted-app-signin 2026-11-07 08:52:27 +01:00
Matthew Meszaros 527b982111 feat: register every verified tracking host and redirect domain (root and www) as a Cloudflare for SaaS custom hostname when CLOUDFLARE_SAAS_* is set, show a root CNAME and its activation TXT behind that edge, point the www record at the root, and let the AWS tracking listener forward unmatched hosts to tracking behind tracking_serves_unmatched_hosts 2026-11-07 08:17:45 +01:00
Matthew Meszaros 0989440f0d Merge remote-tracking branch 'origin/main' into feat/google-trusted-app-signin 2026-11-07 08:15:19 +01:00
Matthew Meszaros 4a9c4374d4 feat: report google_mailbox_client_id on GET /emails/grants/config only when the Google mailbox client has both its ID and secret, so the dashboard offers no Google reconnect that cannot complete 2026-11-07 07:38:52 +01:00
Matthew Meszaros 7325715c80 feat: remove the referral program from settings, the iOS billing page, the marketing site and the docs, stop attributing new signups to referral links, keep rewarding and clawing back referrals already attributed, and let a referral-backed discount code apply only to the workspace that signed up through it 2026-11-07 06:55:33 +01:00
Matthew Meszaros dea6692dde feat: record the scopes Google granted each mailbox token (email_accounts_oauth.granted_scopes, migration 000357) at connect, reauth and vendor convert, list only Google sign-ins without full mail access as retiring with the vendor that can reconnect them, tell workers through ADD_EMAIL full_mail_access to skip Gmail IMAP for a token known to lack it, let an app password take over a delegated Google mailbox after the worker check, add GET /emails/:id/signin with only the switches that can succeed, record vendor reconnect progress per mailbox on the audit spine, and reconnect vendor-linked Google mailboxes automatically behind mailbox_signin.auto_vendor_reconnect with one attempt in flight and a week between attempts 2026-11-07 05:20:33 +01:00
Matthew Meszaros c10ef21908 feat: connect vendor Google mailboxes by having InboxKit or Zapmail trust the BOX_GOOGLE client on the domain and complete each mailbox's consent at a single-use server-side vc. state finished in the Google callback, retire new domain-wide delegation requests, and add POST/GET /emails/vendors/:id/reconnect to renew or convert linked Google mailboxes in place 2026-11-07 05:20:33 +01:00
Matthew Meszaros bfe198986c feat: report the per-mailbox Google sign-in client as google_mailbox_client_id on GET /emails/grants/config for the Workspace trusted-app step, and refuse a Google OAuth start hinting a gmail.com or googlemail.com address with google_personal_app_password 2026-11-07 05:20:23 +01:00
Matthew Meszaros 87c3759f95 Merge pull request #1175 from warmbly/feat/free-trial-plan
feat: 14-day free trial with 2 mailboxes, once per owner
2026-11-06 19:12:22 +00:00
Matthew Meszaros 75cc1811ed feat: claim the owner's free trial and write its subscription in one statement, retry a trial expiry whose warmup pause failed, and re-render trial gates and both countdowns from the clock at the trial end and each day boundary 2026-11-06 19:49:59 +01:00
Matthew Meszaros 6d937eb112 feat: confirm with Stripe, while the owned workspaces are locked, that no owned subscription will renew before an account deletion removes them, so a resume whose webhook has not landed still holds the deletion 2026-11-06 17:27:25 +01:00
Matthew Meszaros b6c31852c2 feat: scale the AWS consumer service between one and six tasks on a WorkerEventBacklog CloudWatch metric the consumer publishes when CONSUMER_METRICS_CLOUDWATCH is set, and let backend, tracking and forms opt into CPU target tracking through the runtime root's autoscaling map 2026-11-06 13:11:13 +01:00
Matthew Meszaros 19fbb96fc9 Merge pull request #1162 from warmbly/fix/consumer-mailbox-queues
feat: per-mailbox consumer queues sized from the database pool
2026-11-05 17:21:06 +00:00
Matthew Meszaros a027135bc5 Merge pull request #1159 from warmbly/feat/attachment-preflight-inventory
feat: add offline archive attachment preflight with resumable SHA-256-bound pages
2026-11-05 13:59:06 +00:00
Matthew Meszaros f5d974bfd2 feat: run consumer worker events on per-mailbox queues that share a lane limit so a slow mailbox holds only its own lane, and size that limit from the consumer's database pool unless CONSUMER_EVENT_CONCURRENCY is set 2026-11-05 13:30:39 +01:00
Matthew Meszaros 419b3ca231 feat: verify attachment inventory member checksums and cancellation while admitting only regular archive files 2026-11-05 09:51:20 +01:00
Matthew Meszaros 67d61f24ba feat: handle worker events on ordered per-mailbox consumer lanes (CONSUMER_EVENT_CONCURRENCY, default 8) and hold warmup receipt locks on direct sessions behind a transaction pooler so a held lock never occupies a pooled server connection that receipt acceptance needs 2026-11-05 09:50:32 +01:00
Matthew Meszaros 4188a90b45 feat: add offline private attachment preflight to warmblyctl with archive-bound resumable pages and unchanged portability 2026-11-05 09:32:09 +01:00
Matthew Meszaros 377e42a58c feat: keep free warmup only for workspaces that exist today through subscriptions.keeps_free_warmup (migration 000352), give new unpaid workspaces a zero mailbox allowance with warmup off, send inbox review notices only to workspaces whose plan opens the inbox, and update the locked screen, allowance dialog, billing, site pricing and docs to drop the hosted free plan and recommend Warmbly Cloud over self-hosting for deliverability 2026-11-04 20:27:44 +01:00
Matthew Meszaros c166c915a3 Merge pull request #1132 from warmbly/feat/template-field-aliases-and-validation
feat: accept snake_case, camelCase and lowercase aliases of built-in template fields through one shared tmplvars normalisation, refuse unrenderable step, variant and campaign-create copy with invalid_template, and fix the documented merge-field syntax in docs, CLI and seeds
2026-11-04 18:15:23 +00:00
Matthew Meszaros 6642f339ea feat: merge main after the Postgres load work landed, number the mailbox push channels migration 000351 after it, and share one arrival batch size between the claim and the delivery loop 2026-11-04 18:03:46 +01:00
Matthew Meszaros 5a6fbef1b4 feat: count only client connections against max_connections in warmblyctl db load and report unsaved tracking-domain verdicts when the sweep is cut short 2026-11-04 17:28:38 +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 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 a16774e048 feat: have each local task dispatcher claim due tasks with a two-minute lease in tasks.dispatch_claimed_until so backend replicas stop running the same task, claim send result effects 25 per statement, drain webhook and HubSpot and Pipedrive outboxes back to back while busy and slow their idle polls, and serve the CRM lapsed-lease claim from a partial index 2026-11-04 12:49:20 +01:00
Matthew Meszaros 686a916d42 feat: run the warmup, campaign, segment and tracking-domain reconcilers as claimed jobrun jobs, keep the worker reconciler, unibox body backfill and signing-secret migration on one backend behind a sticky Postgres session advisory lock (internal/leader), read warmup pool membership in one query with per-organization entitlement and risk lookups every 10 minutes, and take every jobrun run-now request for a process in one query 2026-11-04 12:43:39 +01:00
Matthew Meszaros 67bb118866 feat: label every Go service's Postgres connections with application_name warmbly-<binary> and add a read-only warmblyctl db load report of connections by service, longest sessions, costliest pg_stat_statements queries and largest tables 2026-11-04 11:52:08 +01:00