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
Jason Lee
a6ec9813e6
Version 0.2.2
2015-11-01 19:25:52 +08:00
Jason Lee
013e02c9d8
Merge pull request #11 from ramirovjr/master
...
Adding locale for pt-BR language
2015-11-01 19:19:43 +08:00
Jason Lee
78eb9a7e7e
Ensure create cache dir.
2015-11-01 10:04:10 +08:00
Ramiro Varandas Jr
5e881a7436
Adding locale for pt-BR language
...
This commit will enable the application to send messages using
the pt-BR locale
2015-10-31 10:30:07 -02: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
4127204527
Try to fix Travis CI config
2015-10-29 18:11:49 +08:00
Jason Lee
cd9638a4fe
Fix Travis CI badge URL
2015-10-29 17:53:41 +08:00
Jason Lee
2b5ff6a96f
Merge pull request #9 from abookyun/travis-ci
...
Add TravisCI
2015-10-29 17:50:50 +08:00
David Yun
5f4c0536b8
Add TravisCI build status badge
2015-10-29 17:50:14 +08:00
David Yun
c98e728891
Add .travis.yml
2015-10-29 17:50:09 +08:00
Jason Lee
ef0adbb866
Merge pull request #8 from abookyun/fix-gemfile
...
Fix Could not find gem 'active_support (>= 0) ruby'
2015-10-28 15:02:41 +08:00
David Yun
782b3e9a3e
Fix Could not find gem 'active_support (>= 0) ruby'
2015-10-28 14:29:49 +08:00
Jason Lee
68f7aa8090
version 0.1.4
2015-10-28 09:58:38 +08:00
Jason Lee
ddebafbbad
Merge pull request #7 from kamionayuki/master
...
当params[:_rucaptcha] 不等于 session[:_rucaptcha]时,right 也为true
2015-10-28 09:54:28 +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
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
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
14ab3e7e1a
Merge pull request #4 from kevyu/master
...
fix locales
2015-10-27 09:59:13 +08:00
Haibin Yu
ca0f90e13f
fix locales
2015-10-27 00:27:04 +08:00
Jason Lee
437410bd43
Merge pull request #3 from anvyzhang/rt_master
...
Verify fail if captcha was blank in session or params.
2015-10-26 23:29:17 +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
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
77498490e2
Merge branch 'master' of github.com:huacnlee/rucaptcha
2015-10-26 19:43:52 +08:00
Jason Lee
5eb9a8b0c9
Fix #2 translate.
2015-10-26 19:37:31 +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
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
Jason Lee
ed7a8910cf
Initial commit
2015-10-26 14:07:48 +08:00