Commit Graph

310 Commits

Author SHA1 Message Date
Dominik Csapak
8e89b895fe add white/blacklist, deliver and delete button for the spam quarantine
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-09-12 07:18:46 +02:00
Dominik Csapak
cdff090fa3 only reset email if not in quarantineview
else the user could not view his own spams until a refresh anymore

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-09-12 07:18:06 +02:00
Dominik Csapak
f4404f28c2 better formatting of spam list
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-09-12 07:17:21 +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
Dietmar Maurer
a32c09e62d add RBL statistics 2017-09-11 12:32:12 +02:00
Dietmar Maurer
4183c5557f NavigationTree - move statistics up one level 2017-09-07 12:09:25 +02:00
Dietmar Maurer
e98379210f improve gettext messages 2017-09-07 09:37:31 +02:00
Dietmar Maurer
eaf3ebec87 do not set remoteFilter unless we have set an url
Else ExtJS displays 'Loading...' mask.
2017-09-06 12:58:01 +02:00
Dietmar Maurer
d4be125b9f add new advanced statistic filters option 2017-09-06 12:35:28 +02:00
Dietmar Maurer
8e346db374 more grid filters for statistics 2017-09-06 12:03:49 +02:00
Dietmar Maurer
575e5e2ff2 implement contact statistics 2017-09-06 11:52:01 +02:00
Dietmar Maurer
16e23ef4df SenderStatistics.js: display viruscount 2017-09-06 11:51:24 +02:00
Dietmar Maurer
c1a5d15012 StatStore: new flag autoReload
So that we can disable listening to pmgStatTimeSelectorUpdate events.
2017-09-06 09:32:09 +02:00
Dietmar Maurer
5486028efe Sender/Receiver Statistics - improve error mask handling 2017-09-06 08:59:27 +02:00
Dietmar Maurer
89399b2f84 StatStore.setUrl - abort pending request, clear data, do not call reload 2017-09-06 08:57:20 +02:00
Dietmar Maurer
d6d1af0e2b cleanup: use Ext.data.Proxy.Ajax.abort() 2017-09-06 07:22:39 +02:00
Dietmar Maurer
2ca04e02bc implement receiver statistic panel 2017-09-05 14:03:43 +02:00
Dietmar Maurer
cc28836a9f SenderStatistics.js: rename virusname to virusinfo 2017-09-05 13:47:39 +02:00
Dietmar Maurer
a61d685f40 SenderStatistics.js - display store errors 2017-09-05 13:02:33 +02:00
Dietmar Maurer
f4fedceea6 SenderStatistics.js - use new PMG.FilterProxy class 2017-09-05 10:51:23 +02:00
Dietmar Maurer
2f5b0b8ae4 FilterProxy.js - helper class 2017-09-05 10:50:39 +02:00
Dietmar Maurer
0dd929ecad improve sender statistic panel 2017-09-05 10:22:00 +02:00
Dietmar Maurer
842ad32e48 simplify gettext messages 2017-09-05 10:21:12 +02:00
Dietmar Maurer
4423074471 StatStore.js: allow store with undefined staturl, implement setUrl helper 2017-09-05 10:17:37 +02:00
Dietmar Maurer
97eeb9a862 set multiColumnSort for sender statistic grid 2017-09-05 06:13:09 +02:00
Dietmar Maurer
6d979e4e53 implement sender statistic grid 2017-09-05 06:02:07 +02:00
Dietmar Maurer
73fa787589 SpamQuarantine: reduce number of gettext messages 2017-09-04 07:42:03 +02:00
Dietmar Maurer
ff8a07c6de add placeholders for sender/receiver/contact statistics 2017-09-01 11:40:37 +02:00
Dietmar Maurer
8051d921f5 use column layout 2017-09-01 11:15:47 +02:00
Dietmar Maurer
3755c9e049 reduce number of gettext messages 2017-09-01 10:19:43 +02:00
Dietmar Maurer
73360b1121 add DomainStatistics class 2017-09-01 10:12:03 +02:00
Dietmar Maurer
106ed6a2cd use more generic text 2017-09-01 10:11:04 +02:00
Dietmar Maurer
9fe9920378 fix typo 2017-09-01 07:53:12 +02:00
Dietmar Maurer
ae68a06f71 GeneralMailStatistics.js: rename traffic_in/out to bytes_in/out 2017-09-01 07:43:11 +02:00
Dietmar Maurer
93d09a018c add missing file GeneralMailStatistics.js 2017-09-01 07:14:33 +02:00
Dietmar Maurer
b02ccf09ee add hourly mail distribution bar charts 2017-08-31 13:16:39 +02:00
Dietmar Maurer
d89ac7962d NavigationTree.js - include new statistic pages 2017-08-31 11:08:39 +02:00
Dietmar Maurer
5cebe829d7 remove unused file MailStatistics.js 2017-08-31 11:08:04 +02:00
Dietmar Maurer
3b560b747d StatStore.js: new flag includeTimeSpan 2017-08-31 10:45:11 +02:00
Dietmar Maurer
ad88af09ee add SpamScoreDistribution class 2017-08-31 07:57:05 +02:00
Dietmar Maurer
8067704ae1 add MailStatGrid class 2017-08-31 06:54:35 +02:00
Dietmar Maurer
db8f82ca4f add VirusCharts class 2017-08-31 06:53:59 +02:00
Dietmar Maurer
42a0470de2 add store to read statistics using timeframe from StatTimeSelector 2017-08-31 06:24:13 +02:00
Dietmar Maurer
eafa9a6565 add time selector widget for mail statistics 2017-08-31 06:05:01 +02:00
Dietmar Maurer
a27e6c36b7 set state provider 2017-08-29 11:13:57 +02:00
Dietmar Maurer
b99cf0d8b8 add RRD graphics to server status panel 2017-08-29 09:05:45 +02:00
Dietmar Maurer
a2d642d9a1 add mail statistic prototype 2017-08-25 09:49:11 +02:00
Dominik Csapak
1000bed16b fix typo
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-08-23 12:38:27 +02:00
Dominik Csapak
c96a22cb0b restructure spam quarantine
this patch restructures the spam quarantine tab

