Nico Ritsche
f06bed279a
corrected 'an user' to 'a user' in comments and docs
2011-02-06 23:46:49 +08:00
Richard Aday
038eb321d4
Allowing reset_password_keys and unlock_keys to be set through the config
2010-12-30 03:10:56 +08:00
José Valim
8f20b13f84
By default, just require e-mail on recover and lockable.
2010-12-28 23:00:23 +01:00
RStankov
fb86f772e7
make User#send_unlock_instructions to require all authentication_keys
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-09-21 11:46:57 +02:00
James Miller
0f0eb4e8ce
Fix for failed first-ever logins on PostgreSQL where column default is nil
2010-09-02 05:46:56 +08:00
José Valim
eb3118e89a
Add OAuth2 documentation.
2010-07-26 20:33:21 +02:00
José Valim
a2f84852af
Allow the mailer class to be configured.
2010-06-12 20:56:55 +02:00
José Valim
c07b5ae858
:activatable is included by default in your models. If you are building a strategy for devise, you now need to call validate(resource), since Devise has now a default API to validate resources before and after signing them in. You can still use other Warden::Strategies with Devise, but they won't work with a few modules like unlockable (they never did, but now we have a single point to make it work).
2010-04-06 16:34:22 +02:00
José Valim
6cc32db2dd
Add lock_strategy.
2010-03-31 11:54:11 +02:00
José Valim
e04c5ba977
More work with unlock_strategy equals to none.
2010-03-30 01:58:06 +02:00
José Valim
81926c2cd2
Allow :unlock_strategy to be :none.
2010-03-30 00:07:11 +02:00
José Valim
7d14f0bbb9
Allow several authentications to share a common path.
2010-03-29 23:44:47 +02:00
José Valim
1c5d4771ff
Initial work on making the authentication stack more flexible.
2010-03-29 16:13:19 +02:00
Jacques Crocker
6d31e368bf
Use persisted? instead of new_record?
...
In order to be more ActiveModel compliant, lets use persisted? whereever we can. Particularly for datamapper, new_record? causes api warnings. Better to stick to the ActiveModel api I think.
2010-03-28 20:53:13 -07:00
José Valim
2a082f3e4c
Fix some unlockable bugs.
2010-03-28 23:09:28 +02:00
José Valim
ac742e3271
Clean up lockable and class methods API.
2010-03-10 16:13:54 +01:00
José Valim
691f9324f5
Use ActiveSupport::Concern.
2010-02-17 12:35:38 +01:00
José Valim
02e8c04cde
Update views generator and now have scoped views.
2010-02-17 12:26:54 +01:00
José Valim
e6e66481b8
Got all tests in test/models and failure app ones passing. 369 tests, 805 assertions, 13 failures, 2 errors.
2010-02-16 17:00:36 +01:00
José Valim
766316b5e7
Got tests running on Rails 3: 369 tests, 486 assertions, 45 failures, 124 errors.
2010-02-16 14:31:49 +01:00
Carlos Antonio da Silva
658059f31a
Bring Devise::ALL back to modules and improving lockable docs.
2010-02-04 20:09:53 -02:00
Carlos Antonio da Silva
21359fb433
Refactoring a bit models and lockable. Also remove devise :all deprecation.
2010-02-04 20:09:53 -02:00
José Valim
d4442837d5
Clean up whitespace and remove deprecated stuff.
2010-01-13 18:23:04 +01:00
Marcelo Silveira
827d0ce14c
refactoring attempts track to avoid saving the model twice
2010-01-09 13:12:24 -02:00
Marcelo Silveira
d2fa737aa0
introducing lockable implementation
2010-01-01 17:57:35 -02:00