Skip to content

Commit

Permalink
Merge branch 'release/7.1.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
rhukster committed Nov 29, 2022
2 parents 6a0d417 + e2170f9 commit 4b51c49
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# v7.1.1
## 11/29/2022

1. [](#bugfix)
* Fix missing blueprint entries for Turnstile configuration [#583](https://github.com/getgrav/grav-plugin-form/issues/583)

# v7.1.0
## 11/16/2022

Expand Down
25 changes: 24 additions & 1 deletion blueprints.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Form
slug: form
type: plugin
version: 7.1.0
version: 7.1.1
description: Enables forms handling and processing
icon: check-square
author:
Expand Down Expand Up @@ -197,6 +197,29 @@ form:
help: PLUGIN_FORM.RECAPTCHA_SECRET_KEY_HELP
default: ''

turnstile_captcha:
type: section
title: PLUGIN_FORM.TURNSTILE_CAPTCHA

fields:
turnstile.theme:
type: select
label: PLUGIN_FORM.RECAPTCHA_THEME
default: light
options:
light: PLUGIN_FORM.RECAPTCHA_THEME_LIGHT
dark: PLUGIN_FORM.RECAPTCHA_THEME_DARK
turnstile.site_key:
type: text
label: PLUGIN_FORM.RECAPTCHA_SITE_KEY
help: PLUGIN_FORM.RECAPTCHA_SITE_KEY_HELP
default: ''
turnstile.secret_key:
type: text
label: PLUGIN_FORM.RECAPTCHA_SECRET_KEY
help: PLUGIN_FORM.RECAPTCHA_SECRET_KEY_HELP
default: ''

basic_captcha:
type: section
title: PLUGIN_FORM.BASIC_CAPTCHA
Expand Down
1 change: 0 additions & 1 deletion form.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ recaptcha:
site_key:
secret_key:
turnstile:
widget: managed # options: [managed | non-interactive | invisible]
theme: light # options: [light | dark]
site_key:
secret_key:
Expand Down
1 change: 1 addition & 0 deletions languages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ en:
BASIC_CAPTCHA_MATH_MIN: "Minimum number"
BASIC_CAPTCHA_MATH_MAX: "Maximum number"
BASIC_CAPTCHA_MATH_OPERATORS: "Mathematical operators (randomized)"
TURNSTILE_CAPTCHA: "Cloudflare Turnstile Captcha"

eu:
PLUGIN_FORM:
Expand Down

0 comments on commit 4b51c49

Please sign in to comment.