notable changes:
* no daily overview any more, instead you have to select the range and
  email address
* an email selector in the admin view, which gets its data from
  the backend
* preview window has a show raw/html button

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-08-23 12:37:52 +02:00
Dominik Csapak
9bdd2de318 save info about which view is used
this is later needed for the spamquarantine, to determine
if we are in the admin view or quarantine view

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-08-23 12:37:20 +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
1279636ff1 use the correct xtype for the spamquarantine in the main view
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-08-18 16:28:05 +02:00
Dominik Csapak
216bbcd54a do not show login window when a quarantine token is given
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-08-18 16:27:42 +02:00
Dominik Csapak
033228c06d let the default token be chosen by the view
instead of the application, since we want a different default
token for the admin view and the quarantine view

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-08-18 16:26:57 +02:00
Dietmar Maurer
fc7de588fd start GUI for general system configuration options 2017-08-18 12:45:08 +02:00
Dietmar Maurer
ec92285424 impl. restore factory defaults 2017-08-18 11:18:33 +02:00
Dietmar Maurer
161f4504c3 implement user Blacklist/Whitelist GUI 2017-08-17 14:38:39 +02:00
Dietmar Maurer
e5de6d6435 use splitter component instead of slpit property 2017-08-17 11:32:40 +02:00
Dietmar Maurer
258d48b509 start implementing quarantine actions 2017-08-16 10:49:08 +02:00
Dietmar Maurer
af5aba0cd0 improve spam list table layout 2017-08-11 13:52:07 +02:00
Dietmar Maurer
d9c3552acf implement spam quarantine list and preview 2017-08-10 14:00:44 +02:00
Dietmar Maurer
0277bfebf0 add new quarantine view 2017-04-30 11:19:28 +02:00
Dietmar Maurer
4bc1cbd8b3 js/LoginView.js: implement autologin with quarantine tickets 2017-04-29 18:34:27 +02:00
Dietmar Maurer
b045f069ab js/Workspace.js: removed unused file 2017-04-29 17:42:56 +02:00
Dietmar Maurer
b4d28dad49 ClusterAdministration.js: use new API entry point 2017-04-13 06:25:44 +02:00
Dietmar Maurer
a6f800c431 ClusterAdministration.js: use progressbarwidget to display usage information 2017-04-12 13:55:52 +02:00
Dietmar Maurer
ef7b87d8c3 ClusterAdministration.js: fix column width 2017-04-12 12:29:28 +02:00
Dietmar Maurer
96a898b1d8 ClusterAdministration.js: improve cluster status view 2017-04-12 12:23:36 +02:00
Dominik Csapak
7d48b1387d set default focus of loginwindow to usernameField
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-10 13:15:03 +02:00
Dietmar Maurer
c6a1bc6be8 ClusterAdministration.js: implement join/create 2017-04-10 12:42:05 +02:00
Dietmar Maurer
5e453db724 use new monStoreErrors property 2017-04-07 06:47:11 +02:00
Dietmar Maurer
ee138d2d4b ClusterAdministration.js: code cleanup 2017-04-05 17:08:23 +02:00
Dietmar Maurer
c745a8755d ClusterAdministration.js: add buttons, use a view model to simplify code 2017-04-05 13:25:19 +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
Dietmar Maurer
c77675e9c0 js/NavigationTree.js: add new cluster administration panel 2017-04-05 07:17:28 +02:00
Dietmar Maurer
3960dd9759 SystemConfiguration.js: set minHeight on Network panel
Else it gets removed from the view if the window is to small.
2017-04-05 07:11:03 +02:00
Dominik Csapak
87ab935331 use new files in Makefile and correct index.html.tpl
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-05 06:49:11 +02:00
Dominik Csapak
1a51a8dc68 restructure configuration panel
move dns/time into network panel, to save some space

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-05 06:48:36 +02:00
Dominik Csapak
c3339ea165 rewrite ruleinfo
complete rewrite of the ruleinfo sidebar

