Commit Graph

13 Commits

Author SHA1 Message Date
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 bfc24bc56b Fix cache with Rails 5. 2016-05-25 11:07:26 +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 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
tiroc 77ed68d112 Added session[:_rucaptcha] expire time to configuration. 2016-03-14 16:41:27 +08:00
Jason Lee 2760a064b5 Fix default style, version 0.3.1 2015-11-05 18:27:42 +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 4ec52d887b Add some test case 2015-10-26 21:55:46 +08:00
Jason Lee 3be8125c40 Update Image style and colors, and fix Captcha class missing bug.
- No case sensitive;
- Export config.implode;
- Improve image color and style;
- Don't generate chars in 'l,o,0,1'.
- Render lower case chars on image.
2015-10-26 17:40:59 +08:00
Jason Lee 981308e839 First commit. 2015-10-26 14:09:39 +08:00