recaptcha 1.3.0 → 5.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +87 -0
- data/README.md +462 -69
- data/lib/recaptcha/adapters/controller_methods.rb +96 -0
- data/lib/recaptcha/adapters/view_methods.rb +26 -0
- data/lib/recaptcha/configuration.rb +39 -28
- data/lib/recaptcha/helpers.rb +332 -0
- data/lib/recaptcha/rails.rb +3 -9
- data/lib/recaptcha/railtie.rb +35 -0
- data/lib/recaptcha/version.rb +3 -1
- data/lib/recaptcha.rb +127 -37
- data/rails/locales/en.yml +5 -0
- data/rails/locales/fr.yml +5 -0
- metadata +18 -15
- data/lib/recaptcha/client_helper.rb +0 -52
- data/lib/recaptcha/token.rb +0 -24
- data/lib/recaptcha/verify.rb +0 -93
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 32dd1cf286b8d6ddaba6c76b8be43d674569755cf4c72bafeb5845d319c0eeb5
|
4
|
+
data.tar.gz: ca3c44b7410612d984e56f765ab3fce23f29024649248b067bc7d463eb94a137
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4210c65501bbb30ef9debbb53db1d1c69541e16000f6221ba1c9d16d7b0e625767c6861b79f10346643e2ab1a2ab1a210a1a4d8742e68b6efa48945da1d6d436
|
7
|
+
data.tar.gz: 19784f36a070d092249321947b4dfe236834347ce96247c5c6782fdd4209f8e2b478224e302b974db896622ab271f23572d8fff853925c6942807afabf0b9014
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,85 @@
|
|
1
|
+
## Next
|
2
|
+
* Gracefully handle invalid params
|
3
|
+
|
4
|
+
## 5.8.0
|
5
|
+
* Add support for the enterprise API
|
6
|
+
|
7
|
+
## 5.7.0
|
8
|
+
* french locale
|
9
|
+
* drop ruby 2.3
|
10
|
+
|
11
|
+
## 5.6.0
|
12
|
+
* Allow multiple invisible recaptchas on a single page by setting custom selector
|
13
|
+
|
14
|
+
## 5.5.0
|
15
|
+
* add `recaptcha_reply` controller method for better debugging/inspection
|
16
|
+
|
17
|
+
## 5.4.1
|
18
|
+
* fix v2 vs 'data' postfix
|
19
|
+
|
20
|
+
## 5.4.0
|
21
|
+
* added 'data' postfix to g-recaptcha-response attribute name to avoid collisions
|
22
|
+
|
23
|
+
## 5.3.0
|
24
|
+
* turbolinks support
|
25
|
+
|
26
|
+
## 5.2.0
|
27
|
+
* remove dependency on rails methods
|
28
|
+
|
29
|
+
## 5.1.0
|
30
|
+
* Added default translations for rails/i18n
|
31
|
+
* use recaptcha.net for the script tag
|
32
|
+
|
33
|
+
## 5.0.0
|
34
|
+
* Changed host to Recaptcha.net
|
35
|
+
* Add v3 API support
|
36
|
+
* Renamed `Recaptcha::ClientHelper` to `Recaptcha::Adapters::ViewMethods`
|
37
|
+
* Renamed `Recaptcha::Verify` to `Recaptcha::Adapters::ControllerMethods`
|
38
|
+
|
39
|
+
## 4.12.0 - 2018-08-30
|
40
|
+
* add `input` option to `invisible_recaptcha_tags`'s `ui` setting
|
41
|
+
|
42
|
+
## 4.11.1 - 2018-08-08
|
43
|
+
* leave `tabindex` attribute alone for `invisible_recaptcha_tags`
|
44
|
+
|
45
|
+
## 4.11.0 - 2018-08-06
|
46
|
+
* prefer RAILS_ENV over RACK_ENV #286
|
47
|
+
|
48
|
+
## 4.0.0 - 2016-11-14
|
49
|
+
* public_key -> site_key and private_key -> secret_key
|
50
|
+
|
51
|
+
## 3.4.0 - 2016-11-01
|
52
|
+
* Update fallback html
|
53
|
+
|
54
|
+
## 3.2.0 - 2016-06-13
|
55
|
+
* remove SKIP_VERIFY_ENV constant, use `skip_verify_env` instance variable instead
|
56
|
+
|
57
|
+
## 3.1.0 - 2016-06-10
|
58
|
+
* better error messages
|
59
|
+
* frozen constants
|
60
|
+
|
61
|
+
## 3.0.0 - 2016-05-27
|
62
|
+
* remove all non-ssl options
|
63
|
+
|
64
|
+
## 2.3.0 - 2016-05-25
|
65
|
+
* enable ssl verification by default ... disable via `disable_ssl_verification = true`
|
66
|
+
|
67
|
+
## 2.2.0 - 2016-05-23
|
68
|
+
* Add global hostname validator config
|
69
|
+
* Clean up after with_configuration exception
|
70
|
+
|
71
|
+
## 2.1.0 - 2016-05-19
|
72
|
+
* do not query google if repactcha was not submitted
|
73
|
+
|
74
|
+
## 2.0.0 - 2016-05-17
|
75
|
+
* remove stoken support, must use custom domain verification or domain whitelist
|
76
|
+
|
77
|
+
## 1.3.0 - 2016-04-07
|
78
|
+
* do not set model error and flash
|
79
|
+
|
80
|
+
## 1.2.0 - 2016-04-01
|
81
|
+
* custom domain validation
|
82
|
+
|
1
83
|
## 1.1.0 - 2016-01-27
|
2
84
|
* support RACK_ENV
|
3
85
|
|
@@ -22,6 +104,11 @@
|
|
22
104
|
* support disabling stoken
|
23
105
|
* support Rails.env
|
24
106
|
|
107
|
+
## 0.4.0 / 2015-03-22
|
108
|
+
|
109
|
+
* Add support for ReCaptcha v2 API
|
110
|
+
* V2 API requires `g-recaptcha-response` parameters; https://github.com/ambethia/recaptcha/pull/114
|
111
|
+
|
25
112
|
## 0.3.6 / 2012-01-07
|
26
113
|
|
27
114
|
* Many documentation changes
|