* uses mvvm system
* show tabpanel with all unused objects, each category in a tab
* group the used objects by type
* allow for drag/drop or the actionbuttons for adding/removing

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-05 06:48:11 +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
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
Dominik Csapak
a450450001 add itemIds in tabpanels
will be used for routing

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-05 06:46:37 +02:00
Dominik Csapak
8a20ffa56a add application
this is the main application class, which is responsible for loading
the main/login view

also for recentering modal windows

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-05 06:46:06 +02:00
Dominik Csapak
5936e3ef59 add the dashboard component
empty for now

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-05 06:45:03 +02:00
Dominik Csapak
cd6bb503c3 add loginview
this replaces the loginwindow, and is responsible for logging in the user

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-05 06:44:47 +02:00
Dominik Csapak
9d91eeb07a add mainview component
this is the mainview component, which replaces partly the pmg workspace

it is responsible for creating the components from the navigation,
and do the routing

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-05 06:43:27 +02:00
Dominik Csapak
1a7e73d192 add ruleeditor
this is the editwindow for the rules

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-05 06:41:10 +02:00
Dominik Csapak
ed2e43ff72 add navigation tree
this is a treelist with a store where we can define the structure of
the navigation on the left

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-05 06:40:13 +02:00
Dominik Csapak
ca6f3037f6 add versioninfo component
this gets the current version from the api and displays it

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-05 06:38:50 +02:00
Dominik Csapak
9e3180e7c7 add logo component
for displaying the proxmox logo

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-05 06:37:49 +02:00
Dominik Csapak
4b7e5c48dd improve rule_direction formatter
this adds arrow icons to the direction formatter

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-05 06:37:24 +02:00
Dominik Csapak
076d6a72ad improving oclass formatter
this adds from/to to the oclass text object
adds a new oclass_icon object
and a new format_oclass function, which
combines the icon with the text

