Commit Graph

246 Commits

Author SHA1 Message Date
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
f56323e885 Release 0.7.2 2009-12-15 01:05:46 +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
4f4ac1653f Do not check class collisions, we want to be able to scaffold and then apply Devise on top of it. 2009-12-15 00:07:42 +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
b8c216e0db Remove hardcoded sessions. 2009-12-14 22:04:28 +01:00
José Valim
3432c9eef4 Simplify autoload stack. 2009-12-12 22:52:48 -02:00
José Valim
9095d525b2 Unfreeze Devise::CONTROLLERS as well. 2009-12-09 08:14:50 -02:00
José Valim
3de34c3952 More tweaks for plugin compatibility. 2009-12-08 20:39:38 -02:00
José Valim
5735b21c77 Merge branch 'master' of github.com:plataformatec/devise 2009-12-08 18:29:49 -02:00
José Valim
d164768a4b Do not freeze arrays, allowing other plugins to extend Devise 2009-12-08 18:29:00 -02:00
José Valim
e51e19c08c Remove deprecation warning, extract SessionSerializer and release new version. 2009-12-07 21:00:44 -02:00
José Valim
35370e9e86 Improve more loading process. 2009-12-07 20:26:00 -02:00
Dimitrij Denissenko
4f5789f8b1 Autoload Devise::Models modules 2009-12-07 20:15:48 +08:00
José Valim
45a5d2b416 Email is always required in validatable. 2009-12-06 17:21:18 -02:00
José Valim
2d772733e7 Allow Inflections to work. 2009-12-02 17:51:34 -02:00
José Valim
96f3c53d6b Add trackable to migrations and release new version. 2009-12-02 16:41:00 -02:00
Dimitrij Denissenko
c711a9d1b5 Use autoload to pre-load components (so they still work when rubygems are disabled) 2009-12-02 02:44:40 +08:00
José Valim
c05b8cf2ce Rename :timeout to :timeout_in and release gem again. 2009-11-25 00:11:49 -02:00
José Valim
41ee6878a8 Release Devise 0.6.2. 2009-11-24 23:20:35 -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
f5fbc173d3 Refactor common initialization with error. 2009-11-24 21:35:07 -02:00
José Valim
4c7081c2e3 More Datamapper compatibility. 2009-11-24 18:02:36 -02:00
José Valim
3272438671 Fix small typo on docs. 2009-11-24 15:46:54 -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
ff47abe13e Extract valid_for_authentication to allow overwriting. 2009-11-24 12:53:03 -02:00
José Valim
691055cf06 Fix timeout tests. 2009-11-24 11:00:35 -02:00
Carlos Antonio da Silva
15ba859454 Releasing Devise 0.6.1 2009-11-24 00:09:34 -02:00
Carlos Antonio da Silva
7933d203e3 Merge branch 'session_timeout' 2009-11-23 23:34:38 -02:00
Carlos Antonio da Silva
7f4bc8973a Changing default timeout to 30.minutes. 2009-11-23 23:28:04 -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
4ba34290c7 Improving docs about timeoutable 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
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
sobrinho
a2224fb151 Fix issue when using namespace name as symbol like map.namespace :admin 2009-11-24 08:30:20 +08:00
José Valim
966b48c414 DataMapper accepts conditions as well. 2009-11-23 12:39:26 -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
0b48772562 Small fixes for DataMapper. 2009-11-22 22:10:13 -02:00
José Valim
9757734c92 Give more control do included_modules_hook to ensure DataMapper works. 2009-11-22 18:17:38 -02:00
José Valim
5428fff78d Be less harsh on serializers. 2009-11-22 10:44:07 -02:00
José Valim
fddf95fe0a More improvements in DataMapper support front. 2009-11-22 09:14:58 -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