Commit Graph
1653 Commits
Author SHA1 Message Date
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 fcb40fdee0 Merge pull request #1130 from warmbly/feat/reply-optout-command-and-cross-campaign-hold
feat: treat a reply that is only an opt-out command (STOP, remove, unsubscribe) as an opt-out, add opt-in stop_all_campaigns_on_reply holding a replying contact in their other campaigns, and add skip_active_in_other_campaigns to CSV import, bulk add and segment add-to-campaign with dashboard controls and docs
2026-11-03 13:31:12 +00:00
Matthew Meszaros fb7546e141 Merge pull request #1131 from warmbly/feat/bounce-cause-keeps-valid-addresses
feat: decide bounce suppression from the DSN status code and server reply through a shared dsn.Blame rule so mailbox-full, policy, reputation and system bounces keep the address and lead while address-invalid ones suppress, carry the per-recipient status and diagnostic in inbound bounce reasons, reuse the rule in emailverify, and add an optional TYPESAFE_ENDPOINT
2026-11-03 13:15:28 +00:00
Matthew Meszaros cf1ffb01d7 feat: keep reading past a mobile footer below a bare opt-out command, accept punctuation after a pronoun note, and refuse temporal words as name lines 2026-11-03 14:11:48 +01:00
Matthew Meszaros 1cc7e8bce5 feat: read the lines below a bare opt-out command against a closed whitelist of sign-offs, name lines with optional pronouns, an exact -- delimiter and whole mobile footers, so any other line keeps the reply from opting out 2026-11-03 13:50:37 +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 36b77487e3 feat: read the per-recipient DSN group with its Status field as the deciding code, keep policy-tailed and sender-scoped refusals off recipient suppression, reopen completed campaigns when a refused lead is kept, and require https for TYPESAFE_ENDPOINT outside loopback and private hosts 2026-11-03 13:27:07 +01:00
Matthew Meszaros 99886094ff feat: accept only sign-offs, complete footers, delimiters and name-like signature lines below a bare opt-out command, write the cross-campaign reply hold before the reply is marked processed, keep skipped pairs out of the manual-lead claim, and label the reply-hold switch 2026-11-03 13:24:41 +01:00
Matthew Meszaros b745f55ee1 feat: lift the cold ceiling only in the Stop state (test_mode off) so pausing a stopped mailbox keeps it, write a batch warmup Off into each queued import row and ignore every per-row warmup value under it so a previous-release runner cannot start warmup, and cover both with live lifecycle and stop-stamp repository tests and a claimed-row runner test 2026-11-03 13:14:42 +01:00
Matthew Meszaros 2a46e0771a Merge pull request #1136 from warmbly/feat/unibox-campaign-contact-filters
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 12:01:18 +00:00
Matthew Meszaros dd6a17ab6f Merge pull request #1135 from warmbly/feat/webhook-catalog-emitted-or-deprecated
feat: emit campaign.completed, inbox.reply_received, email_account.disconnected/error/synced, automation.run and bulk_operation.* webhooks from their control-plane sources, deprecate the five catalog events nothing can deliver, hide them from pickers, and add a source-scan test that every catalog event is emitted or deprecated
2026-11-03 12:01:15 +00:00
Matthew Meszaros 162713beaa Merge pull request #1134 from warmbly/feat/step-ab-contact-stats
feat: record the step A/B arm each contact was sent on campaign_contact_progress (migration 000338), report contact-based per-step arm stats with last-step attribution and a Bonferroni-corrected two-proportion z-test winner in GET /campaigns/:id/ab-analysis, implement ab_testing.auto_promote_winner as an audited consumer loop, and show per-arm results, winner and promotion in the step editor and Settings > Sending
2026-11-03 12:01:12 +00:00
Matthew Meszaros 6afc5844b4 feat: emit campaign.completed, inbox.reply_received, email_account.disconnected/error/synced, automation.run and bulk_operation.* webhooks from their control-plane sources, deprecate the five catalog events nothing can deliver, hide them from pickers, and add a source-scan test that every catalog event is emitted or deprecated 2026-11-03 09:47:34 +01:00
Matthew Meszaros b2497c5541 Merge pull request #1123 from warmbly/fix/explain-sending-days
feat: honor selected warmup days and explain effective mailbox schedules
2026-11-03 08:37:34 +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 440f016c56 feat: treat a reply that is only an opt-out command (STOP, remove, unsubscribe) as an opt-out, add opt-in stop_all_campaigns_on_reply holding a replying contact in their other campaigns, and add skip_active_in_other_campaigns to CSV import, bulk add and segment add-to-campaign with dashboard controls and docs 2026-11-03 09:31:56 +01:00
Matthew Meszaros eeb6531183 feat: record the optional report_generation field on the published jobs.worker-events SYNC_STATE schema 2026-11-03 09:26:56 +01:00
Matthew Meszaros d1b717cc06 feat: fence worker sync reports by the transport generation each worker incarnation was loaded with, carried as report_generation on SYNC_STATE 2026-11-03 09:15:40 +01:00
Matthew Meszaros 7a9645123b feat: record the step A/B arm each contact was sent on campaign_contact_progress (migration 000338), report contact-based per-step arm stats with last-step attribution and a Bonferroni-corrected two-proportion z-test winner in GET /campaigns/:id/ab-analysis, implement ab_testing.auto_promote_winner as an audited consumer loop, and show per-arm results, winner and promotion in the step editor and Settings > Sending 2026-11-03 09:12:56 +01:00
Matthew Meszaros 47e52432f5 feat: accept worker sync reports only for the mailbox current transport generation and assert the published sync-state event type and status 2026-11-03 09:01:40 +01:00
Matthew Meszaros 056eada7b2 feat: commit identified mailbox recovery and both sync clocks under one assignment lock with exact legacy schema coverage 2026-11-03 08:39:24 +01:00
Matthew Meszaros d1ae1e2e32 feat: decide bounce suppression from the DSN status code and server reply through a shared dsn.Blame rule so mailbox-full, policy, reputation and system bounces keep the address and lead while address-invalid ones suppress, carry the per-recipient status and diagnostic in inbound bounce reasons, reuse the rule in emailverify, and add an optional TYPESAFE_ENDPOINT 2026-11-03 08:31:36 +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 2fc9efaf06 feat: integrate current event bus and credential deployment checks with mailbox coverage and authenticator fixes 2026-11-03 07:16:45 +01:00
Matthew Meszaros ed45746c22 feat: record the optional folder coverage timestamp in published worker command and result schema snapshots 2026-11-03 07:15:28 +01:00
Matthew Meszaros 9c5a6c3387 Merge pull request #1125 from warmbly/chore/review-kafka-costs
feat: add private AWS NATS operations and a compatible Kafka migration
2026-11-03 06:03:01 +00: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 d23697a2d8 Merge pull request #1124 from warmbly/feat/casa-password-and-private-download-controls
feat: enforce issued password format and scope private attachment downloads
2026-11-03 05:06:23 +00:00
Matthew Meszaros 999597508c feat: provision private three-zone NATS JetStream and add gated Kafka migration readers with compatible codecs 2026-11-02 15:25:15 +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 f4a40e52e3 feat: honor explicit warmup sending days independently of campaign weekdays and explain effective schedules in mailbox settings 2026-11-02 11:12:16 +01:00
Matthew Meszaros 1b98c61ef9 feat: hold mailbox warmup reply share to its configured target within existing send budgets 2026-11-02 08:59:31 +01:00
Matthew Meszaros 3e7be7ee2e feat: hide temporary sync and send failures on mailboxes that still worked within two hours across the mailbox list, drawer, health summary, advisor and toasts, show non-critical reports as amber Retrying instead of red Error, and warn on the Warmup tab when sending behaviour working days skip warmup days with a one-click fix 2026-11-01 08:38:01 +01:00
Matthew Meszaros 3a04b3f606 Merge pull request #1074 from 555aaditya/feat/replyclassify-positive-de-fr-es
feat: read interest in German, French and Spanish replies for workspaces that choose those tagging languages
2026-10-31 14:38:53 +00:00
Matthew Meszaros 75e77399be feat: scope French postverbal negation to interest phrases and accept Unicode whitespace in reply qualifiers 2026-10-31 15:22:13 +01:00
Matthew Meszaros fe5228a0eb feat: distinguish polite French requests and affirmative pas mal from postverbal reply negation 2026-10-31 15:06:46 +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 39e49f84f6 feat: preserve affirmative Spanish accents and recognize elided French conditions in reply interest classification 2026-10-31 14:51:41 +01:00
Matthew Meszaros 7f0d4f2598 feat: serialize passkey deletion and sign-in provider removal on the user row lock so neither removes an account's last way in (last_sign_in_method on DELETE /auth/passkey/credentials/:id), and clear legacy token keys after a password reset 2026-10-31 14:43:33 +01:00
Matthew Meszaros 95986af748 feat: keep conditional German, French and Spanish interest phrases out of automatic positive reply classification 2026-10-31 14:33:54 +01: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 3abefbeb42 feat: bind each initial-password challenge to the issued password hash so a reissued password voids it, issue a new password only to a tester that is still exempt, keep the whole inline SERVE_TLS_CERT chain in realtime, name BACKEND_INTERNAL_CA_FILE in the forms startup error, and list the tester password and login-code exemption routes as needing a recent confirmation 2026-10-31 14:06:20 +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 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