mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-07-23 01:59:38 +00:00
Add an admin-configurable, server-wide default for the quarantine notification interval and category. Previously these two per-mailbox settings could only fall back to compile-time values in vars.inc.php and there was no way to set a default from the UI or apply one to existing mailboxes. - Store defaults in Redis (Q_DEF_NOTIFICATION, Q_DEF_CATEGORY) via the existing quarantine settings handler, alongside the other Q_* keys. - New mailboxes inherit the global default through a new get_quarantine_default() helper (Redis -> vars.inc.php fallback). Per-mailbox user overrides keep working unchanged. - New admin action "apply_existing" force-applies the default to all existing mailboxes (admin only, confirm dialog in the UI). - Add two dropdowns and an apply button to the admin quarantine settings tab plus the corresponding language strings. - Rewrite the notification email template (data/assets/templates/ quarantine.tpl) as a clean, mobile-first, responsive, dark-mode aware layout. All Jinja2 variables, HTML escaping and qhandler links are preserved; only installs with an empty custom template are affected. No DB schema change, no migration, no Docker image rebuild. |
||
|---|---|---|
| .. | ||
| lang.az-az.json | ||
| lang.bg-bg.json | ||
| lang.ca-es.json | ||
| lang.cs-cz.json | ||
| lang.da-dk.json | ||
| lang.de-de.json | ||
| lang.en-gb.json | ||
| lang.es-es.json | ||
| lang.fi-fi.json | ||
| lang.fr-fr.json | ||
| lang.gr-gr.json | ||
| lang.hu-hu.json | ||
| lang.it-it.json | ||
| lang.ja-jp.json | ||
| lang.ko-kr.json | ||
| lang.lt-lt.json | ||
| lang.lv-lv.json | ||
| lang.nb-no.json | ||
| lang.nl-nl.json | ||
| lang.pl-pl.json | ||
| lang.pt-br.json | ||
| lang.pt-pt.json | ||
| lang.ro-ro.json | ||
| lang.ru-ru.json | ||
| lang.si-si.json | ||
| lang.sk-sk.json | ||
| lang.sv-se.json | ||
| lang.tr-tr.json | ||
| lang.uk-ua.json | ||
| lang.uz-uz.json | ||
| lang.vi-vn.json | ||
| lang.zh-cn.json | ||
| lang.zh-tw.json | ||