Commit Graph

118 Commits

Author SHA1 Message Date
José Valim
4f6dfefe0e Sanity check the serialized class. 2009-11-15 11:17:40 -02:00
José Valim
b70b293690 Add authentication_keys. 2009-11-15 03:31:13 -02:00
José Valim
7ffd0900c1 Rely on Warden new serializers. 2009-11-15 00:13:43 -02:00
José Valim
0be7426847 Use a Rack Middleware to sign in users. 2009-11-13 19:26:33 -02:00
José Valim
0d22ac39c4 Merge branch 'master' of github.com:plataformatec/devise 2009-11-13 17:29:33 -02:00
José Valim
4894059828 Remember token is now properly stored and specified one for each user. 2009-11-13 17:23:32 -02:00
Carlos Antonio da Silva
836770a9f2 Allow passing options from devise_for to route definitions, useful on subdomain scenarios. 2009-11-13 08:49:22 -02:00
José Valim
6d09eb66cf Tidying up encryptors. 2009-11-10 18:55:13 -02:00
Marcelo Silveira
51f633325e merged with changes introduced in 0.4.3 2009-11-10 13:42:52 -02:00
Marcelo Silveira
262a33f71f finished implementation of encryptors and created encryptors for clearance, authlogic and restful-authentication 2009-11-10 13:27:43 -02:00
José Valim
e6901686c4 Authentication fail with user cannot be serialized from session [#29] 2009-11-10 00:00:40 -02:00
Marcelo Silveira
fdea519df8 moved password encryption out of Authenticatable to allow custom encryptions for people coming by with an existent users table 2009-11-09 18:43:21 -02:00
José Valim
05678e773f Added support to config.default_url_options. 2009-11-06 20:59:36 -02:00
José Valim
c06d9ad7ae Merge branch 'master' of git@github.com:plataformatec/devise 2009-11-06 14:29:44 -02:00
José Valim
4debe4080b Allow :path_prefix to be given to devise_for. 2009-11-06 14:27:27 -02:00
José Valim
0c088a7420 Renamed mail_sender to mailer_sender. 2009-11-06 09:40:38 -02:00
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
dc86a571ae [DEPRECATION] Notifier is deprecated, use DeviseMailer instead. Remember to rename app/views/notifier to app/views/devise_mailer and I18n key from devise.notifier to devise.mailer. 2009-11-02 23:14:27 -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
8c1bab4951 Do not send confirmation e-mail when e-mail changes. 2009-10-30 07:49:18 -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
José Valim
dede8af5b0 Do not include Devise internal helpers in application controller. 2009-10-27 21:26:40 -02:00
Carlos A. da Silva
9643a5fa6d Removing attr_accessible. 2009-10-22 20:18:16 -02:00
Carlos A. da Silva
4b7aa5a2d0 Adding missing failure file and test. 2009-10-22 20:18:16 -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
697a17686e Updating model_config and require confirmable hook with last changes. 2009-10-22 20:18:16 -02:00
Carlos A. da Silva
548b7a9b4d Documentation about confirm_in and remember_for configurations and some tests. 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
80f3f30704 Creating confirm_in configuration to confirmable and verifying whether the user is active during the configured time without confirming. 2009-10-22 20:18:15 -02:00
José Valim
200b269d79 Allow null to be given to authenticable. 2009-10-22 19:26:10 -02:00
José Valim
f00d29c97a Devise migratable. 2009-10-21 00:09:26 -02:00
Carlos A. da Silva
22dd5f5669 Fix encrypt password tests. 2009-10-20 13:31:34 -02:00
Carlos A. da Silva
342f948bc8 Adding pepper and stretches configuration per model, and globaly setup through Devise.pepper and Devise.stretches 2009-10-20 11:17:40 -02:00
Carlos A. da Silva
9720c36380 Updating tests and fix rememberable serialize_from_cookie. 2009-10-20 08:59:01 -02:00
Carlos A. da Silva
0eb8b3b7cc Mailer subjects namespaced by model 2009-10-20 01:28:01 -02:00
Carlos A. da Silva
28a7f78fba Creating rememberable module. 2009-10-20 00:31:33 -02:00
Carlos A. da Silva
fc08a7c5ac Changing resource_home_path to resource_root_path and add the same redirect to confirmation and password. 2009-10-19 00:38:50 -02:00
Carlos A. da Silva
9a10709545 Fixing singular options for mappings. 2009-10-18 18:19:04 -02:00
José Valim
9feb9455ce Allow page after sign in to be configured. 2009-10-18 15:25:16 -02:00
José Valim
b0a2da72b5 Use sign_in and authenticate methods. 2009-10-18 15:01:56 -02:00
José Valim
9051d842c0 Allow devise :all, :except => :foo to be given. 2009-10-18 13:30:32 -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