this will be used in the new ruleinfo sidebar

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-05 06:36:55 +02:00
Dominik Csapak
f1ab2a1476 add updateLoginData to PMG.Utils
we need this multiple times

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-04-05 06:36:17 +02:00
Dietmar Maurer
462f06883e ClusterAdministration.js: start cluster panel 2017-04-05 06:32:44 +02:00
Dietmar Maurer
59542a9f78 PostfixMailQueue.js: deselect record on removal
So that buttons gets correctly disabled
2017-04-03 12:31:37 +02:00
Dietmar Maurer
cd3d421320 ViewMailHeaders.js: implement simple mail preview (headers only) 2017-04-03 10:27:52 +02:00
Dietmar Maurer
b8b05af7a0 PostfixMailQueue.js: implement remove for single queue entry 2017-04-03 08:10:01 +02:00
Dietmar Maurer
53f18f14ea PostfixMailQueue.js: implement single mail flush 2017-04-03 07:56:36 +02:00
Dietmar Maurer
723e6671c9 PostfixQShape.js: use correct nodename 2017-04-03 07:47:03 +02:00
Dietmar Maurer
10f771b57f PostfixMailQueue.js: use new api entry point, allow to set queue name 2017-04-03 07:42:01 +02:00
Dietmar Maurer
f24df9c154 PostfixQShape.js: add nodename configuration, reload on activate 2017-04-02 18:42:00 +02:00
Dietmar Maurer
55589b49b1 PostfixMailQueue.js: reload on activate 2017-04-02 18:41:25 +02:00
Dietmar Maurer
153408d5eb implement postfix maintainance actions 2017-04-02 13:28:11 +02:00
Dietmar Maurer
70b0bec4de QueueAdministration.js: view mail queue on double click 2017-04-02 12:33:51 +02:00
Dietmar Maurer
34d0b6ccfe js/PostfixMailQueue.js: use buffered store with large page size 2017-04-02 12:01:49 +02:00
Dietmar Maurer
df71aecf06 PostfixMailQueue.js: implement filter 2017-04-02 10:50:35 +02:00
Dietmar Maurer
ccf06524eb PostfixMailQueue.js: add widget to display mail queue 2017-04-02 09:11:14 +02:00
Dietmar Maurer
0a5e024a21 use a better file name: js/MailQueue.js -> js/PostfixQShape.js 2017-04-02 08:16:40 +02:00
Dietmar Maurer
a1da2b3642 add maild queue administration panel 2017-04-01 18:00:01 +02:00
Dietmar Maurer
e93402eeb2 UserView.js: correctly monitor and display store errors 2017-03-31 17:33:32 +02:00
Dietmar Maurer
fc18b36f1a LoginWindow.js: submit correct realm 2017-03-31 17:26:57 +02:00
Dietmar Maurer
98d2cb7f7a MailProxyPorts.js: cleanup -use view controller 2017-03-31 16:08:10 +02:00
Dietmar Maurer
b4ca6e3aa4 UserEdit.js: use dynamic xtype with cbind 2017-03-31 12:29:54 +02:00
Dietmar Maurer
2f74c5b4a5 js/UserEdit.js: use new cbind plugin 2017-03-31 12:19:55 +02:00
Dietmar Maurer
feb551ff61 js/UserEdit.js: updateUserid() - update methods does not return values 2017-03-30 12:07:25 +02:00
Dietmar Maurer
ec321d0808 js/UserEdit.js: set isCreate to true
seems the formulas are not triggered at startup
2017-03-30 11:59:40 +02:00
Dietmar Maurer
3142a2374f js/UserEdit.js: make userid a real config property
and implement updateUserid()
2017-03-30 11:40:04 +02:00
Dietmar Maurer
01632217f9 js/UserEdit.js: use formulas 2017-03-30 09:41:20 +02:00
Dietmar Maurer
466b5739bc js/UserEdit.js: do not allow blank passwords 2017-03-30 08:09:34 +02:00
Dietmar Maurer
c5e49a3d85 js/UserEdit.js: do not use onGetValues 2017-03-30 08:08:37 +02:00
Dietmar Maurer
bf01ac26d0 js/UserEdit.js: use initViewModel instead of init 2017-03-30 06:10:40 +02:00
Dietmar Maurer
5c0672e41b js/UserEdit.js: hack to avoid flicker 2017-03-29 22:06:36 +02:00
Dietmar Maurer
c62792c131 js/UserEdit.js: use new autoLoad property 2017-03-29 19:41:52 +02:00
Dietmar Maurer
2d1e22dd87 js/UserEdit.js: overwrite setValues instead of using load callback 2017-03-29 19:32:20 +02:00
Dietmar Maurer
8f5de6bf1b js/UserView.js: cleanup - remove initComponent 2017-03-29 19:17:45 +02:00
Dietmar Maurer
b7e43bc4f3 js/UserEdit.js: rewrite, use a view model 2017-03-29 19:11:48 +02:00
Dietmar Maurer
4d904e0acc js/UserEdit.js: code cleanup 2017-03-28 15:30:18 +02:00
Dietmar Maurer
4468e69cb3 js/UserView.js: use a view controller 2017-03-28 13:26:20 +02:00
Dietmar Maurer
56ea37185d UserView.js: correcfly sort by realm 2017-03-27 13:57:27 +02:00
Dietmar Maurer
c0ffdd0046 RoleSelector.js: widget to select user role 2017-03-27 13:33:19 +02:00
Dietmar Maurer
ec1dd829db implement local user panel 2017-03-27 12:34:12 +02:00
Dietmar Maurer
4ada6d225c LDAPConfig.js: do not allow synchronize on disabled profiles 2017-03-23 16:38:47 +01:00
Dietmar Maurer
cbbf032ce8 improve LDAP object nameing 2017-03-23 16:37:55 +01: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
65a2aa68c1 LDAPConfig.js: use new API entry points 2017-03-22 06:52:58 +01:00
Dietmar Maurer
d045660bb4 LDAPConfig.js: s/section/profile/ 2017-03-22 06:38:28 +01:00
Dietmar Maurer
2c18c2d725 LDAPConfig.js: add Synchronize button 2017-03-21 07:39:06 +01:00
Dietmar Maurer
fb896a907c LDAPConfig.js: include database statistics 2017-03-20 11:58:53 +01:00
Dietmar Maurer
b357057ee8 use new proxmoxStdRemoveButton widget 2017-03-20 08:02:41 +01:00
Dietmar Maurer
b68509390f LDAPConfig.js: add remove button 2017-03-20 06:30:13 +01:00
Dietmar Maurer
f6b1b3bfab add simple LDAP configuration panel 2017-03-19 11:30:46 +01:00
Dietmar Maurer
e653eb8222 ServerStatus.js: panel to view server status and console button 2017-03-10 07:58:41 +01:00
Dietmar Maurer
830e582756 avoid useless borders 2017-03-07 17:13:20 +01:00
Dietmar Maurer
f2ca0a1a39 ObjectGroupSelector.js: fix border for action selector 2017-03-07 16:57:01 +01:00
Dietmar Maurer
84185bf4e9 ObjectGroupConfiguration.js: fix behaviour when removing entries 2017-03-07 16:51:50 +01:00
Dietmar Maurer
397006117a rename ActionConfiguration.js to ActionList.js
And use it to edit rules.
2017-03-07 12:37:18 +01:00
Dietmar Maurer
f71626c2c7 ObjectGroupSelector.js: new widget to simplify code 2017-03-07 12:09:23 +01:00
Dietmar Maurer
ad834b6f60 improve rule GUI 2017-03-07 11:16:18 +01:00