Skip to content

Conversation

thejmitchener
Copy link
Member

@thejmitchener thejmitchener commented Sep 27, 2025

Summary of Changes:

  1. Cloudflare Turnstile CAPTCHA Integration: Added support for Cloudflare Turnstile CAPTCHA to enhance spam protection, including configuration options and validation logic.
  2. Form Enhancements: Updated form inputs to retain old values for better user experience and added middleware to handle the fbclid query parameter.
  3. Dependency and Documentation Updates: Updated dependencies to include the Turnstile package and revised documentation to reflect new features and setup instructions.

Detailed Changes:

  • CI Workflow Updates: Updated GitHub Actions workflows to use actions/checkout@v5.
  • README.md: Added instructions for setting up Cloudflare Turnstile CAPTCHA.
  • composer.json: Added ryangjchandler/laravel-cloudflare-turnstile as a dependency.
  • config/forms.php: Added configuration for Turnstile CAPTCHA.
  • Blade Templates: Integrated Turnstile CAPTCHA and improved form input handling with old() values.
  • FormsServiceProvider.php: Added middleware for fbclid and merged Turnstile configuration.
  • FormsSubmitController.php: Implemented Turnstile validation logic.
  • Livewire Components: Added Turnstile token handling and validation.
  • Middleware: Introduced HandleFbclid to manage fbclid query parameters.
  • Validation Rules: Updated validation rules to include fbclid.

#major

thejmitchener and others added 5 commits September 27, 2025 14:49
…figuration, validation, and UI integration; enhance form inputs to retain old values; include middleware to handle fbclid query parameter; update dependencies and documentation accordingly.
…sion compatibility in composer.json to support multiple versions of laravel-cloudflare-turnstile.
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joshua Mitchener <[email protected]>
@thejmitchener thejmitchener changed the title Add Cloudflare Turnstile CAPTCHA support for spam protection with configuration, validation, and UI integration; enhance form inputs to retain old values; include middleware to handle fbclid query parameter; update dependencies and documentation accordingly. Add Cloudflare Turnstile CAPTCHA support for spam protection with configuration, validation, and UI integration; enhance form inputs to retain old values; include middleware to handle fbclid query parameter; update dependencies and documentation accordingly. #major Sep 27, 2025
@thejmitchener
Copy link
Member Author

#major

@thejmitchener thejmitchener merged commit e631e78 into main Sep 27, 2025
27 checks passed
@thejmitchener thejmitchener deleted the feat-cf-trunstile branch September 27, 2025 19:07
fuelviews-app bot pushed a commit that referenced this pull request Sep 27, 2025
…figuration, validation, and UI integration; enhance form inputs to retain old values; include middleware to handle fbclid query parameter; update dependencies and documentation accordingly. #major (#41)

* Add Cloudflare Turnstile CAPTCHA support for spam protection with configuration, validation, and UI integration; enhance form inputs to retain old values; include middleware to handle fbclid query parameter; update dependencies and documentation accordingly.

* Move 'spam_redirects' configuration to a higher position in the forms config for better organization.

* #major

* Update environment variable defaults in README and expand package version compatibility in composer.json to support multiple versions of laravel-cloudflare-turnstile.

* Bump actions/checkout from 4 to 5 (#37)

Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joshua Mitchener <[email protected]>

* Add support for fbclid parameter in form data handling and validation to track Facebook click identifiers.

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant