Commit Graph
663 Commits
Author SHA1 Message Date
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 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 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
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 57993250b4 feat: send natural undisclosed warmup threads from a hand-written library plus the AI bank, rotate content by 30-day per-mailbox recency instead of deferring when fresh content runs out, refuse self-describing warmup wording on every turn and keep DKIM verification for new threads 2026-10-30 08:56:18 +01:00
Matthew Meszaros 14134886f4 feat: exercise approved warmup dispatch and historical-content denials in CI and mailbox import regressions 2026-10-30 07:30:36 +01:00
Matthew Meszaros b098bcc567 feat: account for both warmup participants in pool replenishment and preserve retryable content repository failures 2026-10-30 06:42:52 +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 07a4557481 feat: preserve Advisor API status defaults while requesting open dashboard suggestions and coalescing campaign refreshes 2026-10-28 11:45:53 +01:00
Matthew Meszaros 42b3ae7b8f feat: keep campaign Advisor suggestions current after edits and use conservative copy reviews for relevant outreach 2026-10-28 11:34:30 +01:00
Matthew Meszaros c40fa5af29 feat: refund AI writing credits even after the caller disconnects, dismiss the editor AI caret and edit cards through useClickOutside with a dismiss cause, clear the last run's usage when a new run starts, start and stop subject ideas from the open state so Ctrl+J offers ideas and picking one stops the stream, and split pasted block styles outside url() and quotes 2026-10-27 07:55:30 +01:00
Matthew Meszaros 834935b879 feat: stream AI writing into the campaign email editor over SSE with a live tinted caret, Stop, and a review menu (keep, try again, refine, discard) for Ctrl+J, Edit with AI, Write with AI and subject ideas, plus plain-text mode, paste colour cleanup, deliverability rewording, bulk signatures with sender tokens and send-time additions 2026-10-27 07:36:02 +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 4a709b6573 feat: log a warning instead of refusing node join and env when the hosted backend URL is not HTTPS, use structured logging for legacy node tokens, point the avatar URL example at the public object route, and add tests for public object headers, hosted webhook dial refusal and tampered or foreign-key send decryption 2026-10-26 07:48:36 +01:00
Matthew Meszaros 35a782a5e0 feat: check that lead sync, Salesforce and Apollo source campaigns and categories and Apollo enrichment contacts belong to the caller's workspace (lead_sync_target_not_found), answer a missing A/B test as not found, and add live cross-workspace tests for CRM sync, meetings, lead sync, website tracking, campaign children, form links and identify tickets 2026-10-26 07:48:36 +01:00
Matthew Meszaros b7cc259bec feat: merge per-workspace custom host confinement for forms and tracked links, one workspace per forms domain (migration 000327) and the workspace-bound TXT proof for new forms and tracking domain verifications into the tenant-scoped hosts branch 2026-10-26 07:02:08 +01:00
Matthew Meszaros 3e64acf464 feat: serve only a workspace's own forms and tracked links on its custom domain, keep each verified forms domain to one workspace (migration 000325), and require the workspace's _warmbly TXT ownership record beside the CNAME for new forms and tracking domain verifications, with the record shown in the dashboard and API 2026-10-26 07:00:29 +01:00
Matthew Meszaros ba32a208fe feat: name the edge and node token route group test distinctly from the node route edge token test 2026-10-26 06:58:50 +01:00
Matthew Meszaros dec13b1503 feat: merge fresh authentication on member, role, billing, credit, API key and webhook routes, reset tokens in the URL fragment, refused repeated OAuth form parameters and the 48-hour invitation and tester expiry cap into the tenant-scoped hosts branch 2026-10-26 06:56:09 +01:00
Matthew Meszaros 75452ada8c feat: merge per-node fleet credentials, the resolved deployment mode in node env, worker env without instance credential keys, hosted-only TLS verification for the platform relay and XOAUTH2, instance-mode credential reseal, broker access logs for node env and cloud-link tokens and the TWOFA_SECRET floor into the tenant-scoped hosts branch 2026-10-26 06:54:44 +01:00
Matthew Meszaros b152336626 feat: state the auth rate limit, login gate, admin second factor, broker access log, outbound webhook URL validation and unibox tag scoping comments as the invariants the code holds 2026-10-26 06:54:02 +01:00
Matthew Meszaros 4ff10e3612 feat: require a fresh confirmation from session callers for member removal, custom role create/edit/delete, subscription checkout, billing portal, plan change and cancel, AI credit checkout and spend settings, pool-link checkout, API key edits and webhook endpoint create/edit, hold the matching assistant tools to the same gate, prompt for it when removing a member in the iOS app, and list every gated route in the endpoints, error-codes, security and assistant docs 2026-10-26 06:53:24 +01:00
Matthew Meszaros 06a6cb0a6c feat: refuse a form that sends any parameter more than once on POST /v1/oauth/token and POST /v1/oauth/revoke with 400 invalid_request per RFC 6749 section 3.2, with handler tests and the rule documented in api/oauth.mdx and api/error-codes.mdx 2026-10-26 06:53:10 +01:00
Matthew Meszaros 0f1672f728 feat: test that node-only internal routes refuse the edge services' token unless an operator opts in, and that a reply's own-conversation claim never crosses into another workspace holding the same inbox address 2026-10-26 06:52:17 +01:00
Matthew Meszaros d5fb0d5a3b feat: hand each fleet node only its own env by verifying a join-issued per-node NODE_CREDENTIAL stored hashed on fleet_nodes, render the resolved DEPLOYMENT_MODE, keep the instance credential keys and the local KMS master key off workers by brokering local KMS for them, require an https control-plane address on hosted production, and log every node env hand-out 2026-10-26 06:51:01 +01:00
Matthew Meszaros 0b8c7908e9 feat: log every managed-mailbox access token hand-out and refusal on the internal cloud-link token route through the broker access log, and test that the blob presign broker refuses and logs keys outside the node prefixes including traversal 2026-10-26 06:49:39 +01:00
Matthew Meszaros f5dadf5f9b feat: load the mailbox through the organization-scoped repository before reading its seed scope when starting or resuming warmup, and add cross-workspace tests for CRM, segments, templates, teams, webhooks, automations, export archives, agent sessions, public object prefixes, node and edge token separation and realtime channel joins 2026-10-26 06:25:04 +01:00
Matthew Meszaros d57973a6d4 feat: answer every realtime HTTP path other than the health probe with an empty 404, and add tests for admin route MFA refusal, Origin never granting API access, and public object directory paths 2026-10-26 06:16:59 +01:00
Matthew Meszaros e44ec03cde feat: render campaign copy once after the A/B variant pick, escape reply template HTML previews in one pass, keep revoked session tombstones for the session cache lifetime and fill the cache with SetNX, refuse realtime socket tickets whose single use cannot be recorded, clear workspace-derived dashboard storage on logout, and add tests for session deadlines, password change revoke order, fresh auth, emailed code budgets, join token rotation, gin release mode, panic bodies and the auth secret floor 2026-10-26 06:13:59 +01:00
Matthew Meszaros 88e4370f1f feat: merge main into the mailbox, session and input validation branch, move the resolved MAIL_ALLOW_PRIVATE_HOSTS and MAIL_TLS_INSECURE node env lines into fleetnode.RenderEnv, renumber the mailbox TLS pin migration to 000324, and keep both sides of the configuration reference 2026-10-24 12:20:12 +02:00
Matthew Meszaros b3d8c5acfd Merge pull request #1045 from warmbly/feat/release-auto-deploy
feat: release auto-deploy to AWS, fleet canary waves, in-AWS key rotation and Terraform CI
2026-10-24 07:53:36 +00:00
Matthew Meszaros 21acf00257 feat: resume a key rotation stage that died part way from its saved intent with per-phase state tokens, deploy all to only the ECS services an install runs, fail updater --check-env while another update holds the lock, keep the running image when adopting a node, judge rollout liveness on the service clock, deny the CI roles changes to their own permissions, and validate the Terraform plan class before acting on it 2026-10-24 09:34:01 +02:00
Matthew Meszaros 98e4b10141 feat: add an admin Sends > Holds tab and POST /admin/sends/holds/:id/resolve for recording provider-checked outcomes on held mailboxes, count send holds only on switched-on mailboxes past the in-progress window, narrow failed-send monitoring to mailbox failures without a later confirmed send, and show broker lag as a measurement instead of an attention signal 2026-10-24 09:14:02 +02:00
Matthew Meszaros 9c2cffae58 feat: deploy stable releases to AWS automatically with provenance checks, a migration gate, alarm-watched waves and reverse rollback, move worker and consumer hosts in canary rollouts with host-side health rollback and opt-in env refresh, rotate instance keys inside AWS through a rotator task and the rotate-keys workflow, plan and apply the AWS Terraform from CI with approval for replacements, and add the admin Keys tab and the matching runbooks 2026-10-24 09:10:52 +02:00
Matthew Meszaros 9be5c8a3c3 feat: give API refusals stable codes and actionable messages (attempt_check_unavailable and code_lookup_limited with Retry-After, account and workspace standing codes, session_ended, reset_link_invalid, sessions_not_ended, api_credentials_revoke_unsupported, invitation_expired, image_unreadable and the other image upload codes, own-domain redirects naming the allowed domains, Pipedrive reload guidance, duplicate parameters, structured forms service errors), and show them in the dashboard, admin panel and warmbly CLI 2026-10-23 19:53:03 +02:00
Matthew Meszaros cc1dc2f64c feat: answer refused realtime handshakes with a JSON code and reason, name a reused ws ticket or signed-out session, use the not_a_member slug on org joins, warn at boot when REALTIME_ALLOW_QUERY_CREDENTIALS is on, stop the admin socket reconnecting on admin_mfa_required, not_an_admin and jwt_required with a clear message, and have the seeder, updater, webhook and notification URL checks, instance health, fleet join and log mail transport say which setting applies and what to do 2026-10-23 19:53:03 +02:00
Matthew Meszaros 911ed27b86 Merge pull request #1033 from 555aaditya/fix/audit-oauth-applications
feat: audit workspace OAuth app writes and refresh teammates' app lists through the realtime audit spine
2026-10-23 15:48:45 +00:00
Matthew Meszaros 03fd30f9bc feat: merge decoded-byte image validation with download-safe serving, own-domain form and domain redirects, TLS-only SMTP AUTH negotiation and pinned per-server certificate opt-outs, with MAIL_TLS_INSECURE honoured on self-hosted and development instances and resolved by the control plane for joining nodes 2026-10-23 16:20:30 +02:00
Matthew Meszaros 573e79ce8e feat: store each SMTP/IMAP server's certificate opt-out and pinned SPKI SHA-256 on email_accounts_smtp_imap (migration 000326, expand-only), carry tls_unverified and tls_pin in ADD_EMAIL, Cloud enrolment and vendor reconnect, keep an opt-out only for a certificate that fails CA verification and pin it to what the connection test saw, keep it across a credential change for the same host, name the presented certificate in a TLS refusal, and add GET /emails/:id/certificates plus session-only check and confirm endpoints that pin the fingerprints the owner confirmed 2026-10-23 16:15:55 +02:00
Matthew Meszaros dba87e8d74 feat: merge fail-closed ban and attempt-budget reads, 48-hour invitations and tester passwords with one-click resend, transactional invitation consumption, development-only seeding and redacted log mail links 2026-10-23 16:06:29 +02:00
Matthew Meszaros 68c87cb751 feat: merge resolved-peer address checks on every mail dial, strict bounded autoconfig XML, shell-free updater commands and refusal of repeated single-valued query parameters and credential headers 2026-10-23 16:04:08 +02:00
Matthew Meszaros 9bb0a39e96 feat: answer a repeated single-valued query parameter with 400 duplicate_query_parameter and a repeated Authorization, X-Warmbly-Token, Idempotency-Key or Origin header with 400 duplicate_header on the API and forms service, keep the documented list parameters repeatable, fold X-Forwarded-For lines and read the last line of the other forwarding headers there and in the tracking service 2026-10-23 16:03:06 +02:00