Commit Graph

186 Commits

Author SHA1 Message Date
José Valim
7cfc6078ea [#22] Fix generators to use t.authenticable as well. 2009-11-04 00:20:45 -02:00
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
475da069ab Make ActionMailer and ActionController more consistent by always using Devise mapping names and updated README. 2009-10-29 07:14:38 -02:00
José Valim
2cc07d05a6 Release 0.2.2 2009-10-28 08:33:20 -02:00
José Valim
9668640908 Fix a bug introduced in last release refactoring. 2009-10-28 08:31:54 -02:00
José Valim
d613c25426 Updated CHANGELOG and released Devise 0.2.1. 2009-10-27 22:12:49 -02:00
José Valim
86f37cd5e1 Recursively copy original templates in devise_views. 2009-10-27 22:02:56 -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
8c499065f9 Updating CHANGELOG with new 0.2.0 version 2009-10-24 21:05:30 -02:00
Carlos A. da Silva
a2717bd3a6 Adding missing generators to devise gem 2009-10-24 20:53:34 -02:00
Carlos A. da Silva
cb0197921b Releasing Devise 0.2.0 2009-10-24 20:44:05 -02:00
Carlos A. da Silva
a239b312be Fix typo in README, updating TODO and CHANGELOG 2009-10-23 11:21:47 -02:00
Carlos A. da Silva
0a317c964a README with some Generators info. 2009-10-23 11:18:11 -02:00
Carlos A. da Silva
d4f2c2a5ed Adding devise_views generator 2009-10-23 11:01:55 -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
f8a83e02d8 Add mailing list to README. 2009-10-23 01:32:22 -02:00
José Valim
10bca11e76 Order TODO by priority. 2009-10-23 01:17:26 -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
69023de531 Updating CHANGELOG with null option. 2009-10-22 20:30:02 -02:00
Carlos A. da Silva
8007210da7 Updating TODO, README and CHANGELOG 2009-10-22 20:25:29 -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
56f6282c22 Update README, CHANGELOG and TODO. 2009-10-22 17:30:00 -02:00
José Valim
0b825958b2 Make strategies scale as well (requires Warden 0.5.1) 2009-10-22 17:24:14 -02:00