Jason Lee
738cdfd00d
version 2.3.1
2018-09-17 19:20:08 +08:00
Jason Lee
682aa39ec0
Add for use outline style, and reduce colors down to 5 (red, blue, green, yellow and black).
2018-09-06 19:33:18 +08:00
Jason Lee
7071fb02ae
Update CHANGELOG.md
2017-12-07 17:05:11 +08:00
Jason Lee
0561e88a22
config.line -> config.strikethrough and release version 2.2.0
2017-12-07 17:04:25 +08:00
Jason Lee
18701f7ae4
version 2.1.3
2017-03-22 15:53:12 +08:00
Jason Lee
81e4e0bda6
Merge branch 'master' of github.com:huacnlee/rucaptcha
2017-03-09 16:44:25 +08:00
Jason Lee
dcf17e1765
Version 2.1.2
2017-03-09 16:43:56 +08:00
Jason Lee
6d8aa5cef5
Update CHANGELOG.md
2017-03-09 10:27:07 +08:00
Jason Lee
7ca745df7b
version 2.1.1
2017-03-09 10:18:53 +08:00
Jason Lee
d1e6a267f0
version 2.1.0
2017-03-08 12:00:19 +08:00
Jason Lee
6fdbcd6d38
Version 2.0.3
2017-02-15 12:31:45 +08:00
Jason Lee
eb1b0e8a29
Version 2.0.2
2017-02-15 12:03:53 +08:00
Jason Lee
771b7afaa0
Fix `/rucaptcha` path issue when `config.action_controller.asset_host` has setup with CDN url.
...
close ruby-china/homeland/pull/856
fix #39
2017-02-04 21:47:13 +08:00
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
e58c051632
Use puts instead of Rails.logger.warn to output warning
2016-11-09 15:30:23 +08:00
Jason Lee
21d1c0e787
Fix #35 just give a warning message if not setup a right cache_store, only raise on :null_store
2016-11-09 15:24:31 +08:00
Jason Lee
6f26819f5e
Version 1.1.2
2016-11-08 10:04:10 +08:00
Jason Lee
5616cef89c
Version 1.1.1
2016-10-29 11:07:30 +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
771a5621ff
Give warning when application use CookieStore
2016-10-26 18:03:15 +08:00
Jason Lee
f8590ad45a
Revert "Fix Session replay secure issue that when Rails application use CookieStore."
...
This reverts commit e129851fd9
.
2016-10-26 17:36:21 +08:00
Jason Lee
e129851fd9
Fix Session replay secure issue that when Rails application use CookieStore.
2016-10-14 17:33:34 +08:00
Jason Lee
72d9e145db
Version 1.0.0
...
- Adjust to avoid lighter colors.
- Avoid continuous chars have same color.
- Use same color for each chars in :black_white mode.
2016-09-01 14:20:25 +08:00
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
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
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
ca90a9221b
Remove deprecated `width`, `height` config.
2016-05-20 16:09:48 +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
2361f61ac8
bump 0.3.2.1
2016-02-28 19:03:26 +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
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
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
Jason Lee
e7cc8091fb
Use xxx_url to fix bad captcha URL for enabled case.
2015-10-26 20:53:30 +08:00
Jason Lee
5eb9a8b0c9
Fix #2 translate.
2015-10-26 19:37:31 +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