]> git.proxmox.com Git - proxmox-backup.git/commit
server: notifications: send sync notifications via notification system
authorLukas Wagner <l.wagner@proxmox.com>
Tue, 23 Apr 2024 11:52:09 +0000 (13:52 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 23 Apr 2024 21:14:46 +0000 (23:14 +0200)
commit5b23a707071d75d86399719455315503948a9a7f
tree762a86598d4effecc74f5aefcae49d46c84a7be5
parent2432775ce83a844b96417c3e24eb369d48de01b8
server: notifications: send sync notifications via notification system

If the `notification-mode` parameter is set to `legacy-sendmail`, then
we still use the new infrastructure, but don't consider the
notification config and use a hard-coded sendmail endpoint directly.

Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
Tested-by: Gabriel Goller <g.goller@proxmox.com>
Reviewed-by: Gabriel Goller <g.goller@proxmox.com>
Tested-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
debian/proxmox-backup-server.install
src/api2/pull.rs
src/server/notifications.rs
templates/Makefile
templates/default/sync-err-body.txt.hbs [new file with mode: 0644]
templates/default/sync-err-subject.txt.hbs [new file with mode: 0644]
templates/default/sync-ok-body.txt.hbs [new file with mode: 0644]
templates/default/sync-ok-subject.txt.hbs [new file with mode: 0644]