]>
git.proxmox.com Git - pmg-gui.git/log
Dietmar Maurer [Tue, 24 Oct 2017 09:30:52 +0000 (11:30 +0200)]
js/ServerAdministration.js - enable upgrade button inside controller init
Because Proxmox.UserName may not be set at class load time.
Dietmar Maurer [Tue, 24 Oct 2017 06:40:45 +0000 (08:40 +0200)]
bump version to 1.0-4
Dominik Csapak [Mon, 23 Oct 2017 13:01:22 +0000 (15:01 +0200)]
add icons for white/blacklist in QuarantineView
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Mon, 23 Oct 2017 13:01:21 +0000 (15:01 +0200)]
jslint: empty block and || syntax
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Mon, 23 Oct 2017 13:01:20 +0000 (15:01 +0200)]
jslint: correctly escape regexes
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Mon, 23 Oct 2017 13:01:19 +0000 (15:01 +0200)]
jslint: rework icon_status_map to avoid type confusion
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Mon, 23 Oct 2017 13:01:18 +0000 (15:01 +0200)]
jslint: mixed whitespace
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Mon, 23 Oct 2017 13:01:17 +0000 (15:01 +0200)]
jslint: declare variables correctly
some were never declared, some ware doubly declared
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Mon, 23 Oct 2017 13:01:16 +0000 (15:01 +0200)]
jslint: move the parensis inwards
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Mon, 23 Oct 2017 13:01:15 +0000 (15:01 +0200)]
jslint: rename new to newProfile to avoid reserved name
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Mon, 23 Oct 2017 13:01:14 +0000 (15:01 +0200)]
jslint: remove unnecessary code, optimize updatePreview
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Mon, 23 Oct 2017 13:01:13 +0000 (15:01 +0200)]
jslint: rework MailProcessing names to avoid reserved names
'in' is a reserved names, rework all names to match the outer names
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Mon, 23 Oct 2017 13:01:12 +0000 (15:01 +0200)]
jslint: if needs a block
single statements after if can be confusing
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Mon, 23 Oct 2017 13:01:11 +0000 (15:01 +0200)]
jslint: add missing semicolons
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Mon, 23 Oct 2017 13:01:10 +0000 (15:01 +0200)]
jslint: type confusion
resolve/mark several type confusions
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Mon, 23 Oct 2017 13:01:09 +0000 (15:01 +0200)]
jslint: remove trailing commas
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Mon, 23 Oct 2017 13:01:08 +0000 (15:01 +0200)]
jslint: add Proxmox global to files
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Mon, 23 Oct 2017 10:20:59 +0000 (12:20 +0200)]
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>
Dominik Csapak [Mon, 23 Oct 2017 10:20:58 +0000 (12:20 +0200)]
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>
Dietmar Maurer [Mon, 23 Oct 2017 08:57:35 +0000 (10:57 +0200)]
Fetchmail - implement create
Dietmar Maurer [Mon, 23 Oct 2017 07:26:09 +0000 (09:26 +0200)]
FetchmailView.js - add remove button
Dominik Csapak [Thu, 19 Oct 2017 12:37:54 +0000 (14:37 +0200)]
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>
Dominik Csapak [Thu, 19 Oct 2017 12:37:53 +0000 (14:37 +0200)]
add missing Ext.htmlEncodes
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Thu, 19 Oct 2017 12:37:52 +0000 (14:37 +0200)]
add missing itemIds
this is needed for the url routing
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Thu, 19 Oct 2017 12:37:51 +0000 (14:37 +0200)]
remove border from Subscription
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Thu, 19 Oct 2017 12:37:50 +0000 (14:37 +0200)]
add an Group objectclass textfield to the LDAPEditor
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Thu, 19 Oct 2017 12:37:49 +0000 (14:37 +0200)]
simplify relayEvents call
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dietmar Maurer [Thu, 19 Oct 2017 10:51:02 +0000 (12:51 +0200)]
add fetchmal configuration panel
Dietmar Maurer [Wed, 18 Oct 2017 07:41:58 +0000 (09:41 +0200)]
FetchmailView.js - new panel toö configure fetchmail
Dominik Csapak [Mon, 16 Oct 2017 12:04:29 +0000 (14:04 +0200)]
add regex Tester to regular expression editor
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Mon, 16 Oct 2017 12:04:28 +0000 (14:04 +0200)]
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>
Dietmar Maurer [Fri, 13 Oct 2017 04:47:20 +0000 (06:47 +0200)]
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'.
Dominik Csapak [Thu, 12 Oct 2017 10:25:27 +0000 (12:25 +0200)]
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>
Dominik Csapak [Thu, 12 Oct 2017 09:42:37 +0000 (11:42 +0200)]
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>
Dominik Csapak [Thu, 12 Oct 2017 08:09:29 +0000 (10:09 +0200)]
normalize the dashboard graph to per minute
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dietmar Maurer [Wed, 11 Oct 2017 09:11:18 +0000 (11:11 +0200)]
QuarantineView.js - do not display @quarantine realm
Dietmar Maurer [Wed, 11 Oct 2017 08:37:24 +0000 (10:37 +0200)]
ConfigPanel.js - remove debug code
Dietmar Maurer [Wed, 11 Oct 2017 06:21:07 +0000 (08:21 +0200)]
LoginView.js - hide realm selector for quarantine login
Dietmar Maurer [Wed, 11 Oct 2017 06:16:28 +0000 (08:16 +0200)]
Application.js: remove trailing slash from pathname
To correctly detect /quarantine/ and /quarantine
Dominik Csapak [Tue, 10 Oct 2017 13:16:26 +0000 (15:16 +0200)]
add Dashboard
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Tue, 10 Oct 2017 13:16:25 +0000 (15:16 +0200)]
add MailProcessing Component
this shows the traffic and the average mail processing time
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Tue, 10 Oct 2017 13:16:24 +0000 (15:16 +0200)]
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>
Dominik Csapak [Tue, 10 Oct 2017 13:16:23 +0000 (15:16 +0200)]
add minigraph component
this is a preconfigured RRDChart for the dashboard
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Tue, 10 Oct 2017 13:16:22 +0000 (15:16 +0200)]
add new css classes
they are used in the dashboard
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Mon, 9 Oct 2017 10:03:59 +0000 (12:03 +0200)]
set button state in load handler instead of callback
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Mon, 9 Oct 2017 10:03:58 +0000 (12:03 +0200)]
relay events to clamav subpanels and listen to the activate event
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Mon, 9 Oct 2017 10:03:57 +0000 (12:03 +0200)]
set correct size/mask for clamav status
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Mon, 9 Oct 2017 10:03:56 +0000 (12:03 +0200)]
fix wrong stopUpdate to startUpdate
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dietmar Maurer [Mon, 9 Oct 2017 07:17:55 +0000 (09:17 +0200)]
UserView.js: display role
Dietmar Maurer [Mon, 9 Oct 2017 06:25:44 +0000 (08:25 +0200)]
ObjectGroup.js - do not overwrite proxy, use monStoreErrors
Dominik Csapak [Fri, 6 Oct 2017 12:36:18 +0000 (14:36 +0200)]
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>
Dominik Csapak [Fri, 6 Oct 2017 12:36:17 +0000 (14:36 +0200)]
remove old RuleList
we do not use it anymore
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Fri, 6 Oct 2017 12:36:16 +0000 (14:36 +0200)]
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>
Dominik Csapak [Fri, 6 Oct 2017 12:36:15 +0000 (14:36 +0200)]
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>
Dominik Csapak [Fri, 6 Oct 2017 12:36:14 +0000 (14:36 +0200)]
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>
Dominik Csapak [Fri, 6 Oct 2017 12:36:13 +0000 (14:36 +0200)]
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>
Dominik Csapak [Fri, 6 Oct 2017 12:36:12 +0000 (14:36 +0200)]
add missing htmlEncode
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Fri, 6 Oct 2017 12:36:11 +0000 (14:36 +0200)]
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>
Dominik Csapak [Fri, 6 Oct 2017 12:36:10 +0000 (14:36 +0200)]
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>
Dominik Csapak [Fri, 6 Oct 2017 12:36:09 +0000 (14:36 +0200)]
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>
Dominik Csapak [Fri, 6 Oct 2017 12:36:08 +0000 (14:36 +0200)]
add missing clearbeforeload arguments for monStoreErrors
otherwise we gat double loading masks
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dietmar Maurer [Fri, 6 Oct 2017 10:40:12 +0000 (12:40 +0200)]
LoginView.js - allow to select a realm
Dietmar Maurer [Fri, 6 Oct 2017 10:35:18 +0000 (12:35 +0200)]
Application.js - initialize state provider here
So that we can also use it for LoginView.
Dietmar Maurer [Fri, 6 Oct 2017 09:44:52 +0000 (11:44 +0200)]
SpamDetectorOptions.js - new option bounce_score
Dietmar Maurer [Fri, 6 Oct 2017 06:29:35 +0000 (08:29 +0200)]
RuleConfiguration.js - monitor storage errors
Dominik Csapak [Thu, 5 Oct 2017 14:23:33 +0000 (16:23 +0200)]
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>
Dominik Csapak [Thu, 5 Oct 2017 14:23:32 +0000 (16:23 +0200)]
do not send pam field on automatic login
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Thu, 5 Oct 2017 14:23:31 +0000 (16:23 +0200)]
remove superfluous/wrong 'xcalss'
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Thu, 5 Oct 2017 14:23:30 +0000 (16:23 +0200)]
select mail when coming from link in SpamQuarantine mail
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dietmar Maurer [Thu, 5 Oct 2017 11:32:37 +0000 (13:32 +0200)]
MailTracker.js - encode html
Dominik Csapak [Thu, 5 Oct 2017 10:28:04 +0000 (12:28 +0200)]
make PMG header look like the PVE header
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Thu, 5 Oct 2017 10:28:03 +0000 (12:28 +0200)]
add colors and icons to trackingcenter
add icons for all of the stati,
and background colors for bounced/quarantine/blocked
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Thu, 5 Oct 2017 10:28:02 +0000 (12:28 +0200)]
use rowexpander for trackingcenter logs
instead of opening a window with the log,
use the rowexpander and display the logs inline
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Thu, 5 Oct 2017 10:28:01 +0000 (12:28 +0200)]
add status icons to utils
used later for the tracking center
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Thu, 5 Oct 2017 10:28:00 +0000 (12:28 +0200)]
add css classes for Tracking Center
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Thu, 5 Oct 2017 10:27:59 +0000 (12:27 +0200)]
improve login/logout/cookie behaviour
this changes the login/logout/cookie behaviour
if you go to /quarantine
you get to the loginview
except you have a valid cookie
or you have a ticket via url (this takes precedence)
when you have a valid login
you go to the quarantineview
else if you have not a quarantine ticket
you get to the mainview
else
you get to the loginview
also adds a logout button to the quarantineview
and moves the viewchange/logout logic to the Application.js
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Wed, 4 Oct 2017 08:10:01 +0000 (10:10 +0200)]
fix typo
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Wed, 4 Oct 2017 08:10:00 +0000 (10:10 +0200)]
check if current StateProvider is already the right one
else we get an error on logout -> login
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Wed, 4 Oct 2017 08:09:59 +0000 (10:09 +0200)]
add title to Subscription panel
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dietmar Maurer [Wed, 4 Oct 2017 10:20:46 +0000 (12:20 +0200)]
include message catalog
Dietmar Maurer [Wed, 4 Oct 2017 09:30:54 +0000 (11:30 +0200)]
change lang cookie name to PMGLangCookie
Dietmar Maurer [Wed, 4 Oct 2017 09:27:32 +0000 (11:27 +0200)]
LoginView.js - correctly mask loginwindow on language change
Dietmar Maurer [Wed, 4 Oct 2017 09:24:17 +0000 (11:24 +0200)]
remove obsolete LoginWindow.js
Dietmar Maurer [Wed, 4 Oct 2017 09:23:17 +0000 (11:23 +0200)]
add language selector
Dietmar Maurer [Wed, 4 Oct 2017 08:44:08 +0000 (10:44 +0200)]
depend on pmg-i18n and proxmox-widget-toolkit
Dietmar Maurer [Tue, 3 Oct 2017 12:51:41 +0000 (14:51 +0200)]
ClusterAdministration.js - display subscription status for all members
Dietmar Maurer [Tue, 3 Oct 2017 12:50:56 +0000 (14:50 +0200)]
add help button to subscription upload window
Dietmar Maurer [Fri, 29 Sep 2017 08:41:13 +0000 (10:41 +0200)]
display subscription status after login
Dominik Csapak [Fri, 29 Sep 2017 06:22:50 +0000 (08:22 +0200)]
hide column headers for spam level info
they dont give any useful information
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Fri, 29 Sep 2017 06:22:49 +0000 (08:22 +0200)]
make grid summary bold and seperate with a black line
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dietmar Maurer [Fri, 29 Sep 2017 06:02:02 +0000 (08:02 +0200)]
SpamInfoGrid.js - use single store object
And only set/change url.
Dietmar Maurer [Fri, 29 Sep 2017 05:24:34 +0000 (07:24 +0200)]
SpamInfoGrid.js - score need to be a numeric field
To make grid summary working.
Dietmar Maurer [Fri, 29 Sep 2017 05:11:33 +0000 (07:11 +0200)]
SpamInfoGrid.js - avoid border
Dominik Csapak [Thu, 28 Sep 2017 13:07:18 +0000 (15:07 +0200)]
add missing titles for quarantines
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Thu, 28 Sep 2017 11:45:52 +0000 (13:45 +0200)]
use VirusQuarantine and change icon for SpamQuarantine
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Thu, 28 Sep 2017 11:45:51 +0000 (13:45 +0200)]
add VirusQuarantine component
this adds the VirusQuarantine component, which is mostly copied from
the SpamQuarantine but the relevant things changed
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Thu, 28 Sep 2017 11:45:50 +0000 (13:45 +0200)]
make SpamQuarantine use the QuarantineList and SpamInfoGrid
this changes the SpamQuarantine so it uses the refactored version
of the list, and add the function to show the spaminfo
in a table
also it changes from "show html"/"show raw" buttons to
a single button which gets toggled
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Thu, 28 Sep 2017 11:45:49 +0000 (13:45 +0200)]
add doQuarantineAction and sender_renderer
doQuarantineAction executes a quarantine action with a callback
sender_renderer is the renderer for the quarantine list
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Thu, 28 Sep 2017 11:45:48 +0000 (13:45 +0200)]
add SpamInfoGrid component
this component will be used to show the Spam info in the quarantine
in a nice tabular format
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Thu, 28 Sep 2017 11:45:47 +0000 (13:45 +0200)]
add QuarantineList component
this component is a refactored version of the PMG.SpamList
component, but it incorporates the logic and layout for
changing dates/emails from the PMG.SpamQuarantine component
additionally, it has some logic to show/hide the email selection box
via a config property ('emailSelection')
this will be used for the SpamQuarantine in admin/user view and
for the virus quarantine
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>