Jason Lee
e5ff2b9e77
Fix NoMethodError bug when params[:_rucaptha] is nil.
2016-04-25 10:09:35 +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
Eric Guo
a7bc855fa2
Fix can not create file in tmp_dir in travis
2016-02-28 18:49:00 +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
2c72ef1ad3
Add expire time, for protect Rails CookieSession Replay Attack. version 0.2.4
2015-11-02 16:59:42 +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
13cd85dc6e
RTesseract use mini_magick.
2015-10-29 18:28:11 +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