summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStephen Davis <[email protected]>2021-05-04 08:39:26 -0400
committerGitHub <[email protected]>2021-05-04 08:39:26 -0400
commit3be7ec633b11b4e6d6b9a187aeee3483d65eb7af (patch)
tree6488618073116624f908dc78ef168b16c1e7a131
parent49b2833b48f10caaebda9f372547b6773c41bb21 (diff)
downloadcaprover-one-click-apps-3be7ec633b11b4e6d6b9a187aeee3483d65eb7af.tar.gz
caprover-one-click-apps-3be7ec633b11b4e6d6b9a187aeee3483d65eb7af.zip
Corrected for spelling and RegEx validation (#417)
This template contained several misspellings of "SMTP" and--I'm not entirely sure what the exact cause of this was, as I could not repeat the errors on templates with similar formatting--the RegEx rules would persistently fail for the SMTP boolean settings. I tested across several browsers and encountered the same problem. After wrapping the default values with ' ' they stopped failing the RegEx check. This pull request should be paired with another with similar changes in the GH Pages template.
-rw-r--r--public/v4/apps/penpot.yml22
1 files changed, 11 insertions, 11 deletions
diff --git a/public/v4/apps/penpot.yml b/public/v4/apps/penpot.yml
index 48cb858..3d5be15 100644
--- a/public/v4/apps/penpot.yml
+++ b/public/v4/apps/penpot.yml
@@ -110,41 +110,41 @@ caproverOneClickApp:
description: 'Frontend url to access your Penpot'
validRegex: /^^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/
- id: $$cap_smtp_from
- label: STMP from address
+ label: SMTP from address
defaultValue: [email protected]
validRegex: /^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/
- id: $$cap_smtp_reply_to
- label: STMP reply address
+ label: SMTP reply address
defaultValue: [email protected]
validRegex: /^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/
- id: $$cap_smtp_host
- label: STMP host
+ label: SMTP host
defaultValue: smtp.example.com
validRegex: /^^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/
- id: $$cap_smtp_port
- label: STMP port
+ label: SMTP port
defaultValue: 587
validRegex: /^^((6553[0-5])|(655[0-2][0-9])|(65[0-4][0-9]{2})|(6[0-4][0-9]{3})|([1-5][0-9]{4})|([0-5]{0,5})|([0-9]{1,4}))$$/
- id: $$cap_smtp_username
- label: STMP username
+ label: SMTP username
defaultValue: [email protected]
validRegex: /^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/
- id: $$cap_smtp_password
- label: STMP password
+ label: SMTP password
defaultValue:
validRegex: /.{1,}/
- id: $$cap_smtp_tls
- label: STMP TLS support
- defaultValue: true
+ label: SMTP TLS support
+ defaultValue: 'true'
validRegex: /^(true|false)$/
- id: $$cap_smtp_ssl
- label: STMP SSL support
- defaultValue: false
+ label: SMTP SSL support
+ defaultValue: 'false'
validRegex: /^(true|false)$/
- id: $$cap_enable_telemetry
label: Send Anonymous Data
description: When enabled, a periodical process will send annonymous data about this instance. Read more at https://github.com/penpot/penpot/blob/f2fd97693427c7decb86e745bf178fe70fe332a0/docker/images/docker-compose.yaml#L56-L62
- defaultValue: false
+ defaultValue: 'false'
validRegex: /^(true|false)$/
instructions: