Commit Graph

144 Commits

Author SHA1 Message Date
Jason Lee bb74854cea Make sure it will render image when ImageMagick stderr have warning messages. (fix #26) 2016-06-22 11:05:30 +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 4f08122960 Fix test 2016-05-25 11:08:48 +08:00
Jason Lee bfc24bc56b Fix cache with Rails 5. 2016-05-25 11:07:26 +08:00
Jason Lee 9b33f4f399 Fix changelog markdown 2016-05-25 10:11:09 +08:00
Jason Lee 59ef004a5a version 0.4.5 2016-05-25 10:09:55 +08:00
Johanderson Mogollon e4daa11309 Removed posix-spawn dependency, used open3 instead (core funciontality), JRuby compatible (#24) 2016-05-25 10:07:34 +08:00
Jason Lee 7f51c67f13 Merge branch 'master' of github.com:huacnlee/rucaptcha 2016-05-23 15:15:56 +08:00
Jason Lee fa19a6e32d Upgrade Gems 2016-05-23 15:15:47 +08:00
Jason Lee f16c0717b8 Add Code Climate Badge 2016-05-23 15:14:14 +08:00
Jason Lee 19dc27e71b Format code 2016-05-23 15:11:04 +08:00
Jason Lee 2e2a8f6f8a Merge branch 'master' of github.com:huacnlee/rucaptcha 2016-05-23 15:04:52 +08:00
Jason Lee 850eea67ef Formate code 2016-05-23 15:04:27 +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 6232717898 Fix last version yellow color missing bug. version 0.4.4 2016-05-20 17:45:40 +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 ca90a9221b Remove deprecated `width`, `height` config. 2016-05-20 16:09:48 +08:00
flypiggy 3bf67c0994 Delete rucapcha after verify (#23) 2016-05-20 10:20:20 +08:00
Jason Lee e5ff2b9e77 Fix NoMethodError bug when params[:_rucaptha] is nil. 2016-04-25 10:09:35 +08:00
Jason Lee be7d72feb0 Add error message to resource when captcha code expired. close #22 2016-04-24 20:20:01 +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 7aee2e00a9 Merge pull request #18 from tiroc/master
Added session[:_rucaptcha] expire time to configuration.
2016-03-15 15:38:19 +08:00
tiroc 77ed68d112 Added session[:_rucaptcha] expire time to configuration. 2016-03-14 16:41:27 +08:00
Jason Lee 2361f61ac8 bump 0.3.2.1 2016-02-28 19:03:26 +08:00
Jason Lee 51ecc1a0ae Update Gemfile.lock 2016-02-28 18:59:37 +08:00
Jason Lee 6fc4ef96fa Merge pull request #17 from Eric-Guo/windows_dev_support
Add dev support in windows
2016-02-28 18:55:43 +08:00
Eric Guo a7bc855fa2 Fix can not create file in tmp_dir in travis 2016-02-28 18:49:00 +08:00
Eric Guo 05cb20fe9d Using open3 and sent file, also using simplify as it only intent to use in development. 2016-02-28 18:48:59 +08:00
Jason Lee bd138df5b8 Trim blank space and make better position. version 0.3.2 2015-12-24 12:12:07 +08:00
Jason Lee 29d02cc09f Merge pull request #15 from anvyzhang/optimize
Optimize captcha verify
2015-11-20 10:48:08 +08:00
anvyzhang 0fac15cd22 No need to check if rucaptcha_at is blank since (Time.now.to_i - 0) should always biger than 120 2015-11-20 10:42:08 +08:00
Jason Lee 544841d6eb Merge pull request #14 from hiveer/master
Oops! blannnnnnnnk line
2015-11-09 16:10:29 +08:00
Hiveer 7d076929a6 oops! blannnnnnnnk line 2015-11-09 15:40:27 +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 2760a064b5 Fix default style, version 0.3.1 2015-11-05 18:27:42 +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 a8f3b15d8a Font size 90% of height 2015-11-05 16:21:06 +08:00
Jason Lee adf03788a9 ImageMagick version 2015-11-04 14:00:55 +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