This repository has been archived by the owner on Feb 17, 2022. It is now read-only.
Releases: DarkGhostHunter/Captchavel
Releases · DarkGhostHunter/Captchavel
Reworked frontend default script
This releases comes with a new script in the frontend that enable some workarounds on specific scenarios.
What's changed?
- The
resources/views/script.blade.php
script. It now includes a opt-out submission blocker when the token is not resolved completely, and a form property that hints just that.
What's added?
- Nothing
What's removed?
- Nothing.
What's fixed?
- Nothing.
Fixes recaptcha key submission
What's changed?
- Nothing.
What's added?
- Nothing
What's removed?
- Nothing.
What's fixed?
- The javascript wasn't sending the reCAPTCHA key once submitting the form. This has been now fixed. #20
Minor fixes
Okay, a lot of changes, fixed, what not. Let's start with the drill so you don't have to read the whole README:
What's changed?
- The javascript now attach the token retrieval from reCAPTCHA when submitting the form, fixing #15 and #16.
What's added?
- Nothing
What's removed?
- Nothing.
What's fixed?
- The
is_robot
now is detected when in form inputs or query.
Added Laravel 7 support.
Merge pull request #18 from DarkGhostHunter/master Added Laravel 7 support.
Fixed exception on route group
Fixed #12
Basically, if you used in on a group of routes, and these included a GET request, that route would return an exception.
Laravel 6 compatibility
- Added Laravel 6 compatibility.
- Added some PHPDocs to some classes, mainly Exceptions.
- Minor fix to the Transparent Recaptcha (uses the already resolved reCaptcha service instead of resolving it again).
- Updated Travis CI build without PHP 7.1
Fixes helpers
Fixes
- Helpers
app('recaptcha')
andrecaptcha()
fixed due to not aliasing the (same) ReCaptcha instance. #6
Multiple features
- Added helper macros to the Request class.
- All Exceptions implements the
CaptchavelException
. - Captchavel no longer throws an Exception when the threshold is below (why would you want that!?).
Fixed variable token string (again)
Seems reCAPTCHA is very lenient on the token length. I've seen from 40 char to 360 char. Instead of validating the length of the token, the validation only checks if the token is a string. Whatever reCAPTCHA decides to use in the future, it should be covered.
Fixed variable token string
Merge pull request #2 from DarkGhostHunter/master Fixed variable string given by reCAPTCHA servers.