A platform for community discussion. Free, open, simple.
DEV: Plugin rename discourse captcha (#39350)
Juan David Martínez Cubillos04b5530f3428
diff --git a/.github/labeler.yml b/.github/labeler.ymlindex 287d229a74e..0d9e7b3a4f3 100644--- a/.github/labeler.yml+++ b/.github/labeler.yml@@ -98,9 +98,9 @@ discourse-subscriptions:- changed-files:- any-glob-to-any-file: plugins/discourse-subscriptions/**/*-discourse-hcaptcha:+discourse-captcha:- changed-files:- - any-glob-to-any-file: plugins/discourse-hcaptcha/**/*+ - any-glob-to-any-file: plugins/discourse-captcha/**/*discourse-gamification:- changed-files:diff --git a/.gitignore b/.gitignoreindex d2e003a71a1..8946b3a5fb5 100644--- a/.gitignore+++ b/.gitignore@@ -62,7 +62,7 @@!/plugins/discourse-user-notes!/plugins/discourse-assign!/plugins/discourse-subscriptions-!/plugins/discourse-hcaptcha+!/plugins/discourse-captcha!/plugins/discourse-gamification!/plugins/discourse-calendar!/plugins/discourse-policydiff --git a/config/official_plugins.json b/config/official_plugins.jsonindex ca0a46faeaa..1bb207fdb2d 100644--- a/config/official_plugins.json+++ b/config/official_plugins.json@@ -28,7 +28,7 @@"discourse-gradle-issue","discourse-graphviz","discourse-group-tracker",- "discourse-hcaptcha",+ "discourse-captcha","discourse-invite-tokens","discourse-jira","discourse-lazy-videos",diff --git a/migrations/core/config/intermediate_db.yml b/migrations/core/config/intermediate_db.ymlindex df1c4838016..9a3ba06048f 100644--- a/migrations/core/config/intermediate_db.yml+++ b/migrations/core/config/intermediate_db.yml@@ -596,7 +596,7 @@ plugins:- "discourse-gamification"- "discourse-github"- "discourse-graphviz"- - "discourse-hcaptcha"+ - "discourse-captcha"- "discourse-lazy-videos"- "discourse-local-dates"- "discourse-login-with-amazon"diff --git a/migrations/tooling/config/schema/plugin_manifest.yml b/migrations/tooling/config/schema/plugin_manifest.ymlindex 546f77285c1..b54fdd99dbb 100644--- a/migrations/tooling/config/schema/plugin_manifest.yml+++ b/migrations/tooling/config/schema/plugin_manifest.yml@@ -226,12 +226,12 @@ plugin_checksums:discourse-assign: 7a7a36e8ac0214e8a6aca1a1ed9899aadiscourse-cakeday: a5bb91366c8dc8d267088eb0c2679187discourse-calendar: 07aa9951f5fde7daf03be9edfbda4dec+ discourse-captcha: fd538c1338062354276ccfda4cbafd55discourse-chat-integration: ffa3bf5dba9089491d2fc02971eb96f8discourse-data-explorer: ba288745bea628996590debdf02fbaa4discourse-gamification: 633256e241b030fddcc059076f7474f8discourse-github: 3bd17b2c09828e232e7565edbf2c746fdiscourse-graphviz: 8a1835520fbf8f7f5d1ef8a25d737e20- discourse-hcaptcha: fd538c1338062354276ccfda4cbafd55discourse-lazy-videos: a916a4f265d1cc6f99a3e53f5bcd1e9ediscourse-local-dates: 18d3ec627bf8546fe13bae24c6a5bb6cdiscourse-microsoft-auth: 3a95a5b50edc156ad06f40aadda7d6bcdiff --git a/plugins/discourse-captcha/README.md b/plugins/discourse-captcha/README.mdnew file mode 100644index 00000000000..af093d5103a--- /dev/null+++ b/plugins/discourse-captcha/README.md@@ -0,0 +1,40 @@+# Discourse Captcha Plugin++## Overview++This plugin integrates captcha verification into the sign-up form of Discourse forums to enhance security and bot protection. The plugin supports two captcha providers:++- **hCaptcha**: Privacy-centric captcha service+- **reCaptcha**: Google's captcha service++You can enable either provider based on your preference and requirements.++## Installation++### For hCaptcha++1. **Create an hCaptcha Account**:+ - Visit [hCaptcha](https://www.hcaptcha.com/) to create an account. After registering, you'll receive a site key and a secret key.++2. **Configure Plugin Settings**:+ - Log into your Discourse admin panel.+ - Navigate to `Admin` > `Settings` > `Plugins` > `Captcha Plugin`.+ - Enable the master toggle: `discourse_captcha_enabled`+ - Select `hcaptcha` in the `discourse_captcha_provider` setting.+ - Add the site key and secret key you obtained from hCaptcha.++### For reCaptcha++1. **Create a reCaptcha Account**:+ - Visit [Google reCaptcha](https://www.google.com/recaptcha) to register your site. After registering, you'll receive a site key and a secret key.++2. **Configure Plugin Settings**:+ - Log into your Discourse admin panel.+ - Navigate to `Admin` > `Settings` > `Plugins` > `Captcha Plugin`.+ - Enable the master toggle: `discourse_captcha_enabled`+ - Select `recaptcha` in the `discourse_captcha_provider` setting.+ - Add the site key and secret key you obtained from reCaptcha.++## Migration Notes++If you were using this plugin when it was named "discourse-hcaptcha", your existing settings have been automatically migrated.diff --git a/plugins/discourse-hcaptcha/app/controllers/discourse_hcaptcha/captcha_controller.rb b/plugins/discourse-captcha/app/controllers/discourse_captcha/captcha_controller.rbsimilarity index 95%rename from plugins/discourse-hcaptcha/app/controllers/discourse_hcaptcha/captcha_controller.rbrename to plugins/discourse-captcha/app/controllers/discourse_captcha/captcha_controller.rbindex 715ff7a3935..546aafb08b9 100644--- a/plugins/discourse-hcaptcha/app/controllers/discourse_hcaptcha/captcha_controller.rb+++ b/plugins/discourse-captcha/app/controllers/discourse_captcha/captcha_controller.rb@@ -1,6 +1,6 @@# frozen_string_literal: true-module DiscourseHcaptcha+module DiscourseCaptchaclass CaptchaController < ::ApplicationControllerrequires_plugin PLUGIN_NAMEdiff --git a/plugins/discourse-hcaptcha/app/controllers/discourse_hcaptcha/hcaptcha_controller.rb b/plugins/discourse-captcha/app/controllers/discourse_captcha/hcaptcha_controller.rbsimilarity index 80%rename from plugins/discourse-hcaptcha/app/controllers/discourse_hcaptcha/hcaptcha_controller.rbrename to plugins/discourse-captcha/app/controllers/discourse_captcha/hcaptcha_controller.rbindex 6e17391e280..d1414632185 100644--- a/plugins/discourse-hcaptcha/app/controllers/discourse_hcaptcha/hcaptcha_controller.rb+++ b/plugins/discourse-captcha/app/controllers/discourse_captcha/hcaptcha_controller.rb@@ -1,7 +1,7 @@# frozen_string_literal: true-module DiscourseHcaptcha- class HcaptchaController < DiscourseHcaptcha::CaptchaController+module DiscourseCaptcha+ class HcaptchaController < DiscourseCaptcha::CaptchaControllerrequires_plugin PLUGIN_NAMEprivatediff --git a/plugins/discourse-hcaptcha/app/controllers/discourse_hcaptcha/recaptcha_controller.rb b/plugins/discourse-captcha/app/controllers/discourse_captcha/recaptcha_controller.rbsimilarity index 62%rename from plugins/discourse-hcaptcha/app/controllers/discourse_hcaptcha/recaptcha_controller.rbrename to plugins/discourse-captcha/app/controllers/discourse_captcha/recaptcha_controller.rbindex 2ea11455c6d..97f90bee719 100644--- a/plugins/discourse-hcaptcha/app/controllers/discourse_hcaptcha/recaptcha_controller.rb+++ b/plugins/discourse-captcha/app/controllers/discourse_captcha/recaptcha_controller.rb@@ -1,13 +1,13 @@# frozen_string_literal: true-module DiscourseHcaptcha- class RecaptchaController < DiscourseHcaptcha::CaptchaController+module DiscourseCaptcha+ class RecaptchaController < DiscourseCaptcha::CaptchaControllerrequires_plugin PLUGIN_NAMEprivatedef ensure_config- unless SiteSetting.discourse_captcha_provider == CaptchaProvider::RECAPTCHA+ if SiteSetting.discourse_captcha_provider != CaptchaProvider::RECAPTCHAraise Discourse::NotFoundendraise Discourse::InvalidParameters.new(:token) if params[:token].blank?diff --git a/plugins/discourse-hcaptcha/app/services/problem_check/hcaptcha_configuration.rb b/plugins/discourse-captcha/app/services/problem_check/hcaptcha_configuration.rbsimilarity index 80%rename from plugins/discourse-hcaptcha/app/services/problem_check/hcaptcha_configuration.rbrename to plugins/discourse-captcha/app/services/problem_check/hcaptcha_configuration.rbindex 06c607fec13..afd3317f188 100644--- a/plugins/discourse-hcaptcha/app/services/problem_check/hcaptcha_configuration.rb+++ b/plugins/discourse-captcha/app/services/problem_check/hcaptcha_configuration.rb@@ -5,7 +5,7 @@ class ProblemCheck::HcaptchaConfiguration < ProblemCheckdef callif SiteSetting.discourse_captcha_enabled &&- SiteSetting.discourse_captcha_provider == DiscourseHcaptcha::CaptchaProvider::HCAPTCHA &&+ SiteSetting.discourse_captcha_provider == DiscourseCaptcha::CaptchaProvider::HCAPTCHA &&!hcaptcha_credentials_present?return problemenddiff --git a/plugins/discourse-hcaptcha/app/services/problem_check/recaptcha_configuration.rb b/plugins/discourse-captcha/app/services/problem_check/recaptcha_configuration.rbsimilarity index 80%rename from plugins/discourse-hcaptcha/app/services/problem_check/recaptcha_configuration.rbrename to plugins/discourse-captcha/app/services/problem_check/recaptcha_configuration.rbindex 11c90a20388..47dc65093db 100644--- a/plugins/discourse-hcaptcha/app/services/problem_check/recaptcha_configuration.rb+++ b/plugins/discourse-captcha/app/services/problem_check/recaptcha_configuration.rb@@ -5,7 +5,7 @@ class ProblemCheck::RecaptchaConfiguration < ProblemCheckdef callif SiteSetting.discourse_captcha_enabled &&- SiteSetting.discourse_captcha_provider == DiscourseHcaptcha::CaptchaProvider::RECAPTCHA &&+ SiteSetting.discourse_captcha_provider == DiscourseCaptcha::CaptchaProvider::RECAPTCHA &&!recaptcha_credentials_present?return problemenddiff --git a/plugins/discourse-hcaptcha/assets/javascripts/discourse/components/base-captcha.gjs b/plugins/discourse-captcha/assets/javascripts/discourse/components/base-captcha.gjssimilarity index 100%rename from plugins/discourse-hcaptcha/assets/javascripts/discourse/components/base-captcha.gjsrename to plugins/discourse-captcha/assets/javascripts/discourse/components/base-captcha.gjsdiff --git a/plugins/discourse-hcaptcha/assets/javascripts/discourse/components/h-captcha.gjs b/plugins/discourse-captcha/assets/javascripts/discourse/components/h-captcha.gjssimilarity index 100%rename from plugins/discourse-hcaptcha/assets/javascripts/discourse/components/h-captcha.gjsrename to plugins/discourse-captcha/assets/javascripts/discourse/components/h-captcha.gjsdiff --git a/plugins/discourse-hcaptcha/assets/javascripts/discourse/components/re-captcha.gjs b/plugins/discourse-captcha/assets/javascripts/discourse/components/re-captcha.gjssimilarity index 100%rename from plugins/discourse-hcaptcha/assets/javascripts/discourse/components/re-captcha.gjsrename to plugins/discourse-captcha/assets/javascripts/discourse/components/re-captcha.gjsdiff --git a/plugins/discourse-hcaptcha/assets/javascripts/discourse/connectors/create-account-after-user-fields/captcha-fields-connector.gjs b/plugins/discourse-captcha/assets/javascripts/discourse/connectors/create-account-after-user-fields/captcha-fields-connector.gjssimilarity index 100%rename from plugins/discourse-hcaptcha/assets/javascripts/discourse/connectors/create-account-after-user-fields/captcha-fields-connector.gjsrename to plugins/discourse-captcha/assets/javascripts/discourse/connectors/create-account-after-user-fields/captcha-fields-connector.gjsdiff --git a/plugins/discourse-hcaptcha/assets/javascripts/discourse/initializers/hcaptcha-admin-plugin-configuration-nav.js b/plugins/discourse-captcha/assets/javascripts/discourse/initializers/hcaptcha-admin-plugin-configuration-nav.jssimilarity index 90%rename from plugins/discourse-hcaptcha/assets/javascripts/discourse/initializers/hcaptcha-admin-plugin-configuration-nav.jsrename to plugins/discourse-captcha/assets/javascripts/discourse/initializers/hcaptcha-admin-plugin-configuration-nav.jsindex 4bf9a3fb3a2..120ce6879e7 100644--- a/plugins/discourse-hcaptcha/assets/javascripts/discourse/initializers/hcaptcha-admin-plugin-configuration-nav.js+++ b/plugins/discourse-captcha/assets/javascripts/discourse/initializers/hcaptcha-admin-plugin-configuration-nav.js@@ -1,6 +1,6 @@import { withPluginApi } from "discourse/lib/plugin-api";-const PLUGIN_ID = "discourse-hcaptcha";+const PLUGIN_ID = "discourse-captcha";export default {name: "hcaptcha-admin-plugin-configuration-nav",diff --git a/plugins/discourse-hcaptcha/assets/javascripts/discourse/services/captcha-service.js b/plugins/discourse-captcha/assets/javascripts/discourse/services/captcha-service.jssimilarity index 100%rename from plugins/discourse-hcaptcha/assets/javascripts/discourse/services/captcha-service.jsrename to plugins/discourse-captcha/assets/javascripts/discourse/services/captcha-service.jsdiff --git a/plugins/discourse-hcaptcha/assets/javascripts/pre-initializers/h-captcha.js b/plugins/discourse-captcha/assets/javascripts/pre-initializers/h-captcha.jssimilarity index 100%rename from plugins/discourse-hcaptcha/assets/javascripts/pre-initializers/h-captcha.jsrename to plugins/discourse-captcha/assets/javascripts/pre-initializers/h-captcha.jsdiff --git a/plugins/discourse-hcaptcha/config/locales/client.en.yml b/plugins/discourse-captcha/config/locales/client.en.ymlsimilarity index 89%rename from plugins/discourse-hcaptcha/config/locales/client.en.ymlrename to plugins/discourse-captcha/config/locales/client.en.ymlindex 856cba13552..dad1b4157a5 100644--- a/plugins/discourse-hcaptcha/config/locales/client.en.yml+++ b/plugins/discourse-captcha/config/locales/client.en.yml@@ -10,4 +10,4 @@ en:admin:site_settings:categories:- discourse_hcaptcha: "Discourse hCaptcha"+ discourse_captcha: "Discourse Captcha"diff --git a/plugins/discourse-hcaptcha/config/locales/server.en.yml b/plugins/discourse-captcha/config/locales/server.en.ymlsimilarity index 96%rename from plugins/discourse-hcaptcha/config/locales/server.en.ymlrename to plugins/discourse-captcha/config/locales/server.en.ymlindex 253fcb4eccd..8d9c02d25c6 100644--- a/plugins/discourse-hcaptcha/config/locales/server.en.yml+++ b/plugins/discourse-captcha/config/locales/server.en.yml@@ -7,7 +7,7 @@ en:admin:site_settings:categories:- discourse_hcaptcha: "hCaptcha Plugin"+ discourse_captcha: "Captcha Plugin"site_settings:discourse_captcha_enabled: "Enable captcha verification for new user registrations. Requires configuring either hCaptcha or reCaptcha below."diff --git a/plugins/discourse-captcha/config/routes.rb b/plugins/discourse-captcha/config/routes.rbnew file mode 100644index 00000000000..bcf293a4c80--- /dev/null+++ b/plugins/discourse-captcha/config/routes.rb@@ -0,0 +1,8 @@+# frozen_string_literal: true++Discourse::Application.routes.draw { mount DiscourseCaptcha::Engine, at: "captcha" }++DiscourseCaptcha::Engine.routes.draw do+ post "/hcaptcha/create", to: "hcaptcha#create"+ post "/recaptcha/create", to: "recaptcha#create"+enddiff --git a/plugins/discourse-hcaptcha/config/settings.yml b/plugins/discourse-captcha/config/settings.ymlsimilarity index 95%rename from plugins/discourse-hcaptcha/config/settings.ymlrename to plugins/discourse-captcha/config/settings.ymlindex e5f1b1c4481..fd641aada45 100644--- a/plugins/discourse-hcaptcha/config/settings.yml+++ b/plugins/discourse-captcha/config/settings.yml@@ -1,4 +1,4 @@-discourse_hcaptcha:+discourse_captcha:discourse_captcha_enabled:default: falseclient: truediff --git a/plugins/discourse-hcaptcha/db/migrate/20260422000000_migrate_hcaptcha_enabled_to_captcha_settings.rb b/plugins/discourse-captcha/db/migrate/20260422000000_migrate_hcaptcha_enabled_to_captcha_settings.rbsimilarity index 100%rename from plugins/discourse-hcaptcha/db/migrate/20260422000000_migrate_hcaptcha_enabled_to_captcha_settings.rbrename to plugins/discourse-captcha/db/migrate/20260422000000_migrate_hcaptcha_enabled_to_captcha_settings.rbdiff --git a/plugins/discourse-hcaptcha/lib/discourse_hcaptcha/captcha_provider.rb b/plugins/discourse-captcha/lib/discourse_captcha/captcha_provider.rbsimilarity index 96%rename from plugins/discourse-hcaptcha/lib/discourse_hcaptcha/captcha_provider.rbrename to plugins/discourse-captcha/lib/discourse_captcha/captcha_provider.rbindex 1621558810e..94a85f4c074 100644--- a/plugins/discourse-hcaptcha/lib/discourse_hcaptcha/captcha_provider.rb+++ b/plugins/discourse-captcha/lib/discourse_captcha/captcha_provider.rb@@ -1,6 +1,6 @@# frozen_string_literal: true-module DiscourseHcaptcha+module DiscourseCaptchaclass CaptchaProviderHCAPTCHA = "hcaptcha"RECAPTCHA = "recaptcha"diff --git a/plugins/discourse-hcaptcha/lib/discourse_hcaptcha/create_users_controller_patch.rb b/plugins/discourse-captcha/lib/discourse_captcha/create_users_controller_patch.rbsimilarity index 93%rename from plugins/discourse-hcaptcha/lib/discourse_hcaptcha/create_users_controller_patch.rbrename to plugins/discourse-captcha/lib/discourse_captcha/create_users_controller_patch.rbindex 189831d9fae..03f72a9a68e 100644--- a/plugins/discourse-hcaptcha/lib/discourse_hcaptcha/create_users_controller_patch.rb+++ b/plugins/discourse-captcha/lib/discourse_captcha/create_users_controller_patch.rb@@ -1,6 +1,6 @@# frozen_string_literal: true-module DiscourseHcaptcha+module DiscourseCaptchamodule CreateUsersControllerPatchextend ActiveSupport::Concernincluded { before_action :check_captcha, only: [:create] }@@ -31,11 +31,11 @@ module DiscourseHcaptchacase SiteSetting.discourse_captcha_providerwhen CaptchaProvider::HCAPTCHAif SiteSetting.hcaptcha_site_key.present? && SiteSetting.hcaptcha_secret_key.present?- DiscourseHcaptcha::HcaptchaProvider.new+ DiscourseCaptcha::HcaptchaProvider.newendwhen CaptchaProvider::RECAPTCHAif SiteSetting.recaptcha_site_key.present? && SiteSetting.recaptcha_secret_key.present?- DiscourseHcaptcha::RecaptchaProvider.new+ DiscourseCaptcha::RecaptchaProvider.newendendenddiff --git a/plugins/discourse-hcaptcha/lib/discourse_hcaptcha/engine.rb b/plugins/discourse-captcha/lib/discourse_captcha/engine.rbsimilarity index 71%rename from plugins/discourse-hcaptcha/lib/discourse_hcaptcha/engine.rbrename to plugins/discourse-captcha/lib/discourse_captcha/engine.rbindex af574807c34..63fe818b666 100644--- a/plugins/discourse-hcaptcha/lib/discourse_hcaptcha/engine.rb+++ b/plugins/discourse-captcha/lib/discourse_captcha/engine.rb@@ -1,9 +1,9 @@# frozen_string_literal: true-module DiscourseHcaptcha+module DiscourseCaptchaclass Engine < ::Rails::Engineengine_name PLUGIN_NAME- isolate_namespace DiscourseHcaptcha+ isolate_namespace DiscourseCaptchaconfig.autoload_paths << File.join(config.root, "lib")endenddiff --git a/plugins/discourse-hcaptcha/lib/discourse_hcaptcha/hcaptcha_provider.rb b/plugins/discourse-captcha/lib/discourse_captcha/hcaptcha_provider.rbsimilarity index 95%rename from plugins/discourse-hcaptcha/lib/discourse_hcaptcha/hcaptcha_provider.rbrename to plugins/discourse-captcha/lib/discourse_captcha/hcaptcha_provider.rbindex 4f0f30d3afd..f5409afda37 100644--- a/plugins/discourse-hcaptcha/lib/discourse_hcaptcha/hcaptcha_provider.rb+++ b/plugins/discourse-captcha/lib/discourse_captcha/hcaptcha_provider.rb@@ -1,6 +1,6 @@# frozen_string_literal: true-module DiscourseHcaptcha+module DiscourseCaptchaclass HcaptchaProvider < CaptchaProviderCAPTCHA_VERIFICATION_URL = "https://hcaptcha.com/siteverify"diff --git a/plugins/discourse-hcaptcha/lib/discourse_hcaptcha/recaptcha_provider.rb b/plugins/discourse-captcha/lib/discourse_captcha/recaptcha_provider.rbsimilarity index 95%rename from plugins/discourse-hcaptcha/lib/discourse_hcaptcha/recaptcha_provider.rbrename to plugins/discourse-captcha/lib/discourse_captcha/recaptcha_provider.rbindex 23decbfa535..a7896a160bd 100644--- a/plugins/discourse-hcaptcha/lib/discourse_hcaptcha/recaptcha_provider.rb+++ b/plugins/discourse-captcha/lib/discourse_captcha/recaptcha_provider.rb@@ -1,6 +1,6 @@# frozen_string_literal: true-module DiscourseHcaptcha+module DiscourseCaptchaclass RecaptchaProvider < CaptchaProviderCAPTCHA_VERIFICATION_URL = "https://www.google.com/recaptcha/api/siteverify"diff --git a/plugins/discourse-hcaptcha/package.json b/plugins/discourse-captcha/package.jsonsimilarity index 100%rename from plugins/discourse-hcaptcha/package.jsonrename to plugins/discourse-captcha/package.jsondiff --git a/plugins/discourse-hcaptcha/plugin.rb b/plugins/discourse-captcha/plugin.rbsimilarity index 60%rename from plugins/discourse-hcaptcha/plugin.rbrename to plugins/discourse-captcha/plugin.rbindex 33116b42af1..41d09b25411 100644--- a/plugins/discourse-hcaptcha/plugin.rb+++ b/plugins/discourse-captcha/plugin.rb@@ -1,11 +1,11 @@# coding: utf-8# frozen_string_literal: true-# name: discourse-hcaptcha-# about: hCaptcha support for Discourse+# name: discourse-captcha+# about: Captcha support for Discourse (hCaptcha and reCaptcha)# version: 0.0.1# authors: Discourse-# url: https://github.com/discourse/discourse/tree/main/plugins/discourse-hcaptcha+# url: https://github.com/discourse/discourse/tree/main/plugins/discourse-captcha# required_version: 2.7.0# meta_topic_id: 291383@@ -13,15 +13,15 @@ enabled_site_setting :discourse_captcha_enabledregister_svg_icon "hand"-module ::DiscourseHcaptcha- PLUGIN_NAME = "discourse-hcaptcha"+module ::DiscourseCaptcha+ PLUGIN_NAME = "discourse-captcha"end-require_relative "lib/discourse_hcaptcha/engine"-require_relative "lib/discourse_hcaptcha/captcha_provider"+require_relative "lib/discourse_captcha/engine"+require_relative "lib/discourse_captcha/captcha_provider"after_initialize do- reloadable_patch { UsersController.include(DiscourseHcaptcha::CreateUsersControllerPatch) }+ reloadable_patch { UsersController.include(DiscourseCaptcha::CreateUsersControllerPatch) }require_relative "app/services/problem_check/hcaptcha_configuration"require_relative "app/services/problem_check/recaptcha_configuration"diff --git a/plugins/discourse-hcaptcha/spec/lib/discourse_h_captcha/create_users_controller_patch_spec.rb b/plugins/discourse-captcha/spec/lib/discourse_captcha/create_users_controller_patch_spec.rbsimilarity index 79%rename from plugins/discourse-hcaptcha/spec/lib/discourse_h_captcha/create_users_controller_patch_spec.rbrename to plugins/discourse-captcha/spec/lib/discourse_captcha/create_users_controller_patch_spec.rbindex b5edb5dd9d8..4d1c2842c05 100644--- a/plugins/discourse-hcaptcha/spec/lib/discourse_h_captcha/create_users_controller_patch_spec.rb+++ b/plugins/discourse-captcha/spec/lib/discourse_captcha/create_users_controller_patch_spec.rb@@ -15,7 +15,7 @@ RSpec.describe "Users", type: :request dobefore doSiteSetting.enable_local_logins = trueSiteSetting.discourse_captcha_enabled = true- SiteSetting.discourse_captcha_provider = DiscourseHcaptcha::CaptchaProvider::NONE+ SiteSetting.discourse_captcha_provider = DiscourseCaptcha::CaptchaProvider::NONESiteSetting.same_site_cookies = "Lax"@@ -25,7 +25,7 @@ RSpec.describe "Users", type: :request doSiteSetting.recaptcha_site_key = "site-key"SiteSetting.recaptcha_secret_key = "secret-key"- stub_request(:post, DiscourseHcaptcha::HcaptchaProvider::CAPTCHA_VERIFICATION_URL).with(+ stub_request(:post, DiscourseCaptcha::HcaptchaProvider::CAPTCHA_VERIFICATION_URL).with(body: {secret: SiteSetting.hcaptcha_secret_key,response: "token-from-hCaptcha",@@ -36,8 +36,8 @@ RSpec.describe "Users", type: :request docontext "when captcha verification fails" docontext "when using hCaptcha" dobefore do- SiteSetting.discourse_captcha_provider = DiscourseHcaptcha::CaptchaProvider::HCAPTCHA- stub_request(:post, DiscourseHcaptcha::HcaptchaProvider::CAPTCHA_VERIFICATION_URL).with(+ SiteSetting.discourse_captcha_provider = DiscourseCaptcha::CaptchaProvider::HCAPTCHA+ stub_request(:post, DiscourseCaptcha::HcaptchaProvider::CAPTCHA_VERIFICATION_URL).with(body: {secret: SiteSetting.hcaptcha_secret_key,response: "token-from-hCaptcha",@@ -54,9 +54,9 @@ RSpec.describe "Users", type: :request docontext "when using reCaptcha" dobefore do- SiteSetting.discourse_captcha_provider = DiscourseHcaptcha::CaptchaProvider::RECAPTCHA+ SiteSetting.discourse_captcha_provider = DiscourseCaptcha::CaptchaProvider::RECAPTCHA- stub_request(:post, DiscourseHcaptcha::RecaptchaProvider::CAPTCHA_VERIFICATION_URL).with(+ stub_request(:post, DiscourseCaptcha::RecaptchaProvider::CAPTCHA_VERIFICATION_URL).with(body: {secret: SiteSetting.recaptcha_secret_key,response: "token-from-reCaptcha",@@ -75,7 +75,7 @@ RSpec.describe "Users", type: :request docontext "when captcha token is missing" docontext "when using hCaptcha" dobefore do- SiteSetting.discourse_captcha_provider = DiscourseHcaptcha::CaptchaProvider::HCAPTCHA+ SiteSetting.discourse_captcha_provider = DiscourseCaptcha::CaptchaProvider::HCAPTCHAendit "fails registration" do@@ -86,7 +86,7 @@ RSpec.describe "Users", type: :request docontext "when using reCaptcha" dobefore do- SiteSetting.discourse_captcha_provider = DiscourseHcaptcha::CaptchaProvider::RECAPTCHA+ SiteSetting.discourse_captcha_provider = DiscourseCaptcha::CaptchaProvider::RECAPTCHAendit "fails registration" do@@ -99,9 +99,9 @@ RSpec.describe "Users", type: :request docontext "when captcha verification is successful" docontext "when using hCaptcha" dobefore do- SiteSetting.discourse_captcha_provider = DiscourseHcaptcha::CaptchaProvider::HCAPTCHA+ SiteSetting.discourse_captcha_provider = DiscourseCaptcha::CaptchaProvider::HCAPTCHA- stub_request(:post, DiscourseHcaptcha::HcaptchaProvider::CAPTCHA_VERIFICATION_URL).with(+ stub_request(:post, DiscourseCaptcha::HcaptchaProvider::CAPTCHA_VERIFICATION_URL).with(body: {"response" => "token-from-hCaptcha","secret" => SiteSetting.hcaptcha_secret_key,@@ -119,9 +119,9 @@ RSpec.describe "Users", type: :request docontext "when using reCaptcha" dobefore do- SiteSetting.discourse_captcha_provider = DiscourseHcaptcha::CaptchaProvider::RECAPTCHA+ SiteSetting.discourse_captcha_provider = DiscourseCaptcha::CaptchaProvider::RECAPTCHA- stub_request(:post, DiscourseHcaptcha::RecaptchaProvider::CAPTCHA_VERIFICATION_URL).with(+ stub_request(:post, DiscourseCaptcha::RecaptchaProvider::CAPTCHA_VERIFICATION_URL).with(body: {"response" => "token-from-reCaptcha","secret" => SiteSetting.recaptcha_secret_key,@@ -140,7 +140,7 @@ RSpec.describe "Users", type: :request docontext "when site is login-required" dobefore doSiteSetting.login_required = true- SiteSetting.discourse_captcha_provider = DiscourseHcaptcha::CaptchaProvider::HCAPTCHA+ SiteSetting.discourse_captcha_provider = DiscourseCaptcha::CaptchaProvider::HCAPTCHAendit "succeeds in registration" do@@ -162,7 +162,7 @@ RSpec.describe "Users", type: :request doendcontext "when captcha provider is set to none" do- before { SiteSetting.discourse_captcha_provider = DiscourseHcaptcha::CaptchaProvider::NONE }+ before { SiteSetting.discourse_captcha_provider = DiscourseCaptcha::CaptchaProvider::NONE }it "succeeds in registration without captcha" dopost "/u.json", params: user_params@@ -173,7 +173,7 @@ RSpec.describe "Users", type: :request docontext "when captcha is misconfigured" docontext "when hCaptcha is selected but keys are missing" dobefore do- SiteSetting.discourse_captcha_provider = DiscourseHcaptcha::CaptchaProvider::HCAPTCHA+ SiteSetting.discourse_captcha_provider = DiscourseCaptcha::CaptchaProvider::HCAPTCHASiteSetting.hcaptcha_site_key = ""SiteSetting.hcaptcha_secret_key = ""end@@ -187,7 +187,7 @@ RSpec.describe "Users", type: :request docontext "when reCaptcha is selected but keys are missing" dobefore do- SiteSetting.discourse_captcha_provider = DiscourseHcaptcha::CaptchaProvider::RECAPTCHA+ SiteSetting.discourse_captcha_provider = DiscourseCaptcha::CaptchaProvider::RECAPTCHASiteSetting.recaptcha_site_key = ""SiteSetting.recaptcha_secret_key = ""end@@ -203,9 +203,9 @@ RSpec.describe "Users", type: :request docontext "when captcha provider returns server error" docontext "when using hCaptcha" dobefore do- SiteSetting.discourse_captcha_provider = DiscourseHcaptcha::CaptchaProvider::HCAPTCHA+ SiteSetting.discourse_captcha_provider = DiscourseCaptcha::CaptchaProvider::HCAPTCHA- stub_request(:post, DiscourseHcaptcha::HcaptchaProvider::CAPTCHA_VERIFICATION_URL).with(+ stub_request(:post, DiscourseCaptcha::HcaptchaProvider::CAPTCHA_VERIFICATION_URL).with(body: {secret: SiteSetting.hcaptcha_secret_key,response: "token-from-hCaptcha",@@ -222,9 +222,9 @@ RSpec.describe "Users", type: :request docontext "when using reCaptcha" dobefore do- SiteSetting.discourse_captcha_provider = DiscourseHcaptcha::CaptchaProvider::RECAPTCHA+ SiteSetting.discourse_captcha_provider = DiscourseCaptcha::CaptchaProvider::RECAPTCHA- stub_request(:post, DiscourseHcaptcha::RecaptchaProvider::CAPTCHA_VERIFICATION_URL).with(+ stub_request(:post, DiscourseCaptcha::RecaptchaProvider::CAPTCHA_VERIFICATION_URL).with(body: {secret: SiteSetting.recaptcha_secret_key,response: "token-from-reCaptcha",@@ -243,9 +243,9 @@ RSpec.describe "Users", type: :request docontext "when captcha provider returns malformed response" docontext "when using hCaptcha" dobefore do- SiteSetting.discourse_captcha_provider = DiscourseHcaptcha::CaptchaProvider::HCAPTCHA+ SiteSetting.discourse_captcha_provider = DiscourseCaptcha::CaptchaProvider::HCAPTCHA- stub_request(:post, DiscourseHcaptcha::HcaptchaProvider::CAPTCHA_VERIFICATION_URL).with(+ stub_request(:post, DiscourseCaptcha::HcaptchaProvider::CAPTCHA_VERIFICATION_URL).with(body: {secret: SiteSetting.hcaptcha_secret_key,response: "token-from-hCaptcha",@@ -262,9 +262,9 @@ RSpec.describe "Users", type: :request docontext "when using reCaptcha" dobefore do- SiteSetting.discourse_captcha_provider = DiscourseHcaptcha::CaptchaProvider::RECAPTCHA+ SiteSetting.discourse_captcha_provider = DiscourseCaptcha::CaptchaProvider::RECAPTCHA- stub_request(:post, DiscourseHcaptcha::RecaptchaProvider::CAPTCHA_VERIFICATION_URL).with(+ stub_request(:post, DiscourseCaptcha::RecaptchaProvider::CAPTCHA_VERIFICATION_URL).with(body: {secret: SiteSetting.recaptcha_secret_key,response: "token-from-reCaptcha",@@ -282,9 +282,9 @@ RSpec.describe "Users", type: :request docontext "when captcha response has success field as nil" dobefore do- SiteSetting.discourse_captcha_provider = DiscourseHcaptcha::CaptchaProvider::HCAPTCHA+ SiteSetting.discourse_captcha_provider = DiscourseCaptcha::CaptchaProvider::HCAPTCHA- stub_request(:post, DiscourseHcaptcha::HcaptchaProvider::CAPTCHA_VERIFICATION_URL).with(+ stub_request(:post, DiscourseCaptcha::HcaptchaProvider::CAPTCHA_VERIFICATION_URL).with(body: {secret: SiteSetting.hcaptcha_secret_key,response: "token-from-hCaptcha",diff --git a/plugins/discourse-hcaptcha/spec/lib/discourse_h_captcha/hcaptcha_provider_spec.rb b/plugins/discourse-captcha/spec/lib/discourse_captcha/hcaptcha_provider_spec.rbsimilarity index 96%rename from plugins/discourse-hcaptcha/spec/lib/discourse_h_captcha/hcaptcha_provider_spec.rbrename to plugins/discourse-captcha/spec/lib/discourse_captcha/hcaptcha_provider_spec.rbindex 54d31c54d00..c46320b47d8 100644--- a/plugins/discourse-hcaptcha/spec/lib/discourse_h_captcha/hcaptcha_provider_spec.rb+++ b/plugins/discourse-captcha/spec/lib/discourse_captcha/hcaptcha_provider_spec.rb@@ -1,6 +1,6 @@# frozen_string_literal: true-RSpec.describe DiscourseHcaptcha::HcaptchaProvider do+RSpec.describe DiscourseCaptcha::HcaptchaProvider dosubject(:provider) { described_class.new }describe "#captcha_verification_url" dodiff --git a/plugins/discourse-hcaptcha/spec/lib/discourse_h_captcha/recaptcha_provider_spec.rb b/plugins/discourse-captcha/spec/lib/discourse_captcha/recaptcha_provider_spec.rbsimilarity index 89%rename from plugins/discourse-hcaptcha/spec/lib/discourse_h_captcha/recaptcha_provider_spec.rbrename to plugins/discourse-captcha/spec/lib/discourse_captcha/recaptcha_provider_spec.rbindex 1a374f865b6..4c1cdcbe2bc 100644--- a/plugins/discourse-hcaptcha/spec/lib/discourse_h_captcha/recaptcha_provider_spec.rb+++ b/plugins/discourse-captcha/spec/lib/discourse_captcha/recaptcha_provider_spec.rb@@ -1,6 +1,6 @@# frozen_string_literal: true-RSpec.describe DiscourseHcaptcha::RecaptchaProvider do+RSpec.describe DiscourseCaptcha::RecaptchaProvider dosubject(:provider) { described_class.new }describe "#captcha_verification_url" do@@ -43,7 +43,7 @@ RSpec.describe DiscourseHcaptcha::RecaptchaProvider dobefore doSiteSetting.enable_local_logins = trueSiteSetting.discourse_captcha_enabled = true- SiteSetting.discourse_captcha_provider = DiscourseHcaptcha::CaptchaProvider::RECAPTCHA+ SiteSetting.discourse_captcha_provider = DiscourseCaptcha::CaptchaProvider::RECAPTCHASiteSetting.recaptcha_site_key = "site-key"SiteSetting.recaptcha_secret_key = "secret-key"@@ -53,7 +53,7 @@ RSpec.describe DiscourseHcaptcha::RecaptchaProvider dostub =stub_request(:post,- DiscourseHcaptcha::RecaptchaProvider::CAPTCHA_VERIFICATION_URL,+ DiscourseCaptcha::RecaptchaProvider::CAPTCHA_VERIFICATION_URL,).to_return(status: 200,body: '{"success":true,"challenge_ts":"2024-01-01T00:00:00Z","hostname":"example.com"}',diff --git a/plugins/discourse-hcaptcha/spec/requests/discourse_hcaptcha/hcaptcha_controller_spec.rb b/plugins/discourse-captcha/spec/requests/discourse_captcha/hcaptcha_controller_spec.rbsimilarity index 86%rename from plugins/discourse-hcaptcha/spec/requests/discourse_hcaptcha/hcaptcha_controller_spec.rbrename to plugins/discourse-captcha/spec/requests/discourse_captcha/hcaptcha_controller_spec.rbindex 51f82d5797a..717007e4009 100644--- a/plugins/discourse-hcaptcha/spec/requests/discourse_hcaptcha/hcaptcha_controller_spec.rb+++ b/plugins/discourse-captcha/spec/requests/discourse_captcha/hcaptcha_controller_spec.rb@@ -1,10 +1,10 @@# frozen_string_literal: true-RSpec.describe DiscourseHcaptcha::HcaptchaController do+RSpec.describe DiscourseCaptcha::HcaptchaController dodescribe "POST /captcha/hcaptcha/create" dobefore doSiteSetting.discourse_captcha_enabled = true- SiteSetting.discourse_captcha_provider = DiscourseHcaptcha::CaptchaProvider::HCAPTCHA+ SiteSetting.discourse_captcha_provider = DiscourseCaptcha::CaptchaProvider::HCAPTCHASiteSetting.hcaptcha_site_key = "test-site-key"SiteSetting.hcaptcha_secret_key = "test-secret-key"end@@ -36,7 +36,7 @@ RSpec.describe DiscourseHcaptcha::HcaptchaController docontext "when hCaptcha is not the selected provider" dobefore do- SiteSetting.discourse_captcha_provider = DiscourseHcaptcha::CaptchaProvider::RECAPTCHA+ SiteSetting.discourse_captcha_provider = DiscourseCaptcha::CaptchaProvider::RECAPTCHASiteSetting.recaptcha_site_key = "test-site-key"SiteSetting.recaptcha_secret_key = "test-secret-key"end@@ -49,7 +49,7 @@ RSpec.describe DiscourseHcaptcha::HcaptchaController doendcontext "when captcha provider is none" do- before { SiteSetting.discourse_captcha_provider = DiscourseHcaptcha::CaptchaProvider::NONE }+ before { SiteSetting.discourse_captcha_provider = DiscourseCaptcha::CaptchaProvider::NONE }it "returns 404 error" dopost "/captcha/hcaptcha/create.json", params: { token: "test-token" }diff --git a/plugins/discourse-hcaptcha/spec/requests/discourse_hcaptcha/recaptcha_controller_spec.rb b/plugins/discourse-captcha/spec/requests/discourse_captcha/recaptcha_controller_spec.rbsimilarity index 86%rename from plugins/discourse-hcaptcha/spec/requests/discourse_hcaptcha/recaptcha_controller_spec.rbrename to plugins/discourse-captcha/spec/requests/discourse_captcha/recaptcha_controller_spec.rbindex 9f6abe4514f..809bca83b4d 100644--- a/plugins/discourse-hcaptcha/spec/requests/discourse_hcaptcha/recaptcha_controller_spec.rb+++ b/plugins/discourse-captcha/spec/requests/discourse_captcha/recaptcha_controller_spec.rb@@ -1,10 +1,10 @@# frozen_string_literal: true-RSpec.describe DiscourseHcaptcha::RecaptchaController do+RSpec.describe DiscourseCaptcha::RecaptchaController dodescribe "POST /captcha/recaptcha/create" dobefore doSiteSetting.discourse_captcha_enabled = true- SiteSetting.discourse_captcha_provider = DiscourseHcaptcha::CaptchaProvider::RECAPTCHA+ SiteSetting.discourse_captcha_provider = DiscourseCaptcha::CaptchaProvider::RECAPTCHASiteSetting.recaptcha_site_key = "test-site-key"SiteSetting.recaptcha_secret_key = "test-secret-key"end@@ -36,7 +36,7 @@ RSpec.describe DiscourseHcaptcha::RecaptchaController docontext "when reCaptcha is not the selected provider" dobefore do- SiteSetting.discourse_captcha_provider = DiscourseHcaptcha::CaptchaProvider::HCAPTCHA+ SiteSetting.discourse_captcha_provider = DiscourseCaptcha::CaptchaProvider::HCAPTCHASiteSetting.hcaptcha_site_key = "test-site-key"SiteSetting.hcaptcha_secret_key = "test-secret-key"end@@ -49,7 +49,7 @@ RSpec.describe DiscourseHcaptcha::RecaptchaController doendcontext "when captcha provider is none" do- before { SiteSetting.discourse_captcha_provider = DiscourseHcaptcha::CaptchaProvider::NONE }+ before { SiteSetting.discourse_captcha_provider = DiscourseCaptcha::CaptchaProvider::NONE }it "returns 404 error" dopost "/captcha/recaptcha/create.json", params: { token: "test-token" }diff --git a/plugins/discourse-hcaptcha/spec/services/problem_check/hcaptcha_configuration_spec.rb b/plugins/discourse-captcha/spec/services/problem_check/hcaptcha_configuration_spec.rbsimilarity index 91%rename from plugins/discourse-hcaptcha/spec/services/problem_check/hcaptcha_configuration_spec.rbrename to plugins/discourse-captcha/spec/services/problem_check/hcaptcha_configuration_spec.rbindex 0fd7d7c8f6d..3a50548e8c1 100644--- a/plugins/discourse-hcaptcha/spec/services/problem_check/hcaptcha_configuration_spec.rb+++ b/plugins/discourse-captcha/spec/services/problem_check/hcaptcha_configuration_spec.rb@@ -18,7 +18,7 @@ RSpec.describe ProblemCheck::HcaptchaConfiguration docontext "when discourse_captcha_provider siteSetting is HCaptcha" dobefore doSiteSetting.discourse_captcha_enabled = true- SiteSetting.discourse_captcha_provider = DiscourseHcaptcha::CaptchaProvider::HCAPTCHA+ SiteSetting.discourse_captcha_provider = DiscourseCaptcha::CaptchaProvider::HCAPTCHAenddescribe "`hcaptcha_site_key` is not set" do@@ -47,7 +47,7 @@ RSpec.describe ProblemCheck::HcaptchaConfiguration doendcontext "when discourse_captcha_provider siteSetting is HCaptcha" do- before { SiteSetting.discourse_captcha_provider = DiscourseHcaptcha::CaptchaProvider::HCAPTCHA }+ before { SiteSetting.discourse_captcha_provider = DiscourseCaptcha::CaptchaProvider::HCAPTCHA }describe "`hcaptcha_site_key` is not set" dobefore { SiteSetting.hcaptcha_secret_key = "just a string" }diff --git a/plugins/discourse-hcaptcha/spec/services/problem_check/recaptcha_configuration_spec.rb b/plugins/discourse-captcha/spec/services/problem_check/recaptcha_configuration_spec.rbsimilarity index 92%rename from plugins/discourse-hcaptcha/spec/services/problem_check/recaptcha_configuration_spec.rbrename to plugins/discourse-captcha/spec/services/problem_check/recaptcha_configuration_spec.rbindex 753bb2f43ee..2f89a5df8c9 100644--- a/plugins/discourse-hcaptcha/spec/services/problem_check/recaptcha_configuration_spec.rb+++ b/plugins/discourse-captcha/spec/services/problem_check/recaptcha_configuration_spec.rb@@ -18,7 +18,7 @@ RSpec.describe ProblemCheck::RecaptchaConfiguration docontext "when discourse_captcha_provider siteSetting is ReCaptcha" dobefore doSiteSetting.discourse_captcha_enabled = true- SiteSetting.discourse_captcha_provider = DiscourseHcaptcha::CaptchaProvider::RECAPTCHA+ SiteSetting.discourse_captcha_provider = DiscourseCaptcha::CaptchaProvider::RECAPTCHAenddescribe "`recaptcha_site_key` is not set" do@@ -47,7 +47,7 @@ RSpec.describe ProblemCheck::RecaptchaConfiguration doendcontext "when discourse_captcha_provider siteSetting is none" do- before { SiteSetting.discourse_captcha_provider = DiscourseHcaptcha::CaptchaProvider::NONE }+ before { SiteSetting.discourse_captcha_provider = DiscourseCaptcha::CaptchaProvider::NONE }describe "`recaptcha_site_key` is not set" dobefore { SiteSetting.recaptcha_secret_key = "just a string" }diff --git a/plugins/discourse-hcaptcha/spec/system/core_features_spec.rb b/plugins/discourse-captcha/spec/system/core_features_spec.rbsimilarity index 100%rename from plugins/discourse-hcaptcha/spec/system/core_features_spec.rbrename to plugins/discourse-captcha/spec/system/core_features_spec.rbdiff --git a/plugins/discourse-hcaptcha/spec/system/page_objects/components/captcha.rb b/plugins/discourse-captcha/spec/system/page_objects/components/captcha.rbsimilarity index 100%rename from plugins/discourse-hcaptcha/spec/system/page_objects/components/captcha.rbrename to plugins/discourse-captcha/spec/system/page_objects/components/captcha.rbdiff --git a/plugins/discourse-hcaptcha/spec/system/signup_with_captcha_spec.rb b/plugins/discourse-captcha/spec/system/signup_with_captcha_spec.rbsimilarity index 91%rename from plugins/discourse-hcaptcha/spec/system/signup_with_captcha_spec.rbrename to plugins/discourse-captcha/spec/system/signup_with_captcha_spec.rbindex d062514ce87..b3eb48b8f92 100644--- a/plugins/discourse-hcaptcha/spec/system/signup_with_captcha_spec.rb+++ b/plugins/discourse-captcha/spec/system/signup_with_captcha_spec.rb@@ -11,7 +11,7 @@ RSpec.describe "Signup with captcha" docontext "with hCaptcha", allow_network: %w[hcaptcha.com *.hcaptcha.com] dobefore do- SiteSetting.discourse_captcha_provider = DiscourseHcaptcha::CaptchaProvider::HCAPTCHA+ SiteSetting.discourse_captcha_provider = DiscourseCaptcha::CaptchaProvider::HCAPTCHASiteSetting.hcaptcha_site_key = "10000000-ffff-ffff-ffff-000000000001"SiteSetting.hcaptcha_secret_key = "0x0000000000000000000000000000000000000000"end@@ -68,7 +68,7 @@ RSpec.describe "Signup with captcha" docontext "with reCaptcha", allow_network: %w[www.google.com www.gstatic.com] dobefore do- SiteSetting.discourse_captcha_provider = DiscourseHcaptcha::CaptchaProvider::RECAPTCHA+ SiteSetting.discourse_captcha_provider = DiscourseCaptcha::CaptchaProvider::RECAPTCHASiteSetting.recaptcha_site_key = "6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI"SiteSetting.recaptcha_secret_key = "6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe"end@@ -90,7 +90,7 @@ RSpec.describe "Signup with captcha" doendcontext "when captcha provider is none" do- before { SiteSetting.discourse_captcha_provider = DiscourseHcaptcha::CaptchaProvider::NONE }+ before { SiteSetting.discourse_captcha_provider = DiscourseCaptcha::CaptchaProvider::NONE }it "does not display any captcha widget" dosignup_page.opendiff --git a/plugins/discourse-hcaptcha/tsconfig.json b/plugins/discourse-captcha/tsconfig.jsonsimilarity index 66%rename from plugins/discourse-hcaptcha/tsconfig.jsonrename to plugins/discourse-captcha/tsconfig.jsonindex 4cf812eba72..6d0e0d47361 100644--- a/plugins/discourse-hcaptcha/tsconfig.json+++ b/plugins/discourse-captcha/tsconfig.json@@ -7,8 +7,8 @@],"compilerOptions": {"paths": {- "discourse/plugins/discourse-hcaptcha/*": ["./assets/javascripts/*"],- "discourse/plugins/discourse-hcaptcha/admin/*": [+ "discourse/plugins/discourse-captcha/*": ["./assets/javascripts/*"],+ "discourse/plugins/discourse-captcha/admin/*": ["./admin/assets/javascripts/admin/*"]}diff --git a/plugins/discourse-hcaptcha/README.md b/plugins/discourse-hcaptcha/README.mddeleted file mode 100644index 4cbe85db8c2..00000000000--- a/plugins/discourse-hcaptcha/README.md+++ /dev/null@@ -1,20 +0,0 @@-# Discourse hCaptcha Plugin--## Overview--This plugin is designed to integrate HCaptcha into the sign-up form of Discourse forums. This plugin aims to enhance security and bot protection by leveraging the privacy-centric features of HCaptcha. The setup process is straightforward and consists of a few easy steps.--## Installation--1. **Create an HCaptcha Account**:- - Visit [HCaptcha](https://www.hcaptcha.com/) to create an account. After registering, you'll receive a site key and a secret key.--2. **Setup Local Testing** (Optional):- - If you are testing locally, add a new virtual host entry to your hosts file. Include a line like `127.0.0.1 test.mydomain.com`. Make sure the domain is valid, even if you don't own it, to ensure the HCaptcha script loads properly.--3. **Configure Plugin Settings**:- - Log into your Discourse admin panel.- - Navigate to `Admin` > `Settings` > `Plugins` > `hCaptcha (settings)`.- - In this section, add the site key and secret key you obtained from HCaptcha.--By completing these steps, you will successfully integrate HCaptcha into the sign-up form of your community.diff --git a/plugins/discourse-hcaptcha/assets/javascripts/.gitkeep b/plugins/discourse-hcaptcha/assets/javascripts/.gitkeepdeleted file mode 100644index e69de29bb2d..00000000000diff --git a/plugins/discourse-hcaptcha/assets/stylesheets/.gitkeep b/plugins/discourse-hcaptcha/assets/stylesheets/.gitkeepdeleted file mode 100644index e69de29bb2d..00000000000diff --git a/plugins/discourse-hcaptcha/config/locales/client.ar.yml b/plugins/discourse-hcaptcha/config/locales/client.ar.ymldeleted file mode 100644index 6e2ce0abc1f..00000000000--- a/plugins/discourse-hcaptcha/config/locales/client.ar.yml+++ /dev/null@@ -1,15 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--ar:- js:- discourse_captcha:- placeholder: عنصر نائب- admin_js:- admin:- site_settings:- categories:- discourse_hcaptcha: "Discourse hCaptcha"diff --git a/plugins/discourse-hcaptcha/config/locales/client.be.yml b/plugins/discourse-hcaptcha/config/locales/client.be.ymldeleted file mode 100644index 2ea77a0d350..00000000000--- a/plugins/discourse-hcaptcha/config/locales/client.be.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--be:diff --git a/plugins/discourse-hcaptcha/config/locales/client.bg.yml b/plugins/discourse-hcaptcha/config/locales/client.bg.ymldeleted file mode 100644index 52333529d3c..00000000000--- a/plugins/discourse-hcaptcha/config/locales/client.bg.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--bg:diff --git a/plugins/discourse-hcaptcha/config/locales/client.bs_BA.yml b/plugins/discourse-hcaptcha/config/locales/client.bs_BA.ymldeleted file mode 100644index 828a7e65af8..00000000000--- a/plugins/discourse-hcaptcha/config/locales/client.bs_BA.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--bs_BA:diff --git a/plugins/discourse-hcaptcha/config/locales/client.ca.yml b/plugins/discourse-hcaptcha/config/locales/client.ca.ymldeleted file mode 100644index ec737bc1a5b..00000000000--- a/plugins/discourse-hcaptcha/config/locales/client.ca.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--ca:diff --git a/plugins/discourse-hcaptcha/config/locales/client.cs.yml b/plugins/discourse-hcaptcha/config/locales/client.cs.ymldeleted file mode 100644index f14b17f7bc3..00000000000--- a/plugins/discourse-hcaptcha/config/locales/client.cs.yml+++ /dev/null@@ -1,15 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--cs:- js:- discourse_captcha:- placeholder: zástupný symbol- admin_js:- admin:- site_settings:- categories:- discourse_hcaptcha: "Discourse hCaptcha"diff --git a/plugins/discourse-hcaptcha/config/locales/client.da.yml b/plugins/discourse-hcaptcha/config/locales/client.da.ymldeleted file mode 100644index f39c727c594..00000000000--- a/plugins/discourse-hcaptcha/config/locales/client.da.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--da:diff --git a/plugins/discourse-hcaptcha/config/locales/client.de.yml b/plugins/discourse-hcaptcha/config/locales/client.de.ymldeleted file mode 100644index c309aaaee7b..00000000000--- a/plugins/discourse-hcaptcha/config/locales/client.de.yml+++ /dev/null@@ -1,15 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--de:- js:- discourse_captcha:- placeholder: Platzhalter- admin_js:- admin:- site_settings:- categories:- discourse_hcaptcha: "Discourse hCaptcha"diff --git a/plugins/discourse-hcaptcha/config/locales/client.el.yml b/plugins/discourse-hcaptcha/config/locales/client.el.ymldeleted file mode 100644index a48a372a71c..00000000000--- a/plugins/discourse-hcaptcha/config/locales/client.el.yml+++ /dev/null@@ -1,12 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--el:- admin_js:- admin:- site_settings:- categories:- discourse_hcaptcha: "Discourse hCaptcha"diff --git a/plugins/discourse-hcaptcha/config/locales/client.en_GB.yml b/plugins/discourse-hcaptcha/config/locales/client.en_GB.ymldeleted file mode 100644index 2d4fa180ec7..00000000000--- a/plugins/discourse-hcaptcha/config/locales/client.en_GB.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--en_GB:diff --git a/plugins/discourse-hcaptcha/config/locales/client.es.yml b/plugins/discourse-hcaptcha/config/locales/client.es.ymldeleted file mode 100644index c2002ed636f..00000000000--- a/plugins/discourse-hcaptcha/config/locales/client.es.yml+++ /dev/null@@ -1,15 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--es:- js:- discourse_captcha:- placeholder: marcador de posición- admin_js:- admin:- site_settings:- categories:- discourse_hcaptcha: "hCaptcha de Discourse"diff --git a/plugins/discourse-hcaptcha/config/locales/client.et.yml b/plugins/discourse-hcaptcha/config/locales/client.et.ymldeleted file mode 100644index 0ea0b6d554b..00000000000--- a/plugins/discourse-hcaptcha/config/locales/client.et.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--et:diff --git a/plugins/discourse-hcaptcha/config/locales/client.fa_IR.yml b/plugins/discourse-hcaptcha/config/locales/client.fa_IR.ymldeleted file mode 100644index 56512089fb5..00000000000--- a/plugins/discourse-hcaptcha/config/locales/client.fa_IR.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--fa_IR:diff --git a/plugins/discourse-hcaptcha/config/locales/client.fi.yml b/plugins/discourse-hcaptcha/config/locales/client.fi.ymldeleted file mode 100644index 0406adc283d..00000000000--- a/plugins/discourse-hcaptcha/config/locales/client.fi.yml+++ /dev/null@@ -1,15 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--fi:- js:- discourse_captcha:- placeholder: paikkamerkki- admin_js:- admin:- site_settings:- categories:- discourse_hcaptcha: "Discourse hCaptcha"diff --git a/plugins/discourse-hcaptcha/config/locales/client.fr.yml b/plugins/discourse-hcaptcha/config/locales/client.fr.ymldeleted file mode 100644index 27c146f7f81..00000000000--- a/plugins/discourse-hcaptcha/config/locales/client.fr.yml+++ /dev/null@@ -1,15 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--fr:- js:- discourse_captcha:- placeholder: espace réservé- admin_js:- admin:- site_settings:- categories:- discourse_hcaptcha: "Discourse hCaptcha"diff --git a/plugins/discourse-hcaptcha/config/locales/client.gl.yml b/plugins/discourse-hcaptcha/config/locales/client.gl.ymldeleted file mode 100644index fb911ce1635..00000000000--- a/plugins/discourse-hcaptcha/config/locales/client.gl.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--gl:diff --git a/plugins/discourse-hcaptcha/config/locales/client.he.yml b/plugins/discourse-hcaptcha/config/locales/client.he.ymldeleted file mode 100644index b7d297a8fb9..00000000000--- a/plugins/discourse-hcaptcha/config/locales/client.he.yml+++ /dev/null@@ -1,15 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--he:- js:- discourse_captcha:- placeholder: ממלא מקום- admin_js:- admin:- site_settings:- categories:- discourse_hcaptcha: "hCaptcha של Discourse"diff --git a/plugins/discourse-hcaptcha/config/locales/client.hr.yml b/plugins/discourse-hcaptcha/config/locales/client.hr.ymldeleted file mode 100644index 93343ce6e19..00000000000--- a/plugins/discourse-hcaptcha/config/locales/client.hr.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--hr:diff --git a/plugins/discourse-hcaptcha/config/locales/client.hu.yml b/plugins/discourse-hcaptcha/config/locales/client.hu.ymldeleted file mode 100644index 7c4d7de8e69..00000000000--- a/plugins/discourse-hcaptcha/config/locales/client.hu.yml+++ /dev/null@@ -1,15 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--hu:- js:- discourse_captcha:- placeholder: helyőrző- admin_js:- admin:- site_settings:- categories:- discourse_hcaptcha: "Discourse hCaptcha"diff --git a/plugins/discourse-hcaptcha/config/locales/client.hy.yml b/plugins/discourse-hcaptcha/config/locales/client.hy.ymldeleted file mode 100644index cb18f64d356..00000000000--- a/plugins/discourse-hcaptcha/config/locales/client.hy.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--hy:diff --git a/plugins/discourse-hcaptcha/config/locales/client.id.yml b/plugins/discourse-hcaptcha/config/locales/client.id.ymldeleted file mode 100644index 596e36b2e13..00000000000--- a/plugins/discourse-hcaptcha/config/locales/client.id.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--id:diff --git a/plugins/discourse-hcaptcha/config/locales/client.it.yml b/plugins/discourse-hcaptcha/config/locales/client.it.ymldeleted file mode 100644index fcbb22a3424..00000000000--- a/plugins/discourse-hcaptcha/config/locales/client.it.yml+++ /dev/null@@ -1,15 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--it:- js:- discourse_captcha:- placeholder: segnaposto- admin_js:- admin:- site_settings:- categories:- discourse_hcaptcha: "Discourse hCaptcha"diff --git a/plugins/discourse-hcaptcha/config/locales/client.ja.yml b/plugins/discourse-hcaptcha/config/locales/client.ja.ymldeleted file mode 100644index 5c42c3963ae..00000000000--- a/plugins/discourse-hcaptcha/config/locales/client.ja.yml+++ /dev/null@@ -1,15 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--ja:- js:- discourse_captcha:- placeholder: プレースホルダー- admin_js:- admin:- site_settings:- categories:- discourse_hcaptcha: "Discourse hCaptcha"diff --git a/plugins/discourse-hcaptcha/config/locales/client.ko.yml b/plugins/discourse-hcaptcha/config/locales/client.ko.ymldeleted file mode 100644index 18dd77fd3ec..00000000000--- a/plugins/discourse-hcaptcha/config/locales/client.ko.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--ko:diff --git a/plugins/discourse-hcaptcha/config/locales/client.lt.yml b/plugins/discourse-hcaptcha/config/locales/client.lt.ymldeleted file mode 100644index 16bb19758dc..00000000000--- a/plugins/discourse-hcaptcha/config/locales/client.lt.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--lt:diff --git a/plugins/discourse-hcaptcha/config/locales/client.lv.yml b/plugins/discourse-hcaptcha/config/locales/client.lv.ymldeleted file mode 100644index 59e0ef6f4ed..00000000000--- a/plugins/discourse-hcaptcha/config/locales/client.lv.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--lv:diff --git a/plugins/discourse-hcaptcha/config/locales/client.nb_NO.yml b/plugins/discourse-hcaptcha/config/locales/client.nb_NO.ymldeleted file mode 100644index 2e2224d1472..00000000000--- a/plugins/discourse-hcaptcha/config/locales/client.nb_NO.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--nb_NO:diff --git a/plugins/discourse-hcaptcha/config/locales/client.nl.yml b/plugins/discourse-hcaptcha/config/locales/client.nl.ymldeleted file mode 100644index ccb91f3deaf..00000000000--- a/plugins/discourse-hcaptcha/config/locales/client.nl.yml+++ /dev/null@@ -1,15 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--nl:- js:- discourse_captcha:- placeholder: tijdelijke aanduiding- admin_js:- admin:- site_settings:- categories:- discourse_hcaptcha: "Discourse hCaptcha"diff --git a/plugins/discourse-hcaptcha/config/locales/client.pl_PL.yml b/plugins/discourse-hcaptcha/config/locales/client.pl_PL.ymldeleted file mode 100644index cb53d3c708a..00000000000--- a/plugins/discourse-hcaptcha/config/locales/client.pl_PL.yml+++ /dev/null@@ -1,18 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--pl_PL:- js:- discourse_captcha:- missing_token: "Wypełnij zadanie CAPTCHA."- verification_failed: "Weryfikacja CAPTCHA nie powiodła się. Spróbuj jeszcze raz."- placeholder: symbol zastępczy- contact_system_administrator: "Wystąpił problem z dostawcą CAPTCHA. Jeśli problem będzie się powtarzał, skontaktuj się z administratorem systemu."- admin_js:- admin:- site_settings:- categories:- discourse_hcaptcha: "hCaptcha Discourse"diff --git a/plugins/discourse-hcaptcha/config/locales/client.pt.yml b/plugins/discourse-hcaptcha/config/locales/client.pt.ymldeleted file mode 100644index 298ba523c1d..00000000000--- a/plugins/discourse-hcaptcha/config/locales/client.pt.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--pt:diff --git a/plugins/discourse-hcaptcha/config/locales/client.pt_BR.yml b/plugins/discourse-hcaptcha/config/locales/client.pt_BR.ymldeleted file mode 100644index 41eb8b08440..00000000000--- a/plugins/discourse-hcaptcha/config/locales/client.pt_BR.yml+++ /dev/null@@ -1,15 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--pt_BR:- js:- discourse_captcha:- placeholder: espaço reservado- admin_js:- admin:- site_settings:- categories:- discourse_hcaptcha: "hCaptcha do Discourse"diff --git a/plugins/discourse-hcaptcha/config/locales/client.ro.yml b/plugins/discourse-hcaptcha/config/locales/client.ro.ymldeleted file mode 100644index 35c888856f0..00000000000--- a/plugins/discourse-hcaptcha/config/locales/client.ro.yml+++ /dev/null@@ -1,15 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--ro:- js:- discourse_captcha:- placeholder: substituent- admin_js:- admin:- site_settings:- categories:- discourse_hcaptcha: "hCaptcha Discourse"diff --git a/plugins/discourse-hcaptcha/config/locales/client.ru.yml b/plugins/discourse-hcaptcha/config/locales/client.ru.ymldeleted file mode 100644index f44a9fcbc90..00000000000--- a/plugins/discourse-hcaptcha/config/locales/client.ru.yml+++ /dev/null@@ -1,18 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--ru:- js:- discourse_captcha:- missing_token: "Пожалуйста, пройдите проверку капчи."- verification_failed: "Проверка капчи не удалась. Пожалуйста, попробуйте еще раз."- placeholder: заполнитель- contact_system_administrator: "Возникла проблема с вашим поставщиком капчи. Если проблема сохраняется, пожалуйста, свяжитесь с системным администратором."- admin_js:- admin:- site_settings:- categories:- discourse_hcaptcha: "Discourse hCaptcha"diff --git a/plugins/discourse-hcaptcha/config/locales/client.sk.yml b/plugins/discourse-hcaptcha/config/locales/client.sk.ymldeleted file mode 100644index 04057013d4a..00000000000--- a/plugins/discourse-hcaptcha/config/locales/client.sk.yml+++ /dev/null@@ -1,15 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--sk:- js:- discourse_captcha:- placeholder: zástupný symbol- admin_js:- admin:- site_settings:- categories:- discourse_hcaptcha: "Discourse hCaptcha"diff --git a/plugins/discourse-hcaptcha/config/locales/client.sl.yml b/plugins/discourse-hcaptcha/config/locales/client.sl.ymldeleted file mode 100644index 23489a48b1f..00000000000--- a/plugins/discourse-hcaptcha/config/locales/client.sl.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--sl:diff --git a/plugins/discourse-hcaptcha/config/locales/client.sq.yml b/plugins/discourse-hcaptcha/config/locales/client.sq.ymldeleted file mode 100644index 7f051b7a7cf..00000000000--- a/plugins/discourse-hcaptcha/config/locales/client.sq.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--sq:diff --git a/plugins/discourse-hcaptcha/config/locales/client.sr.yml b/plugins/discourse-hcaptcha/config/locales/client.sr.ymldeleted file mode 100644index 88d63d6ae1a..00000000000--- a/plugins/discourse-hcaptcha/config/locales/client.sr.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--sr:diff --git a/plugins/discourse-hcaptcha/config/locales/client.sv.yml b/plugins/discourse-hcaptcha/config/locales/client.sv.ymldeleted file mode 100644index b165aa293c0..00000000000--- a/plugins/discourse-hcaptcha/config/locales/client.sv.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--sv:diff --git a/plugins/discourse-hcaptcha/config/locales/client.sw.yml b/plugins/discourse-hcaptcha/config/locales/client.sw.ymldeleted file mode 100644index 0d7cdd075bf..00000000000--- a/plugins/discourse-hcaptcha/config/locales/client.sw.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--sw:diff --git a/plugins/discourse-hcaptcha/config/locales/client.te.yml b/plugins/discourse-hcaptcha/config/locales/client.te.ymldeleted file mode 100644index 03967bdbb07..00000000000--- a/plugins/discourse-hcaptcha/config/locales/client.te.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--te:diff --git a/plugins/discourse-hcaptcha/config/locales/client.th.yml b/plugins/discourse-hcaptcha/config/locales/client.th.ymldeleted file mode 100644index 7de85ff91c4..00000000000--- a/plugins/discourse-hcaptcha/config/locales/client.th.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--th:diff --git a/plugins/discourse-hcaptcha/config/locales/client.tr_TR.yml b/plugins/discourse-hcaptcha/config/locales/client.tr_TR.ymldeleted file mode 100644index 055935558c0..00000000000--- a/plugins/discourse-hcaptcha/config/locales/client.tr_TR.yml+++ /dev/null@@ -1,15 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--tr_TR:- js:- discourse_captcha:- placeholder: yer tutucu- admin_js:- admin:- site_settings:- categories:- discourse_hcaptcha: "Discourse hCaptcha"diff --git a/plugins/discourse-hcaptcha/config/locales/client.ug.yml b/plugins/discourse-hcaptcha/config/locales/client.ug.ymldeleted file mode 100644index a6bf0185ae2..00000000000--- a/plugins/discourse-hcaptcha/config/locales/client.ug.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--ug:diff --git a/plugins/discourse-hcaptcha/config/locales/client.uk.yml b/plugins/discourse-hcaptcha/config/locales/client.uk.ymldeleted file mode 100644index f0705a1aa23..00000000000--- a/plugins/discourse-hcaptcha/config/locales/client.uk.yml+++ /dev/null@@ -1,18 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--uk:- js:- discourse_captcha:- missing_token: "Будь ласка, завершіть виклик captcha."- verification_failed: "Не вдалося перевірити капчу. Спробуйте ще раз."- placeholder: заповнювач- contact_system_administrator: "Виникла проблема з вашим постачальником капчі. Якщо проблема не зникає, зверніться до системного адміністратора."- admin_js:- admin:- site_settings:- categories:- discourse_hcaptcha: "Обговорення hCaptcha"diff --git a/plugins/discourse-hcaptcha/config/locales/client.ur.yml b/plugins/discourse-hcaptcha/config/locales/client.ur.ymldeleted file mode 100644index b4a9c21ee2f..00000000000--- a/plugins/discourse-hcaptcha/config/locales/client.ur.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--ur:diff --git a/plugins/discourse-hcaptcha/config/locales/client.vi.yml b/plugins/discourse-hcaptcha/config/locales/client.vi.ymldeleted file mode 100644index 824698af431..00000000000--- a/plugins/discourse-hcaptcha/config/locales/client.vi.yml+++ /dev/null@@ -1,15 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--vi:- js:- discourse_captcha:- placeholder: chỗ trống- admin_js:- admin:- site_settings:- categories:- discourse_hcaptcha: "Discourse hCaptcha"diff --git a/plugins/discourse-hcaptcha/config/locales/client.zh_CN.yml b/plugins/discourse-hcaptcha/config/locales/client.zh_CN.ymldeleted file mode 100644index 31b2eccb86f..00000000000--- a/plugins/discourse-hcaptcha/config/locales/client.zh_CN.yml+++ /dev/null@@ -1,18 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--zh_CN:- js:- discourse_captcha:- missing_token: "请完成验证码挑战。"- verification_failed: "验证码验证失败,请重试。"- placeholder: 占位符- contact_system_administrator: "您的验证码提供商出现问题,如果问题仍然存在,请联系系统管理员。"- admin_js:- admin:- site_settings:- categories:- discourse_hcaptcha: "Discourse hCaptcha"diff --git a/plugins/discourse-hcaptcha/config/locales/client.zh_TW.yml b/plugins/discourse-hcaptcha/config/locales/client.zh_TW.ymldeleted file mode 100644index 7e15fab0018..00000000000--- a/plugins/discourse-hcaptcha/config/locales/client.zh_TW.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--zh_TW:diff --git a/plugins/discourse-hcaptcha/config/locales/server.ar.yml b/plugins/discourse-hcaptcha/config/locales/server.ar.ymldeleted file mode 100644index d54e0c600d9..00000000000--- a/plugins/discourse-hcaptcha/config/locales/server.ar.yml+++ /dev/null@@ -1,17 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--ar:- dashboard:- problem:- hcaptcha_configuration: "هناك مشكلة في تكوين `site_key` أو `secret_key` الخاص بك لـ hCaptcha"- admin:- site_settings:- categories:- discourse_hcaptcha: "المكوِّن الإضافي hCaptcha"- site_settings:- hcaptcha_site_key: "مفتاح موقع hCaptcha من حساب <a target='blank' href='https://hcaptcha.com'>hcaptcha.com</a> الخاص بك"- hcaptcha_secret_key: "المفتاح السري لموقع hCaptcha من حساب <a target='blank' href='https://hcaptcha.com'>hcaptcha.com</a> الخاص بك"diff --git a/plugins/discourse-hcaptcha/config/locales/server.be.yml b/plugins/discourse-hcaptcha/config/locales/server.be.ymldeleted file mode 100644index 2ea77a0d350..00000000000--- a/plugins/discourse-hcaptcha/config/locales/server.be.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--be:diff --git a/plugins/discourse-hcaptcha/config/locales/server.bg.yml b/plugins/discourse-hcaptcha/config/locales/server.bg.ymldeleted file mode 100644index 52333529d3c..00000000000--- a/plugins/discourse-hcaptcha/config/locales/server.bg.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--bg:diff --git a/plugins/discourse-hcaptcha/config/locales/server.bs_BA.yml b/plugins/discourse-hcaptcha/config/locales/server.bs_BA.ymldeleted file mode 100644index 828a7e65af8..00000000000--- a/plugins/discourse-hcaptcha/config/locales/server.bs_BA.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--bs_BA:diff --git a/plugins/discourse-hcaptcha/config/locales/server.ca.yml b/plugins/discourse-hcaptcha/config/locales/server.ca.ymldeleted file mode 100644index ec737bc1a5b..00000000000--- a/plugins/discourse-hcaptcha/config/locales/server.ca.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--ca:diff --git a/plugins/discourse-hcaptcha/config/locales/server.cs.yml b/plugins/discourse-hcaptcha/config/locales/server.cs.ymldeleted file mode 100644index fdf4a5da0ea..00000000000--- a/plugins/discourse-hcaptcha/config/locales/server.cs.yml+++ /dev/null@@ -1,17 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--cs:- dashboard:- problem:- hcaptcha_configuration: "V konfiguraci hCaptcha `site_key` nebo `secret_key` došlo k problému."- admin:- site_settings:- categories:- discourse_hcaptcha: "hCaptcha Plugin"- site_settings:- hcaptcha_site_key: "hCaptcha Site Key z vašeho účtu <a target='blank' href='https://hcaptcha.com'>hcaptcha.com</a>"- hcaptcha_secret_key: "hCaptcha Secret Key z vašeho <a target='blank' href='https://hcaptcha.com'>hcaptcha.com</a> účtu"diff --git a/plugins/discourse-hcaptcha/config/locales/server.da.yml b/plugins/discourse-hcaptcha/config/locales/server.da.ymldeleted file mode 100644index f39c727c594..00000000000--- a/plugins/discourse-hcaptcha/config/locales/server.da.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--da:diff --git a/plugins/discourse-hcaptcha/config/locales/server.de.yml b/plugins/discourse-hcaptcha/config/locales/server.de.ymldeleted file mode 100644index f9e1f9625d1..00000000000--- a/plugins/discourse-hcaptcha/config/locales/server.de.yml+++ /dev/null@@ -1,17 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--de:- dashboard:- problem:- hcaptcha_configuration: "Es gibt ein Problem mit deiner hCaptcha-Konfiguration für `site_key` oder `secret_key`"- admin:- site_settings:- categories:- discourse_hcaptcha: "hCaptcha-Plug-in"- site_settings:- hcaptcha_site_key: "hCaptcha-Website-Schlüssel aus deinem <a target='blank' href='https://hcaptcha.com'>hcaptcha.com</a>-Konto"- hcaptcha_secret_key: "Geheimer hCaptcha-Schlüssel aus deinem <a target='blank' href='https://hcaptcha.com'>hcaptcha.com</a>-Konto"diff --git a/plugins/discourse-hcaptcha/config/locales/server.el.yml b/plugins/discourse-hcaptcha/config/locales/server.el.ymldeleted file mode 100644index 6e290eb9d08..00000000000--- a/plugins/discourse-hcaptcha/config/locales/server.el.yml+++ /dev/null@@ -1,8 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--el:- captcha_verification_failed: "Η επαλήθευση Captcha απέτυχε."diff --git a/plugins/discourse-hcaptcha/config/locales/server.en_GB.yml b/plugins/discourse-hcaptcha/config/locales/server.en_GB.ymldeleted file mode 100644index 2d4fa180ec7..00000000000--- a/plugins/discourse-hcaptcha/config/locales/server.en_GB.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--en_GB:diff --git a/plugins/discourse-hcaptcha/config/locales/server.es.yml b/plugins/discourse-hcaptcha/config/locales/server.es.ymldeleted file mode 100644index 50bbf5284e2..00000000000--- a/plugins/discourse-hcaptcha/config/locales/server.es.yml+++ /dev/null@@ -1,17 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--es:- dashboard:- problem:- hcaptcha_configuration: "Hay un problema con la configuración de tu `site_key` o `secret_key` de hCaptcha"- admin:- site_settings:- categories:- discourse_hcaptcha: "Complemento hCaptcha"- site_settings:- hcaptcha_site_key: "Clave del sitio hCaptcha de tu cuenta <a target='blank' href='https://hcaptcha.com'>hcaptcha.com</a>"- hcaptcha_secret_key: "Clave secreta hCaptcha de tu cuenta <a target='blank' href='https://hcaptcha.com'>hcaptcha.com</a>"diff --git a/plugins/discourse-hcaptcha/config/locales/server.et.yml b/plugins/discourse-hcaptcha/config/locales/server.et.ymldeleted file mode 100644index 0ea0b6d554b..00000000000--- a/plugins/discourse-hcaptcha/config/locales/server.et.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--et:diff --git a/plugins/discourse-hcaptcha/config/locales/server.fa_IR.yml b/plugins/discourse-hcaptcha/config/locales/server.fa_IR.ymldeleted file mode 100644index 56512089fb5..00000000000--- a/plugins/discourse-hcaptcha/config/locales/server.fa_IR.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--fa_IR:diff --git a/plugins/discourse-hcaptcha/config/locales/server.fi.yml b/plugins/discourse-hcaptcha/config/locales/server.fi.ymldeleted file mode 100644index 606f53c6e41..00000000000--- a/plugins/discourse-hcaptcha/config/locales/server.fi.yml+++ /dev/null@@ -1,17 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--fi:- dashboard:- problem:- hcaptcha_configuration: "hCaptchan \"site_key\"- tai \"secret_key\"-määrityksessä on ongelma"- admin:- site_settings:- categories:- discourse_hcaptcha: "hCaptcha-lisäosa"- site_settings:- hcaptcha_site_key: "hCaptchan sivustoavain (site key) <a target='blank' href='https://hcaptcha.com'>hcaptcha.com</a>-tililtäsi"- hcaptcha_secret_key: "hCaptchan salainen avain (secret key) <a target='blank' href='https://hcaptcha.com'>hcaptcha.com</a>-tililtäsi"diff --git a/plugins/discourse-hcaptcha/config/locales/server.fr.yml b/plugins/discourse-hcaptcha/config/locales/server.fr.ymldeleted file mode 100644index 40ca91a8df4..00000000000--- a/plugins/discourse-hcaptcha/config/locales/server.fr.yml+++ /dev/null@@ -1,17 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--fr:- dashboard:- problem:- hcaptcha_configuration: "Il y a un problème avec la configuration de votre hCaptcha `site_key` ou `secret_key`"- admin:- site_settings:- categories:- discourse_hcaptcha: "Extension hCaptcha"- site_settings:- hcaptcha_site_key: "Clé de site hCaptcha de votre compte <a target='blank' href='https://hcaptcha.com'>hcaptcha.com</a>"- hcaptcha_secret_key: "Clé secrète hCaptcha de votre compte <a target='blank' href='https://hcaptcha.com'>hcaptcha.com</a>"diff --git a/plugins/discourse-hcaptcha/config/locales/server.gl.yml b/plugins/discourse-hcaptcha/config/locales/server.gl.ymldeleted file mode 100644index fb911ce1635..00000000000--- a/plugins/discourse-hcaptcha/config/locales/server.gl.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--gl:diff --git a/plugins/discourse-hcaptcha/config/locales/server.he.yml b/plugins/discourse-hcaptcha/config/locales/server.he.ymldeleted file mode 100644index 99b9ac81e65..00000000000--- a/plugins/discourse-hcaptcha/config/locales/server.he.yml+++ /dev/null@@ -1,17 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--he:- dashboard:- problem:- hcaptcha_configuration: "אירעה תקלה עם הגדרות `site_key` או `secret_key` של ה־hCaptcha שלך"- admin:- site_settings:- categories:- discourse_hcaptcha: "תוסף hCaptcha"- site_settings:- hcaptcha_site_key: "מפתח אתר hCaptcha מחשבון ה־<a target='blank' href='https://hcaptcha.com'>hcaptcha.com</a> שלך"- hcaptcha_secret_key: "מפתח סודי hCaptcha מחשבון ה־<a target='blank' href='https://hcaptcha.com'>hcaptcha.com</a> שלך"diff --git a/plugins/discourse-hcaptcha/config/locales/server.hr.yml b/plugins/discourse-hcaptcha/config/locales/server.hr.ymldeleted file mode 100644index 93343ce6e19..00000000000--- a/plugins/discourse-hcaptcha/config/locales/server.hr.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--hr:diff --git a/plugins/discourse-hcaptcha/config/locales/server.hu.yml b/plugins/discourse-hcaptcha/config/locales/server.hu.ymldeleted file mode 100644index d3f72b11dd3..00000000000--- a/plugins/discourse-hcaptcha/config/locales/server.hu.yml+++ /dev/null@@ -1,17 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--hu:- dashboard:- problem:- hcaptcha_configuration: "Probléma van a hCaptcha `site_key` vagy `secret_key` konfigurációjával"- admin:- site_settings:- categories:- discourse_hcaptcha: "hCaptcha bővítmény"- site_settings:- hcaptcha_site_key: "hCaptcha webhelykulcs a <a target='blank' href='https://hcaptcha.com'>hcaptcha.com</a> fiókodból"- hcaptcha_secret_key: "hCaptcha titkos kulcs a <a target='blank' href='https://hcaptcha.com'>hcaptcha.com</a> fiókodból"diff --git a/plugins/discourse-hcaptcha/config/locales/server.hy.yml b/plugins/discourse-hcaptcha/config/locales/server.hy.ymldeleted file mode 100644index cb18f64d356..00000000000--- a/plugins/discourse-hcaptcha/config/locales/server.hy.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--hy:diff --git a/plugins/discourse-hcaptcha/config/locales/server.id.yml b/plugins/discourse-hcaptcha/config/locales/server.id.ymldeleted file mode 100644index 596e36b2e13..00000000000--- a/plugins/discourse-hcaptcha/config/locales/server.id.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--id:diff --git a/plugins/discourse-hcaptcha/config/locales/server.it.yml b/plugins/discourse-hcaptcha/config/locales/server.it.ymldeleted file mode 100644index 0bba777061c..00000000000--- a/plugins/discourse-hcaptcha/config/locales/server.it.yml+++ /dev/null@@ -1,17 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--it:- dashboard:- problem:- hcaptcha_configuration: "C'è un problema con la configurazione hCaptcha `site_key` o `secret_key`"- admin:- site_settings:- categories:- discourse_hcaptcha: "Plugin hCaptcha"- site_settings:- hcaptcha_site_key: "Chiave del sito hCaptcha dal tuo account <a target='blank' href='https://hcaptcha.com'>hcaptcha.com</a>"- hcaptcha_secret_key: "Chiave segreta hCaptcha dal tuo account <a target='blank' href='https://hcaptcha.com'>hcaptcha.com</a>"diff --git a/plugins/discourse-hcaptcha/config/locales/server.ja.yml b/plugins/discourse-hcaptcha/config/locales/server.ja.ymldeleted file mode 100644index 635f71ce3e6..00000000000--- a/plugins/discourse-hcaptcha/config/locales/server.ja.yml+++ /dev/null@@ -1,17 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--ja:- dashboard:- problem:- hcaptcha_configuration: "hCaptcha の `site_key` または `secret_key` の構成に問題があります"- admin:- site_settings:- categories:- discourse_hcaptcha: "hCaptcha プラグイン"- site_settings:- hcaptcha_site_key: "<a target='blank' href='https://hcaptcha.com'>hcaptcha.com</a> アカウントの hCaptcha サイトキー"- hcaptcha_secret_key: "<a target='blank' href='https://hcaptcha.com'>hcaptcha.com</a> アカウントの hCaptcha シークレットキー"diff --git a/plugins/discourse-hcaptcha/config/locales/server.ko.yml b/plugins/discourse-hcaptcha/config/locales/server.ko.ymldeleted file mode 100644index 18dd77fd3ec..00000000000--- a/plugins/discourse-hcaptcha/config/locales/server.ko.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--ko:diff --git a/plugins/discourse-hcaptcha/config/locales/server.lt.yml b/plugins/discourse-hcaptcha/config/locales/server.lt.ymldeleted file mode 100644index 16bb19758dc..00000000000--- a/plugins/discourse-hcaptcha/config/locales/server.lt.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--lt:diff --git a/plugins/discourse-hcaptcha/config/locales/server.lv.yml b/plugins/discourse-hcaptcha/config/locales/server.lv.ymldeleted file mode 100644index 59e0ef6f4ed..00000000000--- a/plugins/discourse-hcaptcha/config/locales/server.lv.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--lv:diff --git a/plugins/discourse-hcaptcha/config/locales/server.nb_NO.yml b/plugins/discourse-hcaptcha/config/locales/server.nb_NO.ymldeleted file mode 100644index 2e2224d1472..00000000000--- a/plugins/discourse-hcaptcha/config/locales/server.nb_NO.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--nb_NO:diff --git a/plugins/discourse-hcaptcha/config/locales/server.nl.yml b/plugins/discourse-hcaptcha/config/locales/server.nl.ymldeleted file mode 100644index 8e058c24b35..00000000000--- a/plugins/discourse-hcaptcha/config/locales/server.nl.yml+++ /dev/null@@ -1,17 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--nl:- dashboard:- problem:- hcaptcha_configuration: "Er is een probleem met de configuratie voor 'site_key' of 'secret_key' van je hCaptcha"- admin:- site_settings:- categories:- discourse_hcaptcha: "hCaptcha-plug-in"- site_settings:- hcaptcha_site_key: "hCaptcha-sitesleutel van je <a target='blank' href='https://hcaptcha.com'>hcaptcha.com</a>-account"- hcaptcha_secret_key: "Geheime hCaptcha-sleutel van je <a target='blank' href='https://hcaptcha.com'>hcaptcha.com</a>-account"diff --git a/plugins/discourse-hcaptcha/config/locales/server.pl_PL.yml b/plugins/discourse-hcaptcha/config/locales/server.pl_PL.ymldeleted file mode 100644index 03a92d154c6..00000000000--- a/plugins/discourse-hcaptcha/config/locales/server.pl_PL.yml+++ /dev/null@@ -1,24 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--pl_PL:- dashboard:- problem:- hcaptcha_configuration: "Wystąpił problem z konfiguracją `site_key` lub `secret_key` hCaptcha"- recaptcha_configuration: "Wystąpił problem z konfiguracją `site_key` lub `secret_key` ReCaptcha"- admin:- site_settings:- categories:- discourse_hcaptcha: "Wtyczka hCaptcha"- site_settings:- discourse_captcha_enabled: "Włącz weryfikację CAPTCHA dla nowych rejestracji użytkowników. Wymaga konfiguracji hCaptcha lub reCaptcha poniżej."- discourse_captcha_provider: "Wybierz dostawcę CAPTCHA. Wymaga konta u wybranego dostawcy."- hcaptcha_site_key: "Klucz witryny hCaptcha z Twojego konta <a target='blank' href='https://hcaptcha.com'>hcaptcha.com</a>"- hcaptcha_secret_key: "Klucz tajny hCaptcha z Twojego konta <a target='blank' href='https://hcaptcha.com'>hcaptcha.com</a>"- recaptcha_site_key: "Klucz witryny ReCaptcha z Twojego konta <a target='blank' href='https://www.google.com/recaptcha'>ReCaptcha</a>"- recaptcha_secret_key: "Klucz tajny ReCaptcha z Twojego konta <a target='blank' href='https://www.google.com/recaptcha'>ReCaptcha</a>"- captcha_verification_failed: "Weryfikacja CAPTCHA nie powiodła się"- captcha_not_configured: "CAPTCHA jest włączona, ale niepoprawnie skonfigurowana. Prosimy o kontakt z administratorem witryny."diff --git a/plugins/discourse-hcaptcha/config/locales/server.pt.yml b/plugins/discourse-hcaptcha/config/locales/server.pt.ymldeleted file mode 100644index 298ba523c1d..00000000000--- a/plugins/discourse-hcaptcha/config/locales/server.pt.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--pt:diff --git a/plugins/discourse-hcaptcha/config/locales/server.pt_BR.yml b/plugins/discourse-hcaptcha/config/locales/server.pt_BR.ymldeleted file mode 100644index d993c6955fb..00000000000--- a/plugins/discourse-hcaptcha/config/locales/server.pt_BR.yml+++ /dev/null@@ -1,17 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--pt_BR:- dashboard:- problem:- hcaptcha_configuration: "Ocorreu um problema na configuração `site_key` or `secret_key` do hCaptcha"- admin:- site_settings:- categories:- discourse_hcaptcha: "Plugin hCaptcha"- site_settings:- hcaptcha_site_key: "Chave do site do hCaptcha da sua <a target='blank' href='https://hcaptcha.com'>hcaptcha.com</a> conta"- hcaptcha_secret_key: "Chave secreta do hCaptcha da sua <a target='blank' href='https://hcaptcha.com'>hcaptcha.com</a> conta"diff --git a/plugins/discourse-hcaptcha/config/locales/server.ro.yml b/plugins/discourse-hcaptcha/config/locales/server.ro.ymldeleted file mode 100644index b3e0dc7538b..00000000000--- a/plugins/discourse-hcaptcha/config/locales/server.ro.yml+++ /dev/null@@ -1,14 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--ro:- dashboard:- problem:- hcaptcha_configuration: "Există o problemă cu configurația `site_key` sau `secret_key` hCaptcha"- admin:- site_settings:- categories:- discourse_hcaptcha: "Modul hCaptcha"diff --git a/plugins/discourse-hcaptcha/config/locales/server.ru.yml b/plugins/discourse-hcaptcha/config/locales/server.ru.ymldeleted file mode 100644index 7ff21acec22..00000000000--- a/plugins/discourse-hcaptcha/config/locales/server.ru.yml+++ /dev/null@@ -1,24 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--ru:- dashboard:- problem:- hcaptcha_configuration: "Возникла проблема с конфигурацией ключей `site_key` или `secret_key для hCaptcha"- recaptcha_configuration: "Возникла проблема с конфигурацией `site_key` или `secret_key` вашей ReCaptcha."- admin:- site_settings:- categories:- discourse_hcaptcha: "Плагин hCaptcha"- site_settings:- discourse_captcha_enabled: "Включите проверку капчи при регистрации новых пользователей. Для этого необходимо настроить либо hCaptcha, либо reCaptcha, как указано ниже."- discourse_captcha_provider: "Выберите поставщика капчи. Для этого вам потребуется иметь учетную запись выбранного поставщика."- hcaptcha_site_key: "Ключ сайта hCaptcha из вашего аккаунта <a target='blank' href='https://hcaptcha.com'>hcaptcha.com</a>"- hcaptcha_secret_key: "Секретный ключ hCaptcha из вашего аккаунта <a target='blank' href='https://hcaptcha.com'>hcaptcha.com</a>"- recaptcha_site_key: "Ключ сайта ReCaptcha из вашей учетной записи <a target='blank' href='https://www.google.com/recaptcha'>ReCaptcha</a>"- recaptcha_secret_key: "Секретный ключ ReCaptcha из вашей учетной записи <a target='blank' href='https://www.google.com/recaptcha'>ReCaptcha</a>"- captcha_verification_failed: "Проверка капчи не удалась"- captcha_not_configured: "Функция Captcha включена, но настроена неправильно. Пожалуйста, свяжитесь с администратором сайта."diff --git a/plugins/discourse-hcaptcha/config/locales/server.sk.yml b/plugins/discourse-hcaptcha/config/locales/server.sk.ymldeleted file mode 100644index 9d27a3df942..00000000000--- a/plugins/discourse-hcaptcha/config/locales/server.sk.yml+++ /dev/null@@ -1,17 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--sk:- dashboard:- problem:- hcaptcha_configuration: "Nastal problém s konfiguráciou hCaptcha `site_key` alebo `secret_key`"- admin:- site_settings:- categories:- discourse_hcaptcha: "Plugin hCaptcha"- site_settings:- hcaptcha_site_key: "Kľúč stránky hCaptcha z vášho účtu <a target='blank' href='https://hcaptcha.com'>hcaptcha.com</a>"- hcaptcha_secret_key: "Tajný kľúč hCaptcha z vášho účtu <a target='blank' href='https://hcaptcha.com'>hcaptcha.com</a>"diff --git a/plugins/discourse-hcaptcha/config/locales/server.sl.yml b/plugins/discourse-hcaptcha/config/locales/server.sl.ymldeleted file mode 100644index 23489a48b1f..00000000000--- a/plugins/discourse-hcaptcha/config/locales/server.sl.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--sl:diff --git a/plugins/discourse-hcaptcha/config/locales/server.sq.yml b/plugins/discourse-hcaptcha/config/locales/server.sq.ymldeleted file mode 100644index 7f051b7a7cf..00000000000--- a/plugins/discourse-hcaptcha/config/locales/server.sq.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--sq:diff --git a/plugins/discourse-hcaptcha/config/locales/server.sr.yml b/plugins/discourse-hcaptcha/config/locales/server.sr.ymldeleted file mode 100644index 88d63d6ae1a..00000000000--- a/plugins/discourse-hcaptcha/config/locales/server.sr.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--sr:diff --git a/plugins/discourse-hcaptcha/config/locales/server.sv.yml b/plugins/discourse-hcaptcha/config/locales/server.sv.ymldeleted file mode 100644index b165aa293c0..00000000000--- a/plugins/discourse-hcaptcha/config/locales/server.sv.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--sv:diff --git a/plugins/discourse-hcaptcha/config/locales/server.sw.yml b/plugins/discourse-hcaptcha/config/locales/server.sw.ymldeleted file mode 100644index 0d7cdd075bf..00000000000--- a/plugins/discourse-hcaptcha/config/locales/server.sw.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--sw:diff --git a/plugins/discourse-hcaptcha/config/locales/server.te.yml b/plugins/discourse-hcaptcha/config/locales/server.te.ymldeleted file mode 100644index 03967bdbb07..00000000000--- a/plugins/discourse-hcaptcha/config/locales/server.te.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--te:diff --git a/plugins/discourse-hcaptcha/config/locales/server.th.yml b/plugins/discourse-hcaptcha/config/locales/server.th.ymldeleted file mode 100644index 7de85ff91c4..00000000000--- a/plugins/discourse-hcaptcha/config/locales/server.th.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--th:diff --git a/plugins/discourse-hcaptcha/config/locales/server.tr_TR.yml b/plugins/discourse-hcaptcha/config/locales/server.tr_TR.ymldeleted file mode 100644index e162422cd21..00000000000--- a/plugins/discourse-hcaptcha/config/locales/server.tr_TR.yml+++ /dev/null@@ -1,17 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--tr_TR:- dashboard:- problem:- hcaptcha_configuration: "hCaptcha `site_key` veya `secret_key` yapılandırmanızda bir sorun var"- admin:- site_settings:- categories:- discourse_hcaptcha: "hCaptcha Eklentisi"- site_settings:- hcaptcha_site_key: "<a target='blank' href='https://hcaptcha.com'>hcaptcha.com</a> hesabınızdan hCaptcha Site Anahtarı"- hcaptcha_secret_key: "<a target='blank' href='https://hcaptcha.com'>hcaptcha.com</a> hesabınızdan hCaptcha Gizli Anahtarı"diff --git a/plugins/discourse-hcaptcha/config/locales/server.ug.yml b/plugins/discourse-hcaptcha/config/locales/server.ug.ymldeleted file mode 100644index a6bf0185ae2..00000000000--- a/plugins/discourse-hcaptcha/config/locales/server.ug.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--ug:diff --git a/plugins/discourse-hcaptcha/config/locales/server.uk.yml b/plugins/discourse-hcaptcha/config/locales/server.uk.ymldeleted file mode 100644index a85ff6df5b0..00000000000--- a/plugins/discourse-hcaptcha/config/locales/server.uk.yml+++ /dev/null@@ -1,24 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--uk:- dashboard:- problem:- hcaptcha_configuration: "Виникла проблема з конфігурацією HCaptcha `site_key` або `secret_key`"- recaptcha_configuration: "Виникла проблема з конфігурацією вашого ReCaptcha `site_key` або `secret_key`"- admin:- site_settings:- categories:- discourse_hcaptcha: "Плагін hCaptcha"- site_settings:- discourse_captcha_enabled: "Увімкнути перевірку капчі для реєстрації нових користувачів. Потрібна настройка hCAPTCHA або reCAPTCHA нижче."- discourse_captcha_provider: "Виберіть постачальника капчі. Це вимагає, щоб ви володіли обліковим записом обраного провайдера"- hcaptcha_site_key: "Ключ сайту hCaptcha з вашого облікового запису <a target='blank' href='https://hcaptcha.com'>hcaptcha.com</a>"- hcaptcha_secret_key: "Секретний ключ hCaptcha з вашого облікового запису <a target='blank' href='https://hcaptcha.com'>hcaptcha.com</a>"- recaptcha_site_key: "Ключ сайту ReCaptcha з вашого облікового запису <a target='blank' href='https://www.google.com/recaptcha'>ReCaptcha</a>"- recaptcha_secret_key: "Секретний ключ ReCaptcha з вашого облікового запису <a target='blank' href='https://www.google.com/recaptcha'>ReCaptcha</a>"- captcha_verification_failed: "Не вдалося перевірити капчу"- captcha_not_configured: "Captcha увімкнено, але не налаштовано належним чином. Зверніться до адміністратора сайту."diff --git a/plugins/discourse-hcaptcha/config/locales/server.ur.yml b/plugins/discourse-hcaptcha/config/locales/server.ur.ymldeleted file mode 100644index b4a9c21ee2f..00000000000--- a/plugins/discourse-hcaptcha/config/locales/server.ur.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--ur:diff --git a/plugins/discourse-hcaptcha/config/locales/server.vi.yml b/plugins/discourse-hcaptcha/config/locales/server.vi.ymldeleted file mode 100644index f629dcf5329..00000000000--- a/plugins/discourse-hcaptcha/config/locales/server.vi.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--vi:diff --git a/plugins/discourse-hcaptcha/config/locales/server.zh_CN.yml b/plugins/discourse-hcaptcha/config/locales/server.zh_CN.ymldeleted file mode 100644index 3755035a021..00000000000--- a/plugins/discourse-hcaptcha/config/locales/server.zh_CN.yml+++ /dev/null@@ -1,24 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--zh_CN:- dashboard:- problem:- hcaptcha_configuration: "您的 hCaptcha `site_key` 或 `secret_key` 配置存在问题"- recaptcha_configuration: "您的 ReCaptcha `site_key` 或 `secret_key` 配置存在问题。"- admin:- site_settings:- categories:- discourse_hcaptcha: "hCaptcha 插件"- site_settings:- discourse_captcha_enabled: "启用新用户注册的验证码验证。需要配置以下 hCaptcha 或 reCaptcha。"- discourse_captcha_provider: "选择验证码提供商。这需要您拥有所选提供商的帐户。"- hcaptcha_site_key: "来自您的 <a target='blank' href='https://hcaptcha.com'>hcaptcha.com</a> 帐户的 hCaptcha 网站密钥"- hcaptcha_secret_key: "来自您的 <a target='blank' href='https://hcaptcha.com'>hcaptcha.com</a> 帐户的 hCaptcha 密钥"- recaptcha_site_key: "来自您的 ReCaptcha <a target='blank' href='https://www.google.com/recaptcha'>ReCaptcha</a> 帐户的 ReCaptcha 网站密钥"- recaptcha_secret_key: "来自您的 ReCaptcha <a target='blank' href='https://www.google.com/recaptcha'>ReCaptcha</a> 帐户的 ReCaptcha 密钥"- captcha_verification_failed: "验证码验证失败"- captcha_not_configured: "验证码已启用,但配置不正确。请联系网站管理员。"diff --git a/plugins/discourse-hcaptcha/config/locales/server.zh_TW.yml b/plugins/discourse-hcaptcha/config/locales/server.zh_TW.ymldeleted file mode 100644index 7e15fab0018..00000000000--- a/plugins/discourse-hcaptcha/config/locales/server.zh_TW.yml+++ /dev/null@@ -1,7 +0,0 @@-# WARNING: Never edit this file.-# It will be overwritten when translations are pulled from Crowdin.-#-# To work with us on translations, join this project:-# https://translate.discourse.org/--zh_TW:diff --git a/plugins/discourse-hcaptcha/config/routes.rb b/plugins/discourse-hcaptcha/config/routes.rbdeleted file mode 100644index 0f28e58d241..00000000000--- a/plugins/discourse-hcaptcha/config/routes.rb+++ /dev/null@@ -1,8 +0,0 @@-# frozen_string_literal: true--Discourse::Application.routes.draw { mount DiscourseHcaptcha::Engine, at: "captcha" }--DiscourseHcaptcha::Engine.routes.draw do- post "/hcaptcha/create" => "hcaptcha#create"- post "/recaptcha/create" => "recaptcha#create"-enddiff --git a/plugins/discourse-hcaptcha/db/.gitkeep b/plugins/discourse-hcaptcha/db/.gitkeepdeleted file mode 100644index e69de29bb2d..00000000000diff --git a/plugins/discourse-hcaptcha/spec/.gitkeep b/plugins/discourse-hcaptcha/spec/.gitkeepdeleted file mode 100644index e69de29bb2d..00000000000diff --git a/plugins/discourse-hcaptcha/test/javascripts/.gitkeep b/plugins/discourse-hcaptcha/test/javascripts/.gitkeepdeleted file mode 100644index e69de29bb2d..00000000000diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex a2717cf6d2f..85e39ddec54 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -744,6 +744,12 @@ importers:specifier: npm:@discourse/types@*version: '@discourse/[email protected]'+ plugins/discourse-captcha:+ dependencies:+ discourse:+ specifier: npm:@discourse/types@*+ version: '@discourse/[email protected]'+plugins/discourse-chat-integration:dependencies:discourse:@@ -780,12 +786,6 @@ importers:specifier: npm:@discourse/types@*version: '@discourse/[email protected]'- plugins/discourse-hcaptcha:- dependencies:- discourse:- specifier: npm:@discourse/types@*- version: '@discourse/[email protected]'-plugins/discourse-lazy-videos:dependencies:discourse:diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yamlindex f5cb7103d59..086e7cadadd 100644--- a/pnpm-workspace.yaml+++ b/pnpm-workspace.yaml@@ -31,7 +31,7 @@ packages:- "plugins/discourse-gamification"- "plugins/discourse-github"- "plugins/discourse-graphviz"-- "plugins/discourse-hcaptcha"+- "plugins/discourse-captcha"- "plugins/discourse-lazy-videos"- "plugins/discourse-local-dates"- "plugins/discourse-login-with-amazon"diff --git a/translator.yml b/translator.ymlindex 6d909e401ad..a1fa8cbb721 100644--- a/translator.yml+++ b/translator.yml@@ -229,12 +229,12 @@ files:destination_path: plugins/subscriptions/server.ymllabel: subscriptions- - source_path: plugins/discourse-hcaptcha/config/locales/client.en.yml- destination_path: plugins/hcaptcha/client.yml- label: hcaptcha- - source_path: plugins/discourse-hcaptcha/config/locales/server.en.yml- destination_path: plugins/hcaptcha/server.yml- label: hcaptcha+ - source_path: plugins/discourse-captcha/config/locales/client.en.yml+ destination_path: plugins/captcha/client.yml+ label: captcha+ - source_path: plugins/discourse-captcha/config/locales/server.en.yml+ destination_path: plugins/captcha/server.yml+ label: captcha- source_path: plugins/discourse-gamification/config/locales/client.en.ymldestination_path: plugins/gamification/client.ymldiff --git a/tsconfig.json b/tsconfig.jsonindex 27948613ed9..1bea23fcb10 100644--- a/tsconfig.json+++ b/tsconfig.json@@ -18,7 +18,7 @@{ "path": "plugins/discourse-gamification" },{ "path": "plugins/discourse-github" },{ "path": "plugins/discourse-graphviz" },- { "path": "plugins/discourse-hcaptcha" },+ { "path": "plugins/discourse-captcha" },{ "path": "plugins/discourse-lazy-videos" },{ "path": "plugins/discourse-local-dates" },{ "path": "plugins/discourse-login-with-amazon" },