[pve-devel] applied: [PATCH manager v3 1/4] show optional consent-banner before login
Thomas Lamprecht
t.lamprecht at proxmox.com
Fri Apr 4 20:16:50 CEST 2025
Am 10.12.24 um 17:11 schrieb Gabriel Goller:
> Add ConsentBanner variable to html template and populate it from the
> `datacenter.cfg` config file. Add Datacenter option to set the text and
> trigger the popup on login. The max length of the input is 63*1024,
> which is a bit less than the max body size for a api request (64*1024).
>
> Signed-off-by: Gabriel Goller <g.goller at proxmox.com>
> ---
> PVE/Service/pveproxy.pm | 13 ++++++++++---
> www/index.html.tpl | 3 ++-
> www/manager6/dc/OptionView.js | 8 ++++++++
> www/manager6/window/LoginWindow.js | 12 +++++++++++-
> 4 files changed, 31 insertions(+), 5 deletions(-)
>
>
applied, thanks!
commented out the onlineHelp for now to avoid build errors while pve-docs is
not yet bumped and increase the maxLength to 64 kiB to match the updated
(reduced) limit in the backend and as the http-server's limit was increased
to 512 kiB recently [0] (not yet bumped though).
[0]: https://git.proxmox.com/?p=pve-http-server.git;a=commitdiff;h=2650923a42c9ea357dc0e663a69294410190cc7c
More information about the pve-devel
mailing list