José Valim
ab9d856568
Add a deprecation warning for previous controller authorization style.
2011-09-22 11:51:09 +02:00
José Valim
dd36324756
No need to finalize Devise helpers all the time, closes #1317
2011-09-08 08:31:08 +02:00
José Valim
8796c1c601
Do not always skip helpers, instead provide :skip_helpers as option to trigger it manually
2011-08-31 12:02:57 +02:00
José Valim
7396c6911d
Quack, quack, quack. Use duck typing instead of hardcoding everything, closes #1281 .
2011-08-29 14:40:49 +02:00
José Valim
f21d05a235
Only generate helpers for the used mappings, closes #1288
2011-08-29 14:29:38 +02:00
José Valim
1dd19c1a72
Wrap :actions constraints in the proper hash, closes #1280
2011-08-29 13:29:30 +02:00
Daniel Whalen
282c7e85ec
Fix documentation typo
2011-08-11 20:16:20 -07:00
Alexander Uvarov
d38341b5e0
Don't require explicit scope in authenticate router extension
2011-08-10 15:41:06 +06:00
Gerald Talton
1920b79a0d
Edited lib/devise/rails/routes.rb via GitHub
2011-07-28 15:23:23 -05:00
=
770c1a973f
Changed :except to :only for devise_registration method of the routing mapper.
2011-07-26 13:42:00 -04:00
José Valim
c8077c8d9f
Add more docs to routes.
2011-06-27 13:04:40 -03:00
Brent J. Nordquist
7e711089a8
More transparent implementat'n of :format => false
...
Per josevalim, by setting {:format => false} in @scope[:options],
Rails will pick it up, without the need to alter each devise_*()
method individually.
2011-06-27 06:51:04 -05:00
Brent J. Nordquist
1c81a40a76
Support options[:defaults] and @scope[:defaults]
...
similar to support for :constraints
2011-06-26 19:48:20 -05:00
Samuel Cochran
80122856c4
Switch to Warden::Proxy#authenticate?
...
Warden::Proxy#authenticated? and Warden::Proxy#unauthenticated? don't try strategies first.
2011-06-23 10:44:23 +08:00
Samuel Cochran
471e4d6e72
Oh hey, Warden has API for this. Should probably match the name, too.
2011-06-21 08:36:06 +08:00
Samuel Cochran
14fec4cfb3
Add #authenticated and #not_authenticated route constraints
2011-06-18 15:53:46 +08:00
Mac Martine
7631456047
Added support for Devise routes to honor constraints.
2011-06-16 21:24:20 -07:00
José Valim
fa6c8ab321
Use inflector to avoid conflicts.
2011-04-16 13:30:15 +02:00
José Valim
f009011179
Update docs.
2011-04-15 10:31:58 +02:00
Timo Schilling
5adb854aa5
add devise_for :only option
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2011-04-15 10:31:01 +02:00
Jared Beck
cb2cb2cff7
more helpful message re: secret_token
2011-04-10 04:47:55 +08:00
José Valim
cb778d033f
Squeeze "/"
2011-03-14 11:04:51 -07:00
José Valim
1bf7da148a
Properly ignore path prefix on omniauthable
2011-03-14 18:35:06 +01:00
José Valim
c78bb68c66
Revert "Fix an issue causing infinite redirects in production, closes #720 "
...
This reverts commit a156576ce9 .
Conflicts:
lib/devise/controllers/internal_helpers.rb
2011-01-20 09:16:44 +01:00
José Valim
a156576ce9
Fix an issue causing infinite redirects in production, closes #720
2010-12-18 09:38:41 +01:00
José Valim
ec5bfe9119
Ensure to convert keys on indifferent hash.
2010-11-27 19:45:25 +01:00
José Valim
4977bd1222
Fix indifferent access on session issue.
2010-11-25 00:06:39 +01:00
José Valim
71450998c5
Avoid session fixation attacks.
2010-11-20 23:18:41 +01:00
José Valim
d8016ea3fd
Ensure namespaces has proper scoped views, closes #654
2010-11-20 21:41:26 +01:00
José Valim
b2496d1bc1
Smallish updates.
2010-11-11 13:53:52 +01:00
José Valim
1f44c61d08
Improve error messages, closes #574
2010-11-06 08:54:03 +01:00
Mike Gehard
9b468816dd
Add in some instructions for getting routes to a custom action on a Devise override controller
2010-11-06 15:52:29 +08:00
bUg
d8f33b8925
omniauth routes fix, see devise issue #600
2010-10-29 20:48:40 +08:00
bUg
6b04312be5
get -> match for omniauth callbacks
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-10-26 17:55:18 -02:00
José Valim
2f360bf201
Remove OAuth2 in favor of OmniAuth.
2010-10-18 15:00:34 +02:00
José Valim
5d4e4fbb88
Automatically set OmniAuth path prefix
2010-10-18 15:00:34 +02:00
José Valim
21d5e50054
Basic omniauth support.
2010-10-18 15:00:34 +02:00
Jared Morgan
0aa21dca4c
Use to_adapter.get in Warden::SessionSerializer#deserialize
2010-10-17 04:22:22 +08:00
Jared Morgan
31170b9100
Use to_adapter in two more methods
...
Authenticatable.generate_token and Warden::SessionSerializer#deserialize
2010-10-17 04:22:22 +08:00
José Valim
e4c5158851
Sign out by default will destroy the existing session.
2010-10-10 17:51:32 +02:00
Sean Cribbs
9f032350e3
Use ActiveModel's to_key instead of id.
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-10-10 17:51:32 +02:00
José Valim
617e142e34
Store the salt in session and expire the session if the user changes his password
2010-09-25 17:24:56 +02:00
Carlos Antonio da Silva
5c928df66b
Strip some whitespaces
2010-09-09 21:11:23 -03:00
Daniel Lopes
736654e1bc
adding docs for the namespace behavior
2010-08-31 23:59:50 +08:00
José Valim
c96e17dd8d
Ensure routes works for all rails 3 versions.
2010-08-25 08:51:17 -03:00
Martin Rehfeld
f3385e96ab
use :sign_out_via to control the method(s) for the destroy_*_session_path route
2010-08-13 19:16:59 +08:00
José Valim
817a7802e1
Remove deprecated stuff, tag 1.2.0 as version.
2010-07-26 20:39:40 +02:00
José Valim
ac8221aca7
Add cancel to registrations controller as a way to delete information from session.
2010-07-26 20:33:22 +02:00
José Valim
b87dc84079
Add oauth links to default template.
2010-07-26 20:32:05 +02:00
José Valim
3ba424774e
Remove deprecated code.
2010-07-26 20:32:05 +02:00