aboutsummaryrefslogtreecommitdiffstats
path: root/src/m_email/EMailImapWorker.cpp
Commit message (Collapse)AuthorAgeFilesLines
* refactor(mail): centralize worker thread shutdownsaturneric2026-09-241-0/+13
| | | | | | | - add a shared bounded-stop helper for mail worker threads - reuse safe detachment behavior across mail dialogs and controllers - simplify public key conversion during email signing - apply formatting updates in module registration metadata
* refactor(modules): migrate to unified GFModule APIsaturneric2026-09-191-1/+1
| | | | | | | - replace legacy module utility includes across module sources - simplify bootstrap and translation registration macros - update module headers to use the unified public interface - replace secure object creation with SDK object factories
* feat(email): add validated folder listing cachesaturneric2026-09-141-0/+74
| | | | | | | | | - cache email folders and message pages across dialog reopenings - restore the last account and folder for faster navigation - validate cached listings with IMAP STATUS before reuse - invalidate stale pages when mailbox validators change - register folder validator types for queued worker signals - apply formatting cleanup in email sources
* fix(tls): preserve certificates per connectionsaturneric2026-09-131-15/+41
| | | | | | | - attach the verifier's certificate details to connection errors - prevent concurrent connections from overwriting certificate identity - bound message fetching by both server claims and an application limit - remove global certificate state clearing from IMAP and SMTP workers
* fix(imap): harden message fetching and searchsaturneric2026-09-131-18/+132
| | | | | | | | - fetch messages by stable UID instead of mutable sequence number - preserve sequence numbers separately for pagination cursors - reject unsafe search values and escape IMAP quoted strings - bound fetched message output to prevent excessive memory use - report messages removed from the folder with a clear error
* fix(email): harden mail delivery safeguardssaturneric2026-09-131-4/+9
| | | | | | | - refuse overwriting accounts from newer schema versions - preserve the resolved Sent folder in failure notifications - ignore stale or stopped Sent-copy connection callbacks - record certificate hostname validity and expiration details
* fix(email): secure password lifetime handlingsaturneric2026-09-121-9/+11
| | | | | | | - pass credentials through shared EMailSecret pointers - erase secrets when the final holder is released - avoid wiping detached QString copies during authentication - use credential existence checks without loading secret contents
* fix(email): scope cancellation to request sequencesaturneric2026-09-121-20/+82
| | | | | | | - associate cancellation state with each operation sequence - preserve queued stops until the targeted operation starts - prevent stale cancellation state from affecting later requests - reject cancelled IMAP and SMTP operations before network activity
* fix(email): clear cancellation after each requestsaturneric2026-09-121-38/+79
| | | | | | | - reset cancellation state when every IMAP operation completes - preserve cancellation handling when Connect replaces its timeout factory - batch search message retrieval into one server request - restore search results to the requested UID order
* fix(email): harden email operation error handlingsaturneric2026-09-121-0/+93
| | | | | | | | | | | - validate GPG result pointers before dereferencing them - preserve UTF-8 bytes during signing, encryption, and verification - reset cancellation state after each IMAP operation - report unexpected worker exceptions instead of terminating threads - detach blocked threads safely during shutdown - prevent missing signatures from appearing fully valid - correct signature validity highlighting for problematic signatures - restore Qt translation extraction and preserve send dialogs on tab closure
* feat(email): save sent messages to IMAP Sentsaturneric2026-09-121-0/+111
| | | | | | | | - append sent messages byte-for-byte through a writable folder - avoid duplicate copies when the server already filed the message - report unresolved, failed, and unverified save outcomes - update dialog status text to distinguish send and filing results - extend fake IMAP coverage for APPEND literals and save behavior
* feat(email): add fetch progress and safe re-signingsaturneric2026-09-121-4/+41
| | | | | | | - remove previous signatures and signer-added keys before re-signing - preserve user-attached OpenPGP keys during cleanup - emit incremental progress while fetching message bodies - document signature stripping and fetch progress behavior
* fix(email): decode IMAP header text for displaysaturneric2026-09-121-2/+69
| | | | | | | - decode encoded subjects through vmime typed values and UTF-8 - format sender headers with decoded display names and addresses - preserve wire-form extraction for Message-ID and Date - fall back to raw header text when typed parsing fails
* fix(email): enforce SMTP auth and certificate pinningsaturneric2026-09-121-1/+1
| | | | | | | | | - require SMTP authentication when credentials are configured - apply certificate pins to the presented leaf certificate - preserve certificate validity and hostname verification - correctly normalize vmime-provided SHA-256 fingerprints - pass protocol context to TLS policy setup - update connection test comments and formatting
* fix(email): defer IMAP connections and release folderssaturneric2026-09-121-27/+47
| | | | | | | | | - add an explicit Connect action instead of connecting on dialog open - require stored passwords and direct users to Mail Account settings - reset browsing state when switching accounts - release listed and previously opened folders before reopening them - cache folder metadata without retaining vmime folder objects - move network import action from the workspace menu to Advanced
* feat(email): add sending and IMAP import workflowssaturneric2026-09-121-0/+561
- add threaded IMAP browsing, searching, paging, and message fetching - enforce read-only mailbox access, TLS requirements, and size limits - add outgoing message confirmation and SMTP submission workflow - report SMTP acceptance separately from Sent-folder confirmation - expose message sending from the email page view - preserve message bytes and protect credentials during transport