Skip to content

Commit

Permalink
update: update config_schema to show help text
Browse files Browse the repository at this point in the history
  • Loading branch information
mutantsan committed Apr 24, 2024
1 parent c44e55a commit 928a3e6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ckanext/mailcraft/config_schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ fields:
- field_name: ckanext.mailcraft.test_conn_on_startup
label: Test connection on startup
validators: default(true), one_of([true, false])
help_text: If enabled, the extension will test the connection to the SMTP server on CKAN startup
preset: select
required: true
choices:
Expand All @@ -16,13 +17,14 @@ fields:

- field_name: ckanext.mailcraft.conn_timeout
label: Connection timeout
description: Specify a timeout for an SMTP connection
help_text: Specify a timeout for an SMTP connection
input_type: number
required: true
validators: default(10), int_validator

- field_name: ckanext.mailcraft.stop_outgoing_emails
label: Stop outgoing emails
help_text: If enabled, the extension will stop all outgoing emails and only store them in the database
validators: default(true), one_of([true, false])
preset: select
required: true
Expand All @@ -34,5 +36,5 @@ fields:

- field_name: ckanext.mailcraft.redirect_emails_to
label: Redirect emails to
description: Redirect outgoing emails to a specified email1
help_text: Redirect outgoing emails to a specified email1
validators: ignore_empty, unicode_safe, email_validator

0 comments on commit 928a3e6

Please sign in to comment.