Commit Graph

22 Commits

Author SHA1 Message Date
Leo Nunner
df2a647a72 mail filter: properly html-encode rule names
Rule names were not HTML-encoded in the rule overview. While some
encoding did happen, it was only on the first load for the info panel
on the right hand side, which was overriden as soon as the edit
window was opened/closed again.

The variable binding now gets HTML-encoded automatically, and the
renderer for rule names has been set to Ext.htmlEncode.

Signed-off-by: Leo Nunner <l.nunner@proxmox.com>
 [ T: rework commit message a bit (mostly subject) ]
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-17 12:01:35 +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
f057ca9085 drop jslint hints
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-10-23 14:08:50 +02: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
Dominik Csapak
18b5b6adce rename create to isCreate
following the changes in the edit window, we have to use
isCreate instead of create, which gets rid of many jslint
type confusion errors

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-11-14 11:40:42 +01:00
Dominik Csapak
8fa824d436 move factory defaults button to RuleConfiguration
because it only resets the rules

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-11-10 17:30:22 +01:00
Dominik Csapak
4a1b15b9d7 fix removal of rules
setting a non-object to undefined is not designed to be done
in a viewmodel

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-11-10 17:29:08 +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
de0ebd99a1 jslint: type confusion
resolve/mark several type confusions

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-23 17:30:26 +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
Dominik Csapak
2f8fe1a335 add missing clearbeforeload arguments for monStoreErrors
otherwise we gat double loading masks

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-09 06:37:16 +02:00
Dietmar Maurer
9114dc424f RuleConfiguration.js - monitor storage errors 2017-10-06 08:29:35 +02:00
Dominik Csapak
1f6397682a remove action text and resize column
this looks better and has not the confusing name "actions"

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-05 11:29:18 +02:00
Dominik Csapak
2b97521b65 change x-fa to fa
because there is no x-fa class when using the stock fontawesome css

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-05 11:28:51 +02:00
Dominik Csapak
d75b37b80b change ruleconfiguration to mvvm model
this now uses declarative syntax, and the model view viewmodel system of
extjs

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-05 06:47:48 +02:00
Dietmar Maurer
ad834b6f60 improve rule GUI 2017-03-07 11:16:18 +01:00
Dietmar Maurer
13fe6e87c4 implement clamav safebrowsing, simplify rule configuration 2017-03-06 13:13:37 +01:00
Dietmar Maurer
66636ecf8b add simple tree panel to display rule list 2017-03-03 16:06:41 +01:00
Dietmar Maurer
d9e1af949d avoid to many gettext entries 2017-02-28 14:38:55 +01:00
Dietmar Maurer
f1e3236248 add rule configuration template 2017-01-27 17:40:44 +01:00