Lucas Mazza
aab7610808
Release 4.0.0.rc1.
v4.0.0.rc1
2016-02-01 09:20:42 -02:00
Lucas Mazza
8edee143e8
Prep for 4.0.0.rc1 release.
2016-01-31 17:05:16 -02:00
Lucas Mazza
49cf804c62
Merge pull request #3859 from twalpole/unsafe_h
...
Explicitly permit rather than using to_unsafe_h
2016-01-31 16:56:10 -02:00
Lucas Mazza
8ab738307e
Merge pull request #3927 from plataformatec/lm-cookie-fix
...
Attempt to coerce the `generated_at` cookie to a `Time` object.
2016-01-31 16:23:31 -02:00
Carlos Antonio da Silva
9d9adc73cd
Merge pull request #3928 from gfvcastro/remove-optional-parenthesis
...
Remove optional parenthesis.
2016-01-30 18:08:50 -02:00
Gustavo Villa
91f93b38ee
Remove optional parenthesis.
2016-01-30 14:20:32 -03:00
Lucas Mazza
7bff3be869
Attempt to coerce the generated_at cookie to a Time object.
...
Time objects aren't properly coerced back when using the JSON cookie serialization,
so we need to do it ourselves.
To avoid any new JSON serialization issues, we now store the `generated_at` as
an String with the timestamp seconds + miliseconds in the cookie but still the
previous JSON encoded format.
Thanks to @boblail at https://github.com/plataformatec/devise/pull/3917 for the
initial patch.
2016-01-29 18:04:16 -02:00
Lucas Mazza
475599d4ab
Merge pull request #3926 from schneems/schneems/fix-version
...
[close 3925] Fix version for older Bundler compat
2016-01-29 14:57:42 -02:00
schneems
7d81731d4f
[close 3925] Fix version for older Bundler compat
2016-01-29 10:56:13 -06:00
Lucas Mazza
ffe9d6d406
Fix Symbol syntax on ParameterSanitizer deprecation message.
2016-01-28 11:10:15 -02:00
Lucas Mazza
cf7c9be6b4
Merge pull request #3919 from twalpole/gemfiles
...
switch to oauth2 home repository
2016-01-27 15:58:57 -02:00
Thomas Walpole
3e80c9a80f
switch to oauth2 home repository
2016-01-27 09:03:01 -08:00
Lucas Mazza
c6cf035037
Merge pull request #3918 from plataformatec/lm-serialized_in_cookie
...
Refactor `Rememberable#serialized_in_cookie?` to split class/instance API
2016-01-27 14:44:12 -02:00
Lucas Mazza
6008885152
Refactor Rememberable.serialized_in_cookie? to split class/instance API.
...
We now expose a `remember_me?` instance method as internal API for the controller
layer check if the remember me cookie is still valid.
2016-01-27 14:11:26 -02:00
Lucas Mazza
0c7f8764c9
Bump Gemfile dependencies.
2016-01-27 13:52:37 -02:00
José Valim
d1d8c2f03d
Ensure generated_at is a Time
...
Signed-off-by: José Valim <jose.valim@plataformatec.com.br >
2016-01-25 11:17:18 +01:00
José Valim
b97b3e6e3b
Do not timeout if remember me is enabled
...
Signed-off-by: José Valim <jose.valim@plataformatec.com.br >
2016-01-22 16:19:10 +01:00
Lucas Mazza
cc02d06c58
Remove Rails 3.2 compatibility fix.
2016-01-18 13:59:27 -02:00
Lucas Mazza
b91bbb1590
Tweak ParameterSanitizer exception/deprecation messages.
2016-01-18 13:51:51 -02:00
José Valim
52b1ca2d80
Bump to dev version
2016-01-18 15:22:00 +01:00
José Valim
4ec7dc0f27
Store creation timestamp on remember cookies
...
Signed-off-by: José Valim <jose.valim@plataformatec.com.br >
2016-01-18 15:17:25 +01:00
Lucas Mazza
0a4da78b22
Add a notice to README regarding the sanitizer API change.
2016-01-17 12:53:31 -02:00
José Valim
aa3f64976f
Merge pull request #3898 from kulte/master
...
Consistent formatting of file arguments to autoload
2016-01-13 23:10:38 +01:00
Zachary Friedman
260fa1a2e2
It would appear that consistency with the indentation used in the top-level Devise module would dictate this formatting change
2016-01-13 14:03:21 -08:00
José Valim
a321282ccc
Merge pull request #3893 from retrospective5/updated-readme
...
Add link to devise_for documentation
2016-01-07 22:37:30 +01:00
araa
6f91baf99c
Add link to devise_for documentation
2016-01-07 14:37:02 -05:00
José Valim
1a7f2195a2
Merge pull request #3891 from obduk/parent_mailer
...
Add parent_mailer to lib/generators/templates/devise.rb
2016-01-06 14:08:26 +01:00
Owen Davies
e5797001a7
Add parent_mailer to lib/generators/templates/devise.rb
2016-01-06 13:00:54 +00:00
Lucas Mazza
f0b937c538
Test against Ruby 2.3.0.
2016-01-05 14:48:10 -02:00
Carlos Antonio da Silva
9639bf8cc1
Merge pull request #3883 from Atul9/master
...
Update copyright notices to 2016 [ci skip]
2016-01-04 10:42:13 -02:00
José Valim
27e1588685
Merge pull request #3885 from dcmorse/master
...
Documentation clarification to README.md
2016-01-04 09:59:23 +01:00
Dave Morse
42fac75e8e
Clarify previous clarification to README.md
2016-01-03 17:06:34 -05:00
Dave Morse
37b7e9b850
README.md: clarified how to include Devise::TestHelpers for :view tests.
...
Also clarified that including Devise::TestHelpers during integration tests is a mistake.
source: https://github.com/plataformatec/devise/issues/3881
2016-01-03 16:50:47 -05:00
Atul Bhosale
48e26c5d0a
Update copyright notices to 2016 [ci skip]
2016-01-03 15:58:16 +05:30
Lucas Mazza
1d77099861
Merge pull request #3875 from james/master
...
Update controller generator templates for new ParameterSanitizer syntax
2015-12-27 22:53:01 -02:00
James Darling
924a989f37
Update controller generator templates for new ParameterSanitizer syntax
...
Devise::ParameterSanitizer has a new syntax for permitting additional
attributes to a model. This commit updates the generated controllers to
reflect that.
2015-12-28 00:45:03 +00:00
Lucas Mazza
6431445846
Cast the result of deperecated sanitization calls to a HWIA as well.
2015-12-21 09:57:20 -02:00
Lucas Mazza
8d57a54b2d
✂️ Remove custom Travis cache scripts.
2015-12-21 09:46:11 -02:00
Lucas Mazza
280d12b81c
Merge pull request #3856 from plataformatec/lm-sanitizer-cleanup
...
Remove `ParametersSanitizer` inheritance.
2015-12-21 09:40:59 -02:00
Lucas Mazza
00a0b8e516
Fix duplicated exclude entry.
2015-12-20 23:02:52 -02:00
Lucas Mazza
238ccb15b5
Test against the beta Rails release.
2015-12-20 22:56:13 -02:00
Lucas Mazza
ace7b55a1a
Merge pull request #3868 from twalpole/gemfile_update
...
update rails 5 gemfile with compatbile gem releases
2015-12-20 21:03:06 -02:00
Thomas Walpole
97ab41728e
update rails 5 gemfile with compatbile gem releases
2015-12-20 12:31:51 -08:00
Lucas Mazza
acd9f84802
Merge pull request #3866 from plataformatec/lm-remove-key-generator
...
Remove `KeyGenerator` implementation ported from Rails 4.x.
2015-12-18 15:18:15 -02:00
Lucas Mazza
a24ecc65f5
Remove KeyGenerator implementation ported from Rails 4.x.
2015-12-18 14:49:50 -02:00
Lucas Mazza
4e45a5fde4
Remove Rails version mention from the initializer template.
2015-12-18 14:47:32 -02:00
Lucas Mazza
9499736593
Remove safeguard against a previously broken NullSessionHash#reset_session.
...
This behavior was fixed on https://github.com/rails/rails/pull/12279 .
2015-12-18 14:47:32 -02:00
Lucas Mazza
df8b48646b
Remove ParametersSanitizer inheritance.
...
We no longer need to support the `BaseSanitizer` implementation for apps without
the Strong Parameters API, and this section is lacking a minimal set of
docs to document the expected behavior besides the `README` section.
2015-12-18 11:39:03 -02:00
Lucas Mazza
b4904a4ba2
Merge pull request #3865 from djsegal/rails5
...
Add #3732 helper logic to devise controller
2015-12-18 10:53:14 -02:00
djsegal
2006f87b58
Add #3732 helper logic to devise controller: #3864
2015-12-18 04:05:30 -05:00