issue 1859: modes by account, and the reading pane with its corrections; name a nameless sender (1859.4, 1850)

ADR 0515 §4, §5: the trusted setting modes names the accounts Work and Personal show, Everything shows every
granted account; /read shows one mail as escaped text with its tasks, promises and attachments as downloads,
records it opened, and offers its corrections (mark and group, not a task, not a promise, read later), each
calling correct. Issue 1850: a sender with no display name is named by its address, on the list, the pane and
All mail.
This commit is contained in:
jochen
2026-10-22 20:09:29 +02:00
parent ab152687e5
commit f554928ce1
13 changed files with 622 additions and 31 deletions
@@ -57,6 +57,8 @@ func NewServer(host string, auth *Auth, b *Bundle) *Server {
s.Mux.HandleFunc("/", protect(b.listPage))
s.Mux.HandleFunc("/all", protect(b.accountsPage))
s.Mux.HandleFunc("/item", protect(RequireFormToken(b.itemHandler)))
s.Mux.HandleFunc("/read", protect(b.readPage))
s.Mux.HandleFunc("/correct", protect(RequireFormToken(b.correctHandler)))
s.Mux.HandleFunc("/mode", protect(RequireFormToken(b.modeHandler)))
s.Mux.HandleFunc("/static/", staticPage) // the script and the stylesheet carry nothing of a mail
s.Mux.HandleFunc("/folder", protect(b.folderPage))