To avoid visual glitches that can happen if a text value is wrongly
interpreted as html. And while quite a few rows already had a rather
restricted format that avoided this in the first place it still
doesn't hurt to encode anyway, that also protects against the case
where a backend format becomes less restrictive in the future.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Line-count increases but that small cost is easily covered by easier
to read code and better git change tracking, which is shown line-wise
by default.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Since the value of the 'admin-mail-from' field has normally a format
like "Full Name <some@email.example>" the <..> part would be
incorrectly interpreted as HTML without encoding it, causing visual
glitches here.
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PMG (optionally) sends two kinds of reports:
* the reports to users, which mails of theirs are in the Spamquarantine
(`pmgqm`)
* the reports about the System's state and performance to the Administrator
(`pmgreport`)
Given that these get confused quite often, make their labels in the GUI
more explicit.
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
relay the events to all children of the network panel,
and add the deactivate event to the options
this properly starts and stops the updatestores
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>