José Valim
5645d733ba
Update CHANGELOG.
2011-06-23 09:22:30 -03:00
José Valim
42b07f1f47
Merge remote branch 'origin/issue_json_response'
...
Conflicts:
app/controllers/devise/passwords_controller.rb
2011-06-23 09:16:04 -03:00
Rodrigo Flores
308238ab42
Not responding the object on creating unlockable requests
2011-06-22 23:04:55 -03:00
Rodrigo Flores
2ae2fdc9f8
Returning an empty JSON for creating confirmation requests
2011-06-22 21:27:20 -03:00
Rodrigo Flores
41bb96be5d
Returning empty json and empty xml
2011-06-22 19:38:21 -03:00
José Valim
04b614ce10
Edited app/controllers/devise/passwords_controller.rb via GitHub
2011-06-22 11:03:08 -07:00
Rodrigo Flores
b58e0ef991
Removed useless blank lines
2011-06-22 12:52:11 -03:00
Rodrigo Flores
6199252011
Refactored paranoid mode actions for it to appear once
2011-06-22 12:52:11 -03:00
Rodrigo Flores
40c0a7b50b
Added paranoid mode to lockable
2011-06-22 12:52:11 -03:00
Rodrigo Flores
225c89fbf1
Paranoid mode on confirmable
2011-06-22 12:52:10 -03:00
Rodrigo Flores
8b54ff699f
Refactoring passwords controller
2011-06-22 12:52:10 -03:00
Rodrigo Flores
7d160650b8
Using the same url in success and failure
2011-06-22 12:52:10 -03:00
Rodrigo Flores
803e46cda7
Refactoring the paranoid controller
2011-06-22 12:52:10 -03:00
Rodrigo Flores
004fe2ad12
Paranoid mode for recoverable
2011-06-22 12:50:34 -03:00
naomi
d56741ca4f
added ability to override redirect_to path after sending reset password instructions
2011-05-13 11:39:11 -05:00
Chase DuBois
fd8e34650e
Make copy of resource only for update action
2011-04-25 15:49:59 +08:00
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