MFA fix, added IP blacklist, update webmail client

This commit is contained in:
2026-08-14 13:04:55 +01:00
parent 6063f95504
commit 892f366a16
122 changed files with 13362 additions and 251 deletions
+16
View File
@@ -0,0 +1,16 @@
package webui
import (
"net/http"
"strings"
)
// webmailSearch searches across every folder in the mailbox (or one, if ?folder= is
// given) — the all-folders case webmailFolderView's own ?q= support (scoped to
// whatever folder is already in the URL path) can't reach, since that route always
// has a folder segment.
func (a *App) webmailSearch(w http.ResponseWriter, r *http.Request) {
folder := r.URL.Query().Get("folder")
query := strings.TrimSpace(r.URL.Query().Get("q"))
a.renderFolderOrSearch(w, r, folder, query)
}