]> git.proxmox.com Git - pmg-gui.git/log
pmg-gui.git
2 years agoui: pbs remote: use proxmoxtextfield for password edit xtype again
Thomas Lamprecht [Mon, 16 May 2022 10:17:01 +0000 (12:17 +0200)]
ui: pbs remote: use proxmoxtextfield for password edit xtype again

to get back the skipEmptyText option

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoobject editors: rework so that default label width fits everywhere
Thomas Lamprecht [Sat, 14 May 2022 15:58:04 +0000 (17:58 +0200)]
object editors: rework so that default label width fits everywhere

mostly by s/Regular Expression/Regex/ and transforming some
checkboxes' fieldLabel into boxLabels

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoregex tester: make textfield flex to take all remaining space
Thomas Lamprecht [Sat, 14 May 2022 15:57:11 +0000 (17:57 +0200)]
regex tester: make textfield flex to take all remaining space

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agopbs remote: add namespace support
Thomas Lamprecht [Sat, 14 May 2022 15:36:23 +0000 (17:36 +0200)]
pbs remote: add namespace support

restructure the existing field positions a bit to make it more
balanced with the new NS field.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agopbs remote: disallow editing fixed fields
Thomas Lamprecht [Sat, 14 May 2022 15:26:51 +0000 (17:26 +0200)]
pbs remote: disallow editing fixed fields

similar in spirit of PVE's storage entries for PBS, changing those
after create can make backups disappear and just shouldn't be done,
user should add a new remote instead.

Same for user name, changing it will make backup almost definitively
fail the owner check, so only keep the password field, for PW
rotations (we should disable it for tokens though).

For UX it's better to check if params are correct and the repo is
accessible on create and to add scan datastore and namespace
endpoints to allow a friendlier selection of those, avoiding typos.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoutils: code cleanup
Thomas Lamprecht [Thu, 17 Feb 2022 08:35:46 +0000 (09:35 +0100)]
utils: code cleanup

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agobump version to 3.1-2
Thomas Lamprecht [Thu, 3 Feb 2022 11:50:12 +0000 (12:50 +0100)]
bump version to 3.1-2

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agosorters: use correct property 'direction' and keep default 'ASC'
Fabian Ebner [Tue, 7 Dec 2021 11:53:31 +0000 (12:53 +0100)]
sorters: use correct property 'direction' and keep default 'ASC'

Ext.util.Sorter does not have an 'order' property, so 'order: DESC'
didn't have an effect. The default is 'ASC' and it is arguably the
preferred direction for all affected sorters anyways.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2 years agomail header view: code reduction
Thomas Lamprecht [Thu, 3 Feb 2022 10:28:16 +0000 (11:28 +0100)]
mail header view: code reduction

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agomail header view: switch toggle-raw button to check box and move into panel
Thomas Lamprecht [Thu, 3 Feb 2022 09:44:37 +0000 (10:44 +0100)]
mail header view: switch toggle-raw button to check box and move into panel

Allows an user to actually see what the current state is and wastes
less space for the actual header view.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agopostfix queues: show decoded headers by default
Dominik Csapak [Thu, 3 Feb 2022 08:29:24 +0000 (09:29 +0100)]
postfix queues: show decoded headers by default

and add a toggle button to show the raw headers

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2 years agomail info: move receiver to top right
Thomas Lamprecht [Thu, 3 Feb 2022 09:20:15 +0000 (10:20 +0100)]
mail info: move receiver to top right

tying to meake better use of empty space

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agorename recipient to receiver
Dominik Csapak [Fri, 21 Jan 2022 08:38:43 +0000 (09:38 +0100)]
rename recipient to receiver

we always call it receiver, not recipient, saves us a translation string

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2 years agoquarantine: mail display: show receiver information
Stoiko Ivanov [Thu, 20 Jan 2022 17:37:10 +0000 (18:37 +0100)]
quarantine: mail display: show receiver information

Showing the sender and subject is sufficient in the case of the
spam-quarantine - when viewed by a single user.

If an admin views any of the quarantines the information of the
recipient should be helpful in general, but is needed in case a mail
was sent to multiple recipients.

