Commit Graph
660 Commits
Author SHA1 Message Date
Matthew Meszaros 94940f8cb3 feat: balance charges an automatic reload only while reload is on and the balance under its threshold and cancels a pending one when reload is turned off, answers a top-up still going through with 202 and honors Idempotency-Key on it, keeps user_id off checkout session metadata, gives the new reload its own auto_reload_enabled switch, sets plan monthly_credits to match the dollar allowances, closes stale legacy pack charges and fails a charge after eight unanswered attempts, and refreshes annual allowances oldest reset first 2026-11-07 10:36:20 +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 229316ce6e feat: lead finder refunds a page charge when saving the search fails, refuses an unknown provider and a half-given point, reads robots.txt for the http fallback, keeps a stored phone, rechecks addresses no longer suppressed, counts secondary categories in the facet, keeps queued leads another run still holds, and on the page shows a retryable load error, keeps notes being typed, searches the current view after a past search, ignores a closed import's result and leaves the hidden people column out of person exports 2026-11-07 09:21:41 +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 0989440f0d Merge remote-tracking branch 'origin/main' into feat/google-trusted-app-signin 2026-11-07 08:15:19 +01:00
Matthew Meszaros 568df446b6 Merge remote-tracking branch 'origin/main' into feat/google-trusted-app-signin 2026-11-07 07:30:50 +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 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 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 1db1ea0835 feat: request https://mail.google.com/ for new Google sign-in mailboxes (reauth still accepts gmail.modify) and run Gmail warmup engagement (spam rescue, mark read, star, mark important) over imap.gmail.com with the mailbox's own token, including delegated mailboxes through an optional mail.google.com delegation scope minted via ?purpose=imap on the internal token route, falling back per mailbox to the Gmail API when the scope or IMAP access is missing, with docs for scopes, warmup and existing delegation entries 2026-11-07 05:20:23 +01:00
Matthew Meszaros a22d15efd6 Merge remote-tracking branch 'origin/main' into devin/template-warmup 2026-11-07 05:18:49 +01:00
Matthew Meszaros 6acd093e5f feat: give every new hosted workspace a 14-day no-card free trial with 2 mailboxes warming in the free pool and 20 sends a day, claimed atomically once per owner (later workspaces start unpaid), pause instead of wiping warmup when it ends, and show the countdown, trial-ended states, billing, docs and site pricing to match 2026-11-06 18:37:46 +01:00
Matthew Meszaros 6ab8fa8c28 feat: make campaign copy warmup automatic with no settings or page (a quarter of a mature sender's new threads open with a running campaign's step, never sent twice to one recipient in 30 days), continue each such thread with a prospect-style reply from a hand-written set and the sender's answer, show each step arm's warmup placement under the step on the campaign, and drop warmup templates, their settings table, permission and dashboard page 2026-11-06 06:41:44 +01:00
Matthew Meszaros d7535b2d25 feat: send a workspace's own warmup copy only to pool mailboxes that file warmup mail out of the inbox so it meets a provider's filter rather than a reader, and add GET /warmup/templates/:id so the template drawer shows the body 2026-11-05 20:12:53 +01:00
Matthew Meszaros 042b4ede09 feat: report a reported count on warmup copy placement so landing rates are read over receipts that arrived, and make POST /warmup/templates/check return the same refusal a create would (wording, send gate, merge fields, length) in blocked_reason, with docs and openapi 2026-11-05 19:12:30 +01:00
Matthew Meszaros 2315e0f120 feat: document campaign copy warmup in the warmup guide, the deliverability-ops API reference, the endpoint scope map and openapi.json (GET /warmup/templates/campaign-copy, campaign_copy setting, 25 percent default share, big-three headline placement, 7-day maturity gate), and refuse merge fields and AI blocks in verbatim warmup templates 2026-11-05 18:47:38 +01:00
Matthew Meszaros 9bbf149548 feat: warm up running campaign copy: each mailbox's warmup draws the opening steps and active A/B arms of the campaigns it sends for, rendered per pool recipient through the campaign renderer (merge fields, spintax, HTML, signature, opt-out, UTM) and refused when a step needs lead-only data, with per-step placement at GET /warmup/templates/campaign-copy, a campaign_copy setting, a 7-day mailbox maturity gate, big-three headline placement, a sender-only template resend check, lock_timeout and a concurrent org index 2026-11-05 18:24:43 +01:00
Matthew Meszaros 26c7433be4 Merge remote-tracking branch 'origin/main' into devin/template-warmup 2026-11-05 17:50:51 +01:00
Matthew Meszaros 9441ad3b50 feat: bound new campaign CSV and TSV uploads to 4096 fields per logical record with a pinned Go reader while preserving import and attachment transport profiles 2026-11-04 21:47:14 +01:00
Matthew Meszaros 7806d57da2 feat: require listed presentation slides and matching Office member types and enforce classic PDF revision object ranges while preserving attachment transport 2026-11-04 21:35:36 +01:00
Matthew Meszaros 78e42be41f feat: validate bounded campaign attachment formats and UTF-8 imports while preserving portable existing files 2026-11-04 20:22:57 +01: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
bruce 9081f93bd4 feat: add org-scoped warmup templates: template rows in the shared warmup_conversations bank sent verbatim from the owning workspace as a configurable share of its warmup (template_share, templates_only) with a once-per-sender-per-day cap, /warmup/templates API with a /check analyzer, settings and per-template placement by provider group, WARMUP_TEMPLATES permission bit 24, orgtransfer registration, docs, and tests 2026-11-04 16:13:34 +00: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 095d842aa9 feat: merge main into the mailbox push branch and renumber its migration to 000341_mailbox_push_channels after main took 000339 and 000340 2026-11-04 11:40:14 +01:00
Matthew Meszaros 718985d574 Merge pull request #1127 from warmbly/fix/mailbox-warmup-errors
feat: preserve mailbox sync coverage and accurate notification and authenticator status
2026-11-03 15:46:37 +00:00
Matthew Meszaros 54342085df Merge pull request #1140 from warmbly/feat/cloud-subscription-gating
feat: close new self-hosted links to Warmbly Cloud, retire the Warmup plan checkout, keep existing links and paid subscribers unchanged
2026-11-03 15:43:07 +00:00
Matthew Meszaros d8c63c4232 feat: accept Gmail watch notifications as Pub/Sub HTTPS push at /api/v1/mailbox-push/gmail, verified by a Google-signed token for GMAIL_PUSH_SERVICE_ACCOUNT, keeping the consumer pull subscription for instances Pub/Sub cannot reach 2026-11-03 16:31:15 +01:00
Matthew Meszaros 458ae0a03b feat: close new self-hosted links to Warmbly Cloud, retire the Warmup plan checkout, keep existing links and paid subscribers unchanged, and hide Cloud surfaces on unlinked instances 2026-11-03 16:21:53 +01:00
Matthew Meszaros 074018cf00 Merge remote-tracking branch 'origin/main' into fix/mailbox-warmup-errors 2026-11-03 16:01:12 +01:00
Matthew Meszaros d241a836f8 feat: sync mailboxes in realtime through Graph change notifications, Gmail Pub/Sub watches and IMAP IDLE that wake the owning worker with SYNC_WAKE, drain stored arrivals continuously, and add an opt-in autoscaling AWS worker fleet without public IPv4 scaled on a published fleet utilization metric 2026-11-03 15:11:24 +01:00
Matthew Meszaros b0cb19c0e7 Merge pull request #1133 from warmbly/feat/warmup-stop-lifts-cold-ceiling
feat: lift the reply-gated cold ceiling once warmup is stopped (not paused) by reading warmup_stopped_at in ColdRampStateForAccounts through one ColdRampState.CeilingApplies gate shared by the scheduler, send plan, projection and mailbox status notice, correct the Stop comments, let an explicit batch warmup Off win over per-row warmup columns in mailbox import with a three-way warmup choice in the import dialog, and document both in the campaigns, warmup and mailbox import guides
2026-11-03 12:41:36 +00:00
Matthew Meszaros c455dc9306 feat: scope GET /v1/unibox to a campaign_id or contact_id (org-verified, 404 outside the workspace) traced through campaign sends by Message-ID, In-Reply-To, thread root and Gmail thread handle, return each row's campaign_id, accept since/until as YYYY-MM-DD (until keeps the whole UTC day) or RFC 3339 and refuse anything else with 400 invalid_filter, and document address, direction, the new filters and dates in the unibox reference, openapi.json, error codes and both CLIs 2026-11-03 09:35:47 +01:00
Matthew Meszaros 2da3e7d299 feat: fence identified mailbox sync reports against current worker assignments and verify password-only reauthentication recovery 2026-11-03 08:17:16 +01:00
Matthew Meszaros 36212a91c6 feat: lift the reply-gated cold ceiling once warmup is stopped (not paused) by reading warmup_stopped_at in ColdRampStateForAccounts through one ColdRampState.CeilingApplies gate shared by the scheduler, send plan, projection and mailbox status notice, correct the Stop comments, let an explicit batch warmup Off win over per-row warmup columns in mailbox import with a three-way warmup choice in the import dialog, and document both in the campaigns, warmup and mailbox import guides 2026-11-03 08:13:25 +01:00
Matthew Meszaros 46106d13f8 feat: preserve password availability errors in reauthentication and accept bounded worker clock skew without restamping mailbox coverage 2026-11-03 07:51:44 +01:00
Matthew Meszaros 32ca6124dd feat: preserve valid mailbox coverage across clock skew and delayed legacy sync reports with staged constraint validation and reauthentication checks 2026-11-03 07:36:49 +01:00
Matthew Meszaros a2f0f99a3d feat: order mailbox folder coverage independently of completed syncs and retain password confirmation for used authenticator steps 2026-11-03 07:02:39 +01:00
Matthew Meszaros c2db3ff255 feat: integrate current authentication and attachment controls with mailbox status and authenticator fixes 2026-11-03 06:37:52 +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 2b2079092f feat: report mailbox sync coverage and incoming claims accurately and preserve authenticator verification outcomes 2026-11-03 06:13:49 +01:00
Matthew Meszaros 9b0b319ee7 feat: enforce issued password format and add scoped private attachment downloads with restricted runtime TLS ciphers 2026-11-02 13:05:45 +01:00
Matthew Meszaros 2460d3fefb Merge pull request #1099 from warmbly/feat/signin-methods-email-login
feat: move provider-created accounts to email sign-in and manage linked sign-in methods from Settings > Security
2026-10-31 14:01:52 +00:00
Matthew Meszaros f5c2f53642 feat: let provider-created accounts set a password from Settings > Security through an emailed link (POST /auth/me/password/link), list and remove linked Google, Apple and SSO sign-in methods behind a fresh confirmation that keeps a way in and signs out that provider's other sessions (GET/DELETE /auth/me/identities), open reset links in a signed-in browser, and document the move to email sign-in 2026-10-31 14:14:13 +01:00
Matthew Meszaros d8cf1fd9d5 feat: bind every node-only internal call from a credential-authenticated worker to its own assignment (worker id, assigned mailboxes, their organizations, data keys and mailbox or campaign blob keys) via internal/app/nodescope with a 30s per-node cache and indexed point lookups on a miss, keep a moved mailbox in its previous worker's scope for 30 minutes through email_accounts.previous_worker_id and worker_released_at recorded by a trigger (migration 000337), grant an organization to a worker for a credential check, exempt consumers, and document the invariant 2026-10-31 11:38:04 +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 f400ff3b2b feat: authenticate each fleet node by its own NODE_CREDENTIAL on every node-only internal route (X-Warmbly-Node-Id and X-Warmbly-Node-Credential sent by every worker and consumer client, node id carried in the request context, named in broker access logs and bound to the heartbeat and node env), add NODE_REQUIRE_NODE_CREDENTIAL to refuse the fleet token once every node sends its credential, seed a dev worker credential, and document the rollout 2026-10-31 11:18:51 +01:00
Matthew Meszaros 2e0b5d2059 feat: refuse realtime tickets that name no session, accept the brokered sign-in continue only as a POST, read the reset link token only from its fragment, forget the signing-out browser's remembered-device tokens on sign-out (POST /auth/logout device_tokens), and recognise Traefik's placeholder certificate from any verification error 2026-10-31 11:04:48 +01:00