Commit Graph

413 Commits

Author SHA1 Message Date
Dominik Csapak
c41c360014 allow multiselect for user white- and blacklist
this allows to delete multiple entries at once

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-02-26 10:51:32 +01:00
Dominik Csapak
7ad0de10d6 add download button to spam quarantine preview
so that users can download the file directly

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-02-26 10:46:29 +01:00
Dominik Csapak
4eab05c273 make who regex tests anchored
they are in the rule system, so let the users test it correctly

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-02-25 06:15:43 +01:00
Dominik Csapak
7a0d854095 mobileui: fix list height
the items have different heights depending on theme and type
so use the correct ones

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-02-20 09:20:11 +01:00
Dominik Csapak
d0d381a817 add missing encodeURIComponent
some data contains special characters that might make problems in urls,
so encode them

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-02-20 09:19:59 +01:00
Dominik Csapak
43f0b189d9 close #1671: implement mobile UI for quarantine
this patch implements a UI for the Quarantine, designed to
be looked at on mobile phones

for this we use Framework7 instead of extjs, since it has much more
features and looks more native on phones

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-02-19 10:04:19 +01:00
Stoiko Ivanov
573a6e8b71 add onlineHelp properties to all edit windows
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2018-10-03 14:32:24 +02:00
Stoiko Ivanov
e762dd6784 refactor js/MailProxyTLSDomains.js
make TLS policy selection a widget of its own, and improve splitting
between logic and presentation

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2018-09-28 11:00:41 +02:00
Stoiko Ivanov
3155688b19 js/MailProxyTLSDomains.js: reload UpdateStore
instead of DiffStore, fixing the grid remaining empty for one second after
a change glitch

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2018-09-28 10:59:52 +02:00
Dietmar Maurer
bf289fa759 improve TLS panel layout
Use same padding as in SystemConfiguration panel.
2018-09-27 07:16:42 +02:00
Stoiko Ivanov
0c77683d63 Implement TLS Policy Setting
* add js/MailProxyTLSDomains.js for setting per domain TLS policies
* add js/MailProxyTLSPanel.js as a wrapper for the current MailProxyTLS.js and
  MailProxyTLSDomains.js

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2018-09-27 07:02:35 +02:00
Dominik Csapak
7acc9a1e6b fix #1701: add port option for smarthost
allows editing/showing the smarthost and -port

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-09-12 06:39:30 +02:00
Dietmar Maurer
f31c7df96c MailProxyOptions.js: use deleteEmpty flag for dnsbl_threshold 2018-06-21 10:33:32 +02:00
Alexander Plank
feb7e67883 Add postfix dnsbl threshold
Signed-off-by: Alexander Plank <alexander.plank@siconnex.com>
2018-06-21 10:18:38 +02:00
Dietmar Maurer
cc66960f8f fix bug #1707: use correct units for deferred mail queue (minutes) 2018-05-04 12:42:53 +02:00
Dominik Csapak
01e0e5e511 overwrite run_editor of base class
so that every call lands in the custom run_editor

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-04-06 14:14:26 +02:00
Dietmar Maurer
6265117277 cleanup: set selModel only where we need it 2018-03-29 14:40:32 +02:00
Dominik Csapak
0b9c052824 SpamQuarantine: add keyboard shortcuts for actions
d/D: deliver
delete: delete
w/W: whitelist
b/B: blacklist

