Anshul Sharma
dc1b399a8b
Updated ruby 1.9 hash syntax
2014-02-25 22:12:55 +05:30
Carlos Antonio da Silva
0285565322
Actually fix this test by forcing to_s on the id
2013-01-28 21:40:11 -02:00
Carlos Antonio da Silva
acc3adb2c1
Use #next instead of calculating id + 1
...
The id attribute is not Integer in Mongo, so it fails with something like:
NoMethodError: undefined method `+' for "5106fc06ee6da1ee44000002":Moped::BSON::ObjectId'`
With #next, it will work with both Integer and String ids, for both AR
and Mongo, returning a different id to test for filtered conditions.
2013-01-28 20:46:21 -02:00
Rafael Mendonça França
bfa65dde70
Use the Ruby 1.8 hash syntax.
...
Yes we still support Ruby 1.8 😢
2013-01-28 13:21:44 -02:00
José Valim
5190f52857
Require string conversion for all values
2013-01-26 11:42:42 -07:00
Rodrigo Flores
5ef35ee1bd
Adding required_fields to all modules
2012-02-24 20:57:58 -02:00
José Valim
1c5d4771ff
Initial work on making the authentication stack more flexible.
2010-03-29 16:13:19 +02:00
José Valim
ca4e09390e
Compatibility with Ruby 1.9.1 and 1.9.2.
2010-03-26 11:27:19 +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
732e31528e
More changes in update_with_password.
2010-02-08 23:14:03 +01:00
José Valim
d7db5b1eea
More work on edit.
2010-02-08 20:38:47 +01:00
José Valim
1cf4dc798d
Add Http Basic Authentication support.
2010-02-06 01:33:32 +01:00
José Valim
f46d1b1d81
Add support to Warden 0.9.0.pre
2010-01-14 13:38:02 +01:00
José Valim
35a8d13369
Tests passing for ActiveRecord and MongoMapper.
2009-12-21 21:10:23 +01:00
José Valim
90c33a4e05
Revert earlier commit. Do care about blank passwords, otherwise update_with_password is useless.
2009-12-16 17:34:09 +01:00
Carlos Antonio da Silva
afab12fa37
Adding old_password reader method to authenticatable
2009-12-14 23:25:45 -02:00
Carlos Antonio da Silva
82ab50f774
Merge and fix conflicts.
2009-12-14 23:02:10 -02:00
Carlos Antonio da Silva
72021348d3
Adding update_with_password to authenticable. Updates the record only when the :old_password is valid.
2009-12-14 22:55:55 -02:00
José Valim
b842a72e77
Do not care blank passwords on update
2009-12-15 01:20:59 +01:00
José Valim
30d6d37bab
Refactor tests a little bit and gain more speed (from 12s to 9s in my machine).
2009-11-24 23:19:12 -02:00
José Valim
a016819de8
Ensure all encryptor returns a symbol. Get the class using encryptor_class.
2009-11-22 22:32:54 -02:00
Carlos Antonio da Silva
6829619330
Allow overwriting find for authentication method.
2009-11-19 13:53:57 -02:00
José Valim
4f6dfefe0e
Sanity check the serialized class.
2009-11-15 11:17:40 -02:00
José Valim
b70b293690
Add authentication_keys.
2009-11-15 03:31:13 -02:00
Marcelo Silveira
262a33f71f
finished implementation of encryptors and created encryptors for clearance, authlogic and restful-authentication
2009-11-10 13:27:43 -02:00
Marcelo Silveira
fdea519df8
moved password encryption out of Authenticatable to allow custom encryptions for people coming by with an existent users table
2009-11-09 18:43:21 -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
e7f809de3c
Do not require ActiveRecord to be loaded to use Devise.
2009-10-30 21:51:50 -02:00
José Valim
b28d7e8b1c
Renamed authenticable to authenticatable and added deprecation warnings.
2009-10-30 08:29:10 -02:00