Commit Graph

17 Commits

Author SHA1 Message Date
Thomas Lamprecht
bc4350a654 html-encode more text-based object-grid rows
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>
2025-02-26 11:38:31 +01:00
Thomas Lamprecht
0012b5d8a2 fix indentation and code style for various Options grid
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>
2025-02-26 11:36:57 +01:00
Dominik Csapak
d6ab21faf4 system options: html encode 'admin-mail-from' field
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>
2025-02-26 10:57:58 +01:00
Stoiko Ivanov
e438dda66f configuration: options: add admin-mail-from row.
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2025-02-25 18:28:31 +01:00
Dominik Csapak
0f9f1f7917 configuration: options: adapt to new advanced statistic filter default
default in the backend is now false

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2023-06-26 15:27:08 +02:00
Thomas Lamprecht
28eb60c0bd eslint fixes
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-10-30 14:08:16 +01:00
Thomas Lamprecht
a36756b058 drop jslint hint for Proxmox global
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-10-23 14:03:17 +02:00
Thomas Lamprecht
c87d46fbe8 tree wide: eslint --fix
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-10-23 13:17:15 +02:00
Stoiko Ivanov
0729f168cf Make report labels more explicit
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>
2019-05-28 12:45:22 +02:00
Stoiko Ivanov
573a6e8b71 add onlineHelp properties to all edit windows
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2018-10-03 14:32:24 +02:00
Dominik Csapak
adc5c38553 fix (de)activate/destroy events for system configuration
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>
2017-11-10 17:29:30 +01:00
Dominik Csapak
131ba4f60a jslint: add missing semicolons
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-23 17:30:43 +02:00
Dominik Csapak
771bd0b94b jslint: remove trailing commas
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-23 17:29:17 +02:00
Dominik Csapak
ff735274ca jslint: add Proxmox global to files
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-23 17:28:56 +02:00
Dietmar Maurer
087dc38ec6 SystemOptions.js - add http_proxy option 2017-09-22 11:08:37 +02:00
Dietmar Maurer
d4be125b9f add new advanced statistic filters option 2017-09-06 12:35:28 +02:00
Dietmar Maurer
fc7de588fd start GUI for general system configuration options 2017-08-18 12:45:08 +02:00