Commit Graph
2464 Commits
Author SHA1 Message Date
Matthew Meszaros 34f58f051e feat: renumber the warmup filter tag migration to 000375 after main took 000373 and 000374 2026-11-09 20:49:58 +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 05231aeb59 feat: forget an external warmup rule's last sweep when it is turned off so re-enabling it removes mail stored meanwhile, and return the warmup filter tag read's database error so the send retries instead of leaving out an opted-in tag 2026-11-09 20:44:11 +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 6a5c512280 feat: bound a sign-in link's whole completion inside the stale-claim window, report a completion write that recorded nothing, and say what to do with an imported custom redirect that points at the source instance 2026-11-09 20:05:12 +01:00
Matthew Meszaros 97b626ead8 feat: never reopen a claimed sign-in link so one link connects at most one mailbox, lock every matching OAuth app row while an import preserves secrets, and keep workspace OAuth apps Partnership-only on self-hosted instances too 2026-11-09 20:01:22 +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 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 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 c332307993 Merge pull request #1212 from warmbly/fix/idempotency-identity-completion
feat: key Idempotency-Key records to the credential and concrete resource, and record every outcome explicitly
2026-11-09 16:56:31 +00:00
Matthew Meszaros 82eeafc0b7 Merge pull request #1213 from warmbly/t3/scheduled-email-cancel-claim
feat: a cancelled scheduled email is never dispatched; cancel answers 409 once a send has left pending
2026-11-09 16:55:33 +00:00
Matthew Meszaros 78f09e10d1 Merge pull request #1210 from warmbly/fix/tester-sample-data-grant-eligibility
feat: decide tester sample-data eligibility from the active Test grant, not the initial password
2026-11-09 16:46:45 +00:00
Matthew Meszaros 96970a1be9 Merge pull request #1211 from warmbly/fix/ios-initial-password
feat: replace an issued initial password in the iOS app and send older app builds to the web
2026-11-09 16:40:35 +00:00
Matthew Meszaros 8586d794cd feat: key OAuth Idempotency-Key records to the access grant, word the idempotency_outcome_unknown guidance around the 24-hour key lifetime and confirming the change did not happen, note that a 429 never clears a recorded outcome and a gateway 5xx leaves the key unused, carry the error code out of the retry example, and bound the live test's wait for a held request 2026-11-09 17:33:28 +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 dc134a55dc Merge pull request #1216 from warmbly/fix/orgtransfer-integrations-tracked-links
feat: carry integration credentials and direct-mail click tickets through workspace archives
2026-11-09 16:30:36 +00:00
Matthew Meszaros 29a59e1d73 feat: list a tester who owns several Test workspaces with the one sample data can still be added to (eligible first, then unseeded, then oldest) in GET /admin/testers, cover it with a live repository test run in CI, and note the rule in the endpoints and accounts-and-access docs 2026-11-09 17:26:56 +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 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 1211340960 feat: cancel leased retired self-execution commands when a mailbox is handed back to Cloud, releasing only sends that never started 2026-11-09 17:13:05 +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 878a962357 feat: page form submissions by an opaque (created_at, id) cursor that keeps microseconds while still accepting the legacy before timestamp, and keep every loaded submissions page in the dashboard live by re-reading the loaded window on realtime refreshes, appending older pages into it and removing deleted rows optimistically 2026-11-09 17:08:11 +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 6d8706e417 feat: claim a scheduled unibox email only from pending so a cancelled scheduled email is never dispatched, make DELETE /unibox/scheduled/:task_id a compare-and-set that answers 409 scheduled_send_not_pending once the send has left pending, treat that code as already sent in the outbox pill, document it in the unibox reference, error codes and OpenAPI, and run the cancel-versus-claim regressions in the live-1 PostgreSQL job 2026-11-09 17:03:34 +01:00
Matthew Meszaros 1e9594f6c0 feat: key Idempotency-Key records to the calling credential and the concrete resource path, record each outcome on a context detached from the request, free the key after a 401/403/429 refusal, and answer 409 idempotency_outcome_unknown after a server error, panic or abandoned request, with live PostgreSQL tests wired into CI and the retry-safety, authentication and error-code docs updated 2026-11-09 17:02:06 +01:00
Matthew Meszaros bed4744c21 feat: let the iOS app replace an issued initial password at sign-in with a choose-and-confirm step that calls /auth/login/initial-password and continues into the emailed code or 2FA, declare it with supports_password_change on /auth/login, answer earlier app builds that omit it with initial_password_web_only so their holders finish first sign-in on the web, and document the field and code 2026-11-09 16:58:13 +01:00
Matthew Meszaros 3b96134813 feat: decide tester sample-data eligibility from the active tester and the dedicated Test workspace's unexpired managed grant instead of the outstanding initial password, expose it as sample_data_eligible on GET /admin/testers for the admin Testers button, cover replace-then-seed and reissue in a live repository test run in CI, and update the sample data docs 2026-11-09 16:57:04 +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 50001fa52e feat: report workspace risk on a projected full-day hold, cap the iOS ramp start at the current ceiling, and pin the restricted ramp projection test to its expected three sends 2026-11-08 14:37:56 +01:00
Matthew Meszaros 2dc2298a84 feat: apply workspace risk after the campaign ramp and graduation in the launch projection as the scheduler does, send ramp numbers from campaign settings only while the schedule is on, label the ramp inputs for screen readers, show the ramp preview's real steady day, accept the full 1 to 5000 ramp range on iOS, drop the unsupported daily-limit advice for a ramp bottleneck and require schema 370 in the graduation live test 2026-11-08 14:25:52 +01:00
Matthew Meszaros 18af55d9c6 feat: add a per-campaign ramp-up choice (as replies come in, on a schedule, full volume) to the campaign wizard, campaign settings, iOS and the API via warmup_graduation, model both ramps in the launch estimate, start the schedule ramp at its start value on day one, and document it 2026-11-08 13:55:52 +01:00
Matthew Meszaros 8de58123a3 Merge pull request #1204 from warmbly/t3/1d373c01
feat: balance warmup recipients by provider and withhold placement shares below 10 receipts
2026-11-08 12:39:12 +00:00
Matthew Meszaros d19685eced Merge pull request #1203 from warmbly/t3/debec11f
feat: region segments and sending in each lead's local time from imported location data
2026-11-08 12:36:38 +00:00
Matthew Meszaros 9d7d25c796 feat: label withheld warmup placement counts as non-spam, show the non-spam count in the window cells below the share floor, cap the receipt squares before allocating, state which placement rates the API withholds, and cover Yahoo, host rows and the squares in the tests 2026-11-08 13:26:44 +01:00
Matthew Meszaros fcb508e6e8 feat: give Google, Microsoft, Yahoo and other providers an equal share of warmup recipients before splitting by mail host in pickWeightedPartner, and show counts with one square per receipt instead of placement shares below 10 classified receipts in the warmup provider breakdown and receipt cells 2026-11-08 13:14:54 +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 39ab064a0c feat: keep recipient-local campaigns sending past a lead whose morning falls outside mailbox hours, recheck within 15 minutes while stored zones catch up, plan over every lead zone up to the UTC budget reset, match no contacts for an unknown world region, and make the lead timezone card and Split by region keyboard, daylight-saving and UTF-8 safe 2026-11-08 12:58:14 +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 fd87346e16 feat: keep console diagnostics for caught errors whenever no error backend actually loaded, handing the errors held for a blocked SDK to the console, and strip URL credentials before cutting the query so a password holding a question mark or hash is never reported 2026-11-08 10:52:41 +01:00
Matthew Meszaros 023e5f1cab feat: strip credentials, query and fragment from every URL in a reported error's text with one pattern, report every admin route error once through RouterProvider onError instead of the route boundary and React Router's console log, and keep console diagnostics for caught render errors when no error backend is configured 2026-11-08 10:35:17 +01:00
Matthew Meszaros 3cf3c772ba feat: stop reporting RESOURCE_NOT_FOUND from the worker to error tracking, since a folder or message gone from the server is absorbed by the folder walk re-listing and still relayed to the consumer 2026-11-08 10:20:15 +01:00
Matthew Meszaros 59ec622253 feat: classify an IMAP sign-in refusal through the login throttle check before the missing-mailbox override, and redact the longest request URLs first so a URL that prefixes another leaves none of its query in a reported error 2026-11-08 09:56:54 +01:00
Matthew Meszaros 05d61c7635 feat: strip the query from every failed request in a reported error tree, including joined errors, unparseable URLs and quoted queries, and keep an IMAP sign-in refusal worded as a missing mailbox classified as an unknown IMAP error rather than a missing folder 2026-11-08 09:46:09 +01:00