Dan Schultzer
be2e17841e
Separate Devise test methods from Devise
2017-04-29 10:24:22 -07:00
Rafael Mendonça França
0591d92f53
Move the version check to the lib folder
...
Closes #4514 .
Fixes #4513 .
2017-04-29 10:12:51 -07:00
Rafael Mendonça França
244cc60d35
Remove deprecation on email_was
2017-04-28 16:07:27 -07:00
Rafael Mendonça França
94c6d5f5cc
Remove deprecation on _changed? methods
2017-04-28 16:05:39 -07:00
Rafael Mendonça França
0fe308e7a7
Remove deprecation in the email_was method
2017-04-28 15:33:55 -07:00
Rafael Mendonça França
801cf00146
Test by default with Rails 5.1
2017-04-28 15:33:43 -07:00
Rafael França
83002017ea
Merge pull request #4504 from schmartmann/master
...
update rake reference to rails
2017-04-28 15:17:26 -07:00
Rafael França
0263b8dbfc
Merge pull request #4503 from xemexpress/master
...
Update copyright year to 2017
2017-04-28 15:17:08 -07:00
Rafael França
4beeca46c4
Merge pull request #4512 from jcoyne/rails-5.1
...
Rails 5.1
2017-04-28 15:16:35 -07:00
Matthew Rudy Jacobs
7c4e8c8d17
Rails 5.1 requires ActionController::TestRequest to have a controller class
...
Pass it in as an anonymous class
2017-04-28 10:51:27 -05:00
Matthew Rudy Jacobs
36613b09d7
Allow Rails 5.1
2017-04-28 10:51:27 -05:00
Stefan Hartmann
31774452e8
update rake reference to rails
2017-04-25 16:19:20 -04:00
Jason Luo
244c22a6a2
Update copyright year to 2017
2017-04-07 22:36:22 +08:00
Carlos Antonio da Silva
7d3d6fb3f0
Release 4.2.1
v4.2.1
2017-03-15 12:33:23 -03:00
Carlos Antonio da Silva
ce071502ee
Display unconfirmed email when using reconfirmable and email changed notification
...
Otherwise we'd be mistakenly displaying the original email in the
message (which is the same we're sending the message to).
Also tweak the messaging a bit in this case, to show that the email "is
being changed" (the change hasn't taken effect yet).
Related to #4455 .
2017-03-15 11:47:47 -03:00
Carlos Antonio da Silva
32f63b2fb9
Bundle update
2017-03-15 10:31:00 -03:00
Carlos Antonio da Silva
bacd9d244c
Ensure both times are UTC when validating the confirmation period
...
The fact that we're setting them value as UTC doesn't necessarily mean
we're gonna get it back as UTC, so ensure both are converted to compare.
2017-03-15 10:22:01 -03:00
Carlos Antonio da Silva
a665aada25
Merge pull request #4461 from jjuliano/patch-1
...
Confirmation link validity is wrong in different time zone
2017-03-15 10:17:25 -03:00
Carlos Antonio da Silva
0c5d78e31c
Merge pull request #4456 from victor-am/hotfix_absent_new_password_values
...
Fix absent password params from Password#update
Closes #4397 .
2017-03-13 19:41:46 -03:00
victor-am
60dc4be8c1
Fix absent password params from Password#update
...
Related to issue #4397
This hotfix adds a string coercion to new_password paramenters when
trying to reset an user's password.
Before that, when a user submitted a password recovery form with the
new_password and new_password_confirmation params as nil, Devise would
sign in the user with a success notice but without actually changing the
password.
2017-03-10 14:29:25 -03:00
Carlos Antonio da Silva
f7b6d78606
Merge pull request #4455 from plataformatec/feature/confirmation-notification
...
Notify original email when it's changed
2017-03-10 09:34:06 -03:00
Carlos Antonio da Silva
c605758800
Add some basic tests for the email changed notification
2017-03-10 09:10:57 -03:00
Carlos Antonio da Silva
2135ae5e5e
Change email_change => email_changed notification
...
This better indicates what the setting is for, and when it's supposed to
be triggered.
We might eventually deprecate the existing password_change on in favor
of password_changed.
2017-03-10 08:56:34 -03:00
Joel Bryan Juliano
a3d31778c2
Confirmation link validity is wrong in different time zone
...
Due to time zone difference, the confirmation link in email is invalid, this can be solved by using UTC for Time.now for confirmation_period_expired?
2017-03-08 19:36:41 +08:00
Carlos Antonio da Silva
d7f6855ad8
Add some docs to the send email/password notification settings [ci skip]
2017-03-06 17:33:34 -03:00
Carlos Antonio da Silva
0a9e2c961f
Add changelog entry for new email change notification feature [ci skip]
2017-03-06 17:20:55 -03:00
Carlos Antonio da Silva
8387cc9474
When using reconfirmable, notify the original email about the change right away
...
Do not wait for the email change to be confirmed by the "unconfirmed
email" with reconfirmable: notify the original email right away.
2017-03-06 17:07:55 -03:00
Carlos Antonio da Silva
70eb18d766
Notify original user email when the email changes
...
This adds a new setting `send_email_change_notification` which will
send an email to the original user email when their email is updated to
a new one.
It doesn't take into account the reconfirmable setting yet, it will be
added next, so that if confirmable is included and reconfirmable is
being used, the email will be triggered when the email change is
requested, not when confirmed (e.g when we store the email in
`unconfirmed_email`, not when it's later copied to `email` when that is
confirmed).
2017-03-06 17:04:26 -03:00
Carlos Antonio da Silva
bf4641c8cf
Skip running tests on Ruby 2.4 / head and Rails 4.1
2017-03-02 09:59:05 -03:00
Carlos Antonio da Silva
c76f0e59b7
Use assert_nil to prevent minitest warnings
2017-03-02 08:12:46 -03:00
Carlos Antonio da Silva
fa2d333bde
Update Gemfile dependencies
2017-03-02 08:12:36 -03:00
Carlos Antonio da Silva
15a50dc8d7
Test against latest ruby versions
2017-03-02 08:11:08 -03:00
Carlos Antonio da Silva
a47928090a
Merge pull request #4445 from gogovan/fix-strategy-class-tests
...
Fix Omniauth config tests
2017-03-02 08:10:03 -03:00
Matthew Rudy Jacobs
6fc6a28e3b
Avoid the assert_equal nil deprecation warning
2017-02-26 22:05:15 +00:00
Matthew Rudy Jacobs
6bc2db4567
Fix Omniauth config tests
2017-02-26 21:52:51 +00:00
George Guimarães
5abdb65e56
Deprecate mailing list
2017-02-04 18:57:47 -02:00
Vasiliy Ermolovich
25a3eeb30a
Merge pull request #4403 from bakongo/fix_name_of_module_in_rdoc
...
fix name of the module in the docs
2017-01-20 23:30:11 +03:00
Daniel Wiesmann
33d5335f53
fix name of the module in the docs
2017-01-19 13:03:10 +01:00
Vasiliy Ermolovich
8a4d610c58
Merge pull request #4361 from lmatiolis/fix-authenticatable-name-on-exception
...
Fix authenticatable_salt name on exception text.
2016-11-27 23:30:28 +03:00
lmatiolis
3d2a908f64
Fix authenticatable_salt name on exception text.
2016-11-23 17:25:44 -02:00
Lucas Mazza
d2ea28b3db
Merge pull request #4343 from ethirajsrinivasan/set_minimum_password_length_for_registration_update_path
...
set minimum password length after user registration update
2016-10-31 13:50:47 -02:00
ethiraj
7a44233fb9
set minimum password length after user registration update
2016-10-27 08:33:35 +05:30
Hiroo Takizawa
a9bb7d0318
Update README.md
...
change "bundle command" to the writing of "command line"
2016-10-19 22:54:41 +03:00
José Valim
ebe65b516b
Merge pull request #4318 from kami-zh/improve-readme
...
Update README - Decrease stretches to 12
2016-10-05 18:29:42 +02:00
kami
ebf79be163
Update README - Decrease stretches to 12
2016-10-06 01:05:39 +09:00
Carlos Antonio da Silva
88724e10ad
Merge pull request #4292 from rousisk/rousisk-readme-var-to-symbol
...
convert variable to symbol in readme
2016-09-13 15:41:50 -03:00
Konstantinos Rousis
30405943b5
convert variable to symbol in readme
2016-09-13 20:39:44 +02:00
Lucas Mazza
9c0dccfec1
Merge pull request #4284 from znz/strip_heredoc
...
Use `strip_heredoc` for deprecation warnings
2016-09-04 12:49:10 -03:00
Kazuhiro NISHIYAMA
9fe7040db9
Use strip_heredoc for deprecation warnings
2016-09-04 19:15:09 +09:00
Lucas Mazza
4c3838bb75
Merge pull request #4255 from olivierlacan/patch-2
...
Fix typos in failure_app comments
2016-08-15 19:05:39 -03:00