Commit Graph

7 Commits

Author SHA1 Message Date
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
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
Dominik Csapak
207471c040 select mail when coming from link in SpamQuarantine mail
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-10-06 07:29:58 +02:00
Dominik Csapak
99bba12c7f 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>
2017-10-05 12:51:38 +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