Commit Graph

310 Commits

Author SHA1 Message Date
Dietmar Maurer
282d45fb73 change lang cookie name to PMGLangCookie 2017-10-04 11:33:02 +02:00
Dietmar Maurer
65921b407b LoginView.js - correctly mask loginwindow on language change 2017-10-04 11:27:32 +02:00
Dietmar Maurer
de4f1b8aa0 remove obsolete LoginWindow.js 2017-10-04 11:24:17 +02:00
Dietmar Maurer
775b9a7d54 add language selector 2017-10-04 11:23:17 +02:00
Dietmar Maurer
24e6dc95f8 ClusterAdministration.js - display subscription status for all members 2017-10-03 14:51:41 +02:00
Dietmar Maurer
54fd9bd875 add help button to subscription upload window 2017-10-03 14:50:56 +02:00
Dietmar Maurer
9584871dc7 display subscription status after login 2017-09-29 10:41:13 +02:00
Dominik Csapak
4700c0375b hide column headers for spam level info
they dont give any useful information

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-09-29 09:42:59 +02:00
Dietmar Maurer
c811498512 SpamInfoGrid.js - use single store object
And only set/change url.
2017-09-29 08:02:02 +02:00
Dietmar Maurer
b4c60642b6 SpamInfoGrid.js - score need to be a numeric field
To make grid summary working.
2017-09-29 07:24:34 +02:00
Dietmar Maurer
f34abacac7 SpamInfoGrid.js - avoid border 2017-09-29 07:11:33 +02:00
Dominik Csapak
56b4528f24 add missing titles for quarantines
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-09-28 15:16:34 +02:00
Dominik Csapak
387aeedfca use VirusQuarantine and change icon for SpamQuarantine
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-09-28 14:47:19 +02:00
Dominik Csapak
644f752b75 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>
2017-09-28 14:47:06 +02:00
Dominik Csapak
2d1f7824e4 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>
2017-09-28 14:46:56 +02:00
Dominik Csapak
cf5268ca8a 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>
2017-09-28 14:44:38 +02:00
Dominik Csapak
79a3f18d31 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>
2017-09-28 14:43:49 +02:00
Dominik Csapak
75fcb6fdde 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>
2017-09-28 14:43:33 +02:00
Dominik Csapak
2468e1a139 jslint: empty block
reverse logic of if block to avoid empty block

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-09-28 14:42:52 +02:00
Dominik Csapak
6355fc2cfe jslint: correct escaping
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-09-28 14:42:39 +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
ea07c9aa8e jslint: type confusion
fix many type confusions

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-09-28 14:42:13 +02:00
Dominik Csapak
acc1fedeea jslint: use dot notation
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-09-28 14:41:57 +02:00
Dominik Csapak
749af0601a jslint: trailing commas
fix many trailing commas

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-09-28 14:41:43 +02:00
Dominik Csapak
2c1d504e90 jslint: globals
adds the global object proxmox to most files

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-09-28 14:41:31 +02:00
Dominik Csapak
05e2764be8 multiply cpu and iowait with 100
since the charts expect values from 0-100 instead of 0-1

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-09-28 14:39:45 +02:00
Dietmar Maurer
28580cc2af Subscription.js - add onlineHelp 2017-09-27 17:45:12 +02:00
Dietmar Maurer
562d589cea set enableTextSelection in Subscription grid 2017-09-27 13:13:58 +02:00
Dietmar Maurer
a10c81d94d add Subscription panel 2017-09-27 12:55:54 +02:00
Dietmar Maurer
57acb12077 remove SSH access panel 2017-09-27 12:24:52 +02:00
Dietmar Maurer
6a3d1c515b add online help 2017-09-27 10:06:13 +02:00
Dietmar Maurer
91814a7615 PostfixQShape: fix onDeleteAll 2017-09-26 10:23:00 +02:00
Dietmar Maurer
81c250bdcd add Updates panel (APT interface). 2017-09-25 12:58:45 +02:00
Dietmar Maurer
087dc38ec6 SystemOptions.js - add http_proxy option 2017-09-22 11:08:37 +02:00
Dietmar Maurer
cf2485332b add MailTracker 2017-09-21 09:47:48 +02:00
Dietmar Maurer
4af3781f81 NavigationTree.js - remove useless bordert attribute 2017-09-19 12:11:32 +02:00
Dominik Csapak
61415efabe add missing itemIds for url mapping
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-09-19 12:10:15 +02:00
Dominik Csapak
2c866ec990 make navigation tree scrollable
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-09-19 11:43:20 +02:00
Dominik Csapak
50531ef945 get rid of unnecessary borders
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-09-19 11:35:19 +02:00
Dietmar Maurer
bd69f90e64 fix time format (i => hour) 2017-09-18 12:28:00 +02:00
Dietmar Maurer
cc6b80b6c8 fix some jslint errors 2017-09-18 11:39:58 +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
e234e99d0f implement archivefilter editor
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-09-14 06:29:26 +02:00
Dominik Csapak
6af3977271 implement matchfilename editor
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-09-14 06:29:06 +02:00
Dominik Csapak
bed64e74c3 implement spamlevel editor
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-09-14 06:28:36 +02:00
Dominik Csapak
3fb5067f1e change Content Type text and use emptyFn for reset for displayfield
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-09-14 06:28:24 +02:00
Dominik Csapak
50fa65204a add regextester to the match field editor
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-09-14 06:27:42 +02:00
Dominik Csapak
f3aa84ddaa add new RegexTester component
used for testing regexes in the what object editors

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-09-14 06:27:27 +02:00
Dominik Csapak
f2a235e3d1 show user black/whitelist in tree
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-09-12 07:21:16 +02:00
Dominik Csapak
7d51f9ff94 add email combobox to black/whitelist
so that we can show it in the admin interface too

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-09-12 07:20:51 +02:00
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