Commit Graph

41 Commits

Author SHA1 Message Date
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 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 771a5621ff Give warning when application use CookieStore 2016-10-26 18:03:15 +08:00
Jason Lee de21935a8c Update README.md 2016-09-29 15:16:53 +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 f16c0717b8 Add Code Climate Badge 2016-05-23 15:14:14 +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 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 82f064a951 Update example images. 2015-11-05 18:30:10 +08:00
Jason Lee 54baee957e Update comments 2015-11-05 18:29:13 +08:00
Jason Lee 3a72c0ca58 Merge branch 'master' of github.com:huacnlee/rucaptcha 2015-11-05 18:21:11 +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 adf03788a9 ImageMagick version 2015-11-04 14:00:55 +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 cd9638a4fe Fix Travis CI badge URL 2015-10-29 17:53:41 +08:00
David Yun 5f4c0536b8 Add TravisCI build status badge 2015-10-29 17:50:14 +08:00
Jason Lee 4317ba3ed1 Merge pull request #6 from lostpupil/master
fix typo
2015-10-28 09:54:00 +08:00
banana c7c98c0732 fix tyop 2015-10-27 21:27:17 +08:00
Jason Lee 62d3655842 Fix typo 2015-10-27 15:13:39 +08:00
Jason Lee 108dc9ff64 Add routes config info. 2015-10-27 10:27:01 +08:00
Jason Lee f219b9aed2 Add more image examples 2015-10-27 10:06:04 +08:00
Jason Lee d3e6240d3a Merge branch 'master' of github.com:huacnlee/rucaptcha 2015-10-26 20:54:02 +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 29a4085305 Add Chinese readme link 2015-10-26 20:25:54 +08:00
Jason Lee a2bce5fec4 Add test example 2015-10-26 20:22:27 +08:00
Jason Lee cdd2bbe530 Add Gem version badge 2015-10-26 19:58:17 +08:00
Jason Lee 3d74ee23c0 Strong "NO RMagick" text. 2015-10-26 19:56:00 +08:00
Jason Lee f0600e73a5 NO RMagick 2015-10-26 19:53:07 +08:00
Jason Lee 4af1e8eb24 Merge pull request #1 from iamphill/patch-1
Updated README
2015-10-26 18:08:48 +08:00
Jason Lee 5c17874ec3 Add example image 2015-10-26 18:04:35 +08:00
Phil Hughes a991d8400b Updated README 2015-10-26 09:56:47 +00: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