Commit Graph

615 Commits

Author SHA1 Message Date
Thomas Lamprecht
a4c22f9dd3 utils: code cleanup
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-02-17 09:35:46 +01:00
Fabian Ebner
18722987b5 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>
2022-02-03 11:29:08 +01:00
Thomas Lamprecht
12359425a9 mail header view: code reduction
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-02-03 11:28:16 +01:00
Thomas Lamprecht
86a5319246 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>
2022-02-03 10:44:42 +01:00
Dominik Csapak
9f5e96dfb5 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>
2022-02-03 10:21:50 +01:00
Thomas Lamprecht
135cddbbde mail info: move receiver to top right
tying to meake better use of empty space

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-02-03 10:20:18 +01:00
Dominik Csapak
cf3e0888f3 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>
2022-01-21 09:38:43 +01:00
Stoiko Ivanov
66a4f9d23c 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>
2022-01-21 09:34:00 +01:00
Thomas Lamprecht
704d4b875a tfa: add webauthn config panel
keep it simple and avoid an extra options panel

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-28 21:19:35 +01:00
Thomas Lamprecht
480a156958 tfa: set issuer name to something more telling
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-28 20:31:07 +01:00
Thomas Lamprecht
6ba2d1cad9 tfa: move tab-panel besides User one
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-28 20:23:19 +01:00
Wolfgang Bumiller
77854c16c1 add TFA components
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-11-28 20:17:47 +01:00
Dominik Csapak
b27d3f1d15 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>
2021-10-28 22:17:20 +02:00
Dominik Csapak
7058cddb63 fix #3565: fix typo in gettext
s/orignal/original/

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-08-09 17:36:12 +02:00
Fabian Ebner
48e230790e dashboard: node status: use repo status widget from widget-toolkit
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2021-07-28 10:25:39 +02:00
Fabian Ebner
a0a5f5cfcb dashboard: node info: use local subscription status only
instead of the cluster-wide status.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2021-07-28 10:25:39 +02:00
Thomas Lamprecht
44362902f3 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>
2021-07-21 12:10:47 +02:00
Thomas Lamprecht
980e88a9dd spam quarantine: avoid resetting saved position when removing single element
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-19 18:24:48 +02:00
Thomas Lamprecht
c621e29b5e server status: add button to show package version window
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-19 17:53:54 +02:00
Fabian Ebner
3cc0ec1b17 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>
2021-07-19 17:42:15 +02:00
Thomas Lamprecht
7949d1992a 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>
2021-07-16 16:37:29 +02:00
Thomas Lamprecht
e47571db64 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>
2021-07-16 16:34:07 +02:00
Thomas Lamprecht
8b93a29ee0 comment text width improvements
use the full 8ß to 100 CCs available

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-13 19:12:09 +02:00
Thomas Lamprecht
b9cc0695c3 configuration: add icons
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-13 19:11:32 +02:00
Thomas Lamprecht
fc0ba73d01 user management: add icons
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-13 19:11:13 +02:00
Thomas Lamprecht
5b75abc7c3 server certificates: add icons
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-13 19:10:58 +02:00
Thomas Lamprecht
e245faa5c2 server administration: add icons
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-13 18:54:50 +02:00
Thomas Lamprecht
9b7b055365 dashboard: increase height of second row slightly
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-13 16:04:37 +02:00
Thomas Lamprecht
6d491d75ff dashboard: add hover text-shadow class for repo-panel link
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-13 16:02:56 +02:00
Thomas Lamprecht
8f691c7bca dashboard: move cluster resources to end to avoid "jumping"
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-13 15:55:47 +02:00
Thomas Lamprecht
774418f08b 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>
2021-07-13 15:18:31 +02:00
Fabian Ebner
91a4c642df dashboard: hide cluster resources if it's a single node
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2021-07-13 14:40:08 +02:00
Fabian Ebner
11eae1a0e7 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>
2021-07-13 14:40:08 +02:00
Fabian Ebner
8431ab8936 add panel for APT repositories
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2021-07-13 14:31:41 +02:00
Dominik Csapak
056fdce926 add Settings window
copied from pbs and changed PBS to PMG

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-07-13 14:28:01 +02:00
Dominik Csapak
5958ebdf29 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>
2021-07-13 14:28:01 +02:00
Dominik Csapak
31f5e45885 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>
2021-07-13 14:28:01 +02:00
Thomas Lamprecht
c9d5584601 server status: refactor and code cleanups
arrow functions all the way ;-)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-13 14:18:42 +02:00
Thomas Lamprecht
d615055f64 status: avoid using depreacated helper
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-13 09:46:36 +02:00
Dominik Csapak
f534c41441 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>
2021-07-13 09:45:22 +02:00
Thomas Lamprecht
104f1baff4 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>
2021-07-03 23:31:54 +02:00
Thomas Lamprecht
3d233789a6 quranatine view: make navtree more like main navtree
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-03 22:48:23 +02:00
Thomas Lamprecht
13f8df5c6c 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>
2021-07-03 22:47:39 +02:00
Thomas Lamprecht
216cfe9dd1 main view: fix nav tree indentation
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-03 22:47:02 +02:00
Thomas Lamprecht
e810c530ec quranatine view: adapt to new beforeChangePath signature to fix routing/app
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-03 22:31:28 +02:00
Stoiko Ivanov
65c6904285 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>
2021-06-14 10:06:41 +02:00
Oguz Bektas
fcba524dba remove safe browsing from clamav tab
Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
2021-06-08 13:13:54 +00:00
Dominik Csapak
f70c611b83 MainView: fix redirectTo call
takes now an object as paramter in extjs 7.0

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-06-08 13:13:54 +00:00
Dominik Csapak
4e6c6b96b4 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>
2021-06-08 13:13:54 +00:00
Dominik Csapak
60a9d6fdbc {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>
2021-06-08 13:13:54 +00:00