Ulisses Almeida
12029092b8
Release 4.0.3
v4.0.3
2016-05-15 12:07:40 -03:00
Ralin Chimev
a96b920277
Fix overwriting the remember_token when a valid one already exists ( #4101 )
...
The remember_token should not get overwritten when a user is
signing in and a valid token already exists.
Fixes #3950 .
2016-05-15 12:05:49 -03:00
Ulisses Almeida
b8e496a33d
Release 4.0.2
v4.0.2
2016-05-02 23:41:42 -03:00
Justin Bull
0813debb0b
Extract list of both strategies into class constant
2016-05-02 23:38:51 -03:00
Justin Bull
d7d9b9e258
🪲 Fix strategy checking in #unlock_strategy_enabled? for :none and undefined strategies
...
A bug that if the unlock strategy was set to `:both`, it would return true for all & any inputs
See #4072
2016-05-02 23:38:39 -03:00
Ulisses Almeida
4da955d9cd
Release 4.0.1
v4.0.1
2016-04-25 17:06:05 -03:00
Ulisses Almeida
bff701758a
Merge pull request #4043 from lmduc/master
...
Send confirmation instructions when a user updates the email address from nil
2016-04-25 16:42:55 -03:00
Ulisses Almeida
90acc6fc23
Change the check for permit! method
...
We are using the `permit!` method, we should check
for `permit!`.
2016-04-22 20:36:55 -03:00
Ulisses Almeida
48220f087b
Merge pull request #4050 from cadejscroggins/master
...
Make sure attribute_will_change! method exists before calling it
2016-04-20 23:10:25 -03:00
Cade Scroggins
26b17abb01
Remove attribute_will_change! method as it is unnecessary
2016-04-20 20:23:03 -05:00
Lucas Mazza
22468f3756
Merge pull request #3855 from joshsoftware/mongoid_dep
...
Upgrade Mongoid to 5.0
2016-04-19 10:14:26 -03:00
Yogesh Khater
9696d83e7d
Upgrade Mongoid to 5.0
2016-04-19 17:18:40 +05:30
Lucas Mazza
940ca4f2b8
Release 4.0.0. version.
v4.0.0
2016-04-18 11:52:49 -03:00
Ulisses Almeida
f38250245f
📝 Update CHANGELOG
2016-04-18 11:46:29 -03:00
Ulisses Almeida
4c7c27f73e
Merge pull request #4044 from plataformatec/ua-remember-me
...
Remove deprecated argument of `remember_me!`
2016-04-18 11:45:46 -03:00
Ulisses Almeida
7a235849cf
Remove deprecated argument of remember_me!
2016-04-18 11:14:01 -03:00
Ulisses Almeida
846ba80480
Merge pull request #4039 from plataformatec/ua-fix-remember-me
...
Fix extented remember me
2016-04-18 11:07:02 -03:00
Ulisses Almeida
93d98b6450
Merge pull request #4036 from plataformatec/ua-defaults-review
...
Add warning about default config change
2016-04-18 11:06:32 -03:00
MatBi
7d10019d2a
Should check email present
2016-04-18 19:52:31 +08:00
MatBi
274f8f2f87
Should send confirmation instructions after changing email from nil
2016-04-18 19:35:56 +08:00
MatBi
3360b10c2f
Skip reconfirmation in case that a record is created with #save called in callback
2016-04-18 19:32:54 +08:00
MatBi
6f9561e64f
Refactor a test
2016-04-18 18:30:20 +08:00
MatBi
016b216d95
Change the name of variables to keep the tests consistent
2016-04-18 18:15:32 +08:00
Ulisses Almeida
164134c78a
Add warning about default config change
...
This change add warnings for these configurations:
* strip_whitespace_keys - It is already explicit on config template, now
it will be the same of the template.
* email_regexp - In the new version this regexp will be more
permissive.
* reconfirmable - It is already explicit on config template, now
it will be the same of the template.
* skip_session_storage - It is already explicit on config template, now
it will be the same of the template.
* sign_out_via - It is already explicit on config template, now
it will be the same of the template.
These ones is important to change, since the configuration says current
explicit value are the default. It can lead to misunderstanging if users
remove the explicit configuration.
It also updates the template explicit values:
* Warns the `config.mailer_sender` is nil by default
* Update `config.password_length` to use the current default
* Make the e-mail configuration explicit
2016-04-15 20:31:54 -03:00
Ulisses Almeida
4a4b5ba196
Fix remember me always extending the period
...
Now the config `extend_remember_period` is used to:
`true` - Every time the user authentication is validated, the
cookie expiration is updated.
`false` - Does not updates the cookie expiration.
Closes #3994
2016-04-15 20:28:46 -03:00
Lucas Mazza
c87d8fda82
Merge pull request #4041 from plataformatec/ua-fix-rails5-build
...
Fix Rails 5 build
2016-04-15 17:50:04 -03:00
Ulisses Almeida
48af3e8249
Fix Rails 5 build
...
With this [PR](https://github.com/rails/activemodel-serializers-xml/pull/8 )
of activemodel-serializers bundle will require it by default.
2016-04-15 16:57:35 -03:00
Ulisses Almeida
57d150e535
Merge pull request #4031 from tomkadwill/readme_changes
...
Update README
2016-04-12 11:26:47 -03:00
Carlos Antonio da Silva
d9f97fc9a4
Merge pull request #4035 from bogdanvlviv/deprecated
...
fix method name for File
2016-04-12 07:40:29 -03:00
Tom Kadwill
9cdf7860d5
Update README
2016-04-12 09:22:16 +01:00
bogdanvlviv
0f11c0f6b3
fix method name for File
2016-04-12 09:03:54 +03:00
Ulisses Almeida
9914ff32ec
Merge pull request #4004 from bogdanvlviv/patch-4
...
removed deprecated private method Devise::Controllers::Helpers#expire_session_data_after_sign_in!
2016-04-11 16:30:36 -03:00
Lucas Mazza
728bf0c956
Merge pull request #4033 from codeodor/patch-2
...
Note change to Rails 5 that affects Devise example
2016-04-10 18:49:30 -03:00
Sammy Larbi
c520e93733
Note change to Rails 5 that affects Devise example
...
[A change in Rails 5](3979403781 ) left me hunting for hours on why I could no longer log in to my application. To save others the trouble, I thought it would be nice to note it in the README.
2016-04-09 17:55:20 -05:00
Ulisses Almeida
b397d33246
Merge pull request #4005 from bogdanvlviv/dependencies
...
change rails version from 4.2.5 to 4.2.6
2016-04-08 17:04:02 -03:00
Bogdan
aa25e2080e
removed deprecated private method Devise::Controllers::Helpers#expire_session_data_after_sign_in!
2016-03-30 18:10:16 +03:00
Carlos Antonio da Silva
2b3799e6ce
Merge pull request #4010 from bogdanvlviv/patch-5
...
Update .travis.yml
2016-03-26 09:22:33 -03:00
Bogdan
2af3a83ef4
Update .travis.yml
2016-03-26 03:48:33 +02:00
bogdanvlviv
c3c2438c9c
change rails version from 4.2.5 to 4.2.6
2016-03-23 21:21:58 +02:00
Lucas Mazza
69bee06cee
Merge pull request #3993 from totothink/master
...
unified use pending_reconfirmation? method
2016-03-12 14:34:21 -03:00
aaron
c70eb0a5a8
unified use pending_reconfirmation? method
2016-03-12 07:10:20 +08:00
Lucas Mazza
db901399f2
Fix Symbol syntax no deprecation message.
2016-03-09 15:59:00 -03:00
Lucas Mazza
d0e5a1d252
Update CHANGELOG [ci skip]
2016-03-09 11:34:14 -03:00
Lucas Mazza
ccda4692b4
Add a bin/test executable to use Rails 5 Minitest report.
v4.0.0.rc2
2016-03-09 11:16:21 -03:00
Lucas Mazza
e6563bc4cb
Update Gemfile's dependencies.
2016-03-09 11:13:04 -03:00
Lucas Mazza
1c2328bb90
Prep for 4.0.0.rc2 release.
2016-03-09 11:01:50 -03:00
Lucas Mazza
9ec126bd8b
Update CHANGELOG [ci skip]
2016-03-09 11:00:04 -03:00
Lucas Mazza
b3cc3db49e
Merge pull request #3991 from plataformatec/lm-deprecate-old-omniauth-helpers
...
Deprecate legacy OmniAuth URL helpers.
2016-03-09 10:55:33 -03:00
Lucas Mazza
5b1182460c
Deprecate legacy OmniAuth URL helpers.
2016-03-09 10:36:39 -03:00
Lucas Mazza
76f76249e7
Merge pull request #3985 from plataformatec/lm-omniauth-route-helpers
...
Do not use the dynamic `:action` segment on Omniauth routes.
2016-03-07 11:50:35 -03:00