Implement alert_endpoints and http_lint plugin extensions

Alert endpoints can now be loaded via custom plugins.
It's now possible to extend the http_lint parameters with custom parameters and validators.
This commit is contained in:
emanuele-f 2019-12-19 12:34:08 +01:00
parent 7ed9698125
commit 2047386431
28 changed files with 1218 additions and 868 deletions

View file

@ -0,0 +1,29 @@
return {
endpoint_key = "email",
entries = {
toggle_email_notification = {
title = i18n("prefs.toggle_email_notification_title"),
description = i18n("prefs.toggle_email_notification_description"),
},
email_notification_sender = {
title = i18n("prefs.email_notification_sender_title"),
description = i18n("prefs.email_notification_sender_description"),
},
email_notification_recipient = {
title = i18n("prefs.email_notification_recipient_title"),
description = i18n("prefs.email_notification_recipient_description"),
},
email_notification_server = {
title = i18n("prefs.email_notification_server_title"),
description = i18n("prefs.email_notification_server_description"),
},
email_notification_username = {
title = i18n("prefs.email_notification_username_title"),
description = i18n("prefs.email_notification_username_description"),
},
email_notification_password = {
title = i18n("prefs.email_notification_password_title"),
description = i18n("prefs.email_notification_password_description"),
},
}
}