Commit Graph

144 Commits

Author SHA1 Message Date
José Valim
e5be5326b4 Ensure options can be configured even if models were not loaded yet 2009-11-03 22:34:37 -02:00
José Valim
c1d2796071 Release Devise 0.4.0. ATTENTION: this release contains some backwards incompatible changes: 1) Notifier was renamed to DeviseMailer, so you need to rename your app/views/notifier to app/views/devise_mailer as well; 2) :authenticable calls were deprecated, use :authenticatable instead. 2009-11-03 10:20:22 -02:00
José Valim
888272769b Created a generator that copies an initializer with configuration values. 2009-11-03 10:11:36 -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
5f498522df Copy locale on devise_views and release 0.3.0 2009-10-30 08:43:36 -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
9d56aa9603 Allow yml messages to be configured by not using engine locales, which, due to a Rails bug, always have higher priority than application locales 2009-10-30 07:33:55 -02:00
José Valim
3209e7d988 Renamed confirm_in to confirm_within. 2009-10-30 07:23:47 -02:00
José Valim
04b0622999 Release Devise 0.2.3 2009-10-29 13:10:13 -02:00
José Valim
d3f9e9c2a1 Do not fill in passwords fields on failure. 2009-10-29 08:43:45 -02:00
José Valim
eb4437adaf Allow model configuration to be set to nil. 2009-10-29 08:31:14 -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
2cc07d05a6 Release 0.2.2 2009-10-28 08:33:20 -02:00
José Valim
d613c25426 Updated CHANGELOG and released Devise 0.2.1. 2009-10-27 22:12:49 -02:00
José Valim
dd3e534a19 Build resource in all views. 2009-10-27 21:31:12 -02:00
José Valim
dede8af5b0 Do not include Devise internal helpers in application controller. 2009-10-27 21:26:40 -02:00
José Valim
b5256d9765 Merge branch 'master' of git@github.com:plataformatec/devise 2009-10-27 20:57:35 -02:00
José Valim
8dbee55b8c Fix failure app on Mongrel and Ruby 1.8.6. 2009-10-27 20:57:05 -02:00
Carlos A. da Silva
cb0197921b Releasing Devise 0.2.0 2009-10-24 20:44:05 -02:00
Carlos A. da Silva
385dba551e Adding simple devise generator to create a model, migration and route. 2009-10-23 10:13:23 -02:00
José Valim
e5efe20845 Allow default_url to be set for Devise::Failure app. 2009-10-23 00:54:42 -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
63d5f9dc82 Updating default remember_for, using only .days while testing confirmation period, and some more docs. 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
18d87d5c58 Updating cookies info adding expires for rememberable. 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
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