Registration Rules

Administration tools ::: tool_registrationrules
Maintained by Dale Davies
An enhanced reCAPTCHA alternative and anti-spam tool to prevent automated spam bots from creating fake accounts in Moodle.

Registration Rules 2025050700

Moodle 4.1, 4.2, 4.3, 4.4, 4.5, 5.0
Released: dimecres, 7 de maig 2025, 22:53

Changelog

Version 2025050700

Fixed

  • Issue #67: Fixed non-compliand privacy provider for Cloudflare rule.
  • Issue #68: Added missing cache definition language strings.

Security

  • Fixed hassiteconfig permission check in plugin stetings page.

Version 2025042300

Fixed

  • Several small fixes for Moodle 5.x compatibility.
  • Fixed exception on new site installs.

Version 2025040100

Added

  • CAPTCHAs and other appropriate rules can now be added to the forgotten password form.
  • Unit tests to cover core functionality.
  • Add caching and periodic refresh for disposable emails list.
  • Clarify timezone used by limitdatetime rule.

Fixed

  • Replace login_captcha_enabled to restore 4.1 compatibility.
  • Do not display Add CAPTCHA button when site captcha is enabled.
  • Reorder internal rule instance list when instance is moved.
  • Remove unnecessary calls to encode_instance_config() to improve performance.

Version 2025022700

Added

  • New Verify Mail Server ruleto ensure submitted email domain DNS records point at an email server (i.e. have MX records).
  • Simplify settings menu options and clarify naming around rule/instances/plugin etc.

Fixed

  • Fix error shown in certain situations when using limitdatetime rule, caused by incorrect deferred_deny callback logic.

Version 2025021800

Fixed

  • Removed superfluous "name" field from rule instances.
  • Add ratelimit to bundled rule plugins list.
  • Ensure fieldsets are closed on regstration form before adding new elements.

Version 2025021300

Added

  • New Rate Limit rule for limiting the number of registration attempts over a period of time based on the user's session and/or IP address.

Fixed

  • Issue #65: Removed unused dB tables.
  • Issue #66: Make some CSS rules more specific.

Version 2025020700

Added

  • New Cloudflare Turnstile CAPTCHA rule.
  • Added separate dropdown for CAPTCHA rules.
  • Automatic selection of text in forced instances modal.

Fixed

  • Improved notifications and guidance text.
  • Only one CAPTCHA rule can be added at a time.
  • Fixed some typos and incorrect links.
  • Use remote IP for hcaptcha.
  • Ensure plugin does no processing if not enabled.

Version 2025012000

Added

  • Migrate away from using $CFG->tool_registrationrules_forcedinstances setting in config.php, now using $CFG->forced_plugin_settings properly.
  • Add more detail to readme.

Fixed

  • Address some stylelint warnings.

Version 2025011800

Added

  • A message is now displayed on the Registration rule instances page to highlight that there are disabled rule plugins that cannot added.
  • The hCaptcha settings page now provides a link to documentation detailing how to find a sitekey and secret.

Fixed

  • Bundled rule plugins will now be enabled by default on install.
  • Improved plugininfo code.

Security

  • Added missing admin capability check in editruleinstance.php

Version 2025011700

Fixed

  • Add better validation for forced instance config json.

Version information

Version build number
2025050700
Version release name
2025050700
Maturity
Versió estable
MD5 Sum
858261673b6a0be4f0de59ba37d87364
Supported software
Moodle 4.1, Moodle 4.2, Moodle 4.3, Moodle 4.4, Moodle 4.5, Moodle 5.0
  • Latest release for Moodle 4.1
  • Latest release for Moodle 4.2
  • Latest release for Moodle 4.3
  • Latest release for Moodle 4.4
  • Latest release for Moodle 4.5
  • Latest release for Moodle 5.0

Version control information

Version control system (VCS)
GIT
VCS repository URL
VCS tag
2025050700

Default installation instructions for plugins of the type Administration tools

  1. Make sure you have all the required versions.
  2. Download and unpack the module.
  3. Place the folder (eg "mytool") in the "admin/tool" subdirectory.
  4. Visit http://yoursite.com/admin to finish the installation