Commit Graph

17 Commits

Author SHA1 Message Date
Dominik Csapak
1f8397216a objects: don't reload on match mode change
instead update the record of the object list, and update the
visibility of the 'whatWarning'

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Tested-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2024-02-22 14:55:34 +01:00
Dominik Csapak
e3c8d4fd63 rules/objects: add mode selector dropdown
for objects and object types in rules. We add a simple dropdown for
the 'and' and 'invert' flags, to be somewhat consistent with the
notification matchers from pve and to make the wording more clear than
simple and/invert.

For What matches add a special warning hint, since that behaves a bit
special because of the mail parts.

When the mode changes for an object group, we reload the list of
objects since that holds the info about the attributes, so to avoid
having to keep track in the gui which field changed on the group, we
simply reload the list with the current information.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Tested-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2024-02-22 14:54:44 +01: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
74468b03a5 add 'Match Archive Filename' to list of what objects
and add an editor for it

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-04-16 15:02:32 +02:00
Dominik Csapak
8ddd9c44f5 add virusfilter
we now also disable the edit button if the objectgroup editor has an
'uneditable' flag set, we need this, because the virusfilter has nothing
which we could edit

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-13 06:21:55 +02:00
Dominik Csapak
7a3b5e2d5e jslint: not declared variable, missing semicolon, parseInt base
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-09-28 14:42:24 +02:00
Dominik Csapak
9d6d9b3a81 add archivefilter,spamlevel and filenamefilter to the otype_list
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-09-14 06:29:39 +02:00
Dominik Csapak
3a9b95a74a add matchfield and contenttype rules
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-09-12 07:16:54 +02:00
Dominik Csapak
95c6a00a93 user border layout for objectconfiguration
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-08-18 16:28:21 +02:00
Dominik Csapak
bca16caee8 replace alias by xtype
this is shorter

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-05 06:47:03 +02:00
Dietmar Maurer
6c1370039e implement LDAP user who object 2017-03-23 12:59:23 +01:00
Dietmar Maurer
5f3ec152cc implement LDAP group who object 2017-03-23 10:36:35 +01:00
Dietmar Maurer
84185bf4e9 ObjectGroupConfiguration.js: fix behaviour when removing entries 2017-03-07 16:51:50 +01:00
Dietmar Maurer
ad834b6f60 improve rule GUI 2017-03-07 11:16:18 +01:00
Dietmar Maurer
f5de86821b implement action panel 2017-03-03 12:04:43 +01:00
Dietmar Maurer
b4eee4f756 add TimeFrame editor 2017-03-02 17:06:48 +01:00
Dietmar Maurer
c790d2ab3a rename WhoConfiguration.js to ObjectGroupConfiguration.js 2017-03-02 15:50:16 +01:00