Commit Graph

322 Commits

Author SHA1 Message Date
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
a0a98b8d9d set the from date for QuarantineList from url parameter
when we click a link in a Quarantine report, we want the
'from' date to be the day of that mail, so that we can
select the mail

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-23 17:27:53 +02:00
Dominik Csapak
c70a57fbd3 QuarantineList.js: save from and to date as statics in class
so that when we have the same timespan when we change the quarantine,
as long as we do not reload the browser window

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-23 17:27:11 +02:00
Dietmar Maurer
30a27efac8 Fetchmail - implement create 2017-10-23 10:57:35 +02:00
Dietmar Maurer
a989cf6204 FetchmailView.js - add remove button 2017-10-23 09:26:09 +02:00
Dominik Csapak
78ec45ebbd add group and user list for LDAP Config View
this patch adds two grids for showing the synced groups and
users, with the ability to show the users in the groups and
the additional email addresses for the users

also rework the ldapconfig grid to a declarative syntax

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-19 15:44:29 +02:00
Dominik Csapak
fb511cb253 add missing Ext.htmlEncodes
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-19 15:44:17 +02:00
Dominik Csapak
3718baf37e add missing itemIds
this is needed for the url routing

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-19 15:43:59 +02:00
Dominik Csapak
a151c079d8 remove border from Subscription
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-19 15:43:48 +02:00
Dominik Csapak
dd26ba9ae2 add an Group objectclass textfield to the LDAPEditor
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-19 15:43:30 +02:00
Dominik Csapak
0641d180b0 simplify relayEvents call
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-19 15:43:02 +02:00
Dietmar Maurer
c37614f59a add fetchmal configuration panel 2017-10-19 12:51:02 +02:00
Dietmar Maurer
6a2f908e59 FetchmailView.js - new panel toö configure fetchmail 2017-10-18 09:41:58 +02:00
Dominik Csapak
6994550a3f add regex Tester to regular expression editor
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-17 09:12:26 +02:00
Dominik Csapak
628eccdb9a add missing action list editors
and add them in the ActionList to be listed in the drop down

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-17 09:12:12 +02:00
Dietmar Maurer
ab01cd9569 LoginView.js - remove realm selector
Because it is not really required. Instead, we always use realm 'pmg'
to login toö the admin interface. The backend can map 'root@pmg' to
'root@pam'.
2017-10-13 06:47:20 +02:00
Dominik Csapak
ea4f2a7923 add icons to the object types
and show them in the editwindow, the grid and the add menu

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-13 06:29:24 +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
b79fbba8e4 normalize the dashboard graph to per minute
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-12 11:11:15 +02:00
Dietmar Maurer
c407e16892 QuarantineView.js - do not display @quarantine realm 2017-10-11 11:11:56 +02:00
Dietmar Maurer
815c295cea ConfigPanel.js - remove debug code 2017-10-11 10:37:24 +02:00
Dietmar Maurer
c1e4fa2a26 LoginView.js - hide realm selector for quarantine login 2017-10-11 08:21:07 +02:00
Dietmar Maurer
fcf672c579 Application.js: remove trailing slash from pathname
To correctly detect /quarantine/ and /quarantine
2017-10-11 08:16:57 +02:00
Dominik Csapak
b047eec060 add Dashboard
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-11 06:53:18 +02:00
Dominik Csapak
5c6967845c add MailProcessing Component
this shows the traffic and the average mail processing time

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-11 06:52:42 +02:00
Dominik Csapak
ffdf818d71 add new SubscriptionInfo component
this shows the SubscriptionInfo status in the dashboard and with a
click on it you get to the Subscription menu item

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-11 06:51:37 +02:00
Dominik Csapak
a0ff4ab728 add minigraph component
this is a preconfigured RRDChart for the dashboard

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-11 06:49:46 +02:00
Dominik Csapak
7d4f02a370 set button state in load handler instead of callback
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-09 13:00:09 +02:00
Dominik Csapak
fdebab3d17 relay events to clamav subpanels and listen to the activate event
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-09 12:59:11 +02:00
Dominik Csapak
decc60909d set correct size/mask for clamav status
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-09 12:58:40 +02:00
Dominik Csapak
41ab900592 fix wrong stopUpdate to startUpdate
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-09 12:58:07 +02:00
Dietmar Maurer
7818f0a3c0 UserView.js: display role 2017-10-09 09:17:55 +02:00
Dietmar Maurer
69bc007cae ObjectGroup.js - do not overwrite proxy, use monStoreErrors 2017-10-09 08:25:44 +02:00
Dominik Csapak
5810fc6bea add emptytext to user white/blacklist
so that we get feedback that there is no data when using
an email which has no white/blacklist

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-09 06:42:28 +02:00
Dominik Csapak
46c04649b9 remove old RuleList
we do not use it anymore

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-09 06:42:17 +02:00
Dominik Csapak
a32f9554d9 add vtype to email selector in white/blacklist
and check if it is valid before making an api request

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-09 06:41:50 +02:00
Dominik Csapak
e8dbe19576 do not use autoload
instead of autoloading (which leads to api errors in the admin interface)
we load it instantly only in the quarantineview
(we load it anyway in the admin interface when selecting an email)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-09 06:41:05 +02:00
Dominik Csapak
94153e9a9e add emptytext to email selector in quarantine
so that when there is no email in the quarantine for the selected
timeframe, we now get the feedback that there is no data

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-09 06:40:38 +02:00
Dominik Csapak
ff0ee46d29 setEmptyText when when loading the store with an email selected
so that we get 'no data' instead of 'no email selected'

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-09 06:40:15 +02:00
Dominik Csapak
96fba078bf add missing htmlEncode
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-09 06:39:40 +02:00
Dominik Csapak
793ac2e46e remove unnecessary 'new Ext.menu.Menu'
this is implicit when having an object as 'menu' property

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-09 06:39:19 +02:00
Dominik Csapak
201f1b7030 check if the call was successful
if not, we return, otherwise we run into an javascript exception

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-09 06:38:50 +02:00
Dominik Csapak
00564597e5 execute stopUpdate on 'deactivate'
when we have a panel/grid with an updatestore which starts
on activation, we also have to stop it on deactivation,
otherwise those stores gets updated even when we are on another tab

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-09 06:38:04 +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
7c3ac540cc LoginView.js - allow to select a realm 2017-10-06 12:41:12 +02:00
Dietmar Maurer
6cbc3de350 Application.js - initialize state provider here
So that we can also use it for LoginView.
2017-10-06 12:35:18 +02:00
Dietmar Maurer
d853d9a254 SpamDetectorOptions.js - new option bounce_score 2017-10-06 11:44:52 +02:00
Dietmar Maurer
9114dc424f RuleConfiguration.js - monitor storage errors 2017-10-06 08:29:35 +02:00
Dominik Csapak
2fa0b5059a reuse do quarantineAction
and make it possible to show both subscription and action window after
one another

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-06 07:31:22 +02:00