1
0
Fork 0
mirror of https://github.com/heartcombo/devise.git synced 2022-11-09 12:18:31 -05:00
Commit graph

36 commits

Author SHA1 Message Date
José Valim
1db50dee36 Skip authentication filters by default on Devise controllers and add devise_controller? to select/reject other filters. 2009-11-06 09:33:18 -02:00
José Valim
371a9bb0d0 Major refactoring. Allow Warden::Manager to be configured through Devise, undeprecate Devise.confirm_within, Devise.pepper and friends and move Rails hooks to their own file. 2009-11-03 09:35:11 -02:00
José Valim
e7f809de3c Do not require ActiveRecord to be loaded to use Devise. 2009-10-30 21:51:50 -02:00
José Valim
b28d7e8b1c Renamed authenticable to authenticatable and added deprecation warnings. 2009-10-30 08:29:10 -02:00
José Valim
3209e7d988 Renamed confirm_in to confirm_within. 2009-10-30 07:23:47 -02:00
José Valim
5172d50b95 Ensure fail! works inside strategies, create unauthenticated and invalid messages and do not redirect on invalid authentication. 2009-10-29 08:29:31 -02:00
Carlos A. da Silva
11e4ee112b Adding Failure module to redirect the user when unauthenticated or unconfirmed, based on warden last changes 2009-10-22 20:18:16 -02:00
Carlos A. da Silva
5631b8dacd Remember the user only if the remember token has not expired. 2009-10-22 20:18:16 -02:00
Carlos A. da Silva
bbca9e830e Verify confirmation time frame to let the user sign in or block it if the user is not confirmed. 2009-10-22 20:18:16 -02:00
Carlos A. da Silva
28a7f78fba Creating rememberable module. 2009-10-20 00:31:33 -02:00
José Valim
9feb9455ce Allow page after sign in to be configured. 2009-10-18 15:25:16 -02:00
José Valim
609a83a76c Allow to access the session for a given scope, through #{scope}_session reader and improved documentation. 2009-10-18 12:54:21 -02:00
Carlos A. da Silva
f1bb64fb1e Update flash messages to show signed in automatically info. 2009-10-18 10:39:22 -02:00
Carlos A. da Silva
8d85db3b57 Sign user in automatically after confirming or changing it's password 2009-10-18 10:36:20 -02:00
Carlos A. da Silva
29ea916e9f Fix clearing reset password token while reseting password. 2009-10-18 09:54:53 -02:00
Carlos A. da Silva
75e98d3041 Separating perishable token into confirmation and reset_password tokens. Adding confirmation_sent_at attribute. 2009-10-18 09:14:52 -02:00
Carlos A. da Silva
a5cb147eb2 Stores the requested page before signing in and redirect the user to the stored uri after. 2009-10-17 11:12:50 -03:00
Carlos A. da Silva
0f174dbf4b Updating routes to use sign_in/sign_out instead of session. 2009-10-16 13:44:51 -03:00
Carlos A. da Silva
3700e9979c Clearing perishable token when confirming or reseting password. 2009-10-15 17:36:44 -03:00
Carlos A. da Silva
e8611609ac Send confirmation instructions only works if the record is not confirmed. 2009-10-15 16:54:04 -03:00
José Valim
6da49499ff Finished major changes. 2009-10-12 10:18:14 -03:00
José Valim
e50dfcc73f More specs. 2009-10-12 09:56:12 -03:00
José Valim
78525e2536 More tests 2009-10-12 08:49:28 -03:00
José Valim
43a13bf2fe Add missing files. 2009-10-12 08:37:42 -03:00
José Valim
3c5bfc9520 Kick tests back to life. 2009-10-12 08:37:28 -03:00
José Valim
b012bc800b Kick tests back to life. 2009-10-11 23:24:57 -03:00
Carlos A. da Silva
f840129815 Creating new integration test simulating sign in and sign out with user and admin at same time. 2009-10-11 11:21:49 -03:00
Carlos A. da Silva
1226c3d8de Adding separated tests for admins and users to enforce modularization. Rewrite of several tests. 2009-10-11 10:49:25 -03:00
Carlos A. da Silva
561833e060 Adding warden scopes to helper methods. 2009-10-10 16:47:11 -03:00
Carlos A. da Silva
15c5d9e049 Changing authentication method to redirect inside rails and not warden strategy anymore. Updating session to authenticate the user and set it to warden. 2009-10-10 15:59:37 -03:00
Carlos A. da Silva
643a2ef271 Updating sessions create to handle authentication, still based on warden strategy 2009-10-10 14:14:09 -03:00
Carlos A. da Silva
2fbb56e8f7 Removing no_authentication in confirmations 2009-10-10 10:17:51 -03:00
Carlos A. da Silva
d181975555 Moving resource_name and resource_class to Devise, rewriting route tests, using resource_class in controllers. 2009-10-10 08:37:22 -03:00
Carlos A. da Silva
f4de0f6c5a Creating Devise.map to generate and recognize urls based on scope. 2009-10-09 21:11:58 -03:00
Carlos A. da Silva
b36856a3a1 Creating confirmation controller and integration tests. 2009-10-09 07:36:12 -03:00
Carlos A. da Silva
7ce49cbbe8 Configuring session and password controllers as engine, and getting integration tests from devise example app. 2009-10-09 07:36:12 -03:00