diff --git a/build/composer.json b/build/composer.json index 224fd87..66a8789 100644 --- a/build/composer.json +++ b/build/composer.json @@ -127,6 +127,7 @@ "drupal/admin_toolbar": "^3", "drupal/allowed_formats": "^3", "drupal/admin_toolbar_mediteran": "^1", + "drupal/antibot": "^2", "drupal/better_exposed_filters": "^6", "drupal/blog": "^3", "drupal/bootstrap5": "^4", diff --git a/build/composer.lock b/build/composer.lock index 21f0f92..77d121e 100644 --- a/build/composer.lock +++ b/build/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "b653fc9dbd82b0015ddbbd886c677d3e", + "content-hash": "95ee17468f96cc1b65bd53549f1bd51b", "packages": [ { "name": "asm89/stack-cors", @@ -1652,6 +1652,58 @@ "issues": "https://www.drupal.org/project/issues/allowed_formats" } }, + { + "name": "drupal/antibot", + "version": "2.0.4", + "source": { + "type": "git", + "url": "https://git.drupalcode.org/project/antibot.git", + "reference": "2.0.4" + }, + "dist": { + "type": "zip", + "url": "https://ftp.drupal.org/files/projects/antibot-2.0.4.zip", + "reference": "2.0.4", + "shasum": "58b215291b250ea410194693cbac2da6f54a8530" + }, + "require": { + "drupal/core": "^8.8 || ^9 || ^10 || ^11" + }, + "type": "drupal-module", + "extra": { + "drupal": { + "version": "2.0.4", + "datestamp": "1723819813", + "security-coverage": { + "status": "covered", + "message": "Covered by Drupal's security advisory policy" + } + } + }, + "notification-url": "https://packages.drupal.org/8/downloads", + "license": [ + "GPL-2.0+" + ], + "authors": [ + { + "name": "danrod", + "homepage": "https://www.drupal.org/user/19150" + }, + { + "name": "gaurav.kapoor", + "homepage": "https://www.drupal.org/user/3495331" + }, + { + "name": "mstef", + "homepage": "https://www.drupal.org/user/107190" + } + ], + "description": "Prevent forms from being submitted without JavaScript enabled.", + "homepage": "https://www.drupal.org/project/antibot", + "support": { + "source": "https://git.drupalcode.org/project/antibot" + } + }, { "name": "drupal/better_exposed_filters", "version": "6.0.6", diff --git a/configuration/antibot.settings.yml b/configuration/antibot.settings.yml new file mode 100644 index 0000000..9c84133 --- /dev/null +++ b/configuration/antibot.settings.yml @@ -0,0 +1,11 @@ +_core: + default_config_hash: 2TnP0TViNExHGuA7Cdr4L3uxhYGNzKyL0XnoAhtSHMQ +form_ids: + - 'comment_*' + - user_login_form + - user_pass + - user_register_form + - 'contact_message_*' +excluded_form_ids: + - '' +show_form_ids: false diff --git a/configuration/core.extension.yml b/configuration/core.extension.yml index 48048b0..55fb323 100644 --- a/configuration/core.extension.yml +++ b/configuration/core.extension.yml @@ -4,6 +4,7 @@ module: admin_toolbar: 0 admin_toolbar_tools: 0 allowed_formats: 0 + antibot: 0 big_pipe: 0 block: 0 blog: 0