Commit Graph

256 Commits

Author SHA1 Message Date
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
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
Trevor Turk
529cd8b0a8 Add example for including Devise::TestHelpers in all functional tests in Rails
Signed-off-by: José Valim <jose.valim@gmail.com>
2009-11-20 21:53:19 -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
3cee549a97 Updating changelog to 0.5.4. 2009-11-19 14:08:38 -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
José Valim
977b7f206a Merge branch 'master' of git@github.com:plataformatec/devise 2009-11-18 12:49:38 -02:00
José Valim
e20d89fb75 Update CHANGELOG and re-release 0.5.3. 2009-11-18 12:03:04 -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
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
6ba42affc7 Allow schema options to work together with devise method in ORMs where devise and schema are in the same class (as in Datamapper and MongoMapper). 2009-11-15 20:35:19 -02:00
José Valim
1f98eed6f6 Raise error if mapping cannot be found. 2009-11-15 20:07:47 -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
3805bf2f26 Update Warden version to 0.6.0 and release 0.5.1 2009-11-15 10:41:42 -02:00
José Valim
6c46c0985e Make validations based on authentication keys. 2009-11-15 03:32:22 -02:00
José Valim
b70b293690 Add authentication_keys. 2009-11-15 03:31:13 -02:00
José Valim
dbe0b48bca Do not store mappings since they can change by scope in serializers. 2009-11-15 02:13:54 -02:00
José Valim
7ffd0900c1 Rely on Warden new serializers. 2009-11-15 00:13:43 -02:00
José Valim
1c8c0a4f00 Release Devise 0.5.0 with Encryptors, MongoMapper support and Remember me fixes. 2009-11-13 22:34:50 -02:00
José Valim
8775f5d61a Tidy up MongoMapper and Schema. 2009-11-13 22:33:00 -02:00
Cyril Mougel
512397b744 add capability to define other orm compatible with Devise. Add MongoMapper support. 2009-11-13 23:54:21 +01:00
José Valim
bb693a9706 Only sign in in rememberable users that can be signed in. 2009-11-13 19:49:23 -02:00
José Valim
0be7426847 Use a Rack Middleware to sign in users. 2009-11-13 19:26:33 -02:00
José Valim
ca5a45a68a Updated TODO. 2009-11-13 17:29:39 -02:00
José Valim
0d22ac39c4 Merge branch 'master' of github.com:plataformatec/devise 2009-11-13 17:29:33 -02:00