Commit Graph

  • 697a17686e Updating model_config and require confirmable hook with last changes. Carlos A. da Silva 2009-10-22 19:02:03 -02:00
  • 63d5f9dc82 Updating default remember_for, using only .days while testing confirmation period, and some more docs. Carlos A. da Silva 2009-10-22 09:54:23 -02:00
  • 548b7a9b4d Documentation about confirm_in and remember_for configurations and some tests. Carlos A. da Silva 2009-10-22 09:49:19 -02:00
  • 18d87d5c58 Updating cookies info adding expires for rememberable. Carlos A. da Silva 2009-10-22 09:21:34 -02:00
  • 5631b8dacd Remember the user only if the remember token has not expired. Carlos A. da Silva 2009-10-22 09:09:34 -02:00
  • bbca9e830e Verify confirmation time frame to let the user sign in or block it if the user is not confirmed. Carlos A. da Silva 2009-10-21 11:20:10 -02:00
  • 80f3f30704 Creating confirm_in configuration to confirmable and verifying whether the user is active during the configured time without confirming. Carlos A. da Silva 2009-10-20 21:32:30 -02:00
  • 200b269d79 Allow null to be given to authenticable. José Valim 2009-10-22 19:26:10 -02:00
  • 56f6282c22 Update README, CHANGELOG and TODO. José Valim 2009-10-22 17:30:00 -02:00
  • 0b825958b2 Make strategies scale as well (requires Warden 0.5.1) José Valim 2009-10-22 17:24:14 -02:00
  • ea2d76bde7 Make hooks scale. José Valim 2009-10-22 14:42:47 -02:00
  • a9c058010d Rewrite model_config once again. José Valim 2009-10-22 14:19:01 -02:00
  • d1305d48b1 Fix requiring devise strategies and adding CHANGELOG Carlos A. da Silva 2009-10-22 08:45:18 -02:00
  • 2250ea5912 Release Devise 0.1.1. José Valim 2009-10-21 15:08:47 -02:00
  • f27f289d62 Merge branch 'master' of git@github.com:plataformatec/devise José Valim 2009-10-21 15:05:22 -02:00
  • 6f450d7a36 Fix requiring devise mapping, and adding some documentation about routes and mailer setup. Carlos A. da Silva 2009-10-21 14:59:12 -02:00
  • 0bc6d0325e Remember: always smile and use the proper limit size in the database. José Valim 2009-10-21 00:33:47 -02:00
  • fcea58680d No need for remember_token indexes. José Valim 2009-10-21 00:27:35 -02:00
  • 2fe1a69b39 Added jeweler to rakefile and version. José Valim 2009-10-21 00:21:06 -02:00
  • a7e25f1b39 Detail loading process. José Valim 2009-10-21 00:12:21 -02:00
  • f00d29c97a Devise migratable. José Valim 2009-10-21 00:09:26 -02:00
  • b3f68ab287 Merge branch 'master' of git://github.com/plataformatec/devise José Valim 2009-10-20 18:06:31 -02:00
  • 108edb4cbd Updated README to talk about Warden 0.4.1. José Valim 2009-10-20 17:40:50 -02:00
  • 22dd5f5669 Fix encrypt password tests. Carlos A. da Silva 2009-10-20 13:31:34 -02:00
  • c12651104b Type cast ActiveSupport::Duration before compiling it. José Valim 2009-10-20 13:02:24 -02:00
  • cbb4796599 Revert "KISS." José Valim 2009-10-20 12:49:49 -02:00
  • e144ce29c9 KISS. José Valim 2009-10-20 12:28:33 -02:00
  • ae0a3d9fee Merge branch 'master' of git://github.com/plataformatec/devise José Valim 2009-10-20 11:57:07 -02:00
  • 44f3b024cb Define Devise.model_config. José Valim 2009-10-20 11:55:57 -02:00
  • 046bb70acd link to devise_example repository in README George Guimarães 2009-10-20 11:41:52 -02:00
  • 342f948bc8 Adding pepper and stretches configuration per model, and globaly setup through Devise.pepper and Devise.stretches Carlos A. da Silva 2009-10-20 11:08:40 -02:00
  • 4d45672298 Improved TODO list. José Valim 2009-10-20 10:50:17 -02:00
  • 9720c36380 Updating tests and fix rememberable serialize_from_cookie. Carlos A. da Silva 2009-10-20 08:59:01 -02:00
  • d505fd15c0 Small refactoring. José Valim 2009-10-20 08:44:21 -02:00
  • 59a9f38983 Fix requiring warden Carlos A. da Silva 2009-10-20 01:42:07 -02:00
  • 0eb8b3b7cc Mailer subjects namespaced by model Carlos A. da Silva 2009-10-20 01:28:01 -02:00
  • d26f90f72b Updating docs and TODO. Carlos A. da Silva 2009-10-20 00:52:31 -02:00
  • 28a7f78fba Creating rememberable module. Carlos A. da Silva 2009-10-20 00:31:33 -02:00
  • fc08a7c5ac Changing resource_home_path to resource_root_path and add the same redirect to confirmation and password. Carlos A. da Silva 2009-10-19 00:38:50 -02:00
  • cce3f58e83 Fix typo and filter info in readme. Carlos A. da Silva 2009-10-18 18:31:01 -02:00
  • 9a10709545 Fixing singular options for mappings. Carlos A. da Silva 2009-10-18 12:08:07 -02:00
  • 9feb9455ce Allow page after sign in to be configured. José Valim 2009-10-18 15:25:16 -02:00
  • b0a2da72b5 Use sign_in and authenticate methods. José Valim 2009-10-18 15:01:56 -02:00
  • 9051d842c0 Allow devise :all, :except => :foo to be given. José Valim 2009-10-18 13:30:32 -02:00
  • b69d822d51 Dynamically check if strategies should be run. José Valim 2009-10-18 13:25:35 -02:00
  • 193250711d Be a good citizen and always set the controller action, even if Devise is never calling the failure app through warden. José Valim 2009-10-18 13:10:46 -02:00
  • 609a83a76c Allow to access the session for a given scope, through #{scope}_session reader and improved documentation. José Valim 2009-10-18 12:54:21 -02:00
  • 26c39b81b9 Adding session timeout to TODO Carlos A. da Silva 2009-10-18 11:37:25 -02:00
  • a2730657ae Extract path to a method in authenticable strategy. Carlos A. da Silva 2009-10-18 11:20:46 -02:00
  • fb160f8be4 Refactoring devise strategies. Carlos A. da Silva 2009-10-18 11:15:23 -02:00
  • f1bb64fb1e Update flash messages to show signed in automatically info. Carlos A. da Silva 2009-10-18 10:39:22 -02:00
  • 8d85db3b57 Sign user in automatically after confirming or changing it's password Carlos A. da Silva 2009-10-18 10:36:20 -02:00
  • 1f9718c120 Refactoring find by confirmation and reset password token and updating TODO. Carlos A. da Silva 2009-10-18 10:16:30 -02:00
  • 29ea916e9f Fix clearing reset password token while reseting password. Carlos A. da Silva 2009-10-18 09:54:53 -02:00
  • 75e98d3041 Separating perishable token into confirmation and reset_password tokens. Adding confirmation_sent_at attribute. Carlos A. da Silva 2009-10-18 09:14:52 -02:00
  • bc825d3b23 Fix broken setup path names and use path names in warden Carlos A. da Silva 2009-10-17 13:06:51 -03:00
  • 4fd5d0913e Adding README to rdoc and rdoc dir to gitignore Carlos A. da Silva 2009-10-17 12:14:38 -03:00
  • b21b6291b0 Better documentation. Carlos A. da Silva 2009-10-17 12:10:15 -03:00
  • a5cb147eb2 Stores the requested page before signing in and redirect the user to the stored uri after. Carlos A. da Silva 2009-10-17 11:12:50 -03:00
  • abfb33a040 Adding missing account file. Carlos A. da Silva 2009-10-17 10:25:04 -03:00
  • d87ff26cbd Allow setup of path_names in devise_for mapping for overwriting sign_in, sign_out, password and confirmation keywords. Carlos A. da Silva 2009-10-16 20:46:06 -03:00
  • 37fc8d5064 Fix password and confirmation routes in README. Carlos A. da Silva 2009-10-16 14:04:17 -03:00
  • ab576ee571 Updating README with new routes info. Carlos A. da Silva 2009-10-16 14:02:43 -03:00
  • 0f174dbf4b Updating routes to use sign_in/sign_out instead of session. Carlos A. da Silva 2009-10-16 13:44:51 -03:00
  • 3700e9979c Clearing perishable token when confirming or reseting password. Carlos A. da Silva 2009-10-15 17:36:44 -03:00
  • 73442abe95 Refactoring confirmable callbacks and updating TODO Carlos A. da Silva 2009-10-15 17:05:46 -03:00
  • e8611609ac Send confirmation instructions only works if the record is not confirmed. Carlos A. da Silva 2009-10-15 16:54:04 -03:00
  • 417f273a81 Moving perishable inclusion to active_record devise, to include just once. Also refactor confirm! method. Carlos A. da Silva 2009-10-15 16:43:30 -03:00
  • 7f91651d0c Updating tests to reflect salt and password changes. Carlos A. da Silva 2009-10-15 16:19:03 -03:00
  • 0e927013d0 Merge branch 'master' of git@github.com:plataformatec/devise José Valim 2009-10-15 15:54:13 -03:00
  • 2e780fe5de Change how salt and encrypt works. José Valim 2009-10-15 15:52:25 -03:00
  • cb285bf730 Updating readme with missing migration info. Carlos A. da Silva 2009-10-15 02:25:11 -03:00
  • 4f8ec23e7e Readme updates. Carlos A. da Silva 2009-10-13 17:43:40 -03:00
  • 493f91fd37 Readme updates. Carlos A. da Silva 2009-10-13 17:01:42 -03:00
  • f1cecacc99 Move mappings to routes. José Valim 2009-10-12 21:49:51 -03:00
  • 5848f12cc1 Added magic predicates to mapping. José Valim 2009-10-12 21:06:39 -03:00
  • 0664359381 Updating helpers to use sign_in/sign_out instead of authenticate/logout. Carlos A. da Silva 2009-10-12 19:20:12 -03:00
  • 6da49499ff Finished major changes. José Valim 2009-10-12 10:18:14 -03:00
  • e50dfcc73f More specs. José Valim 2009-10-12 09:56:12 -03:00
  • 78525e2536 More tests José Valim 2009-10-12 08:49:28 -03:00
  • 43a13bf2fe Add missing files. José Valim 2009-10-12 08:37:42 -03:00
  • 3c5bfc9520 Kick tests back to life. José Valim 2009-10-12 08:37:28 -03:00
  • b012bc800b Kick tests back to life. José Valim 2009-10-11 23:24:57 -03:00
  • bd8f7dc631 Some major changes. José Valim 2009-10-11 22:11:58 -03:00
  • 91a87eed2c Use signed_in instead of logged_in, and setup current_user to pass a scope. Carlos A. da Silva 2009-10-11 13:00:44 -03:00
  • f840129815 Creating new integration test simulating sign in and sign out with user and admin at same time. Carlos A. da Silva 2009-10-11 11:21:49 -03:00
  • 1226c3d8de Adding separated tests for admins and users to enforce modularization. Rewrite of several tests. Carlos A. da Silva 2009-10-11 10:49:25 -03:00
  • 62bef5605a Adding filters generation based on devise mappings. Carlos A. da Silva 2009-10-11 08:15:48 -03:00
  • 198167d978 Removing default mapping and Updating tests at all Carlos A. da Silva 2009-10-10 18:07:25 -03:00
  • 561833e060 Adding warden scopes to helper methods. Carlos A. da Silva 2009-10-10 16:47:11 -03:00
  • 4e263b96c9 Updating sessions controller to use resource oriented style. Changing authenticate method to accept a hash of attributes. Carlos A. da Silva 2009-10-10 16:20:23 -03:00
  • 15c5d9e049 Changing authentication method to redirect inside rails and not warden strategy anymore. Updating session to authenticate the user and set it to warden. Carlos A. da Silva 2009-10-10 15:59:37 -03:00
  • 643a2ef271 Updating sessions create to handle authentication, still based on warden strategy Carlos A. da Silva 2009-10-10 14:14:09 -03:00
  • fff46a53eb Some warden helpers tests taken from rails_warden Carlos A. da Silva 2009-10-10 14:03:18 -03:00
  • 11715cac1f Removing rails_warden dependency. Carlos A. da Silva 2009-10-10 13:52:14 -03:00
  • aefa857ab2 Updating controllers to scope resource_class and changing mapping implementation to reload mapped class based on cache_classes configuration. Carlos A. da Silva 2009-10-10 11:05:56 -03:00
  • 2fbb56e8f7 Removing no_authentication in confirmations Carlos A. da Silva 2009-10-10 10:17:51 -03:00
  • 7557ed147a Route tests. Carlos A. da Silva 2009-10-10 09:41:16 -03:00
  • 23bb351d0e Tests with resource and resource_class Carlos A. da Silva 2009-10-10 09:32:51 -03:00
  • d181975555 Moving resource_name and resource_class to Devise, rewriting route tests, using resource_class in controllers. Carlos A. da Silva 2009-10-10 08:37:22 -03:00