1
0
Fork 0
mirror of https://git.sr.ht/~rjarry/aerc synced 2026-03-14 11:46:21 +01:00
aerc/worker/imap
Simon Martin 4d5d7db82b imap: don't use list-status to discover the list of directories
This is a redo of 194365b9, that uses LIST (not LIST-STATUS) to properly
discover the list of mailboxes. The goal was to properly get the role of
each mailbox, and fully support the `restrict-deletes` functionality
(incidentally it also fixes mailbox listing for Strato); it was lost via
8a151bac.

This patch reinstates this and then uses LIST-STATUS (if it's supported)
to get each mailbox's UIDVALIDITY.

Fixes: 8a151bac ("models: add validity identifier to Directory structs")
Reported-by: post <post@sonnenkinder.org>
Signed-off-by: Simon Martin <simon@nasilyan.com>
Acked-by: Robin Jarry <robin@jarry.cc>
2026-03-07 21:17:49 +01:00
..
extensions imap: integrate X-GM-EXT-1 Gmail extension directly 2026-02-09 14:46:27 +01:00
cache.go imap: store directory information in header cache 2026-02-10 09:03:34 +01:00
checkmail.go models: add validity identifier to Directory structs 2026-02-09 14:46:27 +01:00
configure.go imap: simplify idler initialization 2026-02-09 14:46:27 +01:00
configure_test.go imap: add support for :modify-labels / :tag for gmail and proton 2025-08-04 12:27:27 +02:00
connect.go lib: consolidate SASL authentication code 2026-02-09 14:46:27 +01:00
create.go imap: centralize error and response handling in Run loop 2026-02-09 14:46:27 +01:00
expungehandler.go imap: make expungehandler error log more useful 2026-02-09 14:52:45 +01:00
fetch.go worker: add directory and filter metadata to response messages 2026-02-09 14:46:27 +01:00
flags.go worker: add directory and filter metadata to response messages 2026-02-09 14:46:27 +01:00
idler.go imap: simplify idler initialization 2026-02-09 14:46:27 +01:00
imap.go imap: include directory and validity in message UIDs 2026-02-09 14:46:27 +01:00
imap_test.go imap: strip whitespace from Message-Id and In-Reply-To 2024-10-24 22:13:51 +02:00
list.go imap: don't use list-status to discover the list of directories 2026-03-07 21:17:49 +01:00
movecopy.go worker: add explicit directory to action messages 2026-02-09 14:46:27 +01:00
observer.go imap: stop emitting fake Disconnect on connection loss 2026-02-09 14:47:02 +01:00
open.go worker: add directory and filter metadata to response messages 2026-02-09 14:46:27 +01:00
remove.go imap: centralize error and response handling in Run loop 2026-02-09 14:46:27 +01:00
search.go chore: switch to using stdlib helper functions 2025-08-04 12:47:05 +02:00
search_test.go imap: fix processing of search criteria end date 2025-03-09 00:40:30 +01:00
seqmap.go chore: switch to using stdlib helper functions 2025-08-04 12:47:05 +02:00
seqmap_test.go imap: support various provider policies for expunge calls 2025-05-12 13:18:38 +02:00
worker.go worker: add directory and filter metadata to response messages 2026-02-09 14:46:27 +01:00
xgmext.go worker: add directory and filter metadata to response messages 2026-02-09 14:46:27 +01:00