* [PATCH yew-comp v2] fix #7959: acme: use correct validation-delay maximum
@ 2026-08-24 7:53 Dominik Csapak
2026-09-24 19:01 ` applied: " Thomas Lamprecht
0 siblings, 1 reply; 2+ messages in thread
From: Dominik Csapak @ 2026-08-24 7:53 UTC (permalink / raw)
To: yew-devel
as this delay is in seconds, and the maximum in the backend is 48 hours,
use the same 48 hours limit on the frontend (like in the ExtJS UI).
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
changes from v1:
* fixed the u8 -> u32 type so it compiles...
src/acme/acme_plugins.rs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/acme/acme_plugins.rs b/src/acme/acme_plugins.rs
index 82e97e3..20fec52 100644
--- a/src/acme/acme_plugins.rs
+++ b/src/acme/acme_plugins.rs
@@ -410,9 +410,9 @@ impl ProxmoxAcmePluginsPanel {
let mut panel = panel
.with_field(
tr!("Validation Delay"),
- Number::<u8>::new()
+ Number::<u32>::new()
.name("validation-delay")
- .max(48)
+ .max(48 * 60 * 60)
.placeholder("30"),
)
.with_field(
--
2.47.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* applied: [PATCH yew-comp v2] fix #7959: acme: use correct validation-delay maximum
2026-08-24 7:53 [PATCH yew-comp v2] fix #7959: acme: use correct validation-delay maximum Dominik Csapak
@ 2026-09-24 19:01 ` Thomas Lamprecht
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2026-09-24 19:01 UTC (permalink / raw)
To: yew-devel, Dominik Csapak
On Mon, 24 Aug 2026 09:53:20 +0200, Dominik Csapak wrote:
> as this delay is in seconds, and the maximum in the backend is 48 hours,
> use the same 48 hours limit on the frontend (like in the ExtJS UI).
Applied, thanks!
[1/1] fix #7959: acme: use correct validation-delay maximum
commit: 870787123ab7489f2e9e186ca866a4f79c056c35
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-09-24 19:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-24 7:53 [PATCH yew-comp v2] fix #7959: acme: use correct validation-delay maximum Dominik Csapak
2026-09-24 19:01 ` applied: " Thomas Lamprecht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox