beremiz

Parents 4f070977607e
Children 0e47ada93f81
runtime web settings: fix wrong declaration of ISettings, add missing entries in WAMP config.
--- a/runtime/NevowServer.py Fri Mar 21 16:09:23 2025 +0100
+++ b/runtime/NevowServer.py Mon Mar 24 15:13:16 2025 +0100
@@ -185,6 +185,7 @@
child_webform_css = webform.defaultCSS
child_webinterface_css = File(paths.AbsNeighbourFile(__file__, 'webinterface.css'), 'text/css')
+@implementer(ISettings)
class SettingsPage(StyledSettingsPage):
implements(ISettings)
--- a/runtime/WampClient.py Fri Mar 21 16:09:23 2025 +0100
+++ b/runtime/WampClient.py Mon Mar 24 15:13:16 2025 +0100
@@ -643,6 +643,10 @@
("protocolOptions.autoPingTimeout",
annotate.Integer(label=_("Auto ping timeout (s)"),
default=wampConfigDefault)),
+ ("clientCert",
+ FileUploadDelete(label=_("File containing client certificate"),
+ file_exists=getClientCertPresence,
+ file_delete=getClientCertDeleteUrl)),
("trustStore",
FileUploadDelete(label=_("File containing server certificate"),
file_exists=getTrustStorePresence,
@@ -650,8 +654,8 @@
("authentication",
annotate.Choice(AUTHENTICATION_TYPES,
required=True,
- label=_("Authentication type"))),
-
+ label=_("Authentication type"),
+ default=wampConfigDefault)),
("verifyHostname",
annotate.Boolean(label=_("Verify hostname matches certificate hostname"),
default=wampConfigDefault)),