2017-03-08 04:00:19 +00:00
2.1.0
-----
- Mount Router by default, not need config now.
- Default use [:file_store, 'tmp/cache/rucaptcha/session'] as RuCaptcha.config.cache_store, now it can work without any configurations.
> NOTE: But you still need care about `config.cache_store` to setup on a right way.
2017-02-15 04:31:45 +00:00
2.0.3
2017-02-15 04:03:53 +00:00
-----
- Use `ActiveSupport.on_load` to extend ActionController and ActionView.
2017-02-04 13:47:13 +00:00
2.0.1
-----
- Fix `/rucaptcha` path issue when `config.action_controller.asset_host` has setup with CDN url.
2017-01-22 02:16:57 +00:00
2.0.0
-----
*Break Changes!*
WARNING!: This version have so many break changes!
- Use C ext instead of ImageMagick, now it's no dependencies!
- New captcha style.
- Remove `len` , `font_size` , `cache_limit` config key, no support now.
- Output `GIF` format.
2016-12-01 03:11:10 +00:00
1.2.0
-----
- 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-11-09 07:30:23 +00:00
1.1.4
2016-11-09 07:24:31 +00:00
-----
- Fix #35 just give a warning message if not setup a right cache_store, only raise on :null_store.
2016-11-08 02:04:10 +00:00
1.1.2
-----
- Fix #34 rucaptcha.root_url -> root_path, to avoid generate a http url in a https application.
- Fix spec to require Ruby 2.0.0, because there have a `Module#prepend` method called.
2016-10-29 03:07:30 +00:00
1.1.1
-----
- Remove inspect log on verify_rucaptcha
2016-10-29 02:48:05 +00:00
1.1.0
2016-10-26 10:03:15 +00:00
-----
2016-10-29 02:48:05 +00:00
- Add `cache_store` config key to setup a cache store location for RuCaptcha.
- Store captcha in custom cache store.
2016-10-26 10:03:15 +00:00
## Security Notes
- Fix Session replay secure issue that when Rails application use CookieStore.
2016-09-01 06:20:25 +00:00
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-06-22 03:05:30 +00:00
0.5.1
-----
- Make sure it will render image when ImageMagick stderr have warning messages. (#26)
2016-05-25 03:07:26 +00:00
0.5.0
2016-06-22 03:05:30 +00:00
-----
2016-05-25 03:07:26 +00:00
- Fix cache with Rails 5.
2016-05-25 02:09:55 +00:00
0.4.5
2016-05-25 02:11:09 +00:00
-----
2016-05-25 02:09:55 +00:00
- Removed `posix-spawn` dependency, used open3 instead (core funciontality), JRuby compatible (#24)
2016-05-20 09:45:40 +00:00
0.4.4
2016-05-25 02:11:09 +00:00
-----
2016-05-20 08:09:48 +00:00
- Remove deprecated `width` , `height` config.
- Delete session key after verify (#23).
2016-05-20 09:33:28 +00:00
- Lighter text color, improve style.
2016-05-20 08:09:48 +00:00
2016-04-25 02:09:35 +00:00
0.4.2
-----
- Fix NoMethodError bug when params[:_rucaptha] is nil.
2016-04-24 12:20:01 +00:00
0.4.1
-----
- Add error message to resource when captcha code expired.
2016-04-06 07:50:30 +00:00
0.4.0
-----
- Add `config.colorize` option, to allow use black text theme.
2016-03-15 07:42:36 +00:00
0.3.3
-----
- Add `config.expires_in` to allow change captcha code expire time.
2016-02-28 11:03:26 +00:00
0.3.2.1
-------
- Add Windows development env support.
2015-12-24 04:12:07 +00:00
0.3.2
-----
- Make better render positions;
- Trim blank space.
2015-11-05 10:27:42 +00:00
0.3.1
2015-11-05 10:20:41 +00:00
-----
- 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;
2015-11-02 10:09:16 +00:00
0.2.5
2015-11-02 08:59:42 +00:00
-----
- Add `session[:_rucaptcha]` expire time, for protect Rails CookieSession Replay Attack.
2015-11-02 10:09:16 +00:00
- Captcha input field disable autocomplete, and set field type as `email` for shown correct keyboard on mobile view.
2015-11-02 08:59:42 +00:00
2015-11-02 06:11:28 +00:00
0.2.3
-----
- It will raise error when call ImageMagick failed.
2015-11-01 11:25:32 +00:00
0.2.2
-----
- Added locale for pt-BR language; @ramirovjr
2015-11-01 02:04:10 +00:00
0.2.1
-----
- Fix issue when cache dir not exist.
2015-10-30 03:32:02 +00:00
0.2.0
-----
- Added file cache, can setup how many images you want generate by `config.cache_limit` ,
RuCaptcha will use cache for next requests.
When you restart Rails processes it will generate new again and clean the old caches.
2015-10-28 01:58:38 +00:00
0.1.4
-----
- Fix `verify_rucaptcha?` logic in somecase.
- Locales fixed.
2015-10-26 11:37:31 +00:00
0.1.3
-----
- `zh-TW` translate file fixed.
2015-10-26 12:53:30 +00:00
- Use xxx_url to fix bad captcha URL for `config.action_controller.asset_host` enabled case.
2015-10-26 11:37:31 +00:00
2015-10-26 09:40:59 +00:00
0.1.2
-----
- 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.
0.1.1
2015-10-26 07:50:54 +00:00
-----
- Include default validation I18n messages (en, zh-CN, zh-TW).
2015-10-26 06:11:48 +00:00
0.1.0
2015-10-26 06:09:39 +00:00
-----
- First release.