mailcow-dockerized/data/web/templates/admin
Kilian Ries 7970447fea feat: server-wide default quarantine notification settings + modern template
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.
2026-06-26 12:04:41 +02:00
..
customize [Web] dark mode logo support 2023-09-03 18:49:12 +02:00
tab-config-admins.twig [Web] mobile devices styling fixes and enhancements 2023-09-03 18:36:32 +02:00
tab-config-customize.twig [Web] Add quick links to other login pages and option to disable mailcow login form 2025-05-09 15:13:44 +02:00
tab-config-dkim.twig dkim: Add support for 3072 and 4096 bit RSA keys (#6365) 2025-03-11 15:30:46 +01:00
tab-config-f2b.twig [netfilter] fix negative timer, no unbanning of IPs (#6575) 2025-07-16 10:08:55 +02:00
tab-config-fwdhosts.twig [Web] styling enhancements 2023-09-02 10:30:39 +02:00
tab-config-identity-provider.twig [Web] Add identity_provider option to disable auto-creation of users on login 2025-05-12 12:20:23 +02:00
tab-config-oauth2.twig Fixes several instances of missing </span>, extra role='tabpanel' and misspelled 'collapse' 2023-07-11 19:00:05 -04:00
tab-config-password-settings.twig [Web] improve error handling for user password resets 2024-07-31 09:22:52 +02:00
tab-config-quarantine.twig feat: server-wide default quarantine notification settings + modern template 2026-06-26 12:04:41 +02:00
tab-config-quota.twig Fixes several instances of missing </span>, extra role='tabpanel' and misspelled 'collapse' 2023-07-11 19:00:05 -04:00
tab-config-rsettings.twig [Web] mobile devices styling fixes and enhancements 2023-09-03 18:36:32 +02:00
tab-config-rspamd.twig Fixes several instances of missing </span>, extra role='tabpanel' and misspelled 'collapse' 2023-07-11 19:00:05 -04:00
tab-globalfilter-regex.twig [Web] checkbox styling 2023-09-02 10:30:45 +02:00
tab-ldap.twig Fixes several instances of missing </span>, extra role='tabpanel' and misspelled 'collapse' 2023-07-11 19:00:05 -04:00
tab-routing.twig [Web] checkbox styling 2023-09-02 10:30:45 +02:00
tab-sys-mails.twig [Web] checkbox styling 2023-09-02 10:30:45 +02:00