Commit Graph
1802 Commits
Author SHA1 Message Date
Matthew Meszaros 4120368ae4 feat: show GraphKit's mailbox order pause up front on the buy page and in GET /v1/store/status as mailbox_orders_paused, and refuse a quote or order with mailboxes during it with mailbox_orders_paused instead of telling the buyer to choose another provider 2026-11-25 16:50:10 +01:00
Matthew Meszaros 8fa651a804 chore(aws): retire Confluent (Kafka and Schema Registry) from the hosted deployment
The hosted deployment runs NATS with JSON only, and its Confluent Schema
Registry key now answers 401, which failed the pre-deploy dependency check
and blocked v0.9.6. The check no longer probes Kafka or Schema Registry and
refuses a configuration that still reads a second bus or codec. Kafka and
Schema Registry names leave the Parameter Store allowlist and the validation
task. The unused Confluent Terraform root and the unreferenced worker Kafka
check are removed. Self-hosted Kafka support is unchanged.
2026-11-25 13:29:23 +01:00
Matthew Meszaros 008cad865e feat: add an operator switch that pauses new domain and mailbox purchases, keeping the Buy new mailboxes row in the Add account menu marked Paused with "Will be available again soon", refusing new quotes, orders and domain connects with 503 store_sales_paused while existing purchases keep renewing, and make the instance settings patch save the social seat prices 2026-11-23 18:55:07 +01:00
Matthew Meszaros 539a4e23fc Merge remote-tracking branch 'origin/main' into feat/linkedin-addon-billing 2026-11-21 21:48:16 +01:00
Matthew Meszaros 38c4147615 feat: turn the LinkedIn add-on into a channel-neutral social add-on on GraphKit's partner API: LinkedIn, Instagram, WhatsApp, Telegram and Facebook accounts at one price per account under Settings > Social accounts with setup links instead of a sidebar item, QR, pairing-code, cookie and password sign-in, one Social campaign step with every GraphKit action per channel (invites, messages, InMail, voice notes, visits, follows, reactions, comments, endorsements, withdrawals) plus versions and consent bases, social_* branch conditions, /v1/social routes with READ_SOCIAL and MANAGE_SOCIAL, contact_social_identities, a Social unibox scope and contact tab, store social conversations with their channel, refresh the account list when a QR sign-in finishes by polling, and renumber the add-on migrations to 000416-000421 after main 2026-11-21 21:48:09 +01:00
Matthew Meszaros 58ca837244 feat: index send-recovery and reply-intent lookups, default log level to info, quiet batched map lookups in the access log (#1306)
* feat: index outbound_attempts by task and reply_intents by unibox message so send recovery and reply lookups stop scanning those tables, default the Go services' log level to info outside dev with a documented LOG_LEVEL override, and drop successful batched message-map lookups from the access log

* feat: say in the configuration docs that LOG_LEVEL filters the Go services' structured log lines and leaves startup messages and the access log alone

* feat: pass LOG_LEVEL through the self-host compose env to the backend, consumer, worker and forms containers
2026-11-21 19:44:32 +01:00
Matthew Meszaros aed90a961d feat: say seats are not charged on the LinkedIn page, connect wizard, account rows and Billing tab when the instance does not bill (metered on GET /v1/linkedin/status), name LinkedIn in the header breadcrumb, quote lead finder keywords with curly quotes so boolean searches read cleanly, widen the compact usage meters, and add the LinkedIn proof flows 2026-11-21 19:10:29 +01:00
Matthew Meszaros dea0a785e3 feat: harden the LinkedIn add-on: skip social events for workspaces this instance does not have instead of blocking the store feed, cancel queued LinkedIn actions on reply, unsubscribe, removal and campaign pause with a 72-hour expiry, defer only the blocked contact on a LinkedIn step that cannot run (campaign_contact_progress.retry_at, migrations 000418-000419), retry resuming paid seats, refund an unstarted month when a seat is removed, start a revived seat's month at connect, never revive a removed seat from a stale event, refuse to price a seat without the plan, back off on GraphKit outages and hold contacts on unknown action types 2026-11-21 18:44:33 +01:00
Matthew Meszaros b77b37fe06 feat: LinkedIn add-on phase 2: LinkedIn invite, message, InMail, visit, follow, like and withdraw steps in sequences queued as paced GraphKit actions with exactly-once reservation, linkedin_connected, linkedin_replied and linkedin_invite_pending branches, LinkedIn replies stopping contacts on every channel, campaign LinkedIn senders and launch checks, LinkedIn campaign analytics, a LinkedIn scope in the unibox, contact LinkedIn activity, background LinkedIn imports that find work emails, and stage 1 of email-less contacts (a partial unique index on present emails, tolerant readers and senders; migrations 000416-000417) 2026-11-21 18:44:33 +01:00
Matthew Meszaros 25e2df677e feat: LinkedIn add-on phase 1: GraphKit social client and dev simulator, linkedin_* tables and contacts.linkedin_url (migrations 000414-000415), LinkedIn seats billed monthly from the balance in the store billing run at $49, $32 on Agency and $19 on Agency Pro, free when a workspace links its own GraphKit workspace, connect sessions with checkpoints, account settings, Sales Navigator and LinkedIn search with Warmbly annotations, AI query builder on the AI balance, saved searches, conversations, /v1/linkedin routes with READ_LINKEDIN and MANAGE_LINKEDIN, realtime events, the LinkedIn page, connect wizard, ported lead finder, admin seat prices and docs 2026-11-21 18:44:32 +01:00
Matthew Meszaros 0e037e0f9c fix: send the pre-fee invoice parameters unchanged on retries of charges the previous release started, and keep AI top-up refunds counting only when the whole charge is refunded so every release in the rollout reverses them the same way 2026-11-21 17:36:25 +01:00
Matthew Meszaros b8519ecff5 feat: add a 3% processing fee on top of every card payment into the workspace balance and the agency AI balance (one-click, Checkout, automatic reload and AI auto top-up), billed as its own invoice line with the balance credited the chosen amount, and show the fee and total in the add funds, auto top-up, store round-up and agency billing UI and docs 2026-11-21 17:21:14 +01:00
Matthew Meszaros f9e53441ba feat: cut CI to Go lint, Go unit tests and a Migrations job that applies every migration to an empty Postgres 16, delete every Postgres- and Redis-backed test, warm the Go cache from main, parallelize the CLI cross-compile, cache the tracking image's Rust dependencies in their own layer, roll the AWS deploy in two waves with a 120s default bake, and make tests opt-in in AGENTS.md 2026-11-20 18:00:50 +01:00
Matthew Meszaros 5a9d798829 Merge pull request #1295 from warmbly/feat/microsoft-tenant-consent
feat: Microsoft 365 tenant consent for purchased mailboxes (automatic with the admin mailbox, partner consent links, store approval fallback, action_required)
2026-11-20 16:12:37 +01:00
Matthew Meszaros 089d4d0c35 feat: approve purchased Microsoft 365 tenants in the background with the domain's admin mailbox (password grant through a Microsoft first-party public client, tid and admin-role proof, idempotent Graph service principal and app role assignments, verified and recorded through the same finisher as the callback, one run per workspace and tenant), park a mailbox on the Approve in Microsoft 365 card only after a non-transient refusal with its reason in store_mailboxes.action_reason, never sign in again on a domain that fell back, and update the buy-mailboxes guide and store endpoint reference 2026-11-20 13:59:32 +01:00
Matthew Meszaros 5391ddf177 feat: connect Microsoft 365 mailboxes bought through GraphKit with Warmbly's own Entra app after a session-less tenant admin consent (adminconsent plus administrator sign-in, verified against Graph, grant recorded and waiting connects woken), with POST /v1/partner/organizations/:external_id/microsoft-consent-links, POST /v1/store/domains/:id/microsoft-consent, action_required microsoft_consent on partner and store mailboxes (migration 000412), an Approve in Microsoft 365 step on the store order page, and docs 2026-11-20 12:36:41 +01:00
Matthew Meszaros 6b18ab8d2d feat: sync mailboxes through narrow push/IDLE checks and a 15 to 60 minute full check scaled by mailboxes against the plan allowance (#1293)
* feat: run a narrow check (Graph inbox and junk delta, IMAP INBOX and junk from their cursors, Gmail history only) on a push or IDLE wake at most every 30 seconds while the full sync pass keeps its own timer, and resolve each Graph delta page and Gmail history page through one batched message-map lookup including the immutable-id regular fallback

* feat: give every mailbox without a live push channel or IMAP IDLE watch a jittered 5-minute narrow check (Graph inbox and junk, IMAP INBOX and junk, Gmail history) that starts the moment IDLE drops or a push channel lapses and stops when the signal is back

* feat: run every mailbox's full sync check every 15 to 60 minutes scaled by mailboxes held against the plan allowance (operator-editable sync.full_check_min_minutes and full_check_max_minutes, shipped as SyncPolicy.full_check_seconds with seeds and pool-linked mailboxes kept at one minute), give errors their own backoff in nextSyncDelay, retire SYNC_PUSH_FALLBACK_INTERVAL, and widen the sync_stale monitor and provider hold recovery freshness windows to match

* feat: document that mailboxes without push or IDLE see new mail within about 5 minutes through the narrow check while every folder gets the 15 to 60 minute full check, in the mailboxes guide, realtime mailbox sync, configuration and architecture pages, and list the narrow poll interval under effective limits

* feat: keep the full sync pass on a one-minute catch-up cadence while an import or Graph, Gmail or IMAP recovery is unfinished and pull it forward when a narrow check meets such work, add a 15-minute safety narrow check behind live push channels, treat a zero mailbox allowance with mailboxes held as the slowest full check, widen the stale backfill monitor to the full check window, and correct the IMAP_IDLE admin text
2026-11-20 12:15:37 +01:00
Matthew Meszaros 24f2fd6e5f feat: route fleet node control-plane calls over the backend's private TLS listener instead of Cloudflare (#1291)
* feat: offer fleet nodes the backend's private TLS address through opt-in NODE_BACKEND_INTERNAL_URL and NODE_BACKEND_INTERNAL_CA (rendered as WARMBLY_BACKEND_INTERNAL_URL and a base64 CA beside the unchanged public address), have workers and consumers probe it at startup and route every control-plane client through one CA-pinned transport or fall back to the public URL, and add the workers root's backend_internal_port rule and the runtime root's nodes_private_backend switch

* feat: replace a node's private control-plane connections every 2 minutes over HTTP/1.1 so new backend tasks behind the Cloud Map name get node traffic, resend a request whose private dial, DNS or TLS handshake failed once to the public address (replayable bodies only, never after the request was written), and route all node calls to the public address for 5 minutes after 3 dial failures in a row, logging each switch once

* feat: keep a node's control-plane call from being resent to the public address once any private attempt wrote its headers, send the caller's own body on a first send during a public window, and mark the backend's NODE_BACKEND_INTERNAL_URL and CA settings as needing a backend restart in the configuration docs
2026-11-20 12:04:25 +01:00
Matthew Meszaros bebc0c2490 Merge pull request #1290 from warmbly/feat/contact-segments
feat: let Apollo and Salesforce imports and lead-capture forms pin every contact into chosen segments
2026-11-20 06:40:24 +00:00
Matthew Meszaros 43d365e073 feat: let Apollo and Salesforce imports and lead-capture forms pin every contact into chosen segments (with inline create-named-after-import in the import dialogs, segment chips on saved imports, a form Settings picker, form API and AI tool support, workspace export of form segments and migration 000411) 2026-11-20 07:05:38 +01:00
Matthew Meszaros e68f659766 feat: always offer Microsoft 365 mailboxes in the store instead of only the providers GraphKit's live price list carries, and show a domain search's exact matches first through an exact-only search (suggestions=false) that the dashboard runs alongside the full one 2026-11-20 06:50:14 +01:00
Matthew Meszaros 836caee500 feat: offer only the mailbox providers GraphKit's live price list carries, refuse an unlisted provider before quoting with provider_unavailable, treat GraphKit's provider refusal as final so a charged order is refunded instead of retried, and move a saved cart off a provider that is no longer offered 2026-11-19 18:58:36 +01:00
Matthew Meszaros e9042b8545 feat: refuse deleting a workspace or account while it holds running store purchases, replay a same-key ledger debit that committed while waiting on the lock, refund a paid month on a mailbox that ended under an unpaid cancellation, bill and settle every open mailbox instead of the newest 500, keep an in-flight renewal on its own charge key through auto-renew toggles and refund it when the domain can no longer renew, and keep CI fast and minimal in AGENTS.md 2026-11-19 18:30:36 +01:00
Matthew Meszaros 2644d7e4e0 Merge pull request #1284 from warmbly/feat/domain-mailbox-commerce
feat: in-app store for domains and Google Workspace or Microsoft 365 mailboxes through GraphKit, with a shared prepaid balance, bundled mailbox billing and partner add-on
2026-11-19 18:17:57 +01:00
Matthew Meszaros b6e90b6803 feat: add an in-app store to buy and renew domains and Google Workspace or Microsoft 365 mailboxes through GraphKit with a one-screen checkout, automatic DNS, tracking, forwarding, photo and signature setup, a shared prepaid balance with a $10 minimum, $100 default and auto top-up, bundled monthly mailbox billing charged before fulfilment, a plan gate that keeps purchased mailboxes readable but stops sending and warmup when the plan lapses, AI overage opt-in, admin, API, CLI, MCP, agency and partner add-on coverage, and a locked store for self-hosts until a GraphKit API key is set 2026-11-19 17:10:23 +01:00
Matthew Meszaros 62e960456b feat: run Kafka worker commands from per-mailbox queues so one slow command no longer stalls every mailbox on a worker, raise the default worker command concurrency to 32, keep a campaign lead on its mailbox while that mailbox's last send is still in flight, and drop the morning and lunch push that idled a whole campaign for up to two hours (#1280) 2026-11-18 21:08:17 +01:00
Matthew Meszaros 319e169c32 feat: keep AI copy another write stored first unless the write is a rewrite, refuse a null contact list on the paid AI write pass, release unsent reservations on a bounded context, and confirm before review links, approvals or turning review off can drop a draft or release leads 2026-11-18 14:44:31 +01:00
Matthew Meszaros 2c9691356a feat: hold a lead's own copy and AI copy to the send that claims them, keep the review hold through manual and CRM pauses, refuse an empty contact list on the paid AI write pass, round-robin background write-ahead across campaigns, and tighten the review panel's drafts, keyboard, batching and error states 2026-11-18 14:12:54 +01:00
Matthew Meszaros 77933bc216 feat: add a Review tab to every campaign email step that shows each lead's real copy with AI parts written ahead, an Approve before sending hold with approve and bulk approve, a lead preview stepper in the step editor, and a review panel on Steps when no email step is left 2026-11-18 12:54:04 +01:00
Matthew Meszaros c55651d169 feat: skip leading blank rows in spreadsheet.Parse for CSV and XLSX so an import whose sheet starts lower down gets real headers instead of a null column list that crashed the contact import mapper, with a regression test and the contacts and mailbox import guides updated 2026-11-18 06:16:00 +01:00
Matthew Meszaros 0f5cf14409 feat: send warmup replies under a "Re:" subject (mailhdr.ReplySubject) with the matching token subject while lineage keeps the thread subject, consolidate the three reply-subject helpers, add a live HandleEmailTask regression to the live-3 CI job, and update the warmup guide 2026-11-17 19:50:53 +01:00
Matthew Meszaros 609f8d235b feat: describe the warmup reply-due rule in the warmup guide as a next-send comparison rather than a strict ceiling on mailboxes ahead of their reply rate 2026-11-16 10:00:29 +01:00
Matthew Meszaros 08b52fe7b8 feat: hold the warmup reply share at the mailbox's reply rate by sending a reply only while one is due (warmupramp.ReplyDue) on both the arrival reply-back and the plain-send paths, at half again the target while due and never while ahead, so new threads refused by full recipient inboxes no longer push the seven-day share above the setting, with a simulation covering low new-thread reach and the warmup guide updated 2026-11-16 09:51:47 +01:00
Matthew Meszaros fcc82b739d feat: record each mailbox's planned warmup volume for the day when the scheduler resolves it, so the warmup chart shows a real target and Target met reads sends against planned days only, with a dash when no day in the range has a recorded plan 2026-11-13 19:29:42 +01:00
Matthew Meszaros 092a923abf Merge pull request #1265 from warmbly/feat/dub-partner-program
feat: attribute Warmbly Cloud signups and subscriptions to Dub partner ?via= links without cookies
2026-11-13 17:36:09 +00:00
Matthew Meszaros 50532d2790 feat: log a campaign send held back before it left Warmbly (mailbox paused or held, at its sending limit, or the campaign at today's limit) as an informational postponement with the recipient instead of a Needs attention error, including stored entries, and keep deferred entries' fields in the scoped campaign log 2026-11-13 18:14:00 +01:00
Matthew Meszaros 5ad80ef007 feat: retry partner leads Dub never accepted from a backend sweep, hold dashboard signup clicks for an in-flight partner click, refuse the referral table's down migration while it holds rows, and clarify partner-program wording 2026-11-13 18:07:17 +01:00
Matthew Meszaros 828ec39abd feat: attribute Warmbly Cloud signups and subscription checkouts to Dub partner links behind an optional DUB_API_KEY, recording ?via= clicks on the marketing site without a cookie or Dub script, carrying the click as wb_click into signup (password, Google, Apple and OIDC), reporting the lead and tagging checkout metadata, and documenting it 2026-11-13 17:44:14 +01:00
Matthew Meszaros e6c18d5f81 Merge pull request #1264 from warmbly/feat/fleet-cap-admin
Change the worker fleet's size cap from the admin panel
2026-11-13 15:49:12 +00:00
Matthew Meszaros aac4083ba4 feat: state in the SetMax comment and the AWS worker fleet guide that a scale-out racing a fleet cap change loses every worker it added above the new cap at once, picked as any scale-in and drained 2026-11-13 16:27:02 +01:00
Matthew Meszaros 7399fe2a07 feat: describe in the AWS worker fleet guide the one case where lowering the fleet cap removes a worker, a scale-out racing the change, which skips the quiet period of the fleet scale-in 2026-11-13 16:22:59 +01:00
Matthew Meszaros dcae2d5d04 feat: state that a fleet cap change racing a scale-out is undone by an ordinary zone-balanced one-worker scale-in through the drain hook, in the SetMax comment and the AWS worker fleet guide 2026-11-13 16:18:51 +01:00
Matthew Meszaros 6e71801feb feat: show fleet autoscaling status failures with a retry in the admin Capacity tab, derive the fleet cap ceiling from fleet_max_size when unset, warn through a fleet_cap check when fleet_max_size no longer matches the group's cap, and bound the cap and ceiling to int32 2026-11-13 16:10:34 +01:00
Matthew Meszaros 5c56833ff9 feat: let the admin panel's Fleet capacity tab show the worker Auto Scaling Group's size against its cap and change the cap between the running fleet and a Terraform-set warmbly:max-ceiling tag, warning near and at the cap, through FLEET_AUTOSCALING_GROUP and GET/PATCH /admin/fleet/scale 2026-11-13 15:56:06 +01:00
Matthew Meszaros b4d33a80d3 feat: log a campaign send that the mail provider could not take just then (no answer, a dropped connection or a request to slow down) and that will be retried as an informational delay instead of a Needs attention error, including stored entries, while a send that has used all its attempts or was refused stays an error 2026-11-13 14:56:30 +01:00
Matthew Meszaros 42d1a8267b feat: normalize addresses before counting new contacts at the limit, surface a failed lookup as itself, and report no contact ceiling on a self-host without an override 2026-11-13 13:55:11 +01:00
Matthew Meszaros e4001c782e feat: enforce the contact limit per workspace from its plan or approved increase, counting every member's contacts, and update a teammate's existing contact instead of adding a duplicate 2026-11-13 13:42:32 +01:00
Matthew Meszaros a5f1b56820 feat: add Migrate from another tool to bring blocklists, mailboxes, draft campaigns and leads over from Smartlead, Instantly, lemlist, Reply.io, Woodpecker, Mailshake, Saleshandy, Snov.io, Apollo and QuickMail for workspaces and agencies, with agency API keys on MCP, migration MCP tools and warmbly CLI commands 2026-11-13 12:44:37 +01:00
Matthew Meszaros 25fc8fcae0 feat: log fleet join token is current after the backend's first successful join token check so an operator can confirm a usable token before launching the fleet 2026-11-13 07:29:48 +01:00
Matthew Meszaros 2469e018a1 feat: name both fleet join token warnings an operator checks before the first fleet launch 2026-11-13 07:22:11 +01:00