]> git.proxmox.com Git - pmg-gui.git/log
pmg-gui.git
3 years agochange ui to 'pve-nav'
Dominik Csapak [Wed, 26 May 2021 09:13:09 +0000 (11:13 +0200)]
change ui to 'pve-nav'

since 'nav' contains some styling we do not want (in extjs 7.0)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
3 years agobump version to 2.4-3
Thomas Lamprecht [Tue, 11 May 2021 14:18:05 +0000 (16:18 +0200)]
bump version to 2.4-3

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoquarantineview: unify url generation
Stoiko Ivanov [Wed, 5 May 2021 09:33:04 +0000 (11:33 +0200)]
quarantineview: unify url generation

this patch adds the cleanup for the attachment quarantine from
0e26e20aa5522b3f7d05e68c96104b051419b901 to the virus- and
spamquarantine.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
3 years agoattachmentquarantine: fix missing '&' for raw-param addition
Stoiko Ivanov [Wed, 5 May 2021 09:33:03 +0000 (11:33 +0200)]
attachmentquarantine: fix missing '&' for raw-param addition

small glitch introduced in the code cleanup in:
0e26e20aa5522b3f7d05e68c96104b051419b901

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
3 years agobump version to 2.4-2
Thomas Lamprecht [Thu, 15 Apr 2021 13:22:12 +0000 (15:22 +0200)]
bump version to 2.4-2

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoquarantine: restore behavior of selecting next in list after action
Thomas Lamprecht [Thu, 1 Apr 2021 11:40:03 +0000 (13:40 +0200)]
quarantine: restore behavior of selecting next in list after action

This fixes a UX regression stemming from the recently introduced
commit 9aed379a700a0bc3bc26fa32d43a5bab75eb206b
"spam quarantine: avoid full store reload on single-element actions"

A load restored the saved selection after load complete, with the
neat and very useful feature to jump to the next in line if the old
one did not exist anymore.

Call this now factored out code part ourself in the fast-path.

This was reported in the forum:
https://forum.proxmox.com/threads/proxmox-mail-gateway-6-4-released.86760/#post-380971

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoquarantine list: factor out restoreSavedSelection
Thomas Lamprecht [Thu, 1 Apr 2021 11:39:36 +0000 (13:39 +0200)]
quarantine list: factor out restoreSavedSelection

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agocode cleanup
Thomas Lamprecht [Thu, 1 Apr 2021 11:34:24 +0000 (13:34 +0200)]
code cleanup

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agospam quarantine: code cleanup
Thomas Lamprecht [Tue, 30 Mar 2021 15:06:45 +0000 (17:06 +0200)]
spam quarantine: code cleanup

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agospam context menu: set correct handler for whitelist/blacklist
Thomas Lamprecht [Tue, 30 Mar 2021 12:31:10 +0000 (14:31 +0200)]
spam context menu: set correct handler for whitelist/blacklist

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agobump version to 2.4-1
Thomas Lamprecht [Tue, 23 Mar 2021 11:30:34 +0000 (12:30 +0100)]
bump version to 2.4-1

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agod/control: update versioned dependency for widget-toolkit
Thomas Lamprecht [Tue, 23 Mar 2021 11:27:09 +0000 (12:27 +0100)]
d/control: update versioned dependency for widget-toolkit

ensure that the new Proxmox.Async class is available and that we have
all of the checkbox selection model performance tuning available.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agospam quarantine: avoid full store reload on single-element actions
Thomas Lamprecht [Tue, 23 Mar 2021 11:21:53 +0000 (12:21 +0100)]
spam quarantine: avoid full store reload on single-element actions

A store load may require several seconds to complete, which can get
frustrating fast.

For single actions we have a callback which gets only executed on a
successful API call, so we can just remove the entry there directly
from the in-memory store.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agospam quarantine: batch actions into 2500-sized chunks
Thomas Lamprecht [Tue, 23 Mar 2021 11:15:56 +0000 (12:15 +0100)]
spam quarantine: batch actions into 2500-sized chunks

With ~20 bytes per message-id and separator we get over the current
HTTP post size limit of 64 KiB with ~ 3200 messages.

As 2500 is a relatively nice number for humans to deal with rather go
for that one, that leaves also some room for potential longer IDs in
the future.

Send the batches of async in pairs, as with that the pmgproxy can
still cope well and is not overloaded.

