Commit Graph

111 Commits

Author SHA1 Message Date
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
0b825958b2 Make strategies scale as well (requires Warden 0.5.1) 2009-10-22 17:24:14 -02:00
José Valim
ea2d76bde7 Make hooks scale. 2009-10-22 14:42:47 -02:00
José Valim
a9c058010d Rewrite model_config once again. 2009-10-22 14:19:01 -02:00
Carlos A. da Silva
d1305d48b1 Fix requiring devise strategies and adding CHANGELOG 2009-10-22 08:45:18 -02:00
José Valim
2250ea5912 Release Devise 0.1.1. 2009-10-21 15:08:47 -02:00
José Valim
f27f289d62 Merge branch 'master' of git@github.com:plataformatec/devise 2009-10-21 15:05:22 -02:00
Carlos A. da Silva
6f450d7a36 Fix requiring devise mapping, and adding some documentation about routes and mailer setup. 2009-10-21 14:59:12 -02:00
José Valim
0bc6d0325e Remember: always smile and use the proper limit size in the database. 2009-10-21 00:33:47 -02:00
José Valim
fcea58680d No need for remember_token indexes. 2009-10-21 00:27:35 -02:00
José Valim
2fe1a69b39 Added jeweler to rakefile and version. 2009-10-21 00:21:06 -02:00
José Valim
a7e25f1b39 Detail loading process. 2009-10-21 00:12:21 -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
José Valim
c12651104b Type cast ActiveSupport::Duration before compiling it. 2009-10-20 13:02:24 -02:00
José Valim
cbb4796599 Revert "KISS."
Simpler doesn't work here.

This reverts commit e144ce29c9.
2009-10-20 12:49:49 -02:00
José Valim
e144ce29c9 KISS. 2009-10-20 12:28:33 -02:00
José Valim
44f3b024cb Define Devise.model_config. 2009-10-20 11:55:57 -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
José Valim
d505fd15c0 Small refactoring. 2009-10-20 08:44:21 -02:00
Carlos A. da Silva
59a9f38983 Fix requiring warden 2009-10-20 01:42:07 -02:00
Carlos A. da Silva
0eb8b3b7cc Mailer subjects namespaced by model 2009-10-20 01:28:01 -02:00
Carlos A. da Silva
d26f90f72b Updating docs and TODO. 2009-10-20 00:52:31 -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
b69d822d51 Dynamically check if strategies should be run. 2009-10-18 13:25:35 -02:00
José Valim
193250711d Be a good citizen and always set the controller action, even if Devise is never calling the failure app through warden. 2009-10-18 13:10:46 -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
a2730657ae Extract path to a method in authenticable strategy. 2009-10-18 11:20:46 -02:00
Carlos A. da Silva
fb160f8be4 Refactoring devise strategies. 2009-10-18 11:15:23 -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
1f9718c120 Refactoring find by confirmation and reset password token and updating TODO. 2009-10-18 10:16:30 -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
bc825d3b23 Fix broken setup path names and use path names in warden 2009-10-17 13:06:51 -03:00
Carlos A. da Silva
b21b6291b0 Better documentation. 2009-10-17 12:10:15 -03: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
d87ff26cbd Allow setup of path_names in devise_for mapping for overwriting sign_in, sign_out, password and confirmation keywords. 2009-10-16 20:46:06 -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
73442abe95 Refactoring confirmable callbacks and updating TODO 2009-10-15 17:05:46 -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
Carlos A. da Silva
417f273a81 Moving perishable inclusion to active_record devise, to include just once. Also refactor confirm! method. 2009-10-15 16:43:30 -03:00
José Valim
0e927013d0 Merge branch 'master' of git@github.com:plataformatec/devise 2009-10-15 15:54:13 -03:00