Commit Graph

229 Commits

Author SHA1 Message Date
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
José Valim
3efc0ec08a Do not rely on attribute? methods since they are not available in Datamapper. 2009-11-22 00:24:34 -02:00
José Valim
2f759f8d29 Release Devise 0.5.6. 2009-11-21 20:08:14 -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
d5049240e2 Do not send nil to build (Datamapper compability) 2009-11-21 11:58:02 -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
e7621afba5 Updating changelog and adding example doc. 2009-11-19 14:00:15 -02:00
Carlos Antonio da Silva
6829619330 Allow overwriting find for authentication method. 2009-11-19 13:53:57 -02:00
José Valim
ab81bc344f Release Devise 0.5.4. 2009-11-19 13:14:02 -02:00
José Valim
1a8dc7fe37 Allow default scope to beconfigured. 2009-11-19 13:09:05 -02:00
José Valim
8d5445579c Rename :singular option to :scope. 2009-11-19 11:43:31 -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
Carlos Antonio da Silva
d7425cefed Ensure all devise controllers are "unloadable". Thanks to Thoughtbot guys. 2009-11-18 10:22:01 -02:00
José Valim
c1a1f1628c Bump to 0.5.3. 2009-11-18 09:48:45 -02:00
José Valim
4c81ecae53 Mongomapper ORM now converts DateTime to Time. 2009-11-18 09:41:42 -02:00
José Valim
680cb0f95f Added Devise.all to freeze your app strategies and moved friendly_token to Devise module. 2009-11-18 09:26:47 -02:00
José Valim
209d598241 Release Devise 0.5.2. 2009-11-16 15:08:53 -02:00
José Valim
de40777334 Extract common logic into the same method. 2009-11-16 15:07:01 -02:00