From c04764b565cfd55ab7f80141add53b52e3c4be10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=BCttler?= Date: Fri, 5 Jun 2026 08:33:13 +0200 Subject: [PATCH] test. --- .pre-commit-config.yaml | 2 +- README.md | 5 +++++ plan.log | 50 ----------------------------------------- 3 files changed, 6 insertions(+), 51 deletions(-) delete mode 100644 plan.log diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a722261..0adb9c1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,7 +11,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/guettli/pre-commit-branch-up-to-date - rev: v0.0.4 + rev: v0.0.5 hooks: - id: branch-up-to-date diff --git a/README.md b/README.md index fbf1b30..7f60efb 100644 --- a/README.md +++ b/README.md @@ -216,3 +216,8 @@ test/ - **Settings** — list and remove accounts - **Search** — IMAP server-side search (subject + body); results shown inline, no navigation change - **Offline-first** — all reads come from local Drift/SQLite DB; network only for sync and send +# CI Trigger +# CI Trigger 2 +# Dummy commit to verify CI fixes +# Dummy commit 3 +# CI Trigger 1780415300 diff --git a/plan.log b/plan.log deleted file mode 100644 index 7d955a2..0000000 --- a/plan.log +++ /dev/null @@ -1,50 +0,0 @@ -# Plan Log - -## 2026-05-10 -- Improved Undo Log (Issue #7): Added support for undoing any action from history. -- Refactored `UndoService.undo()` to support targeted rollbacks by action ID. -- Removed "latest only" restriction from `UndoLogScreen`. -- Successfully deployed release APK to distribution server via `task deploy-android`. -- Verified system integrity with unit, widget, and E2E integration tests. - -## 2026-05-10 -- Implemented global Undo Log with persistent history. -- Refactored `UndoService` to store a list of recent actions instead of just the latest one. -- Added `UndoLogScreen` to view and interact with undo history. -- Added "History" icon to account list for better discoverability. -- Updated `.gitignore` to better handle Dart/Flutter and Android tool artifacts. -- Verified all changes with fast check suite (analyze + unit + widget tests). - -## 2026-05-09 -- Fixed Crash Page (Issue 3): Added Codeberg reporting button. -- Fixed Show Mail Headers (Issue 1): Added raw header storage and UI display. -- Fixed Exception on Undo of delete (Issue 2): Added serialization to EmailAddress. -- Updated Taskfile with Nix experimental features check. -- Pushed all changes to branch `fix-issues`. - -## 2026-05-09 -- Fixed Undo feature for IMAP accounts. -- Identified that IMAP moveEmail hard-deletes local rows, making Undo impossible without data. -- Added `originalEmails` to `UndoAction` and `restoreEmails` to `EmailRepository`. -- Updated UI to fetch email data before move/delete to support restoration. -- Fixed `UndoService` to restore rows and be more robust with pending change cancellation. -- Verified with `test/unit/undo_reproduction_test.dart` and updated unit tests. -- Successfully deployed to Android. - -## 2026-05-09 -- Implemented Network Resilience (Task 1/4 from next.md). -- Added exponential backoff logic (5s to 15m) to IMAP and JMAP sync loops. -- Added permanent error detection (auth/credentials) to stop sync loops gracefully. -- Improved "Pull to Refresh" in email list to trigger full account sync and bypass backoff. -- Verified with integration tests. - -- Started work on Sync Reliability (Task 1/5 from next.md). -- Added `verifySyncReliability` to `EmailRepository` interface and models. -- Implemented `verifySyncReliability` in `EmailRepositoryImpl` for IMAP and JMAP. -- Added `SyncHealth` table to database (Schema v19). -- Created `ReliabilityRunner` for periodic verification. -- Integrated sync health indicators in `AccountListScreen` UI. -- Added manual "Verify sync health" action. -- Verified with new integration tests in `test/integration/sync_reliability_test.dart`. -- All integration tests (IMAP and JMAP) passing. -- Fixed several compilation and analysis issues.