From 107dbe33e4635659d8be96e928493faa4ca1c1c2 Mon Sep 17 00:00:00 2001 From: Gregwar Date: Tue, 19 Nov 2013 10:51:58 +0100 Subject: [PATCH 01/10] Adding disabled global option (fixes #72) --- DependencyInjection/Configuration.php | 1 + README.md | 2 ++ 2 files changed, 3 insertions(+) diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index 9f9fbd5..0ef9877 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -44,6 +44,7 @@ class Configuration implements ConfigurationInterface ->scalarNode('interpolation')->defaultValue(true)->end() ->arrayNode('text_color')->prototype('scalar')->end()->end() ->arrayNode('background_color')->prototype('scalar')->end()->end() + ->scalarNode('disabled')->defaultValue(false)->end() ->end() ; diff --git a/README.md b/README.md index 9a81582..1febba6 100644 --- a/README.md +++ b/README.md @@ -123,6 +123,8 @@ You can define the following configuration options globally or on the CaptchaTyp * **width**: the width of the captcha image (default=120) * **height**: the height of the captcha image (default=40) +* **disabled**: disable globally the CAPTCHAs (can be useful in dev environment), it will + still appear but won't be editable and won't be checked * **length**: the length of the captcha (number of chars, default 5) * **quality**: jpeg quality of captchas (default=15) * **charset**: the charset used for code generation (default=abcdefhjkmnprstuvwxyz23456789) From 9d4f95e39b271f2cc40c355993fb6bb689ae9609 Mon Sep 17 00:00:00 2001 From: Rodrigo Regis Palmeira Date: Fri, 22 Nov 2013 19:52:20 -0200 Subject: [PATCH 02/10] [ADD] - Brazilian Portuguese translate --- Resources/translations/gregwar_captcha.pt_BR.yml | 1 + 1 file changed, 1 insertion(+) create mode 100644 Resources/translations/gregwar_captcha.pt_BR.yml diff --git a/Resources/translations/gregwar_captcha.pt_BR.yml b/Resources/translations/gregwar_captcha.pt_BR.yml new file mode 100644 index 0000000..9bbcbe2 --- /dev/null +++ b/Resources/translations/gregwar_captcha.pt_BR.yml @@ -0,0 +1 @@ +Renew: Regerar From c09b7245b1fa32cde171eab55e5b33dd43c5ae95 Mon Sep 17 00:00:00 2001 From: Rodrigo Regis Palmeira Date: Mon, 25 Nov 2013 08:44:26 -0200 Subject: [PATCH 03/10] [ADD] - translate validators to Brazilian portuguese. --- Resources/translations/validators.pt_BR.yml | 1 + 1 file changed, 1 insertion(+) create mode 100644 Resources/translations/validators.pt_BR.yml diff --git a/Resources/translations/validators.pt_BR.yml b/Resources/translations/validators.pt_BR.yml new file mode 100644 index 0000000..a4e2ebd --- /dev/null +++ b/Resources/translations/validators.pt_BR.yml @@ -0,0 +1 @@ +Bad code value: Código de verificação inválido From 2e803e1471b63b054d95a7243816848b5f5a81ec Mon Sep 17 00:00:00 2001 From: Mitchel Verschoof Date: Fri, 14 Feb 2014 10:24:32 +0100 Subject: [PATCH 04/10] Added Dutch translation --- Resources/translations/gregwar_captcha.nl.yml | 1 + Resources/translations/validators.nl.yml | 1 + 2 files changed, 2 insertions(+) create mode 100644 Resources/translations/gregwar_captcha.nl.yml create mode 100644 Resources/translations/validators.nl.yml diff --git a/Resources/translations/gregwar_captcha.nl.yml b/Resources/translations/gregwar_captcha.nl.yml new file mode 100644 index 0000000..b092bea --- /dev/null +++ b/Resources/translations/gregwar_captcha.nl.yml @@ -0,0 +1 @@ +Renew: Vernieuwen diff --git a/Resources/translations/validators.nl.yml b/Resources/translations/validators.nl.yml new file mode 100644 index 0000000..d0632d5 --- /dev/null +++ b/Resources/translations/validators.nl.yml @@ -0,0 +1 @@ +Bad code value: Code komt niet overeen From 2f508ddd074a349e027dc56d41ca426c9c29d8fd Mon Sep 17 00:00:00 2001 From: Mitchel Verschoof Date: Fri, 14 Feb 2014 10:26:58 +0100 Subject: [PATCH 05/10] Added English translation --- Resources/translations/gregwar_captcha.en.yml | 1 + Resources/translations/validators.en.yml | 1 + 2 files changed, 2 insertions(+) create mode 100644 Resources/translations/gregwar_captcha.en.yml create mode 100644 Resources/translations/validators.en.yml diff --git a/Resources/translations/gregwar_captcha.en.yml b/Resources/translations/gregwar_captcha.en.yml new file mode 100644 index 0000000..11bcba7 --- /dev/null +++ b/Resources/translations/gregwar_captcha.en.yml @@ -0,0 +1 @@ +Renew: Renew diff --git a/Resources/translations/validators.en.yml b/Resources/translations/validators.en.yml new file mode 100644 index 0000000..f10da7e --- /dev/null +++ b/Resources/translations/validators.en.yml @@ -0,0 +1 @@ +Bad code value: Code does not match From 8770c50ff0f4cbdb14959a27fc8d6d2e986b0d98 Mon Sep 17 00:00:00 2001 From: Gregwar Date: Fri, 14 Feb 2014 11:29:03 +0100 Subject: [PATCH 06/10] Updating gregwar/captcha to v1.0.10 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 7b75481..575eee5 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ ], "require": { "php": ">=5.3.0", - "gregwar/captcha": "v1.0.8" + "gregwar/captcha": "v1.0.10" }, "autoload": { "psr-0": { From b2340539d2f075179b7f4a0748e18f378ba3451f Mon Sep 17 00:00:00 2001 From: gondo Date: Thu, 6 Mar 2014 16:22:28 +0100 Subject: [PATCH 07/10] Create gregwar_captcha.cz.yml --- Resources/translations/gregwar_captcha.cz.yml | 1 + 1 file changed, 1 insertion(+) create mode 100644 Resources/translations/gregwar_captcha.cz.yml diff --git a/Resources/translations/gregwar_captcha.cz.yml b/Resources/translations/gregwar_captcha.cz.yml new file mode 100644 index 0000000..37ad7b0 --- /dev/null +++ b/Resources/translations/gregwar_captcha.cz.yml @@ -0,0 +1 @@ +Renew: Obnovit From bc3fdda50b40f45c5d2c669b1883971ac45589b2 Mon Sep 17 00:00:00 2001 From: gondo Date: Thu, 6 Mar 2014 16:22:57 +0100 Subject: [PATCH 08/10] Rename gregwar_captcha.cz.yml to gregwar_captcha.cs.yml --- .../{gregwar_captcha.cz.yml => gregwar_captcha.cs.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Resources/translations/{gregwar_captcha.cz.yml => gregwar_captcha.cs.yml} (100%) diff --git a/Resources/translations/gregwar_captcha.cz.yml b/Resources/translations/gregwar_captcha.cs.yml similarity index 100% rename from Resources/translations/gregwar_captcha.cz.yml rename to Resources/translations/gregwar_captcha.cs.yml From 3340af5c43a82f0e28c8ad46437c10e8195906f7 Mon Sep 17 00:00:00 2001 From: gondo Date: Thu, 6 Mar 2014 16:24:41 +0100 Subject: [PATCH 09/10] Create validators.cs.yml --- Resources/translations/validators.cs.yml | 1 + 1 file changed, 1 insertion(+) create mode 100644 Resources/translations/validators.cs.yml diff --git a/Resources/translations/validators.cs.yml b/Resources/translations/validators.cs.yml new file mode 100644 index 0000000..7c0a6ca --- /dev/null +++ b/Resources/translations/validators.cs.yml @@ -0,0 +1 @@ +Bad code value: Špatný kontrolní kód From ab786e3b0e79979f31871d2c8d3fe75cd7cf4e4d Mon Sep 17 00:00:00 2001 From: Gregwar Date: Wed, 19 Mar 2014 16:14:56 +0100 Subject: [PATCH 10/10] Updating to v1.0.11 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 575eee5..81abbee 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ ], "require": { "php": ">=5.3.0", - "gregwar/captcha": "v1.0.10" + "gregwar/captcha": "v1.0.11" }, "autoload": { "psr-0": {