Commit Graph
151 Commits
Author SHA1 Message Date
Matthew Meszaros f32b667be8 feat: keep an agency's vendor key in one place, read through a client's connection only while the workspace is its client, say which clients a staff member can add mailboxes to, show a failed list as failed with a retry, and restart the QA stack when the vendor mock is switched 2026-11-11 18:06:03 +01:00
Matthew Meszaros 40517023b9 feat: add an agency Mailboxes page listing every client's mailboxes with their state, let an agency hold an inbox vendor account once and use it in any client's import with only its staff browsing it, and offer adding mailboxes for a client from a vendor, a file, one at a time or a link the client uses 2026-11-11 18:06:03 +01:00
Matthew Meszaros 181c30e849 feat: switch off a custom-server mailbox whose IMAP connection has failed before the server answered for 72 hours with no successful sync or send, measured from a new trigger-stamped email_accounts.activated_at, and say why in the drawer, the Off pill, the disconnected webhook and the mailbox docs 2026-11-11 15:55:59 +01: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 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 a8f119e02f feat: build the email_accounts_oauth app index concurrently in its own migration 000374, write workspace archives carrying workspace OAuth apps as format version 2 so older importers refuse them, flag imported mailboxes whose issuing app arrived without a secret as needing reconnect, and document callback forwarding after a workspace move 2026-11-09 19:55:32 +01:00
Matthew Meszaros 9e3c8a6f33 feat: address the third Partnership review by masking internal errors in warmup notes, returning the fallback lookup error on a lost grant race, reporting refused warmup settings apart from a failed start on links, locking destination OAuth apps while an import preserves their secrets, guarding pool-link token updates by the issuing client, refusing to revoke a link whose sign-in is completing and treating unsealed archived OAuth secrets as absent 2026-11-09 19:46:11 +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 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 3076e65ef7 feat: keep the import's empty inbound_secret_encrypted sentinel through the integration_inbound_secret_retire_sealed trigger so an overwrite import onto a clear-only connection still flags it for reconnection, build the inbound digest index CONCURRENTLY alone in migration 000372, cover the overwrite case in a live test in the inbound secret CI step, and document that a pre-sealing destination imports inbound URLs unnamed and unworking 2026-11-09 18:55:21 +01:00
Matthew Meszaros ad61cbae79 feat: keep inbound URLs working when importing a workspace archive the previous release wrote after migration 000371, by keeping its clear inbound_secret for the fallback lookup and the sealing sweep while dropping any inbound_secret_encrypted or digest the archive key did not open, blank the sealed column when neither travelled so the import names the connection and closes its URL, never take inbound_secret_digest from a manifest without its sealed column, and cover all three archive shapes in a live test run in the inbound secret CI step 2026-11-09 18:35:02 +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 03469b799b feat: refuse workspace imports that would pair an imported OAuth app id with a different client in either conflict mode, with live coverage of each collision 2026-11-09 17:25:41 +01:00
Matthew Meszaros ae8e6e5bc7 feat: carry bytea-stored integration configs through workspace archives re-keyed for the destination, mark integrations whose credentials did not travel as reauth_required with a per-connection import warning and a closed inbound URL, export direct-mail click tickets by their owning task alongside campaign ones, and cover both across workspaces in a live round-trip test run in the workspace isolation CI step 2026-11-09 17:11:29 +01:00
Matthew Meszaros 3e5d7b6e47 feat: address review of the Partnership changes by allowing provider redirects in the sign-in link page CSP, refusing limit=0 on connect links, keeping saved OAuth apps maintainable after a workspace leaves Partnership, enforcing the key mailbox allowlist on grant renewal, dropping stale worker token updates for workspace-app mailboxes, keeping Partnership placement tests off the balance, refusing OAuth hand-backs and mixed credentials on Cloud, keeping ambiguous hand-overs retryable, excluding instance-run mailboxes from action admission, restoring the frozen reporter-trust placement filter, showing pending removal first and refusing workspace imports whose OAuth app collides 2026-11-09 17:05:07 +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 6b510ab993 feat: read every ISO alpha-3 code, Canadian and Kazakh numbers, more calling codes and repeated country tokens in contact locations, prefer business timezone abbreviations over legacy links, store only zones routing can rank, pick location fields in a fixed order, fail closed when a recipient-local lead cannot be loaded, and give the timezone card an error state and the region dialog focus handling 2026-11-08 13:13:35 +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 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 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 c03aea1c6b feat: preserve attachment inventory interruption causes and discard incomplete reports at the read boundary 2026-11-05 10:10:47 +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 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 1a5be647f3 feat: bound campaign attachment container validation and support Office XML encodings and indirect PDF values while preserving archive warning arrays 2026-11-04 20:40:42 +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
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 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 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 cddbf2781f feat: offer no website proof record for shared email providers, move an inconclusive website recheck to the back of the queue with WebsiteDomainRepository.Touch, and say in the export docs that a destination confirms imported websites on the sending domain Redirect tab 2026-10-30 15:33:45 +01:00
Matthew Meszaros 0a4f70aedc feat: let a workspace confirm its main website with its _warmbly TXT record so sending-domain and form redirects can point there (website_domains, migration 000333, POST /emails/domains/:domain/redirect/website, rechecked every 6 hours), skip the visitor check while a destination is unconfirmed, and redesign the sending domain Redirect tab as a step checklist with the website record inline 2026-10-30 15:07:57 +01:00
Matthew Meszaros 361f43111f feat: synchronize warmup variation with main and assign its reservation migration the next available version 2026-10-30 07:52:18 +01:00
Matthew Meszaros dc8f285bc4 Merge pull request #1091 from warmbly/fix/sending-held-unconfirmed
feat: automatically isolate unconfirmed campaign sends without stranding the mailbox
2026-10-30 06:19:10 +00:00
Matthew Meszaros e326406549 feat: isolate unconfirmed campaign sends with portable contact protection and staged automatic recovery 2026-10-30 06:40:48 +01:00
Matthew Meszaros 743153178f feat: reserve a reply-eligible send slot in workspace import accounting fixtures and document reply cadence 2026-10-30 06:36:53 +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
Matthew Meszaros 3f13636a5b feat: decide uploaded image formats from their decoded bytes through internal/pkg/imagetype for avatars, OAuth logos, form assets, email images and archive-restored public objects, store public objects with inline headers only for PNG/JPEG/GIF/WebP, sign every presigned attachment and node GET URL with forced download disposition and a safe response content type, and rasterize SVG previews to PNG in the dashboard image client 2026-10-23 15:43:42 +02:00
Matthew Meszaros 03170c5482 feat: share one cancellation-proof bounded DEK lookup per organization, bound worker token sealing, reseal empty mailbox credential values, refuse an invalid MAILBOX_CREDENTIALS_SEALING in warmblyctl, keep credential exports gated on the instance key and log workspace-key failures in mailbox erasure 2026-10-22 19:11:23 +02:00
Matthew Meszaros 537a622409 feat: seal mailbox SMTP/IMAP logins and OAuth tokens under KMS-protected workspace DEKs behind MAILBOX_CREDENTIALS_SEALING, carry them sealed in ADD_EMAIL and token refreshes, reseal stored credentials in a resumable consumer job, and cache DEKs in process with singleflight in front of Redis and KMS 2026-10-22 19:11:23 +02:00
Devin AI 52a4df2f1a feat: permanently retire uncertain warmup sends without replay or refund and automatically resume eligible mailbox schedules 2026-10-20 06:36:25 +00:00
555aaditya 4c0df6762d feat: list org_export_jobs and org_import_jobs in the workspace archive's ExcludedTables, and add the live check (run in CI with the other spec checks) that every table with an organization_id is registered or excluded 2026-10-19 01:44:51 +05:30
Matthew MeszarosandDevin AI 7c9cfde9d5 feat: distinguish source-only archive history from retained destination-local outcomes in plaintext and encrypted exports
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-11 15:07:26 +00:00
Matthew MeszarosandDevin AI 80ce00dfe6 feat: preserve destination-local send identity and recovery evidence during workspace archive overwrites while retaining portable source history
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-11 13:42:02 +00:00
Matthew Meszaros ebfd34fb84 Merge remote-tracking branch 'origin/main' into feature/third-party-data-provider-integrations 2026-10-11 12:41:57 +02:00
Matthew Meszaros 19d8d24fac feat: add Apollo integration (API key connect, list imports with hourly sync, contact enrichment) and two-way Clay integration (inbound row URL creating contacts, outbound event rows, automation action) with dashboard pages, brand logos, Discover ranking, org transfer registration and docs 2026-10-11 12:41:56 +02:00