Mask the whole list panel with a 'Processing...' loading-mask during
sending of requests affecting multiple messages, so that the user
gets some instant visible feedback that something is actually
happening (the api calls may return only after a few seconds).

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agospam quarantine: shorter mapping from selected to id list
Thomas Lamprecht [Tue, 23 Mar 2021 10:49:29 +0000 (11:49 +0100)]
spam quarantine: shorter mapping from selected to id list

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agofix #3164: allow one to display all quarantined spam mails
Thomas Lamprecht [Mon, 22 Mar 2021 08:50:10 +0000 (09:50 +0100)]
fix #3164: allow one to display all quarantined spam mails

If the API call returned more than one pmail entry, inject an "all"
entry which, if selected, drops the user parameter and loads the
quarantine mails of all users from the backend.

The webinterface has only some issues regarding deselection (all in
the grid header or if we need to deselect due to the search filtering
out some elements) - for that the underlying issue was found and a
widget toolkit patch was provided.

The rest seems now pretty performant, albeit more than a few 100k
mails may become a problem here. But, in such big setups the mail
admin won't tinker to much whith the users mail anyway, if they are
even alowed to do so depending on their jurisdictions privacy laws
and companies privacy policy.

So, basically this is more for evaluation or for smaller setups but
got quite often requested, and as there's not more data
exposed/returned then already available I see no real argument
against it.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoquarantine list: factor out actual filtering in separate function
Thomas Lamprecht [Mon, 22 Mar 2021 08:48:21 +0000 (09:48 +0100)]
quarantine list: factor out actual filtering in separate function

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoqlist: code cleanup
Thomas Lamprecht [Sun, 21 Mar 2021 17:02:07 +0000 (18:02 +0100)]
qlist: code cleanup

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoquarantine list: allow one to filter by subject or from sender
Thomas Lamprecht [Fri, 19 Mar 2021 18:25:31 +0000 (19:25 +0100)]
quarantine list: allow one to filter by subject or from sender

Deselect those entries which got filtered out, to avoid doing
some action (delete, deliver) on hidden records.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoquarantine list: code cleanup
Thomas Lamprecht [Fri, 19 Mar 2021 18:24:51 +0000 (19:24 +0100)]
quarantine list: code cleanup

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agobump version to 2.3-3
Thomas Lamprecht [Thu, 18 Mar 2021 10:29:06 +0000 (11:29 +0100)]
bump version to 2.3-3

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agocerts: show onlineHelp tool linking directly to context chapter
Thomas Lamprecht [Thu, 18 Mar 2021 09:42:05 +0000 (10:42 +0100)]
certs: show onlineHelp tool linking directly to context chapter

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoacme config view: derive from panel not container
Thomas Lamprecht [Thu, 18 Mar 2021 09:41:28 +0000 (10:41 +0100)]
acme config view: derive from panel not container

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoutils: add onlineHelpTool
Thomas Lamprecht [Thu, 18 Mar 2021 09:40:50 +0000 (10:40 +0100)]
utils: add onlineHelpTool

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoadd certificates and acme view
Wolfgang Bumiller [Tue, 16 Mar 2021 10:24:16 +0000 (11:24 +0100)]
add certificates and acme view

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
3 years agobump version to 2.3-2
Thomas Lamprecht [Fri, 5 Mar 2021 22:06:19 +0000 (23:06 +0100)]
bump version to 2.3-2

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agobuildsys: enforce strict eslint (no warnings allowed) in check target
Thomas Lamprecht [Fri, 5 Mar 2021 22:04:46 +0000 (23:04 +0100)]
buildsys: enforce strict eslint (no warnings allowed) in check target

the for development designed incremental lint target is still non
strict, and allows warnings allowing less interrupted dev workflow

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agopbs remote: notify: use gettext and fix casing
Thomas Lamprecht [Fri, 5 Mar 2021 22:04:14 +0000 (23:04 +0100)]
pbs remote: notify: use gettext and fix casing

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agod/control: update versioned dependency to pmg-doc-generator for new anchors
Thomas Lamprecht [Fri, 5 Mar 2021 21:53:17 +0000 (22:53 +0100)]
d/control: update versioned dependency to pmg-doc-generator for new anchors

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agobackup: pbs: fix #3146 add notify setting to remote
Stoiko Ivanov [Mon, 1 Mar 2021 14:12:24 +0000 (15:12 +0100)]
backup: pbs: fix #3146 add notify setting to remote

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
3 years agobackup: pbs: fix #3154: add statistic setting to remote
Stoiko Ivanov [Mon, 1 Mar 2021 14:12:23 +0000 (15:12 +0100)]
backup: pbs: fix #3154: add statistic setting to remote

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
3 years agobackup: fix #3154: make statistic backup optional
Stoiko Ivanov [Mon, 1 Mar 2021 14:12:22 +0000 (15:12 +0100)]
backup: fix #3154: make statistic backup optional

