Commit Graph

237 Commits

Author SHA1 Message Date
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
José Valim
4894059828 Remember token is now properly stored and specified one for each user. 2009-11-13 17:23:32 -02:00
José Valim
bb32a42966 Since we are deleting options, make sure we dup the hash before sending it to each mapping. 2009-11-13 09:35:43 -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
José Valim
8628cf0d6b Stop asserting valid keys on routes, since we are cherry picking. 2009-11-12 21:29:16 -02:00
José Valim
6d09eb66cf Tidying up encryptors. 2009-11-10 18:55:13 -02:00
Marcelo Silveira
51f633325e merged with changes introduced in 0.4.3 2009-11-10 13:42:52 -02:00
Marcelo Silveira
2825998439 adding migration notes to readme 2009-11-10 13:29:52 -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
José Valim
e6901686c4 Authentication fail with user cannot be serialized from session [#29] 2009-11-10 00:00:40 -02:00
José Valim
9a4b374b96 Release Devise 0.4.3 with latest fixes. 2009-11-09 22:01:28 -02:00
José Valim
80699c58b4 Ensure user config is not overwriten by default config. 2009-11-09 22:00:44 -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
05678e773f Added support to config.default_url_options. 2009-11-06 20:59:36 -02:00
José Valim
2c33d0e191 Release Devise 0.4.2 with latest fixes. 2009-11-06 14:56:06 -02:00
José Valim
c06d9ad7ae Merge branch 'master' of git@github.com:plataformatec/devise 2009-11-06 14:29:44 -02:00
José Valim
4debe4080b Allow :path_prefix to be given to devise_for. 2009-11-06 14:27:27 -02:00
José Valim
e4cc18cdc3 Refactor devise/rails/routes 2009-11-06 12:44:10 -02:00
José Valim
0c088a7420 Renamed mail_sender to mailer_sender. 2009-11-06 09:40:38 -02:00
José Valim
1db50dee36 Skip authentication filters by default on Devise controllers and add devise_controller? to select/reject other filters. 2009-11-06 09:33:18 -02:00