Commit Graph
186 Commits
Author SHA1 Message Date
Matthew Meszaros c499230823 feat: add opt-in SERVE_TLS listeners to backend, forms, tracking and realtime, pin forms and tracking to the backend certificate with BACKEND_INTERNAL_CA, and stage the AWS runtime onto HTTPS target groups and a TLS internal hop through target_tls (off, serve, both, on) with mocked terraform tests 2026-10-31 11:28:28 +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 44608ab21f Merge pull request #1058 from Tugser/codex/remie-final-response-regressions
feat: complete Remie runs within budget and preserve completed tool history
2026-10-30 12:51:43 +00: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 610538f08c feat: block retired diagnostic wording in warmup replies and queued sends while rejecting duplicate batch content 2026-10-30 07:06:45 +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 bcef5d160f feat: enforce hosted SMTP authentication policy across mailbox negotiation and platform relays while preserving self-host compatibility 2026-10-28 09:49:27 +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
Tugser OKUR 21dd0ce063 feat: document Remie regression contracts and tool discovery behavior with concise Go function comments 2026-10-26 14:38:25 +03:00
Tugser OKUR d3422047cd feat: preserve Remie final answers and completed tool history within the run budget with provider and cancellation regression coverage 2026-10-26 14:17:25 +03: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 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 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 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 3532039037 feat: explain each refused mailbox connection in plain words with what to do (a host on a private network address, sign-in offered only unencrypted, no STARTTLS, no supported AUTH mechanism, an unverified or unpinned certificate, a send whose content could not be decrypted) in the connection test, stored mailbox errors and import causes, add an optional reason to API error responses with certificate_untrusted on mailbox_tls_failed for the dashboard's trust option, and treat tls_unverified and tls_pin as post-fixture fields in the Avro envelope test 2026-10-23 19:52:54 +02: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 94095b9512 feat: merge context-escaped html/template campaign bodies, bounded template execution, uniform fail-closed decryption on the send path and counted legacy plaintext secret reads with instance-mode resealing 2026-10-23 16:08:49 +02:00
Matthew Meszaros 60cef7bcdc feat: return one uniform decrypt error from the org cipher and the instance encrypter for malformed, short, tampered or foreign-key ciphertext, and answer a send whose subject or body cannot be decrypted or whose workspace key cannot be loaded with EMAIL_FAILED and a fixed reason through failSend, logging only the failure class and never sending 2026-10-23 16:07:55 +02:00
Matthew Meszaros 1a77dbbd2b feat: bound template execution in tmplfuncs by refusing call, capping printf/print/println/html/js/urlquery/join output, metering range steps, limiting variables to 64 and function arguments to 32, adding a context-escaping CompileHTML, and make the integration fallback a single non-rescanning pass under the same output cap 2026-10-23 16:07:43 +02:00
Matthew Meszaros 976c99b4aa feat: decode mail autoconfig and ISPDB XML in strict mode with a 64 KiB bound, refusing any document that carries a DTD or other directive before it is parsed 2026-10-23 16:02:59 +02:00
Matthew Meszaros d7bacf6112 feat: check every mailbox SMTP and IMAP dial against its resolved peer address in netbind, refusing loopback, private, link-local, CGNAT, multicast and metadata addresses on hosted production and wherever MAIL_ALLOW_PRIVATE_HOSTS=false, render that resolved policy into each joining node's env, and honour WARMBLY_ALLOW_UNSAFE_WEBHOOK_URLS only on self-hosted or development instances 2026-10-23 16:02:52 +02: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 95b4ca8c5e feat: refuse a malformed credential encryption key with a fixed message in encrypt.NewEncrypterFromHex and warmblyctl keys so the error never quotes key material 2026-10-22 15:55:46 +02:00
Matthew Meszaros 3518708a99 feat: add warmblyctl keys status, reseal and generate to count instance-key ciphertext by the key that opens it and move read-key values onto the primary with resumable compare-and-swap writes, and keep sealed-format OAuth values no key opens untouched 2026-10-22 15:24:33 +02:00
Matthew Meszaros fdea749005 feat: preserve encrypted credentials and MFA enrollments across staged key rotation with scoped token grace periods 2026-10-22 12:37:19 +02:00
Devin AI a2e81c2ef5 feat: keep Graph complaint reports retryable across temporary raw message failures and bound MIME depth, parts and decoded content before admitting an arrival 2026-10-19 06:19:42 +00:00
555aaditya 3386052ce8 feat: detect spam-complaint feedback reports on Microsoft Graph mailboxes by reading the report parts from the message's raw MIME when the synced rendered body cannot name the send, and drop the deliverability docs callout saying Graph complaints are not detected 2026-10-19 01:52:36 +05:30
Matthew MeszarosandDevin AI 04cd135503 feat: keep Remie OpenAI requests within the tool limit using permission-scoped discovery for built-in and MCP capabilities
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-17 03:27:56 +00:00
Matthew Meszaros 8b9c9b3b70 feat: carry the stored inbox-tagging verdict (ai_labels, ai_intent, ai_intent_confidence, ai_kind, ai_relevance, ai_needs_review) on campaign.reply_received, offer it in the automation condition picker, match list fields by whole item in contains conditions and the new has/join template helpers, and title Slack and Discord reply messages with the tagging labels 2026-10-16 06:56:45 +02:00
Matthew Meszaros 8c06efc6e4 feat: ship the iOS app to TestFlight from GitHub Actions on merges touching ios/ (ios-release workflow with cloud-managed signing, shared Warmbly scheme, ExportOptions, iPhone-only 1.0.0, privacy manifest), add in-app account deletion and a read-only billing page, let admins exempt an existing account from the emailed login code for App Review, read Apple .p8 keys as PEM or base64 through one applekey parser for Sign in with Apple and APNs, and document the release flow and Apple web sign-in setup 2026-10-12 10:38:14 +02:00
Matthew Meszaros ec46f57d22 feat: redesign the iOS app (inbox with inbox agent drafted replies edited in the full composer, Remie, home, analytics, CRM, contacts, settings hubs, mailbox connect flow covering every dashboard source) and replace Turnstile in the app with Apple App Attest (attested keys in app_attest_keys, challenge and key endpoints, verifyHuman gate on login, registration and password reset, auth config flag, docs and OpenAPI) 2026-10-11 19:00:50 +02:00
Matthew Meszaros 582c1aaaa4 feat: preserve fail-closed fleet enrollment fixtures and independent broker deadlines while honoring bounded evidence upload rate limits 2026-10-10 06:57:13 +00:00
Matthew Meszaros 9081b1bce0 feat: add proof-preserving one-use admin device sessions and bounded enrollment-authenticated worker evidence with scoped Kafka partition diagnostics 2026-10-10 06:14:52 +00:00
Devin AI 445e014b5e feat: recover mailbox synchronization across Gmail Outlook and IMAP with encrypted arrival replay and safe worker lifecycle 2026-10-09 14:24:10 +00:00
Matthew MeszarosandDevin AI d3c6efdc46 feat: retire proven-unstarted warmup reservations and request worker reloads for missing mailboxes
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-08 16:55:05 +00:00
Matthew MeszarosandDevin AI 46673a0cb8 feat: keep worker startup reload requests pending when the backend returns a null heartbeat reply
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-08 11:08:09 +00:00
Matthew MeszarosandDevin AI c687b6fd78 feat: retry unacknowledged worker startup heartbeats and show provider-specific warmup failure guidance
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-08 10:57:15 +00:00
Matthew MeszarosandDevin AI ddbcffe263 feat: honor shared TypeSafe billing recovery before local fallback and cover cross-process resume with a Redis regression
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-08 04:37:56 +00:00
Matthew MeszarosandDevin AI e02655fd89 feat: coordinate TypeSafe billing recovery across backend and consumer, attribute token usage and reuse copy judgments during cache outages
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-08 04:28:37 +00:00
Devin AI 8a45508e79 feat: enforce shared outbound capacity and directional diagnostic consent across campaign manual warmup and seed dispatch with transactional result outbox bounded Gmail Graph DKIM audited repair holds and legacy upgrade gates 2026-10-07 14:02:11 +00:00
Devin AI 8e53fc7027 feat: integrate warmup observation evidence canonical diagnostics send-result recovery cloud trust exact-parent lineage durable dispatch portability and legacy compatibility 2026-10-07 12:38:58 +00:00
Matthew MeszarosandDevin AI 925e0edc31 feat: proxy dashboard and editor image previews with SSRF-safe bounded fetching while preserving original customer email URLs
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-06 07:28:25 +00:00
Matthew MeszarosandDevin AI f56278488f feat: keep worker farewell heartbeats independent of IP discovery and identify CPU-set resource scope accurately
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-05 11:43:16 +00:00
Matthew MeszarosandDevin AI 5ae09e0e15 feat: separate fleet mailbox targets from measured CPU and RAM, report node public egress IPv4 and add workload share analytics
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-05 11:24:32 +00:00
Matthew MeszarosandDevin AI 0ea856537e fix(security): drop jwt-go via first-party Apple auth, bump yoke-derive, grant checks:write to rust audit
Refs WAR-10

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-04 18:36:28 +00:00
Matthew Meszaros 79bf9a15c4 feat: refuse a pasted list of addresses where one recipient address is expected, so no listed recipient is silently dropped 2026-10-04 05:21:36 -07:00
Matthew Meszaros 3d1e117ea6 feat: show campaign names in auto-pause and provider-refusal notifications through displayname.DisplayableOr with a neutral fallback, and leave an inbound reply's subject out of notification emails while the in-app feed keeps it 2026-10-04 03:03:52 -07:00
Matthew Meszaros 12563982cc feat: pass pool-link instance names and CLI device-code client names and hostnames through the workspace naming rules with displayname.CleanOr, falling back to Self-hosted instance and Warmbly CLI, keep only the machine label of a CLI hostname, and clip versions on rune boundaries 2026-10-04 03:03:52 -07:00
Matthew Meszaros 43a9d004f2 feat: bound user-authored templates (range only over data fields, two-deep nesting, no template calls, 1 MiB output, capped compile cache) for campaign and automation rendering, accept only single addresses and single Message-IDs for to/cc/bcc/in_reply_to on every send path with invalid_recipient and invalid_message_id, refuse multi-line headers in the Gmail, Graph and SMTP writers, always apply a no-script CSP and drop non-http(s)/mailto/tel link targets in email previews, treat only single-slash paths as internal Remie links, accept integration OAuth callbacks only from the API origin, and follow only http(s) form redirects and app install links 2026-10-04 03:02:37 -07:00
Matthew Meszaros 8bb60e9449 feat: accept only Salesforce domains as an org's API host and call it through the SSRF-guarded client, register the Warmbly Cloud link only on self-hosted instances behind the instance admin with a second factor and dial it through safehttp with fixed error text, keep automation signing secrets in the sealed connection config, answer integration service failures with fixed messages, add security headers to the forms, tracking and docs origins and TLS 1.2+ to the nginx template, compare the captcha bypass in constant time, require TLS 1.2 for IMAP probes, and drop the unused RSA helpers 2026-10-04 02:58:43 -07:00