Commit Graph
2464 Commits
Author SHA1 Message Date
Matthew Meszaros b4c7067174 feat: mark the brokered mailbox sign-in's browser-binding cookie Secure in every environment except plain-http development, and post the binding value from the consent page in a form body to POST /addresses/connect/continue while still accepting the query form from pages the previous release rendered 2026-10-23 15:50:13 +02:00
Matthew Meszaros 0c40e53e02 feat: bind each realtime ws ticket to the session that minted it and accept it once while that session is live, require a second-factor session to join admin:platform, confine API key and OAuth sockets to their own workspace with member permissions narrowed to their read scopes, and refuse those credentials in the socket URL unless REALTIME_ALLOW_QUERY_CREDENTIALS=true 2026-10-23 15:48:00 +02:00
Matthew Meszaros a786d26fa3 feat: require every Pipedrive panel and modal token to carry an issued-at within 15 minutes or an expiry within 24 hours and refuse one with neither, and answer the Pipedrive app routes with Referrer-Policy no-referrer and no-store so the signed query token is never passed on 2026-10-23 15:47:31 +02:00
Matthew Meszaros 31aadd0304 feat: run the dev seeder and the sandbox seed and simulator only when APP_ENV is explicitly dev, development or local, refusing an unset or production APP_ENV before anything is written, and document the guard on the first-run and sandbox pages 2026-10-23 15:46:52 +02:00
Matthew Meszaros e0a97ef520 feat: end other sessions before a signed-in password change is stored and refuse the change when that fails, add an optional revoke_api_credentials to the change and reset that also revokes the user's OAuth grants and the API keys they created, exchange the emailed reset link for an opaque reset session through POST /auth/reset-password/session so the confirm step carries no token in its URL, and add the sign-out-apps checkbox to the dashboard's change-password dialog 2026-10-23 15:45:51 +02:00
Matthew Meszaros 6bb947d4b9 feat: consume a workspace invitation in the same transaction that grants its membership so a failed consume rolls the membership back, keep expired invitations instead of deleting them on an accept attempt, and revoke the API key a CLI sign-in approval created when the approval cannot be recorded 2026-10-23 15:45:03 +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 8d2fd3f1f7 feat: charge every CLI sign-in and warmup pool link code lookup, approval and denial to a 30-per-minute budget per signed-in member that refuses with a retryable 503 when the budget cannot be checked, documented in the endpoint scope map 2026-10-23 15:43:12 +02:00
Matthew Meszaros b14e1b1679 feat: refuse sign-in, emailed-code, two-factor, SSO-link and re-authentication checks with a retryable 503 when their attempt budget cannot be charged, and refuse password, passkey and two-factor sign-in and workspace creation when the account's ban or two-factor state cannot be read 2026-10-23 15:41:36 +02:00
Matthew Meszaros 208ed1e344 feat: treat a session's expires_at as an absolute deadline so access tokens and POST /auth/refresh are refused past it, cap rotated access and refresh tokens at the session's expiry, and document the 180-day session lifetime 2026-10-23 15:35:37 +02:00
Matthew Meszaros a642ce50ed feat: connect existing delegated Google and independent app-password Cloud mailboxes while preserving history and adding bulk connection recovery 2026-10-23 15:27:05 +02:00
555aaditya 6b0906a351 feat: audit workspace OAuth app create, edit, delete, client and webhook secret rotation and logo changes as oauth_application entries, and refresh teammates' app lists through the realtime audit spine 2026-10-23 18:47:35 +05:30
555aaditya fe6f6a5388 feat: read every column of a Google Sheets lead-sync tab (A:ZZZ, which Sheets trims to the used columns) instead of stopping at column Z, with the first leadsync test covering the A1 ranges 2026-10-23 18:41:17 +05:30
Matthew Meszaros 19c7eb13dc Merge pull request #1030 from warmbly/feat/mailbox-credentials-org-dek
feat: seal mailbox credentials under KMS-protected workspace keys
2026-10-22 17:46:26 +00:00
Matthew Meszaros 96f3d62081 feat: resolve the workspace key before locking a mailbox's credential rows in the reseal job, lock OAuth before SMTP/IMAP like the app-password conversion, and log each mailbox the reseal could not move 2026-10-22 19:25:54 +02:00
Matthew Meszaros 0156177c74 feat: let whichever of the warmup placement and its rescue outcome is recorded first fix the receipt's placement group and host so both always count on the same placement row 2026-10-22 19:23:16 +02:00
Matthew Meszaros 219f428208 feat: store each warmup receipt's placement group and host at arrival so rescue outcomes land on the same placement row, leave rescues that never ran unreported instead of failed, and label rescue outcomes as confirmed out of spam with a wrapping summary in the mailbox placement tab 2026-10-22 19:11:28 +02:00
Matthew Meszaros 2f42afa78f feat: report each warmup spam rescue's outcome from the recipient worker into placement history and the mailbox placement tab, rescue only mail that arrived in spam, and follow bounded Graph continuations when resolving warmup messages by Message-ID 2026-10-22 19:11:28 +02:00
Matthew Meszaros b6196f8666 feat: count workspace-sealed mailbox credentials separately in warmblyctl keys status and reseal, scan KeyDomainMailbox columns under the instance key, and report sealed-format values no key opens as unreadable instead of legacy plaintext 2026-10-22 19:11:23 +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
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
Matthew Meszaros ee8581136e feat: require direct database sessions and verify authenticated worker dependencies during AWS deployment 2026-10-22 11:01:04 +02:00
Matthew Meszaros 90413bc6fe feat: align AWS migration setup with current self-hosted mailbox organization handling 2026-10-22 09:01:37 +02:00
Matthew Meszaros 99357a6823 feat: add Terraform AWS hosting with optional Postgres pooling and migration-gated deployments 2026-10-22 08:57:54 +02:00
Matthew Meszaros 417c002213 feat: carry the mailbox organization through repository lookups so hosted and cloud-connected warmup settings saves retain workspace identity 2026-10-22 07:09:30 +02:00
Justin Willhite 87af88d07b feat: match a bare contact address against from_addr entries that carry a display name in GetBySender, so an AI switch step sees the contact's reply, with a live test run in CI 2026-10-21 20:54:20 +00:00
Matthew Meszaros 0d8a1c5dd9 feat: make the 000320 rollback refuse instead of deleting credentials_reverified history and say sending resumes after a verified reconnect only when no other send safety hold remains 2026-10-21 12:01:29 +02:00
Matthew Meszaros 09e9a299a7 feat: release an authentication send hold when a reconnect passes the provider's login check, recorded as credentials_reverified in migration 000320, expose send_recovery_reason on mailbox status and show the reconnect button under the drawer's health when sending is held for authentication 2026-10-21 12:01:28 +02:00
Matthew Meszaros 9c42b7b7ee feat: let a mailbox's single pending warmup reply be pulled earlier to its 45-minute floor when its schedule changes, never pushed later, with a live test against the one-pending-task model 2026-10-21 10:38:03 +02:00
Matthew Meszaros e62d80fa58 feat: keep spread warmup reply-backs and deferred warmup sends inside short warmup windows and date an overdue next-warmup label in the mailbox list 2026-10-21 10:34:22 +02:00
Matthew Meszaros 494ed2c06f feat: re-place parked warmup and campaign wakeups when mailbox behaviour, warmup hours, timezone, caps, tags, campaign pacing or the workspace timezone change, retire stranded warmup preparations with refunded charges or unsent tokens so they stop blocking mailboxes, spread window-opening reply-backs and deferred sends, and show the next queued warmup send in the mailbox list and drawer 2026-10-21 10:34:22 +02:00
Matthew Meszaros fdc9b2f430 feat: cap persona-biased warmup engagement chances at 98 percent so no pool mailbox rescues, reads or marks a sender's mail every single time, while an explicit 100 percent setting still always acts 2026-10-21 09:07:09 +02:00
Matthew Meszaros 2fcc56518e feat: log and leave to the warmup reconciler a failed reschedule after a warmup thread closes, and describe recovery replies in the warmup guide as a 60 percent chance when the recipient's next send is free 2026-10-21 07:34:06 +02:00
Matthew Meszaros 43112e5c4d feat: keep recovery spam rescue at a 95 percent floor through each mailbox's persona bias instead of rescuing every landing, so no pool mailbox rescues a recovering sender's mail every single time 2026-10-21 07:32:47 +02:00
Matthew Meszaros dbed87ce55 feat: keep watch-band mailboxes warming at full volume with recovery replies, spam rescue and importance from the pool, hold one pending warmup task per mailbox so replies stop stacking and crowding out new threads, close expired replies on first fire, cancel existing duplicate schedules in migration 000319, and count slowed mailboxes as warming rather than needing attention on Emails 2026-10-21 07:32:47 +02:00
Matthew Meszaros ddecd1e65a feat: compare presented SMTP and IMAP passwords with crypto/subtle.ConstantTimeCompare when pool link enrollment adopts the workspace's existing Cloud mailbox 2026-10-21 06:38:13 +02:00
Matthew Meszaros f8fbca7cbb feat: adopt the linked Cloud workspace's own SMTP/IMAP mailbox on self-hosted enrollment when the server presents its exact stored credentials and no active Cloud campaign sends from it, instead of answering pool_link_mailbox_conflict, with tests and Warmbly Cloud and error code docs 2026-10-21 06:20:14 +02:00
Devin AI 348dd803d3 feat: reserve Unibox search migrations after released warmup retirement and preserve retirement evidence through search rollback 2026-10-20 07:51:13 +00:00
Devin AI 7e19faa5e9 feat: incorporate released warmup retirement migration before reconciling Unibox search versions 2026-10-20 07:45:04 +00: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
Devin AI 214428e2a5 feat: make monitoring permission evidence assertions clock-deterministic and isolate Unibox benchmark request deadlines 2026-10-20 06:27:50 +00:00
Devin AI 68dcaa7893 feat: keep Unibox search mailbox scoping in index scans and cover broad body prefixes, filters and representative ties 2026-10-20 06:14:18 +00:00
Devin AI acbb701a82 feat: index Unibox participant searches, propagate interrupted reads and page conversations before aggregating thread state 2026-10-20 05:57:27 +00:00
Matthew MeszarosandDevin AI bf6a450aa9 feat: recover abandoned warmup preparations and expose durable send safety holds in mailbox health
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-20 03:50:35 +00:00
Matthew Meszaros 0e82f1827c feat: publish ACCOUNT_SYNCED for mailboxes the Warmbly Cloud settings sync changed with the job's own context instead of the pass deadline in internal/app/consumer/cloud_settings_sync.go, so an expired deadline cannot drop the event 2026-10-19 14:27:09 +02:00
Matthew Meszaros b2a89f8ce4 feat: stamp cloud_link_mailboxes.settings_observed_at before mirroring Warmbly Cloud warmup settings so an older report cannot overwrite a newer one, give each cloud link its own deadline in the settings sync, keep drawer edits made during a save or reverted to the stored value, and correct the cloud_warmup_not_applied docs 2026-10-19 11:48:47 +02:00
Matthew Meszaros 061c804062 feat: send the instance's mailbox timezone to Warmbly Cloud with every relayed warmup settings change in internal/app/email/cloud_warmup.go, so the Cloud window is always read in the instance's zone 2026-10-19 10:53:13 +02:00