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
Olivier Lacan
48aa20897f
Fix typos in failure_app comments
2016-08-15 15:51:11 -04:00
Vasiliy Ermolovich
2a5f8b6688
Merge pull request #4250 from marcgg/patch-1
...
Fix a minor typo in specs
2016-08-11 11:21:31 +03:00
Marc G Gauthier
8ee01fc10b
Fix a minor typo in specs
...
There is nothing much to this one, it's in the test description so it shouldn't impact a thing and will make this line more greppable.
2016-08-11 09:56:45 +02:00
Carlos Antonio da Silva
d7985e7ddb
Merge pull request #4247 from rthbound/updates-omniauth-url
...
Updates url for omniauth to omniauth/omniauth repo
2016-08-10 14:56:53 -03:00
Ryan T. Hosford
ae8b0914a9
Updates url for omniauth to omniauth/omniauth repo
2016-08-10 09:57:14 -05:00
Lucas Mazza
6720f93d2c
Remove deprecated omniauth path from store_location docs [ci skip]
2016-07-26 10:10:49 -03:00
Lucas Mazza
13d4fd4088
Merge pull request #4193 from 3wille/master
...
add block passthrough to devise_mail
2016-07-22 15:14:51 -03:00
Vasiliy Ermolovich
bbd614a725
Merge pull request #4206 from nickharvey27/fix-typo
...
Fix small typo
2016-07-19 09:50:06 +03:00
nickharvey27
eb0540e028
fix small typo
2016-07-18 23:46:51 -07:00
Frederik Wille
08374f1d33
fix test
2016-07-18 09:24:46 +02:00
Frederik Wille
a5f8cd9d32
simplify test
2016-07-18 09:00:32 +02:00
Lucas Mazza
54e7a3b9d9
Devise::Mailer#scope_name and Devise::Mailer#resource shouldn't be public.
2016-07-15 16:02:43 -03:00
Carlos Antonio da Silva
e761a8df2b
Merge pull request #4200 from amingilani/master
...
[Minor] Fix indentation in generators
2016-07-15 08:17:07 -03:00