Reported in our community forum:
https://forum.proxmox.com/threads/.103276/

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2 years agobump version to 3.1-1
Thomas Lamprecht [Sun, 28 Nov 2021 20:29:15 +0000 (21:29 +0100)]
bump version to 3.1-1

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agotfa: add webauthn config panel
Thomas Lamprecht [Sun, 28 Nov 2021 20:19:33 +0000 (21:19 +0100)]
tfa: add webauthn config panel

keep it simple and avoid an extra options panel

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agotfa: set issuer name to something more telling
Thomas Lamprecht [Sun, 28 Nov 2021 19:31:07 +0000 (20:31 +0100)]
tfa: set issuer name to something more telling

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agotfa: move tab-panel besides User one
Thomas Lamprecht [Sun, 28 Nov 2021 19:23:19 +0000 (20:23 +0100)]
tfa: move tab-panel besides User one

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agod/control: add libjs-qrcodejs dependency
Thomas Lamprecht [Sun, 28 Nov 2021 19:19:24 +0000 (20:19 +0100)]
d/control: add libjs-qrcodejs dependency

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoadd TFA components
Wolfgang Bumiller [Fri, 26 Nov 2021 13:55:11 +0000 (14:55 +0100)]
add TFA components

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2 years agofix #3648: ldap config: do not send empty bindpw
Dominik Csapak [Wed, 27 Oct 2021 15:02:29 +0000 (17:02 +0200)]
fix #3648: ldap config: do not send empty bindpw

so that we can reuse the saved one and the admin does not have
to enter the password on each config change (similar to PVE).

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2 years agobump version to 3.0-5
Thomas Lamprecht [Wed, 25 Aug 2021 07:32:04 +0000 (09:32 +0200)]
bump version to 3.0-5

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agofix #3565: fix typo in gettext
Dominik Csapak [Wed, 4 Aug 2021 14:11:58 +0000 (16:11 +0200)]
fix #3565: fix typo in gettext

s/orignal/original/

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2 years agod/control: bump versioned dependency for proxmox-widget-toolkit
Thomas Lamprecht [Wed, 28 Jul 2021 08:26:36 +0000 (10:26 +0200)]
d/control: bump versioned dependency for proxmox-widget-toolkit

for factored out node repo-status widget

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agodashboard: node status: use repo status widget from widget-toolkit
Fabian Ebner [Fri, 23 Jul 2021 07:20:33 +0000 (09:20 +0200)]
dashboard: node status: use repo status widget from widget-toolkit

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2 years agodashboard: node info: use local subscription status only
Fabian Ebner [Fri, 23 Jul 2021 07:20:32 +0000 (09:20 +0200)]
dashboard: node info: use local subscription status only

instead of the cluster-wide status.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2 years agoutils: align notification toast to bottom-right again
Thomas Lamprecht [Wed, 21 Jul 2021 10:10:45 +0000 (12:10 +0200)]
utils: align notification toast to bottom-right again

The default changed sometimes between ExtJS 6.0.1, which used 'br',
and ExtJS 7.0, which has 't' (top) as new default.

So set it explicitly to the previous used one, less intrusive and was
intended to be there.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agobump version to 3.0-4
Thomas Lamprecht [Mon, 19 Jul 2021 16:27:38 +0000 (18:27 +0200)]
bump version to 3.0-4

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agospam quarantine: avoid resetting saved position when removing single element
Thomas Lamprecht [Mon, 19 Jul 2021 16:24:48 +0000 (18:24 +0200)]
spam quarantine: avoid resetting saved position when removing single element

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoserver status: add button to show package version window
Thomas Lamprecht [Mon, 19 Jul 2021 15:53:54 +0000 (17:53 +0200)]
server status: add button to show package version window

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoserver administration: repos: add online help
Fabian Ebner [Wed, 14 Jul 2021 12:55:48 +0000 (14:55 +0200)]
server administration: repos: add online help

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
Reviewed-by: Stoiko Ivanov <s.ivanov@proxmox.com>
Tested-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2 years agosys config: network: show live-apply button
Thomas Lamprecht [Fri, 16 Jul 2021 14:37:27 +0000 (16:37 +0200)]
sys config: network: show live-apply button

The PMG API supports that feature now when ifupdown2 is installed.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agosys config: move network to bottom
Thomas Lamprecht [Fri, 16 Jul 2021 14:34:04 +0000 (16:34 +0200)]
sys config: move network to bottom

Like we did in PBS, which has a very similar GUI structure as PMG.

