Thomas Lamprecht
6c8df606b1
bump version to 3.4-3
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-20 21:41:41 +01:00
Thomas Lamprecht
6654703de6
bandwidth field: allow to submit auto-scaled size-units as string
...
opt-in to avoid breaking existing users and a bit of an experiment in
general..
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-20 21:39:25 +01:00
Thomas Lamprecht
851ebc36cd
utils: add size unit related helpers to parse/auto-scale/format
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-20 21:36:01 +01:00
Thomas Lamprecht
1fad0e8822
bandwidth/utils: move out SizeUnits definition to more common module
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-20 21:35:26 +01:00
Dominik Csapak
52a0eae95a
form: copy BandwidthSelector/SizeField from PVE
...
and replace pve with pmx
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-11-19 16:04:55 +01:00
Thomas Lamprecht
ec12ffb90e
ui: OpenID realm: allow to edit acr values
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-19 07:36:46 +01:00
Thomas Lamprecht
5c5cee2dea
ui: OpenID realm: allow to edit prompt
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-19 07:36:36 +01:00
Thomas Lamprecht
0dce277c5a
ui: OpenID realm: allow to edit scopes
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-19 07:36:19 +01:00
Thomas Lamprecht
c860b3490a
ui: OpenID edit: make username-claim field editable for arbitrary values
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-19 07:35:40 +01:00
Dominik Csapak
c75098386d
data: diffstore: fix autoDestroyRstore option
...
the change from extjs 6.0.1 to 7.0.0 removed 'onDestroy' but brought
us 'doDestroy' for stores
we did not notice since 'onDestroy' was a private method and thus
the changelog did not mention this (doDestroy is a public method meant
exactly for our use case)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-11-18 11:14:31 +01:00
Thomas Lamprecht
ef91752982
bump version to 3.4-2
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-15 10:23:39 +01:00
Thomas Lamprecht
4ec859d9bc
proxmox checkbox: add clearOnDisable config
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-15 10:22:02 +01:00
Dominik Csapak
55e47317c0
window/TfaWindow: fix text format
...
Ext.String.format was missing to show the number correctly
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-11-12 16:14:00 +01:00
Thomas Lamprecht
ceff5d3fc0
bump version to 3.4-1
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-11 21:11:19 +01:00
Thomas Lamprecht
d6f0eee91c
totp: add location hostname into default issuer
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-11 21:11:01 +01:00
Thomas Lamprecht
05da27edef
tfa: yubico otp: nudge users in WebAuthn direction
...
to avoid that they have a yubikey in their hands and think they need
to use Yubico/YubiCloud otp for it to work..
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-11 19:55:45 +01:00
Thomas Lamprecht
82a386530e
TFA panel: code/style cleanup
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-11 19:53:55 +01:00
Thomas Lamprecht
65c39bc04a
tfa view: avoid showing start of unix epoch when no creation date
...
as that is a bit unrealistically, rather use N/A (not applicable)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-11 19:26:33 +01:00
Fabian Ebner
7edda053ea
disk list: allow wiping individual partitions
...
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2021-11-11 14:40:39 +01:00
Wolfgang Bumiller
20b39dd8f6
add yubico otp windows & login support
...
has to be explicitly enabled since this is only supported in
PVE
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-11-10 08:58:44 +01:00
Wolfgang Bumiller
ab2538f5e5
add Proxmox.panel.TfaView
...
copied from pbs with s/pbs/pmx/ and s/PBS/Proxmox/
DELETE call changed from using a body to url parameters,
since pve doesn't support a body there currently, and pbs
doesn't care
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-11-10 08:58:44 +01:00
Wolfgang Bumiller
641764474d
add totp, wa and recovery creation and tfa edit windows
...
plain copy from pbs with s/pbs/pmx/ and s/PBS/Proxmox/
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-11-10 08:58:44 +01:00
Wolfgang Bumiller
9e1f1ef616
add Proxmox.window.TfaLoginWindow
...
copied from pbs and added u2f tab
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-11-10 08:58:44 +01:00
Wolfgang Bumiller
c7f2b15ac9
add Utils used for u2f and webauthn
...
base64url parts copied from pbs
render_u2f_error copied from pve
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-11-10 08:37:03 +01:00
Wolfgang Bumiller
d3812684c2
add pmxUserSelector
...
copied from pbs
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-11-10 08:37:03 +01:00
Dominik Csapak
71295836e5
cbind: document cbind by adding a small summary and example
...
Explain the use-case, the difference to normal binds, and give an
example that contains all features that can be used with explanations.
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-10-27 11:22:00 +02:00
Thomas Lamprecht
511c7843d0
disk: smart: code & indentation level cleanup
...
drop some intermediate variables that are 1:1 the original
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-10-18 08:43:28 +02:00
Dominik Csapak
53ecc2ad95
fix #3589 : show device name in title for SMART values window
...
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-10-18 07:08:05 +02:00
Thomas Lamprecht
17c580c2a3
code style: text-width, indentation improvements
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-10-18 07:06:59 +02:00
Fabian Ebner
f340cf64fc
(multi) disk selector: allow requesting partitions too
...
No functional change for existing users is intended.
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2021-09-30 18:14:24 +02:00
Dominik Csapak
c91a73150f
panel/RRDCharts: enable scrolling for RRDCharts on touchscreens
...
quote from extjs docs (AbstractChart.js):
If you do have a chart inside a scrollable view, even if it has no
interactions, you have to set its touchAction config to the following:
touchAction: {
panX: true,
panY: true
}
Otherwise, if a touch action started on a chart,
a swipe will not scroll the view.
Since we have RRDCharts always in a scrollable view, and it does not seem to
hurt non-touchscreens, enable it by default so that users on touchscreens
can scroll it.
Reported by users in the forum:
https://forum.proxmox.com/threads/minor-but-annoying-ipad-swipe-bug.93686
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-08-23 18:17:02 +02:00
Thomas Lamprecht
088a3ed9e9
bump version to 3.3-6
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-27 16:41:08 +02:00
Thomas Lamprecht
8daf5b0955
node: network: do not gettext MTU
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-27 16:38:00 +02:00
Oguz Bektas
d1f37e222d
node: add MTU column in NetworkView
...
hidden by default since it's an "advanced" setting
Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
2021-07-27 16:37:27 +02:00
Fabian Ebner
14247821fb
add NodeInfoRepoStatus
...
adapted from PMG, because it has an additional fix to avoid setting
undefined in the view model, which still affects PBS (see pmg-gui
commit 774418f08b10c651357d11ccb161ac075e1ae905).
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
2021-07-27 16:34:12 +02:00
Dominik Csapak
0dbcfb8c64
fix #3542 : node task logs: query correct node for tasks in clusters
...
While refactoring, we forgot to replace the 'localhost' URL (which is
valid for PMG/PBS) with the actual nodename we have in Proxmox VE.
Do this by setting the correct URL in the viewModel right at the
start of the initComponent
We now also have the possibility to overwrite the url if we want
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-07-27 16:32:38 +02:00
Thomas Lamprecht
dacb645550
bump version to 3.3-5
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-19 17:52:16 +02:00
Fabian Ebner
5e76f7302a
node: 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:39:38 +02:00
Thomas Lamprecht
f0de3268af
api-viewer: ensure path starts with slash
...
should always be the case, but this is now an assumption, so better
to ensure it.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-19 17:38:25 +02:00
Dominik Csapak
6cc360f2b4
api-viewer: drop extra slash in api path
...
'endpoint' already begins with a slash, so drop it after /api2/json
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-07-19 17:32:23 +02:00
Fabian Grünbichler
8b06793b3d
apt: match "Debian Backports" origin
...
some users might have that enabled, and we know it is from Debian and
not '?'
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2021-07-19 17:32:00 +02:00
Thomas Lamprecht
1820e77d5c
add package version window
...
we want that component in all projects, PVE and PBS have the code
duplicated for now, as PMG is about to receive this too I rather want
to use the chance add add it here for actual reuse.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-19 16:58:27 +02:00
Thomas Lamprecht
21823de2c1
bump version to 3.3-4
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-13 18:44:16 +02:00
Thomas Lamprecht
d9c6e21492
service view: disable all buttons for masked/not-found/unknown services
...
at least if we have a unit state (atm only PVE and PMG report that)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-13 18:39:43 +02:00
Oguz Bektas
0c15c08eee
service view: fix stale stop/restart button enabled behavior
...
fix an issue where the stop or restart button stays enabled for
elements in 'startOnlyServices' after switching selection from a
service that was not restricted to start-only
note: front-end change only as the backend already refused to stop a
start-only service.
Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-13 18:35:43 +02:00
Thomas Lamprecht
ae6a1cc908
service view: avoid showing not installed services as error
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-13 18:35:36 +02:00
Thomas Lamprecht
7a17156d65
service view: code cleanup
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-13 18:15:55 +02:00
Stoiko Ivanov
66c5ceb848
acme: allow wildcards as domain
...
allow wildcard dns-names as defined in [0,1] (only the prefix '*.' in
front of a valid dns-name) as domain.
[0] https://tools.ietf.org/html/rfc8555#section-7.1.3
[1] https://community.letsencrypt.org/t/acme-v2-production-environment-wildcards/55578
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2021-07-13 10:03:14 +02:00
Thomas Lamprecht
a4fc99f7ab
bump version to 3.3-3
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-12 09:52:32 +02:00
Dominik Csapak
8d4faa8821
panel/AuthView: handle different baseUrls for configuring realms
...
we need that for pbs.
also give the option to use the type in the path, like in AuthEditBase
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-07-12 09:50:24 +02:00