Commit Graph

114 Commits

Author SHA1 Message Date
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
Jason Lee e58c051632 Use puts instead of Rails.logger.warn to output warning 2016-11-09 15:30:23 +08:00
Jason Lee 21d1c0e787 Fix #35 just give a warning message if not setup a right cache_store, only raise on :null_store 2016-11-09 15:24:31 +08:00
Jason Lee 6dcfbf49bd Upgrade Rails for development 2016-11-08 11:32:44 +08:00
Jason Lee 41d099022d Rewrite Captcha.create to void complex method 2016-11-08 11:18:07 +08:00
Jason Lee 6f26819f5e Version 1.1.2 2016-11-08 10:04:10 +08:00
Jason Lee 4ced53d87b Fix #34 rucaptcha.root_url -> root_path, to avoid generate a http url in a https application. 2016-11-08 10:01:13 +08:00
Jason Lee ae8a30e819 Gem special file require Ruby 2.0.0, because there have a prepend method called. 2016-11-08 09:58:45 +08:00
Jason Lee 5616cef89c Version 1.1.1 2016-10-29 11:07:30 +08:00
Jason Lee 58ab0adb75 Fix test case 2016-10-29 11:06:10 +08:00
Jason Lee d0d6718e15 Add config.cache_store config.
Store captcha code in Backend cache.
Not requirement Session store now.
2016-10-29 10:48:05 +08:00
Jason Lee c9c42de866 Update readme 2016-10-26 18:05:47 +08:00
Jason Lee b0f68f8a10 1.0.2 2016-10-26 18:03:57 +08:00
Jason Lee 771a5621ff Give warning when application use CookieStore 2016-10-26 18:03:15 +08:00
Jason Lee f8590ad45a Revert "Fix Session replay secure issue that when Rails application use CookieStore."
This reverts commit e129851fd9.
2016-10-26 17:36:21 +08:00
Jason Lee 4440f4096f Merge branch 'master' of github.com:huacnlee/rucaptcha 2016-10-14 17:34:20 +08:00
Jason Lee e129851fd9 Fix Session replay secure issue that when Rails application use CookieStore. 2016-10-14 17:33:34 +08:00
Jason Lee de21935a8c Update README.md 2016-09-29 15:16:53 +08:00
Jason Lee 72d9e145db Version 1.0.0
- Adjust to avoid lighter colors.
- Avoid continuous chars have same color.
- Use same color for each chars in :black_white mode.
2016-09-01 14:20:25 +08:00
Jason Lee ed265d0d2f Update gemspec 2016-09-01 13:07:59 +08:00
Jason Lee bb74854cea Make sure it will render image when ImageMagick stderr have warning messages. (fix #26) 2016-06-22 11:05:30 +08:00
Jason Lee 38b6ac8ae1 Update README.md 2016-05-27 11:51:51 +08:00
Jason Lee 81252623a2 Update README.md 2016-05-25 13:06:35 +08:00
Jason Lee 51ac983dc3 Add devise link 2016-05-25 11:47:48 +08:00
Jason Lee 4f08122960 Fix test 2016-05-25 11:08:48 +08:00
Jason Lee bfc24bc56b Fix cache with Rails 5. 2016-05-25 11:07:26 +08:00
Jason Lee 9b33f4f399 Fix changelog markdown 2016-05-25 10:11:09 +08:00
Jason Lee 59ef004a5a version 0.4.5 2016-05-25 10:09:55 +08:00
Johanderson Mogollon e4daa11309 Removed posix-spawn dependency, used open3 instead (core funciontality), JRuby compatible (#24) 2016-05-25 10:07:34 +08:00
Jason Lee 7f51c67f13 Merge branch 'master' of github.com:huacnlee/rucaptcha 2016-05-23 15:15:56 +08:00
Jason Lee fa19a6e32d Upgrade Gems 2016-05-23 15:15:47 +08:00
Jason Lee f16c0717b8 Add Code Climate Badge 2016-05-23 15:14:14 +08:00
Jason Lee 19dc27e71b Format code 2016-05-23 15:11:04 +08:00
Jason Lee 2e2a8f6f8a Merge branch 'master' of github.com:huacnlee/rucaptcha 2016-05-23 15:04:52 +08:00
Jason Lee 850eea67ef Formate code 2016-05-23 15:04:27 +08:00
Jason Lee 90d02b3c87 Move example to top. 2016-05-20 17:51:11 +08:00
Jason Lee 05284fe7d9 Update README.md 2016-05-20 17:49:34 +08:00
Jason Lee e531e7d679 Update README.md 2016-05-20 17:48:20 +08:00
Jason Lee abd80dbc10 Update example images 2016-05-20 17:47:11 +08:00
Jason Lee 6232717898 Fix last version yellow color missing bug. version 0.4.4 2016-05-20 17:45:40 +08:00
Jason Lee d42bf4c8e2 Change default implode to 0.3, version 0.4.3 2016-05-20 17:33:28 +08:00
Jason Lee b46a4ad0b4 Lighter Text color.
Remove OCR test.
2016-05-20 17:19:27 +08:00
Jason Lee ca90a9221b Remove deprecated `width`, `height` config. 2016-05-20 16:09:48 +08:00
flypiggy 3bf67c0994 Delete rucapcha after verify (#23) 2016-05-20 10:20:20 +08:00
Jason Lee e5ff2b9e77 Fix NoMethodError bug when params[:_rucaptha] is nil. 2016-04-25 10:09:35 +08:00
Jason Lee be7d72feb0 Add error message to resource when captcha code expired. close #22 2016-04-24 20:20:01 +08:00
Jason Lee 0a7fa3782b Feature option to change color theme
* Add `config.style` option, to allow use change render style.
2016-04-06 15:50:30 +08:00
Jason Lee d5a0ecc6ac version 0.3.3 2016-03-15 15:42:36 +08:00
Jason Lee 7aee2e00a9 Merge pull request #18 from tiroc/master
Added session[:_rucaptcha] expire time to configuration.
2016-03-15 15:38:19 +08:00
tiroc 77ed68d112 Added session[:_rucaptcha] expire time to configuration. 2016-03-14 16:41:27 +08:00