Rationale is that the network panel is flexed and thus normally the
biggest, while DNS and time are fixed and short, and an inverted
pyramid, height-wise, looks a bit off as layout.

Also network will show the pending changes at the bottom, which is
nicer if its really at the bottom of the view.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agobump version to 3.0-3
Thomas Lamprecht [Tue, 13 Jul 2021 17:12:50 +0000 (19:12 +0200)]
bump version to 3.0-3

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agocomment text width improvements
Thomas Lamprecht [Tue, 13 Jul 2021 17:12:07 +0000 (19:12 +0200)]
comment text width improvements

use the full 8ß to 100 CCs available

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoconfiguration: add icons
Thomas Lamprecht [Tue, 13 Jul 2021 17:11:32 +0000 (19:11 +0200)]
configuration: add icons

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agouser management: add icons
Thomas Lamprecht [Tue, 13 Jul 2021 17:11:13 +0000 (19:11 +0200)]
user management: add icons

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoserver certificates: add icons
Thomas Lamprecht [Tue, 13 Jul 2021 17:10:58 +0000 (19:10 +0200)]
server certificates: add icons

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoserver administration: add icons
Thomas Lamprecht [Tue, 13 Jul 2021 16:54:50 +0000 (18:54 +0200)]
server administration: add icons

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agodashboard: increase height of second row slightly
Thomas Lamprecht [Tue, 13 Jul 2021 14:04:37 +0000 (16:04 +0200)]
dashboard: increase height of second row slightly

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agodashboard: add hover text-shadow class for repo-panel link
Thomas Lamprecht [Tue, 13 Jul 2021 14:02:56 +0000 (16:02 +0200)]
dashboard: add hover text-shadow class for repo-panel link

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agocss: add .pmx-icon-size
Thomas Lamprecht [Tue, 13 Jul 2021 14:01:53 +0000 (16:01 +0200)]
css: add .pmx-icon-size

from PBS, we probably should just add it to widget-toolkits css

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agodashboard: move cluster resources to end to avoid "jumping"
Thomas Lamprecht [Tue, 13 Jul 2021 13:41:22 +0000 (15:41 +0200)]
dashboard: move cluster resources to end to avoid "jumping"

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agonode info: avoid setting undefined in view model
Thomas Lamprecht [Tue, 13 Jul 2021 13:18:28 +0000 (15:18 +0200)]
node info: avoid setting undefined in view model

undefined is used as delete when set to a normal data-path of a view
model, so, we need an actual defined value here as else we cannot
decide if the view model was ever initialized or not.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agodashboard: hide cluster resources if it's a single node
Fabian Ebner [Tue, 13 Jul 2021 12:26:10 +0000 (14:26 +0200)]
dashboard: hide cluster resources if it's a single node

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2 years agodashboard: add node info panel
Fabian Ebner [Tue, 13 Jul 2021 12:26:09 +0000 (14:26 +0200)]
dashboard: add node info panel

Essentially the same as in PBS, but needed to use 'rootfs' instead of
'root' for the disk usage, avoid 'cpu' as an itemId (already used by
the cluster resources), and get rid of the fingerprint button. Also
added the link to the repositories panel like in Dominik's pending
patch for PBS.

Rename the existing resources panel to clarify what it actually is.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2 years agod/control: bump versioned dependency for proxmox-widget-toolkit
Thomas Lamprecht [Tue, 13 Jul 2021 12:32:43 +0000 (14:32 +0200)]
d/control: bump versioned dependency for proxmox-widget-toolkit

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoadd panel for APT repositories
Fabian Ebner [Tue, 13 Jul 2021 08:04:13 +0000 (10:04 +0200)]
add panel for APT repositories

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2 years agoadd Settings window
Dominik Csapak [Tue, 13 Jul 2021 10:26:59 +0000 (12:26 +0200)]
add Settings window

copied from pbs and changed PBS to PMG

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2 years agoServerStatus: update column width on state change
Dominik Csapak [Tue, 13 Jul 2021 10:26:58 +0000 (12:26 +0200)]
ServerStatus: update column width on state change

when having the settings window (when implemented) open there

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2 years agoLoginView: add save username checkbox
Dominik Csapak [Tue, 13 Jul 2021 10:26:57 +0000 (12:26 +0200)]
LoginView: add save username checkbox

like we have in pbs/pve but only for non-quarantine view

