security: enforce encrypted connections; pre-commit uses check-fast

IMAP/SMTP encryption:
- connectImap throws if account.imapSsl is false
- connectSmtp removes STARTTLS plaintext fallback; startTls failure is fatal
- Remove IMAP SSL/TLS toggle from add/edit account screens (always SSL)
- UI shows "IMAP (SSL/TLS)" section label to communicate the requirement

Pre-commit speed:
- Add check-fast task (analyze + unit + widget, no build-linux, no integration)
- pre-commit hook now runs task check-fast instead of task check
- task check remains the full suite for manual/CI use

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Thomas Güttler
2026-04-18 16:16:35 +02:00
co-authored by Claude Sonnet 4.6
parent b144dba5ec
commit 169e563e3d
7 changed files with 28 additions and 64 deletions
+5 -1
View File
@@ -101,6 +101,10 @@ tasks:
cmds:
- fvm flutter run -d linux --no-pub
check-fast:
desc: Pre-commit checks — analyze + unit tests + widget tests (no build, no integration)
deps: [analyze, test, test-widget]
check:
desc: All fast checks — analyze + unit tests + widget tests + build-linux + integration in parallel
desc: Full check suite — analyze + unit tests + widget tests + build-linux + integration in parallel
deps: [analyze, test, test-widget, build-linux, integration]