-
Merge previous from master
-
tag
-
Allow default strategies to be set on the proxy
-
Provide each scope with it’s own default strategies
-
Provide each scope with default set_user opts
-
depricate the Proxy#default_strategies= method
-
Add Warden.test_mode!
-
Add Warden.on_next_request
-
Add test helpers in Warden::Test::Helpers
** login_as ** logout
-
Fix an issue where winning_strategy was not cleaned, allowing multiple scopes to sign in, even when the second one should not
-
Add prepend_ to all hooks (josevalim)
-
Ruby 1.9 compatibility changes (grimen)
-
Support for passing a custom message with Warden::Strategy::Base#success! as second optional (grimen)
-
Remove serializers and make strategies more powerful, including cache behavior (josevalim)
-
Fix a bug when silence missing serializers is set (josevalim)
-
enhancements
-
Add conditionals to callbacks (josevalim)
-
Extract Warden::Config from Warden::Manager (josevalim)
-
-
enhancements
-
Expose config in warden proxy (hassox)
-
-
enhancements
-
added serializers, including session serializer (set by default) and a cookie serializer (josevalim)
-
-
deprecation
-
serializer_into_session and serializer_from_session are deprecated, overwrite serialize and deserializer in Warden::Serializers::Session instead (josevalim)
-
-
bug fixes
-
authenticated? and unauthenticated? should return true or false, not the user or false. (hassox)
-
-
enhancements
-
authenticated? always try to serialize the user from session (josevalim)
-
stored_in_session? checks if user information is stored in session, without serializing (josevalim)
-
401 behaves exactly like throw :warden (staugaard)
-
-
enhancements
-
Adds yeilding to authenticated? and unauthenticated? methods (hassox)
-
Adds an option to silence missing strategies (josevalim)
-
Add an option to authenticate(!) to prevent storage of a user into the session (hassox)
-
allow custom :action to be thrown (josevalim)
-
-
enhancements
-
add Content-Type header to redirects (staugaard)
-
Make scope available to strategies (josevalim)
-
-
bug fixes
-
Do not consume opts twice, otherwise just the first will parse the scope (josevalim)
-
-
enhancements
-
add a hook for plugins to specify how they can clear the whole section
-