Commit Graph

163 Commits

Author SHA1 Message Date
Jason Lee 1d1742e2ed
Merge pull request #58 from netqyq/master
fix: ru_captcha.root_url -> ru_captcha.root_path, to avoid generate a http url in  https application.
2019-01-22 17:21:29 +08:00
Jason Lee 2a78655fec
Merge pull request #63 from wayne5540/add-skip_cache_store_check-config
Add skip_cache_store_check configuration
2019-01-22 17:19:38 +08:00
Wayne 66dbac9639 Add skip_cache_store_check configuration 2018-12-22 14:43:42 +08:00
Jason Lee d0066b4b55 Update README 2018-12-14 13:49:55 +08:00
Geremia Taglialatela d44e64e496 Exclude colors that do not pass WCAG 2.0 AA level (#70)
Green and Yellow are too light and impact on user’s ability to read
the Captcha. Deep Purple and Pink are better choices

Ref: https://www.w3.org/TR/WCAG/#contrast-minimum
2018-12-14 13:19:53 +08:00
Jason Lee 1b3b38b93c Bundle update 2018-11-13 11:42:55 +08:00
wewin11235 90484ceb34 Fix `maxlength` option of rucaptcha_input_tag method (#68) 2018-10-10 15:10:48 +08:00
Jason Lee 738cdfd00d version 2.3.1 2018-09-17 19:20:08 +08:00
Jason Lee 0e1a0f88e5 Fix #67 a y chars will invalid error 2018-09-17 19:18:37 +08:00
Jason Lee 583bb1f3a9 Fix test 2018-09-06 19:41:16 +08:00
Jason Lee 748f17a429
Update README.md 2018-09-06 19:39:28 +08:00
Jason Lee 6514495821 version 2.3.0 2018-09-06 19:33:50 +08:00
Jason Lee 682aa39ec0 Add for use outline style, and reduce colors down to 5 (red, blue, green, yellow and black). 2018-09-06 19:33:18 +08:00
EarlyZhao b6c3d3735d Add warning when session is invalid (#66) 2018-07-19 13:54:36 +08:00
Jason Lee 7aa691d1eb
bundle update 2018-03-28 (#62) 2018-03-28 14:55:02 +08:00
Yongqiang Qu fe33c73692 fix: ru_captcha.root_url -> ru_captcha.root_path, to avoid generate a http url in a https application. 2017-12-29 10:04:01 +08:00
Jason Lee 7071fb02ae
Update CHANGELOG.md 2017-12-07 17:05:11 +08:00
Jason Lee 0561e88a22 config.line -> config.strikethrough and release version 2.2.0 2017-12-07 17:04:25 +08:00
Rina 3939d1bb02 Allow change chars length and disable strikethrough (#57) 2017-12-07 16:49:42 +08:00
Jason Lee 2ec5e9e8a6
Fix CI 2017-11-06 16:05:47 +08:00
Allen 4c27244d13 Update README.md (#52)
corrected syntax, outdated url and added translation
2017-08-03 17:32:30 +08:00
万昭祎 2317eb2bda Update warning message (#50) 2017-06-08 09:36:23 +08:00
Jason Lee a0314ed025 Update README 2017-05-09 10:09:58 +08:00
Lei Zhang 5b352687fc Updated README for manually adding invalid message (#47) 2017-04-01 10:24:02 +08:00
Jason Lee 18701f7ae4 version 2.1.3 2017-03-22 15:53:12 +08:00
Jason Lee 9173e86ee4 Fix send_data for Windows platform #45 2017-03-22 15:52:21 +08:00
Jason Lee 81e4e0bda6 Merge branch 'master' of github.com:huacnlee/rucaptcha 2017-03-09 16:44:25 +08:00
Jason Lee dcf17e1765 Version 2.1.2 2017-03-09 16:43:56 +08:00
Jason Lee 0c16db552e Do not handle with HEAD method 2017-03-09 16:42:43 +08:00
Jason Lee 6d8aa5cef5 Update CHANGELOG.md 2017-03-09 10:27:07 +08:00
Jason Lee 7ca745df7b version 2.1.1 2017-03-09 10:18:53 +08:00
Jason Lee 47c5edf254 Mount engine use `prepend` method to get high priority in routes. 2017-03-09 10:17:30 +08:00
Jason Lee d1e6a267f0 version 2.1.0 2017-03-08 12:00:19 +08:00
Jason Lee bb5b4efb8a - Mount Router by default, not need config now.
- Default use [:file_store, 'tmp/cache/rucaptcha/session'] as RuCaptcha.config.cache_store, now it can work without any configurations.
- Improve README doc.
2017-03-08 11:54:36 +08:00
Jason Lee afc6b47ff1 Add CONTRIBUTE.md 2017-03-08 11:24:32 +08:00
Jason Lee 02a92faae4 Add srcclr addon 2017-02-22 17:27:04 +08:00
Jason Lee 6fdbcd6d38 Version 2.0.3 2017-02-15 12:31:45 +08:00
Jason Lee d15e876ae8 Fix typo, and add test for ActionView 2017-02-15 12:31:25 +08:00
Jason Lee eb1b0e8a29 Version 2.0.2 2017-02-15 12:03:53 +08:00
Jason Lee 46ddd15905 Use `ActiveSupport.on_load` to extend ActionController and ActionView.
http://api.rubyonrails.org/classes/ActiveSupport/LazyLoadHooks.html
92703a9ea5/actionpack/lib/action_controller/base.rb (L264)
7da8d76206/actionview/lib/action_view/base.rb (L215)
2017-02-15 12:03:24 +08:00
Jason Lee 3b8d33f97a require_relative -> require 2017-02-09 17:40:39 +08:00
Jason Lee b6d034cf8a Merge branch 'master' of github.com:huacnlee/rucaptcha 2017-02-04 22:01:57 +08:00
Jason Lee 771b7afaa0 Fix `/rucaptcha` path issue when `config.action_controller.asset_host` has setup with CDN url.
close ruby-china/homeland/pull/856
fix #39
2017-02-04 21:47:13 +08:00
Jason Lee 1de500609a Update README.md 2017-01-22 13:43:07 +08:00
Jason Lee 3db3991a4c Update README.md 2017-01-22 13:41:23 +08:00
Jason Lee dd158e1b40 Update gem summary 2017-01-22 10:21:29 +08:00
Jason Lee 93ac160201 Use C extension to remove ImageMagick dependency (#40) 2017-01-22 10:16:57 +08:00
lizy 9159b8cd10 Update view_helpers.rb (#37) 2017-01-09 17:09:46 +08:00
koali-fang 45a9056cf4 Fix session.id call in Rails 3.2 (#36) 2016-12-01 18:00:38 +08:00
Jason Lee 107339ea9e Add an `:keep_session` option for `verify_rucaptcha?` method to giva a way for let you keep session on verify, if true, RuCaptcha will not delete the captcha code session after validation. 2016-12-01 11:11:10 +08:00