All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Change a few more lines in the PHP that need updating for Craft 4
- Start work on Craft 4 version
- Add ability to hide the badge the floats in the bottom right
- I've refactored the code into twig extensions to create a more friendly and customizable API.
- Managed to remove a request for the CSRF token
- Added function to include the script within forms
- Remove {{ currentSite.baseUrl }} and index.php from the user session fetch AJAX request. Since the vaseUrl value is from user input data, it is hard to find consistency across implementations. A request to the base path with an implicit index.php should fix the issue. #23
- Change front-end script to request from the current site's base URL instead of a relative base path. Should fix a bug with multi-site projects which are disabled. #22
- Update composer
- Update path for asset bundle files in settings template (Thanks @RobCompactCode)
- Update path for asset bundle files (Thanks @RobCompactCode)
- Fix Composer 2 autoloading for assetbundles (Thanks @brandonkelly)
- Add .env variables and template checks (Thanks @nickolasjadams)
- Checks for google script before loading captcha (Thanks @billythekid)
- Add link to Google's admin panel to easily get new keys
- Update readme.md to give credit to github contributors
- Better handling in default controller action. Should throw 404 error if no request key included.
- XML Request will listen to
ondone
instead ofonreadystatechange
. Function is called less times and more reliably.
- Remove depreciation warning regarding user sessions.
- Prevent controller actions from being recognized as routes.
- Update composer dependencies
- Updated minimum craft requirements in order to use the
plugin()
function.
- Replace the hard coded "admin" with a config option for people who have changed that in the settings.
- Replace the hard coded "actions" with a config option for people who have changed that in the settings.
- Remove a console log that I had forgot.
- We are now passing the recaptcha response to the success and callback functions. This response will provide more information regarding the score the user received. See the updated docs.
- We have added a
recaptcha_callback(repsonse)
function if you would like to handle the success / failure yourself, or use a single function instead of two.
- I did not release the correct way using tags, trying again.
- I have removed jQuery from the front-end code, this should not be a dependency anymore even though it is common in many environments. I even used XMLHttpRequest to support Internet Explorer.
- Instead of using the CSRF token tag, which may react poorly with caching systems, we are now fetching this token directly from the server using JS.
- Did not increment the version in composer so the plugin did not update in craft. Hopefully everyone will get the 1.0.4 release.
- Bug with front-end template where the action was output as variable not string
- Added keywords to the composer.json
- Bug with front-end template where the action is not being output
- Re-order the changelog to be chronological
- New "action" config setting
- Initial release