Commit Graph

69 Commits

Author SHA1 Message Date
Jason Lee 54baee957e Update comments 2015-11-05 18:29:13 +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 a8f3b15d8a Font size 90% of height 2015-11-05 16:21:06 +08:00
Jason Lee 0a0f272d9a Fix session value expires typo;
Captcha input field disable autocomplete, and set field type as  for shown correct keyboard on mobile view.
version 0.2.5
2015-11-02 18:09:16 +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 62f589e9fc Raise error when call ImageMagick failed, version 0.2.3 2015-11-02 14:11:28 +08:00
Jason Lee a6ec9813e6 Version 0.2.2 2015-11-01 19:25:52 +08:00
Jason Lee 78eb9a7e7e Ensure create cache dir. 2015-11-01 10:04:10 +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 68f7aa8090 version 0.1.4 2015-10-28 09:58:38 +08:00
kamionayuki c310c25781 Update controller_helpers.rb
在ruby2.2.0p0版本中,&& 与 and 的优先级不同。
right = true && false
right = true and false
的结果不一样
2015-10-27 21:22:21 +08:00
anvyzhang c62648c766 Verify fail if captcha was blank in session or params. 2015-10-26 22:58:16 +08:00
Jason Lee 4ec52d887b Add some test case 2015-10-26 21:55:46 +08:00
Jason Lee e7cc8091fb Use xxx_url to fix bad captcha URL for enabled case. 2015-10-26 20:53:30 +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 7c672bbc92 Include default validation I18n messages (en, zh-CN, zh-TW). 2015-10-26 15:50:54 +08:00
Jason Lee e7ac2bb9ad Version 0.1.0 2015-10-26 14:11:48 +08:00
Jason Lee 981308e839 First commit. 2015-10-26 14:09:39 +08:00