Commit Graph

9 Commits

Author SHA1 Message Date
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 bcdac25b17 More complex Image render: compact text, strong lines, +/-5 rotate...
[DEPRECATION] config.width, config.height removed, use config.font_size.
Fix the render position in difference font sizes.
Fix input field type, and disable autocorrect, autocapitalize, and limit maxlength with char length.
Version 0.3.0
2015-11-05 18:20:41 +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 2508a05589 Try to create tmp dir, if not exists. 2015-10-29 18:22:27 +08:00
Jason Lee 4ec52d887b Add some test case 2015-10-26 21:55:46 +08:00