Lucas Mazza
245b1f9de0
Update .travis.yml.
v4.2.0
2016-07-01 14:22:38 -03:00
Lucas Mazza
e05523f767
Prepare for 4.2.0 release.
2016-07-01 14:15:14 -03:00
Lucas Mazza
2c8727ad42
Test against Rails 5 by default.
2016-07-01 14:13:20 -03:00
Lucas Mazza
b1508e93e1
Properly check for authentication_keys or encrypted_password changes when clearing the reset password token
...
This change is required to better support scenarios where records don't have
an `encrypted_password` column and the password is managed elsewhere (LDAP, for instance).
The move from `email_changed?` to loop through the `authentication_keys` is also
useful to support edge cases where users can authenticate with different attributes
besides their email.
Closes #3624 .
2016-07-01 14:08:38 -03:00
Lucas Mazza
5b57aa0b85
Merge pull request #4175 from AnnaGulstine/master
...
Added clarification to README regarding Devise setup
2016-07-01 13:59:22 -03:00
AnnaGulstine
768656deb9
Added clarification to README regarding Devise setup
2016-06-30 21:15:32 -05:00
Lucas Mazza
fe10a5b17a
Fix test typo and expand test cases for Rememberable#rememberable_value.
...
Closes #4157
2016-06-27 17:08:52 -03:00
Lucas Mazza
22784cb55a
Remove ActiveRecord::Migration inheritance deprecation warning.
2016-06-27 16:50:26 -03:00
Lucas Mazza
656720583f
Remove assert_nothing_raised deprecated usage.
2016-06-27 16:48:12 -03:00
Lucas Mazza
a20cca6873
Fix IllegalStateError for controller tests with custom strategies.
2016-06-27 16:43:57 -03:00
Lucas Mazza
8d78dc072f
Disable Travis CI fast_finish.
...
Fast finish triggers multiple Slack notification and floods our OSS slack room,
and it is a known bug for a while.
Reference: travis-ci/travis-ci/issues/1696
2016-06-27 15:17:20 -03:00
Lucas Mazza
b2a2e85412
Update dependencies.
2016-06-27 15:13:47 -03:00
Lucas Mazza
c2c74b0a39
Use ActiveSupport.on_load to hook into Active Record and Mongoid.
2016-06-27 14:55:22 -03:00
Lucas Mazza
92bb772d36
Update CHANGELOG.
2016-06-27 14:55:22 -03:00
Lucas Mazza
783234c72a
Merge pull request #4153 from krishandley/fix_env_deprecation_warning
...
Fix Rails 5 env deprecation warning
2016-06-27 14:44:49 -03:00
Lucas Mazza
2671f19cb1
Merge pull request #4169 from hamadata/fix_test_helper_for_rails5_rc2
...
Test cases (not signed-in 302 redirection) failed on Rails5 RC2
2016-06-27 14:35:12 -03:00
Lucas Mazza
72ea8392a8
Merge pull request #4168 from bgreg/patch-1
...
Update README.md
2016-06-27 14:30:03 -03:00
HAMADA Takayuki
bb44d422d6
not signed_in 302 redirect failed on Rails5 RC2
2016-06-26 06:02:58 +09:00
Greg
5d304ae63a
Update README.md
...
Explain the `MODEL` replacement before the command is shown.
2016-06-25 11:36:11 -07:00
Kris Handley
0c991af985
Fix Rails 5 env deprecation warning
...
Full warning ```DEPRECATION WARNING: env is deprecated and will be removed from Rails 5.1```
2016-06-18 14:20:08 +01:00
Arne Zeising
ac702843dd
Change behavior to skip reconfirmation after creating a record with #save called in callback ( #4125 )
...
https://github.com/plataformatec/devise/pull/4125
2016-06-13 17:57:24 -03:00
Kostas Diamantis
4015488b90
Add missing support of Rails.application.config.action_controller.relative_url_root ( #4146 )
...
* Add Devise::FailureApp#{relative_url_root, relative_url_root?}
Also support missing action_controller.relative_url_root configuration.
* Dry assignment of relative_url_root
Also this commit adds support for
Rails.application.config.action_controller.relative_url_root
2016-06-13 15:46:43 -03:00
Lucas Mazza
cccc137714
Merge pull request #4139 from shinyaK14/public_file_server
...
Add public_file_server setting for Rails5
2016-06-13 11:34:04 -03:00
Lucas Mazza
3fa0afad67
Merge pull request #4148 from jamescook/james/remove-session-inspect
...
Remove unnecessary 'warden.raw_session.inspect'
2016-06-13 11:33:33 -03:00
Lucas Mazza
29142418ba
Merge pull request #4140 from tkrajcar/add-inspect-override
...
Implement Devise::Models::Authenticatable#inspect, re-using #serializable_hash
2016-06-13 11:24:27 -03:00
James Cook
c3b54dc0c2
Remove unnecessary 'warden.raw_session.inspect'
2016-06-10 20:14:11 -05:00
Tim Krajcar
a0232cf763
Implement Devise::Models::Authenticatable#inspect, re-using #serializable_hash.
2016-06-03 15:54:58 -07:00
Shinya Kitamura
57980ba82a
Add public_file_server setting for Rails5
2016-06-01 14:44:35 +08:00
Carlos Antonio da Silva
bcdd54cc5e
Merge pull request #4129 from laserlemon/patch-1
...
Self-love isn't entirely appropriate in this setting
2016-05-26 11:47:17 -03:00
Steve Richert
83d5d3142d
Self-love isn't entirely appropriate in this setting
2016-05-26 09:25:44 -04:00
Stefan Botzenhart
cbbe932ee2
Fix authenticated engine routes ( #4081 )
...
Fix infinite loop in authenticated engine routes in Rails 5
https://github.com/plataformatec/devise/issues/3705
2016-05-21 11:55:56 -03:00
Lucas Mazza
593ae41f9d
Update existing Gemfiles.
2016-05-18 13:59:06 -03:00
Lucas Mazza
e9770fd434
Update Rails 5 Gemfile.
2016-05-18 13:50:07 -03:00
Lucas Mazza
53f6785e11
Fix Rails version reference on README.md [ci skip]
2016-05-18 13:42:31 -03:00
Lucas Mazza
1b48fd0abe
Fix syntax highlight on README [ci skip]
2016-05-18 09:39:04 -03:00
Lucas Mazza
b835059baf
Merge pull request #4118 from kamipo/patch-2
...
Fix release date in CHANGELOG.md
2016-05-17 10:05:48 -03:00
Ryuta Kamizono
f7359d6d96
Fix release date in CHANGELOG.md
2016-05-17 22:00:22 +09:00
Lucas Mazza
4924dd68ae
Raise a more informative error when request.env['warden'] is nil.
...
Previously, a `NoMethodError` exception would be raised from here when the
middleware stack isn't present and Warden wasn't injected as expected
(like in a controller test). To foolproof ourselves, we now raise a more
informative error when `request.env['warden']` is `nil` so developers can
figure this out on their own instead of reaching to the issue tracker for
guidance.
2016-05-16 15:23:25 -03:00
Lucas Mazza
02ed166f51
Update CHANGELOG [ci skip]
2016-05-16 14:45:30 -03:00
Lucas Mazza
9a11586a72
Merge pull request #4071 from plataformatec/lm-test-helpers
...
Introduce `IntegrationHelpers` and deprecate `Devise::TestHelpers`.
2016-05-16 14:39:22 -03:00
Lucas Mazza
b5a5bae09c
Tidy up ControllerHelpers implementation a bit.
2016-05-15 19:55:24 -03:00
Lucas Mazza
e757543323
Revisit docs on test helpers on README.md
2016-05-15 19:47:42 -03:00
Lucas Mazza
7b000390a0
Add Devise::Test::IntegrationHelpers.
2016-05-15 19:36:41 -03:00
Lucas Mazza
3f3ec236bb
Move Devise::TestHelpers to Devise::Test::ControllerHelpers.
2016-05-15 19:36:41 -03:00
Lucas Mazza
22dd3b489d
Merge pull request #4115 from wbotelhos/patch-1
...
removes bugfix, from unreleased, already shipped
2016-05-15 19:35:35 -03:00
Lucas Mazza
0d45142845
CONTRIBUTING.md edits
...
* Wrap lines to around ~80 characters.
* Suggest reporting issues with fresh apps that replicate the issue.
* Mention our policy regarding internationalizing Devise views.
2016-05-15 19:30:14 -03:00
Lucas Mazza
62d6b5afb7
Mention the bug report test case on CONTRIBUTING.md.
2016-05-15 19:24:59 -03:00
Lucas Mazza
934fe45cfe
Drop _master suffix as the bug template doesnt use Rails/Devise master.
2016-05-15 19:21:50 -03:00
Lucas Mazza
675ae4d802
Lock devise version on the bug report template.
2016-05-15 19:20:32 -03:00
Lucas Mazza
48251f236f
Use single quotes consistently through the integration test example.
2016-05-15 19:19:27 -03:00