we have to increase the width of the window, so it fits together
with the 'send quarantine link' button

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2 years agoserver status: refactor and code cleanups
Thomas Lamprecht [Tue, 13 Jul 2021 12:18:33 +0000 (14:18 +0200)]
server status: refactor and code cleanups

arrow functions all the way ;-)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agostatus: avoid using depreacated helper
Thomas Lamprecht [Tue, 13 Jul 2021 07:46:36 +0000 (09:46 +0200)]
status: avoid using depreacated helper

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoServerStatus: update panel columsn dynamically
Dominik Csapak [Tue, 13 Jul 2021 07:20:59 +0000 (09:20 +0200)]
ServerStatus: update panel columsn dynamically

like we do in pve and pbs
for now the user cannot change the preferred columns and the default is 'auto'

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2 years agoui: minimally increase font-size of product title and version
Thomas Lamprecht [Sat, 3 Jul 2021 21:31:45 +0000 (23:31 +0200)]
ui: minimally increase font-size of product title and version

Similar like we did for Proxmox VE's manager. The main title and
version should stand a bit more out compared to simple nav/button
texts.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agobump version to 3.0-2
Thomas Lamprecht [Sat, 3 Jul 2021 20:48:51 +0000 (22:48 +0200)]
bump version to 3.0-2

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoquranatine view: make navtree more like main navtree
Thomas Lamprecht [Sat, 3 Jul 2021 20:48:23 +0000 (22:48 +0200)]
quranatine view: make navtree more like main navtree

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoquarantine view: change ui to pve-nav
Thomas Lamprecht [Sat, 3 Jul 2021 20:47:37 +0000 (22:47 +0200)]
quarantine view: change ui to pve-nav

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

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agomain view: fix nav tree indentation
Thomas Lamprecht [Sat, 3 Jul 2021 20:47:02 +0000 (22:47 +0200)]
main view: fix nav tree indentation

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoquranatine view: adapt to new beforeChangePath signature to fix routing/app
Thomas Lamprecht [Sat, 3 Jul 2021 20:31:28 +0000 (22:31 +0200)]
quranatine view: adapt to new beforeChangePath signature to fix routing/app

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agobuildsys: upload to bullseye
Thomas Lamprecht [Mon, 28 Jun 2021 15:00:03 +0000 (17:00 +0200)]
buildsys: upload to bullseye

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agobump version to 3.0-1
Thomas Lamprecht [Mon, 28 Jun 2021 14:58:56 +0000 (16:58 +0200)]
bump version to 3.0-1

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agovirusquarantine: fix time format
Stoiko Ivanov [Mon, 14 Jun 2021 08:06:41 +0000 (10:06 +0200)]
virusquarantine: fix time format

Ext js orients itself on php's date function, which uses 'i' for
minutes ('m' is the month as integer)[0].

Reported via our community-forum:
https://forum.proxmox.com/threads/time-display-bug-in-virus-quarantine.90816/

Quickly tested on my test-setup

[0] https://docs.sencha.com/extjs/7.0.0/modern/Ext.Date.html
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2 years agod/control: bump compat level to 12
Stoiko Ivanov [Tue, 8 Jun 2021 13:14:20 +0000 (13:14 +0000)]
d/control: bump compat level to 12

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2 years agoremove safe browsing from clamav tab
Oguz Bektas [Wed, 19 May 2021 12:32:44 +0000 (14:32 +0200)]
remove safe browsing from clamav tab

Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
2 years agoMainView: fix redirectTo call
Dominik Csapak [Wed, 26 May 2021 09:13:12 +0000 (11:13 +0200)]
MainView: fix redirectTo call

takes now an object as paramter in extjs 7.0

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2 years agoMainView: use new beforeChangePath signature
Dominik Csapak [Wed, 26 May 2021 09:13:11 +0000 (11:13 +0200)]
MainView: use new beforeChangePath signature

subpath can be optional in extjs 7.0, so handle that

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2 years ago{Attachment, Spam, Virus}Quarantine: fix layout for iframe
Dominik Csapak [Wed, 26 May 2021 09:13:10 +0000 (11:13 +0200)]
{Attachment, Spam, Virus}Quarantine: fix layout for iframe

in extjs 7.0 the css changed slightly so that we need to define
the 'fit' layout explicitely to maintain the full width/height

otherwise it can happen that the iframe gets cut off

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2 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>