by creating an edit-window when clicking on the respective Backup now
button.

This is the second part of the enhancement request

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
3 years agobackup: pbs: add onlineHelp anchors
Stoiko Ivanov [Mon, 1 Mar 2021 14:12:21 +0000 (15:12 +0100)]
backup: pbs: add onlineHelp anchors

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
3 years agod/control: slightly rework description
Thomas Lamprecht [Fri, 19 Feb 2021 13:58:58 +0000 (14:58 +0100)]
d/control: slightly rework description

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agod/control: use https in homepage link
Thomas Lamprecht [Fri, 19 Feb 2021 13:58:44 +0000 (14:58 +0100)]
d/control: use https in homepage link

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agod/control: update dependencies, drop perl add eslint
Thomas Lamprecht [Fri, 19 Feb 2021 13:58:29 +0000 (14:58 +0100)]
d/control: update dependencies, drop perl add eslint

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agostatistics: use new api call for detailed stats
Stoiko Ivanov [Tue, 2 Feb 2021 13:03:17 +0000 (14:03 +0100)]
statistics: use new api call for detailed stats

the new /statistics/detail api calls takes the type (contact, sender,
receiver) and address for which to display the statistics as explicit
parameter instead of path-component.

This makes it possible to accept '/' as part of an e-mail address
which is allowed (in the local-part by RFC5322 [0], and accepted by
postfix.

[0] https://tools.ietf.org/html/rfc5322

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
4 years agobump version to 2.3-1
Thomas Lamprecht [Wed, 18 Nov 2020 17:04:29 +0000 (18:04 +0100)]
bump version to 2.3-1

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoadd 'Request Quarantine Link' Button to LoginView
Dominik Csapak [Wed, 18 Nov 2020 10:59:37 +0000 (11:59 +0100)]
add 'Request Quarantine Link' Button to LoginView

if the template has 'quarantinelink' enabled, we
show a button 'Request Quarantine Link' on the quarantine login ui

there a user can enter their e-mail and request a link to the quarantine

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
4 years agobackup: rename manual backup button to "Backup Now"
Thomas Lamprecht [Wed, 18 Nov 2020 16:52:29 +0000 (17:52 +0100)]
backup: rename manual backup button to "Backup Now"

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agopbs: improve schedule edit
Thomas Lamprecht [Wed, 18 Nov 2020 16:48:38 +0000 (17:48 +0100)]
pbs: improve schedule edit

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agopbs: add schedules grid, always select first remote
Thomas Lamprecht [Wed, 18 Nov 2020 13:07:10 +0000 (14:07 +0100)]
pbs: add schedules grid, always select first remote

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agopbs: small cleanups and store field name fixes
Thomas Lamprecht [Wed, 18 Nov 2020 13:06:27 +0000 (14:06 +0100)]
pbs: small cleanups and store field name fixes

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agopbs: factor out remote add/edit window and panels
Thomas Lamprecht [Tue, 17 Nov 2020 18:30:48 +0000 (19:30 +0100)]
pbs: factor out remote add/edit window and panels

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agopbs: factor out snapshot grid view
Thomas Lamprecht [Tue, 17 Nov 2020 18:28:57 +0000 (19:28 +0100)]
pbs: factor out snapshot grid view

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agopbs: hide encryption column
Thomas Lamprecht [Tue, 17 Nov 2020 18:22:58 +0000 (19:22 +0100)]
pbs: hide encryption column

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agopbs: followup: actually set cbind for all elements
Thomas Lamprecht [Tue, 17 Nov 2020 18:21:14 +0000 (19:21 +0100)]
pbs: followup: actually set cbind for all elements

we cannot have xtype nor cbind in the defaults, as moving xtype there
breaks our cbind "when to stop descendant+apply" heuristic and cbind
cannot be moved there as it'd be only copied over by initComponent
and that happens later than the cbind apply step.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agopbs: drop unused reference
Thomas Lamprecht [Tue, 17 Nov 2020 18:12:34 +0000 (19:12 +0100)]
pbs: drop unused reference

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agopbs: top bar UX improvements
Thomas Lamprecht [Tue, 17 Nov 2020 18:11:34 +0000 (19:11 +0100)]
pbs: top bar UX improvements

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agopbs: refactor remote edit window
Thomas Lamprecht [Tue, 17 Nov 2020 18:09:17 +0000 (19:09 +0100)]
pbs: refactor remote edit window

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agopbs: make remote add fully declarative
Thomas Lamprecht [Tue, 17 Nov 2020 18:08:56 +0000 (19:08 +0100)]
pbs: make remote add fully declarative

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agopbs: actually use cbind mixin for it to work
Thomas Lamprecht [Tue, 17 Nov 2020 18:08:14 +0000 (19:08 +0100)]
pbs: actually use cbind mixin for it to work

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agopbs: adapt to API changes + some litte cleanups
Thomas Lamprecht [Tue, 17 Nov 2020 17:11:46 +0000 (18:11 +0100)]
pbs: adapt to API changes + some litte cleanups

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agorestore window: adapt for api changes
Thomas Lamprecht [Tue, 17 Nov 2020 17:09:49 +0000 (18:09 +0100)]
restore window: adapt for api changes

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agopbs: drop beta notice and encryption checkbox
Thomas Lamprecht [Tue, 17 Nov 2020 17:07:04 +0000 (18:07 +0100)]
pbs: drop beta notice and encryption checkbox

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoadd PBSConfig tab to Backup menu
Stoiko Ivanov [Mon, 16 Nov 2020 11:01:18 +0000 (12:01 +0100)]
add PBSConfig tab to Backup menu

The PBSConfig panel enables creation/editing/deletion of PBS instances.
Each instance can lists its snapshots and each snapshot can be restored

Inspired by the LDAPConfig panel and PBSEdit from pve-manager.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
4 years agorefactor RestoreWindow for PBS
Stoiko Ivanov [Mon, 16 Nov 2020 11:01:17 +0000 (12:01 +0100)]
refactor RestoreWindow for PBS

by moving the item definition to initComponent, and changing the check
for a provided filename, we can reuse the window for restores from PBS

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
4 years agoMake Backup/Restore panel a menuentry
Stoiko Ivanov [Mon, 16 Nov 2020 11:01:16 +0000 (12:01 +0100)]
Make Backup/Restore panel a menuentry

Move it away from the tab list in the Configuration entry to a submenu in
preparation for adding PBS integration

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
4 years agoRegexTester: fix getting reference to regex field
Stoiko Ivanov [Thu, 12 Nov 2020 17:57:57 +0000 (18:57 +0100)]
RegexTester: fix getting reference to regex field

the regular expression field is not necessarily after the regex tester
(mostly it is before). In order to be more robust, use the child
method of the parent window instead of previousSibling of the button.

The child method gets any direct descendant matching the query, the
sibling one is always directional and there's no method for "any
sibling".

Tested with:
* mailproxy whitelist
* match field
* match filename
* who object

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
4 years agobuildsys: rm -f .lint-incremental
Stoiko Ivanov [Thu, 12 Nov 2020 17:57:56 +0000 (18:57 +0100)]
buildsys: rm -f .lint-incremental

else the build fails if the file does not exist

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
4 years agobump version to 2.2-3
Thomas Lamprecht [Tue, 3 Nov 2020 11:03:07 +0000 (12:03 +0100)]
bump version to 2.2-3

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agomobile: consistent success action message with full UI
Thomas Lamprecht [Fri, 30 Oct 2020 14:12:59 +0000 (15:12 +0100)]
mobile: consistent success action message with full UI

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agorun lint checks during build and allow incremental linting
Thomas Lamprecht [Fri, 30 Oct 2020 14:11:44 +0000 (15:11 +0100)]
run lint checks during build and allow incremental linting

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agomobile: fix calendar start/end date labels
Thomas Lamprecht [Fri, 30 Oct 2020 14:03:05 +0000 (15:03 +0100)]
mobile: fix calendar start/end date labels

Since/Until is not quite correct, especially in other languages
(e.g., in German "from" and "to" was translated to "Von" and "An",
respectively.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoUtils: add product specific task descriptions
Dominik Csapak [Fri, 30 Oct 2020 13:02:56 +0000 (14:02 +0100)]
Utils: add product specific task descriptions

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
4 years agomobile: show toast instead of annoying prompt
Thomas Lamprecht [Fri, 30 Oct 2020 14:00:46 +0000 (15:00 +0100)]
mobile: show toast instead of annoying prompt

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agojs/mobile: fix eslint and enable linting on build
Thomas Lamprecht [Fri, 30 Oct 2020 13:20:26 +0000 (14:20 +0100)]
js/mobile: fix eslint and enable linting on build

lint the build file, as else eslint does not has the full picture.

Add a prelude to define globals once at the top

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agobuildsys: use separate makefiles
Thomas Lamprecht [Fri, 30 Oct 2020 13:17:08 +0000 (14:17 +0100)]
buildsys: use separate makefiles

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoeslint fixes
Thomas Lamprecht [Fri, 30 Oct 2020 13:08:16 +0000 (14:08 +0100)]
eslint fixes

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agodrop jslint hints
Thomas Lamprecht [Fri, 23 Oct 2020 12:07:00 +0000 (14:07 +0200)]
drop jslint hints

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agodrop jslint hint for Proxmox global
Thomas Lamprecht [Fri, 23 Oct 2020 12:03:17 +0000 (14:03 +0200)]
drop jslint hint for Proxmox global

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agotree wide: eslint --fix
Thomas Lamprecht [Fri, 23 Oct 2020 11:17:15 +0000 (13:17 +0200)]
tree wide: eslint --fix

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoquarantine action: use shadow for toast "window"
Thomas Lamprecht [Fri, 23 Oct 2020 11:15:10 +0000 (13:15 +0200)]
quarantine action: use shadow for toast "window"

better contrast

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agobuildsys: fix makefile dependencies
Thomas Lamprecht [Fri, 23 Oct 2020 11:09:46 +0000 (13:09 +0200)]
buildsys: fix makefile dependencies

To ensure relevant stuff is always rebuild include the CSS and image
files in the install dependencies.

Further, mark the meta targets for building the pmgmanagerlib normal
and mobile versions as PHONY, as they only re-direct the make to the
respective makefile we need to ensure it always does, as else it
circumvents the actual dependency declaration of the responsible
targets.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoquarantine: make annoying success prompt a toast
Thomas Lamprecht [Fri, 23 Oct 2020 10:57:20 +0000 (12:57 +0200)]
quarantine: make annoying success prompt a toast

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agomake lint: use eslint
Thomas Lamprecht [Fri, 23 Oct 2020 10:55:25 +0000 (12:55 +0200)]
make lint: use eslint

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoutils: eslint fixes
Thomas Lamprecht [Fri, 23 Oct 2020 10:07:00 +0000 (12:07 +0200)]
utils: eslint fixes

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agofix #2844: MailTracker: do not collapse rows with double click
Dominik Csapak [Wed, 15 Jul 2020 10:32:37 +0000 (12:32 +0200)]
fix #2844: MailTracker: do not collapse rows with double click

so that users can select words with double click, but can still expand
the logs with it

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
4 years agobump version to 2.2-2
Thomas Lamprecht [Thu, 4 Jun 2020 14:51:31 +0000 (16:51 +0200)]
bump version to 2.2-2

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agopostfix mailq admin: avoid early load by updating nodename only if changed
Thomas Lamprecht [Thu, 4 Jun 2020 15:57:55 +0000 (17:57 +0200)]
postfix mailq admin: avoid early load by updating nodename only if changed

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoPostfixMailQ eslint fixes
Thomas Lamprecht [Thu, 4 Jun 2020 15:56:44 +0000 (17:56 +0200)]
PostfixMailQ eslint fixes

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agodeferred mailq: sort initially by arrival time
Thomas Lamprecht [Thu, 4 Jun 2020 15:40:08 +0000 (17:40 +0200)]
deferred mailq: sort initially by arrival time

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agofix #1976: enable remoteSort for PostfixMailQueue
Stoiko Ivanov [Thu, 28 May 2020 08:04:59 +0000 (10:04 +0200)]
fix #1976: enable remoteSort for PostfixMailQueue

The mailq results are potentially very large, why a BufferedStore is used.

BufferedStores only support [0] remote filtering (which is already done) and
remote sorting (which this patch enables).

simpleSortMode (getting sortfield and sortdirection as two parameters instead
of an array with multiple objects containing those fields), is enabled to
work with our API.

[0] quite naturally, since you'd need to have the complete result to sort it,
 however only documented in the source code (and not the reference docs)

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
4 years agoreport: indentation cleanup
Thomas Lamprecht [Thu, 4 Jun 2020 06:21:46 +0000 (08:21 +0200)]
report: indentation cleanup

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agofollowup: add separator
Thomas Lamprecht [Thu, 4 Jun 2020 06:20:37 +0000 (08:20 +0200)]
followup: add separator

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agogui: alow to remove subscription
Moayad Almalat [Thu, 28 May 2020 08:51:31 +0000 (10:51 +0200)]
gui: alow to remove subscription

Signed-off-by: Moayad Almalat <m.almalat@proxmox.com>
4 years agod/control: bump versioned to proxmox-widget-toolkit
Thomas Lamprecht [Mon, 18 May 2020 16:52:05 +0000 (18:52 +0200)]
d/control: bump versioned to proxmox-widget-toolkit

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoremove Logo.js
Dominik Csapak [Fri, 15 May 2020 08:19:29 +0000 (10:19 +0200)]
remove Logo.js

it is now in the widget-toolkit

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
4 years agobump version to 2.2-1
Thomas Lamprecht [Fri, 24 Apr 2020 17:05:43 +0000 (19:05 +0200)]
bump version to 2.2-1

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoMailTracker: change default emptyText
Dominik Csapak [Fri, 24 Apr 2020 13:57:56 +0000 (15:57 +0200)]
MailTracker: change default emptyText

by default show that the user first has to press search, and
afterwards show the old emptyText

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
4 years agoMailTracker: do not search when not both datetime parameters are given
Dominik Csapak [Fri, 24 Apr 2020 13:57:55 +0000 (15:57 +0200)]
MailTracker: do not search when not both datetime parameters are given

in the gui, we always expect an end and starttime, the only case
where we do not get this is when the fields are invalid, so bail out
in that case instead of searching

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
4 years agoMailTracker: buffer onFilterChange
Dominik Csapak [Fri, 24 Apr 2020 13:57:54 +0000 (15:57 +0200)]
MailTracker: buffer onFilterChange

so that the store gets loaded only when the user stops typing

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
4 years agoquarantine: display how many mails are selected
Thomas Lamprecht [Fri, 24 Apr 2020 14:16:33 +0000 (16:16 +0200)]
quarantine: display how many mails are selected

Mostly taken from a bigger patch of Dominik, for now lets just show
the count (release is near) and add some padding

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoMailTracker: sort by time by default
Dominik Csapak [Fri, 24 Apr 2020 13:14:49 +0000 (15:14 +0200)]
MailTracker: sort by time by default

so that the mails get shown in correct order

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
4 years agoMailTracker: let panel decide about width
Dominik Csapak [Fri, 24 Apr 2020 13:14:48 +0000 (15:14 +0200)]
MailTracker: let panel decide about width

else, the fieldLabels might be cut off

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
4 years agoDashboard: remove autoLoad from updateStores
Dominik Csapak [Fri, 24 Apr 2020 13:14:47 +0000 (15:14 +0200)]
Dashboard: remove autoLoad from updateStores

those stores all have 'autoStart' set, which loads the store anyway
as soon as possible. this seems to fix some store load issues

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
4 years agobump version to 2.1-6
Thomas Lamprecht [Mon, 20 Apr 2020 15:49:38 +0000 (17:49 +0200)]
bump version to 2.1-6

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agod/control: bump versioned build dependency to proxmox-widget-toolkit
Thomas Lamprecht [Mon, 20 Apr 2020 15:42:39 +0000 (17:42 +0200)]
d/control: bump versioned build dependency to proxmox-widget-toolkit

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agomail proxy options: add maxValue config for netmasks
Thomas Lamprecht [Mon, 20 Apr 2020 15:39:53 +0000 (17:39 +0200)]
mail proxy options: add maxValue config for netmasks

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoMailProxyOptions: add greylist enhancements
Stoiko Ivanov [Mon, 20 Apr 2020 11:22:44 +0000 (13:22 +0200)]
MailProxyOptions: add greylist enhancements

This patch adds 3 new configuration settings to the MailProxy Options Tab, for
comfortably enabling greylisting for IPv6 addresses, and configuring the
netmask used for greylist matching

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>