Commit Graph

161 Commits

Author SHA1 Message Date
José Valim
35a8d13369 Tests passing for ActiveRecord and MongoMapper. 2009-12-21 21:10:23 +01:00
José Valim
947de72617 More test files. 2009-12-21 19:57:26 +01:00
José Valim
78303cd5c5 Got another bunch of tests passing with MongoMapper. 2009-12-21 19:57:17 +01:00
José Valim
0819f87255 Test different ORMs 2009-12-21 15:29:58 +01:00
José Valim
e1c2e45f97 Extract Activatable from Confirmable, so if you need to active your account through other means, you can still do so and ensure cherry pick works as expected. 2009-12-20 13:53:53 +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
0a5ba20931 Mail views a scoped as well. 2009-12-15 01:32:40 +01:00
José Valim
b842a72e77 Do not care blank passwords on update 2009-12-15 01:20:59 +01:00
José Valim
9a658d5e74 Added skip_confirmation! It skips confirmation token generation, e-mail sending and automatically sets confirmed_at. 2009-12-15 00:30:28 +01:00
José Valim
358a2389ce Rename reset_confirmation! to resend_confirmation! 2009-12-15 00:16:22 +01:00
José Valim
b04241ddff Allow to sign in with two different users in the same functional test with Devise::TestHelpers. 2009-12-14 22:48:15 +01:00
José Valim
2d772733e7 Allow Inflections to work. 2009-12-02 17:51:34 -02:00
José Valim
c05b8cf2ce Rename :timeout to :timeout_in and release gem again. 2009-11-25 00:11:49 -02: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
4c7081c2e3 More Datamapper compatibility. 2009-11-24 18:02:36 -02:00
José Valim
0434d72009 Update TODO, CHANGELOG and README. 2009-11-24 15:29:46 -02:00
José Valim
f9c5dd6a79 Added trackable for sign_in_count, sign_in_at and sign_in_ip. 2009-11-24 15:18:42 -02:00
José Valim
52885725a9 Assert validations API inside validatable module. 2009-11-24 13:56:54 -02:00
José Valim
6c3bebe630 Make mocha dependency explicit. 2009-11-24 12:54:18 -02:00
José Valim
076ce9add8 Improve timeoutable tests a bit. 2009-11-24 11:52:13 -02:00
José Valim
691055cf06 Fix timeout tests. 2009-11-24 11:00:35 -02:00
Carlos Antonio da Silva
a88731bb93 Adding i18n flash message when session is expired. 2009-11-23 23:01:01 -02:00
Carlos Antonio da Silva
91c184d69f Fixing tests after merge 2009-11-23 23:01:01 -02:00
Carlos Antonio da Silva
10a70b8192 Updating timeoutable with last devise changes. 2009-11-23 23:01:00 -02:00
Carlos Antonio da Silva
fc89db636a Refactoring tests with I18n. 2009-11-23 23:01:00 -02:00
Carlos Antonio da Silva
40aaa98de9 Refactoring timeoutable module and confirmable tests. 2009-11-23 23:01:00 -02:00
Carlos Antonio da Silva
099c77e867 Introducing timeoutable to timeout sessions without activity. 2009-11-23 23:01:00 -02:00
José Valim
39cf987b6b Do not include :authenticatable by default (deprecation warning added) and release Devise 0.6.0. 2009-11-22 23:14:45 -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
José Valim
f3d5c1af22 Allow a strategy to be added after authenticatable one and move store_location to FailureApp. 2009-11-22 00:49:23 -02:00
José Valim
415bcdc722 Added scoped views support. Just turn it on in your Devise.setup. 2009-11-21 20:07:37 -02:00
José Valim
eb335234d4 Release Devise 0.5.5 bringing back Ruby 1.8.6 compatibility. 2009-11-19 20:55:40 -02:00
Carlos Antonio da Silva
6829619330 Allow overwriting find for authentication method. 2009-11-19 13:53:57 -02:00
José Valim
1a8dc7fe37 Allow default scope to beconfigured. 2009-11-19 13:09:05 -02:00
José Valim
d445b4beb9 Create after_sign_in_path_for and after_sign_out_path_for hooks and sign_in_and_redirect and sign_out_and_redirect helpers. 2009-11-19 11:16:31 -02:00
José Valim
de40777334 Extract common logic into the same method. 2009-11-16 15:07:01 -02:00
José Valim
97a7f0ed51 Added test helpers. 2009-11-16 14:58:14 -02:00
José Valim
ffbc9c604d Only redirect if needed. 2009-11-16 14:31:09 -02:00
José Valim
1eb021e590 Add some specs to find_by_class. 2009-11-15 15:14:08 -02:00
José Valim
05fc5712e3 Added a couple of helpers to help sign up and delete account tasks. 2009-11-15 12:19:16 -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
José Valim
7ffd0900c1 Rely on Warden new serializers. 2009-11-15 00:13:43 -02:00
José Valim
0be7426847 Use a Rack Middleware to sign in users. 2009-11-13 19:26:33 -02:00
José Valim
0d22ac39c4 Merge branch 'master' of github.com:plataformatec/devise 2009-11-13 17:29:33 -02:00
José Valim
4894059828 Remember token is now properly stored and specified one for each user. 2009-11-13 17:23:32 -02:00
Carlos Antonio da Silva
836770a9f2 Allow passing options from devise_for to route definitions, useful on subdomain scenarios. 2009-11-13 08:49:22 -02:00