José Valim
65947b6696
Release v3.2.2
v3.2.2
2013-11-25 12:00:21 +01:00
Vasiliy Ermolovich
0028dc6a4f
Merge pull request #2751 from fgo/patch-1
...
Fix spelling in README [ci skip]
2013-11-22 00:57:03 -08:00
Francis Go
f438209669
Fix spelling in README
2013-11-22 19:55:16 +11:00
José Valim
c85ecbb9ac
Merge pull request #2750 from louman/master
...
Timeoutable - fixes missing caller
2013-11-21 08:38:12 -08:00
Marcus Mansur
b16899f7bf
fixes timeoutable specs to cover sign_out_all_scopes false
2013-11-21 14:02:45 -02:00
Marcus Mansur
bd83483ba6
fixes missing caller
2013-11-21 13:26:34 -02:00
José Valim
0514e60bc4
Merge pull request #2749 from csexton/master
...
Keep the query string and path in store_location_for
2013-11-20 13:13:12 -08:00
Christopher Sexton
7afc096fa4
Keep the query string and path in store_location_for
...
Persist the URI's query when saving to the session.
Fixes #2742
2013-11-20 15:47:20 -05:00
Vasiliy Ermolovich
bb2ff3553b
require rails generator base class in devise generators
...
closes #2743
2013-11-15 15:56:09 +03:00
José Valim
1390945e5c
Improve default omniauth sample
2013-11-14 09:09:05 +01:00
José Valim
f36efc0cc9
Ensure multiple leading / are also removed, thanks @homakov
2013-11-13 15:01:23 +01:00
José Valim
3b598ec235
Release v3.2.1
v3.2.1
2013-11-13 14:15:13 +01:00
José Valim
95ec62ea76
Ensure encryption on authentication
2013-11-13 13:45:34 +01:00
José Valim
9a412c139f
Update CHANGELOG
2013-11-13 13:32:59 +01:00
José Valim
0582467032
Ensure we only store paths in store_location_for (thanks to @homakov for the tip)
2013-11-13 13:30:24 +01:00
José Valim
221be6d6ef
Update bundled rails app
2013-11-13 13:29:25 +01:00
José Valim
ed86361b92
Merge pull request #2728 from edelpero/master
...
Adds yield around resource on devise controllers
2013-11-08 23:22:53 -08:00
José Valim
e303de9756
Merge pull request #2729 from matthewrudy/store-location-helper
...
Add store_location_for helper
2013-11-08 23:22:39 -08:00
Matthew Rudy Jacobs
268e486dbb
Add store_location_for helper
...
This is used as a complement to `stored_location_for`.
Example:
Before authorizing with Omniauth;
store_location_for(:user, dashboard_path)
redirect_to user_omniauth_authorize_path(:facebook)
In our Omniauth callback
sign_in(user)
redirect_to stored_location_for(:user) || root_path
2013-11-09 00:59:00 +00:00
Ezequiel Delpero
989071144e
Adds yield around resource on devise controllers
...
If you want to add a new behavior to your devise
controllers but you don't want to override devise's
default workflow, just pass a block around resource.
This would give you for example, the ability to
trigger background jobs after user signs in.
2013-11-08 20:43:08 -03:00
Rafael Mendonça França
25726becdd
Merge pull request #2731 from plataformatec/lm-password-digest
...
Bring `password_digest` back.
2013-11-08 10:28:11 -08:00
Lucas Mazza
bf5bcd52cb
Bring password_digest back.
...
This method is part of the protected API and is used by custom
encryption engines (like `devise-encryptable`) to hook the custom
encryption logic in the models.
Fixes #2730
2013-11-08 16:22:31 -02:00
José Valim
e26ea51fe5
Improve error message for wrongly nested omniauth callback
2013-11-07 14:30:32 +01:00
José Valim
c840fc419f
Update Rails 3.2 lock too
v3.2.0
2013-11-06 21:50:04 +01:00
José Valim
9d872709c0
Release Devise 3.2.0
2013-11-06 21:39:16 +01:00
José Valim
27bcefcf54
Ensure timeoutable hook respects Devise.sign_out_all_scopes configuration
...
Closes #2606
2013-11-06 21:07:38 +01:00
José Valim
4f1bf8f3f9
Split out sign_in/out functionality so it can be reused in hooks
2013-11-06 20:55:26 +01:00
José Valim
d49f0a1184
Update CHANGELOG
2013-11-06 20:34:57 +01:00
José Valim
a7624c8f51
Merge pull request #2227 from AlexanderZaytsev/master
...
Use mapping.fullpath in omniauth callbacks
2013-11-06 11:32:21 -08:00
andrew morton
52a3768451
A GET to sign in shouldn't extend the session.
2013-11-06 20:20:22 +01:00
José Valim
f5f7e97d8b
Merge pull request #2718 from ssendev/flashing_formats
...
Separate redirects and flash messages in navigational_formats and flashing_formats
2013-11-06 00:10:23 -08:00
José Valim
13117f01be
Merge pull request #2562 from devolute/master
...
passes headers through test helpers' response
2013-11-05 23:59:11 -08:00
Kaworu
fe1fb1f7a2
Don't use config option for flashing_formats
2013-11-01 22:25:15 +01:00
Kaworu
c87809a0f5
Separate redirects and flash messages in navigational_formats and flashing_formats
2013-11-01 21:47:40 +01:00
José Valim
9eb0768cb9
Add Rails 4 related todo
2013-10-31 14:40:44 +01:00
José Valim
e445039716
Merge pull request #2717 from memberful/2716-splat-sanitize-params
...
Splat the arguments to strong_parameters#permit, fixes #2716
2013-10-31 14:40:28 +01:00
José Valim
69d28f9b0e
Add config.last_attempt_warning to default config
2013-10-26 11:56:31 +02:00
José Valim
5cb575bd48
Merge pull request #2705 from 13k/master
...
Fix configuration option name in CHANGELOG.
2013-10-24 14:43:37 -07:00
Kiyoshi '13k' Murata
88de877f8b
Fix configuration option name in CHANGELOG.
...
[ci skip]
2013-10-24 19:37:47 -02:00
José Valim
5a363f5fcb
Merge pull request #2703 from bbenezech/master
...
Add options for FailureApp's i18n_message. Similar #1633
2013-10-24 09:10:19 -07:00
Benoit Bénézech
04e47687b2
remove respond_to in favor of an implementation that returns options
2013-10-24 17:29:53 +02:00
Benoit Bénézech
d5514bf916
Add options for FailureApp's i18n_message. Similar #1633
2013-10-24 16:49:13 +02:00
José Valim
93649e21d0
Merge pull request #2700 from obiwanchinobi/task/document-after-db-auth-hook
...
Add documentation to the 'after_database_authentication' method.
2013-10-23 23:35:47 -07:00
Dave Tong
8bef8b87f1
Add documentation to the 'after_database_authentication' method.
2013-10-24 08:25:00 +11:00
José Valim
fb530110c7
Merge pull request #2697 from Lightpower/feature/last_attempt_message
...
Show last attempt message for last attempt, not for one-before-last one
2013-10-22 01:33:37 -07:00
Vitaly Bezkrovny
bb810cfb8f
* show message for last attempt, not for one-before-last one;
...
* update test to check the message :invalid, :last_attempt, :locked
2013-10-22 00:43:56 +03:00
José Valim
a8069be4c8
Improve devise_for docs to be make routes integration more explicit
2013-10-21 13:28:20 +02:00
Jay Hayes
2296d14803
Add entry to changelog
...
[#2691 ]
[ci skip]
Signed-off-by: José Valim <jose.valim@plataformatec.com.br >
Conflicts:
CHANGELOG.md
2013-10-21 13:21:43 +02:00
Jay Hayes
21583cbf95
Update code comment to keep it up to date
...
[#2691 ]
[ci skip]
2013-10-21 13:21:11 +02:00
Jay Hayes
4861436298
Prevent mutation of orig values during case and wspace sanitizations
2013-10-21 13:21:05 +02:00