Added Setting option to clear the Webhook ID

Co-Authored-By: __JosephAbbey <me@josephabbey.dev>
This commit is contained in:
Philip Abbey
2025-08-15 15:23:30 +01:00
parent 25cbcfe59a
commit 756647d156
42 changed files with 230 additions and 155 deletions

View File

@@ -108,6 +108,12 @@
-->
<property id="user_http_header_value" type="string"></property>
<!--
Clear the Webhook ID on next application start, and reauthenticate,
then set this back to false.
-->
<property id="clear_webhook_id" type="boolean">false</property>
<!--
The webhook ID is the last part of the webhook URL. It is secret and
should not be shared. It will not be set in settings but will be

View File

@@ -53,7 +53,7 @@
<setting
propertyKey="@Properties.wifi_lte_execution"
title="@Strings.WifiLteExecutionEnable"
title="@Strings.SettingsWifiLteExecutionEnable"
>
<settingConfig type="boolean" />
</setting>
@@ -98,8 +98,8 @@
title="@Strings.SettingsTextAlign"
>
<settingConfig type="list">
<listEntry value="1">@Strings.LeftToRight</listEntry>
<listEntry value="0">@Strings.RightToLeft</listEntry>
<listEntry value="1">@Strings.SettingsLeftToRight</listEntry>
<listEntry value="0">@Strings.SettingsRightToLeft</listEntry>
</settingConfig>
</setting>
@@ -129,13 +129,17 @@
>
<settingConfig type="alphaNumeric" />
</setting>
<!--
<group id="userHttpHeader" title="@Strings.SettingsUserHttpHeader" description="@Strings.SettingsUserHttpHeaderDescription">
</group>
-->
<setting
propertyKey="@Properties.clear_webhook_id"
title="@Strings.SettingsClearWebhookId"
>
<settingConfig type="boolean" />
</setting>
<setting
propertyKey="@Properties.webhook_id"
title="@Strings.WebhookId"
title="@Strings.SettingsWebhookId"
>
<settingConfig type="alphaNumeric" readonly="true" />
</setting>