José Valim
29afe2d21c
Other minor improvements in the REST code.
2011-04-19 08:36:52 +02:00
José Valim
4a4dcb30ef
sessions/new also responds to xml and json now
2011-04-18 09:56:24 +02:00
José Valim
c6dd846718
Move the catch to the test level.
2011-04-17 19:37:19 +02:00
John Wilger
0e904dda79
Make it possible to unit-test extensions to Devise::SessionsController
...
This time with tests
2011-04-15 16:37:15 +08:00
Hiroki Yoshioka
bd9f148d24
Allow to override the path after resending confirmation instructions.
2011-04-15 16:32:41 +08:00
José Valim
5b94d9b803
Refactor a bit navigational format responses, to not call to_sym and reuse the request_format logic from FailureApp.
2011-03-30 14:09:12 +02:00
Prem Sichanugrist
97f0bacfa0
Add support for non-navigational formats in PasswordsController
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2011-03-30 13:39:08 +02:00
Prem Sichanugrist
210bc6aa66
Add support for non-navigational formats in UnlocksController
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2011-03-30 13:38:16 +02:00
Prem Sichanugrist
8170d5e340
Add support for non-navigational formats in ConfirmationsController
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2011-03-30 13:38:00 +02:00
Prem Sichanugrist
6225902034
Add support for non-navigational formats in RegistrationsController
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2011-03-30 13:37:41 +02:00
Prem Sichanugrist
0487e9eafe
Add support for destory_user_session_path in another non-navigational formats such as JSON and XML
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2011-03-30 13:36:50 +02:00
José Valim
02ae0c22ef
Update CHANGELOG.
2011-03-25 15:40:46 +01:00
José Valim
63b72cd512
Edited app/helpers/devise_helper.rb via GitHub
2011-03-06 05:25:09 -08:00
Vinicius Baggio
352edc024b
Cleaning up test helpers related to OmniAuth.
...
Developers should rely on OmniAuth's new testing API. Check
https://github.com/intridea/omniauth/wiki/Integration-Testing
for more details.
2011-02-24 16:50:22 -03:00
José Valim
aac9c40cba
Ensure after hooks are called on registrations controller, closes #852
2011-02-15 09:41:35 +01:00
José Valim
0615c0a0a4
Fix infinite redirect issues. Closes #787 and closes #795 .
2011-01-20 09:22:41 +01:00
Carlos Antonio da Silva
3f086656aa
Fix RegistrationsController routes comments
2011-01-02 20:17:48 -02:00
José Valim
27051cb2fe
responder formats should be inherited from ApplicationController
2010-12-25 11:04:39 +01:00
Prem Sichanugrist
e8e3df3891
Add support for non-navigational format response to SessionsController
...
This will make Devise::SessionsController return the authenticated object in the requested format instead of redirect the client to another page upon success authentication.
2010-12-25 17:57:15 +08:00
José Valim
d8016ea3fd
Ensure namespaces has proper scoped views, closes #654
2010-11-20 21:41:26 +01:00
José Valim
3e38043085
Properly handle failure.
2010-10-18 15:00:34 +02:00
José Valim
611261c64e
More tests for Omniauth.
2010-10-18 15:00:34 +02:00
José Valim
2f360bf201
Remove OAuth2 in favor of OmniAuth.
2010-10-18 15:00:34 +02:00
José Valim
8a8ba6c70c
Depend on ORM Adapter.
2010-10-10 17:51:32 +02:00
José Valim
e4c5158851
Sign out by default will destroy the existing session.
2010-10-10 17:51:32 +02:00
takahashim
a1c80b6211
use I18n'ed header on error messages block
2010-10-04 15:38:07 +08:00
dewski
69ecbd1fa3
removed the occurances of =%> at the end of erb blocks and replaced them with -%>
2010-10-02 05:56:29 +08:00
José Valim
ec5f8ae831
Update RDoc.
2010-09-30 04:47:13 -07:00
José Valim
db1ce8eeb2
Sign up now check if the user is active or not and redirect him accordingly setting the inactive_signed_up message. This commit also moves after_update_path_for to inside RegistrationsController, not allowing it to be overriden inside ApplicationController anymore.
2010-09-30 09:12:00 +02:00
Kevin
ab690bf36f
Use Rails 3 email_field helper instead of text_field for email
2010-09-28 06:18:05 +08:00
Joey Geiger
c8cb7d270d
Use a better label to enforce that you are changing your password to a new one.
2010-09-28 01:26:56 +08:00
José Valim
ef3480004c
Ensure we are pointing to the proper sessions controller on failure.
2010-09-26 21:12:05 +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
José Valim
c12d75eecf
Do not rely on controller being available in params.
2010-09-25 11:22:18 +02:00
José Valim
ff0b4deb1a
Add reply-to to e-mail headers by default. Closes #474
2010-09-21 10:07:02 +02:00
Pat Allan
29e9be92b0
Reworking the internals of Devise::Mailer - mainly so headers can be tweaked without overwriting/rewriting #setup_mail. (I'm using a custom mailer which is a subclass of Devise::Mailer, and want to change headers/templates in some situations - but perhaps this is useful generally).
2010-09-20 21:02:28 +08:00
José Valim
08da923276
Add more docs to the cancel action.
2010-08-23 13:51:37 -07: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
ef841ca17d
Start to add helpers for OAuth tests.
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
0aa41d6388
Tidy up lose ends.
2010-07-26 20:32:05 +02:00
José Valim
8bf6a66e05
Make Devise::Oauth follow the same conventions as Devise::controllers.
2010-07-26 20:32:05 +02:00
José Valim
faf771c798
Add OAuth url helpers.
2010-07-26 20:32:04 +02:00
José Valim
bd8294aecf
More OAuth setup.
2010-07-26 20:32:04 +02:00
José Valim
6c5be8dfd5
Initial routes and module setup.
2010-07-26 20:32:04 +02:00
José Valim
2602ef41cf
Do not add unlock routes unless unlock strategy is email or both, closes #373
2010-07-12 07:24:21 +02:00
José Valim
750560ae87
Ensure method is always POST on new.html.erb forms, closes #365 . Also, start to remove usage of assert_template.
2010-07-06 16:01:22 +02:00
José Valim
35923c9c69
Move template_paths to its own module.
2010-07-05 13:27:15 +02:00
José Valim
f54013a181
Do not hardcode to devise/mailer in order to allow inheritance to work.
2010-07-05 10:05:08 +02:00
Denis Lifanov
819db39263
simplification (sign_out_everybody => sign_out_all_scopes)
2010-06-25 02:29:48 +08:00