Masato Oba
975bb8490d
Fix typo 'an user' to 'a user'
2017-10-29 12:31:06 +00:00
Masato Oba
6ceb649b10
Fix small typo in authenticatable_test.rb
2017-10-29 12:10:39 +00:00
Rafael França
7a7a099573
Merge pull request #4677 from bananaappletw/master
...
Remove TODO when Rails 5.0.3 is released
2017-10-23 15:07:09 -04:00
Rafael França
215d034b86
Merge pull request #4645 from swamp09/ci_against
...
CI against Ruby 2.2.8, 2.3.5, and 2.4.2
2017-10-20 13:34:04 -04:00
Vasiliy Ermolovich
3323197d68
Merge pull request #4668 from pat/mri2.5.0-fix
...
Fix syntax for MRI 2.5.0-preview1.
2017-10-14 16:25:23 +03:00
Pat Allan
1009096172
Fix syntax for MRI 2.5.0-preview1.
2017-10-13 10:38:43 +11:00
bananaappletw
197ac56520
Remove TODO when Rails 5.0.3 is released
2017-10-07 02:40:32 -07:00
swamp09
92b94bc84d
CI against Ruby 2.2.8, 2.3.5, and 2.4.2
2017-09-16 23:40:57 +09:00
Rafael França
71fc5b351a
Merge pull request #4565 from pat/frozen-string-literals
...
Ensure string literals can be frozen.
2017-06-21 14:16:43 -04:00
Pat Allan
4e9860d268
Ensure string literals can be frozen.
2017-06-21 09:22:49 +10:00
Rafael França
ad8547dede
Merge pull request #4381 from slbug/master
...
remove warnings about default value with new thor
2017-06-13 15:51:20 -04:00
Lucas Mazza
079ed3b6f8
Update Changelog [ci skip]
v4.3.0
2017-05-14 21:10:36 -03:00
Rafael Mendonça França
5e014ab607
Exclude Rails 4.1 in Ruby 2.4.1
2017-05-11 19:23:05 -07:00
Rafael Mendonça França
0f6014b84d
Make sure we are using a version of minitest that is not broken with
...
Rails.
2017-05-11 19:06:29 -07:00
Rafael Mendonça França
b5629ebf1d
Test with Rails 5.0
2017-05-11 19:00:04 -07:00
Lucas Mazza
ee01bac8b0
Update CHANGELOG.
2017-05-10 17:18:00 -03:00
Lucas Mazza
3e1c9e343c
Add Devise.activerecord51?
...
Active Record changed it's public API, so we should check against its
version instead of Rails as it is possible to use Rails 5.1 with Mongoid,
which still has the older Dirty API.
However, this patch does not fixes a scenario where an app has both
Active Record and Mongoid loaded. It should be fixed by either normalizing
the Mongoid/ActiveRecord API or replacing the conditional method
definitions with a shim layer that abstracts this away.
2017-05-10 17:09:38 -03:00
Lucas Mazza
399774af69
Prepare for 4.3.0 release.
2017-05-10 16:50:40 -03:00
Rafael França
a62faa2c82
Merge pull request #4528 from mikevic/master
...
Update copyright licence year to 2017
2017-05-05 14:10:44 -07:00
Michael Kevin Victor
059dfc8cce
Update copyright licence year to 2017
2017-05-05 18:28:30 +05:30
Rafael França
cc6a582408
Merge pull request #4523 from trammel/rails-5.1-render-text
...
Rails 5.1 fix: Replaced render :text 404 with :plain in omniauth
2017-05-03 10:49:24 -07:00
Jonathon Padfield
ce08d7abb8
Replaced render :text 404 with :plain in omniauth
...
Rails 5.1 has deprecated render :text, and HEAD requests on the
omniauth callbacks passthru method is causing errors because the render
:text is non-existant, and there's no template to fall back to.
Replacing :text with :plain, adds a content-type type of text/plain and
also returns the previous message.
render :plain was supported back in rails 4.1.0
http://api.rubyonrails.org/v4.1.0/classes/ActionView/Helpers/RenderingHelper.html#method-i-render
2017-05-03 13:31:52 +10:00
Rafael França
83213569dd
Merge pull request #4516 from danschultzer/separate-devise-test
...
Separate Devise test methods from Devise
2017-04-29 23:18:58 -07:00
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