the delete key registers differently depending on browser,
so we have to check for event.DELETE and '127'

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-03-29 14:33:45 +02:00
Dominik Csapak
c627f092b8 SpamQuarantine: add context menu
with the actions: deliver,delete,whitelist,blacklist

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-03-29 14:31:58 +02:00
Dominik Csapak
7f0619ff3b quarantine: refactor action logic
so that it can be reused

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-03-29 14:31:29 +02:00
Dominik Csapak
5fb0f71ea0 quarantine: do not deselect when list changes
when an e-mail is selected and an action goes through,
select the e-mail on the position the old one was,
this way, one does not have to reselect an e-mail after
an action is done

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-03-29 14:31:00 +02:00
Dominik Csapak
e6eb9495fa set the default quarantine timespan to a week
instead of only the current day

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-03-29 14:30:07 +02:00
Dominik Csapak
74901b37df reword the action success message to not show the id
but the count if we have multiple messages

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-03-29 14:27:43 +02:00
Dominik Csapak
d42f85b806 implement multiselection of spamquarantine mails
and allow the actions to be sent for all simultaniously

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-03-29 14:22:42 +02:00
Dietmar Maurer
751d131c4d add new helpdesk role 2018-03-22 11:40:39 +01:00
Dominik Csapak
bb7ab2baa6 collect and show errors on dashboard
if a cluster member is not reachable, collect the errors and show
them once to the user

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-03-05 06:48:57 +01:00
Dominik Csapak
91c74e81a8 use defaults for resources in dashboard
else we get an error if a node is not available

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-03-05 06:48:54 +01:00
Wolfgang Bumiller
40ced6648d UserEdit: add minLength of 4 to username field
To reflect the minimum length required by the backend.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2018-02-15 08:25:37 +01:00
Dominik Csapak
bee11278a6 remove outlook report style
this does not exist anymore

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-02-01 11:20:14 +01:00
Dominik Csapak
64fb657f83 improve gettext usage
optimized a few string
EMail/Email/E-mail -> E-Mail
No Data in Database/No data in database. -> No data in database
etc.

removed 'Outlook 2007' from gettext
added some strings to gettext where they were missing
(e.g. Active, etc.)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-01-24 06:26:26 +01:00
Dietmar Maurer
d42f76fc8d MailTracker.js: improve status text 2018-01-19 08:43:09 +01:00
Dietmar Maurer
00ac25c188 MailTracker.js: set start of next day for end-time 2018-01-18 11:47:55 +01:00
Dietmar Maurer
957ba04a4a change default mail port numbers 2018-01-16 14:40:50 +01:00
Dietmar Maurer
c40038d459 remove BETA, do not display repoid 2018-01-16 13:50:00 +01:00
Dominik Csapak
5b621b46c6 use htmlEncode for the username
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-01-11 10:19:51 +01:00
Dietmar Maurer
9367049b9d set maxspamsize default back to 256K 2017-12-29 12:28:47 +01:00
Dietmar Maurer
aac17b9be4 Revert "doQuarantineAction: pass pmail parameter"
This reverts commit 794e411a4f.

Not required any longer, because the backend now encode all info inside
the id.
2017-12-28 12:47:11 +01:00
Dietmar Maurer
794e411a4f doQuarantineAction: pass pmail parameter 2017-12-28 08:41:59 +01:00
Dietmar Maurer
285cb4be15 ClusterAdministration.js - avoid duplicate load mask 2017-12-19 07:51:15 +01:00
Dietmar Maurer
ad80b56032 ClusterAdministration.js - sort nodes by cid 2017-12-19 07:50:37 +01:00
Dietmar Maurer
d7dd15626c ClusterAdministration.js - catch undefined value in loadavg renderer 2017-12-19 07:48:13 +01:00
Dominik Csapak
f4de85b4e9 check if load is successfull in GeneralMailStatistics
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-12-18 13:34:22 +01:00
Dietmar Maurer
03dbbc5a2e bump default maxspamsize to 1M 2017-12-18 09:51:56 +01:00
Dominik Csapak
87517465e3 jslint: fix type confusion of handler
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-12-15 09:01:04 +01:00
Dominik Csapak
b12554018d jslint: fix trailing comma
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-12-15 09:00:55 +01:00
Dominik Csapak
829b82f762 add BETA link to bugtracker
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-12-15 09:00:45 +01:00
Dietmar Maurer
97c8b7b097 add node reboot and shutdown buttons 2017-12-14 10:00:31 +01:00
Dominik Csapak
6ad5f9f2c6 replace novnc with xtermjs
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-12-11 14:50:03 +01:00
Dietmar Maurer
85e3298111 add spam detector option clamav_heuristic_score 2017-12-11 13:44:01 +01:00
Dietmar Maurer
126df33c9a fix title in Incoming Mails graph (use 'Junk Mails') 2017-12-07 11:23:08 +01:00