Commit Graph

13 Commits

Author SHA1 Message Date
Jason Lee 2b51c6e13f Fix tests 2019-12-20 15:36:24 +08:00
Jason Lee 93ac160201 Use C extension to remove ImageMagick dependency (#40) 2017-01-22 10:16:57 +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
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 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 e129851fd9 Fix Session replay secure issue that when Rails application use CookieStore. 2016-10-14 17:33:34 +08:00
Jason Lee 19dc27e71b Format code 2016-05-23 15:11:04 +08:00
Jason Lee b46a4ad0b4 Lighter Text color.
Remove OCR test.
2016-05-20 17:19:27 +08:00
Jason Lee e5ff2b9e77 Fix NoMethodError bug when params[:_rucaptha] is nil. 2016-04-25 10:09:35 +08:00
Jason Lee 2c72ef1ad3 Add expire time, for protect Rails CookieSession Replay Attack. version 0.2.4 2015-11-02 16:59:42 +08:00
Jason Lee c46f88e84f Added file cache, can setup how many images you want generate by ,
RuCaptcha will use cache for next requests.
  When you restart Rails processes it will generate new again and clean the old caches.
2015-10-30 11:32:02 +08:00
Jason Lee 4ec52d887b Add some test case 2015-10-26 21:55:46 +08:00