1
0
Fork 0
mirror of https://github.com/heartcombo/devise.git synced 2022-11-09 12:18:31 -05:00
Commit graph

28 commits

Author SHA1 Message Date
José Valim
00c6f583e2 More OAuth tests. 2010-07-26 20:33:22 +02:00
José Valim
bd0e2a3180 devise_for now accepts a block. All routes inside the block uses the scope defined by devise_for.
You are now allowed to do:

  devise_for :users do
    # Non conventional sign_in route
    get "/sign_in" => "devise/sessions#new"
  end

And it should work as expected.
2010-07-07 10:51:14 +02:00
José Valim
750560ae87 Ensure method is always POST on new.html.erb forms, closes #365. Also, start to remove usage of assert_template. 2010-07-06 16:01:22 +02:00
José Valim
23e608e27b No need to append ?unauthenticated=true in URLs anymore since Flash was moved to a middleware in Rails 3. 2010-04-03 11:43:31 +02:00
José Valim
2a082f3e4c Fix some unlockable bugs. 2010-03-28 23:09:28 +02:00
José Valim
ea71be8d2a More compatibility with Rails master. 2010-03-28 07:15:52 +02:00
José Valim
28a6be456a Require files before monkey patching them. 2010-03-23 16:28:17 +01:00
José Valim
ac742e3271 Clean up lockable and class methods API. 2010-03-10 16:13:54 +01:00
José Valim
4a0b9c663a Use metal for Devise::FailureApp. \m/ 2010-02-19 09:52:12 +01:00
José Valim
d466849c57 More tests passing for Rails 3 compatibility. 369 tests, 788 assertions, 34 failures, 16 errors. 2010-02-16 16:11:30 +01:00
José Valim
766316b5e7 Got tests running on Rails 3: 369 tests, 486 assertions, 45 failures, 124 errors. 2010-02-16 14:31:49 +01:00
José Valim
1cf4dc798d Add Http Basic Authentication support. 2010-02-06 01:33:32 +01:00
Jonas Grimfelt
e1440fb430 Initial support for authorization using "authentication token" (a.k.a. "single access token") - new module. Corresponding changes to Devise core to hook events like "after_changed_password" (only one added now - only one that makes much sense for latest module) easily. Unit and integration tests included. NOTE: One failing test for hooking Warden::Manager.after_authentication - gets ignored for some reason.
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-02-02 12:36:44 +01:00
Marcelo Silveira
d2fa737aa0 introducing lockable implementation 2010-01-01 17:57:35 -02:00
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
371a9bb0d0 Major refactoring. Allow Warden::Manager to be configured through Devise, undeprecate Devise.confirm_within, Devise.pepper and friends and move Rails hooks to their own file. 2009-11-03 09:35:11 -02:00
Carlos A. da Silva
9643a5fa6d Removing attr_accessible. 2009-10-22 20:18:16 -02:00
Carlos A. da Silva
0eb8b3b7cc Mailer subjects namespaced by model 2009-10-20 01:28:01 -02:00
Carlos A. da Silva
28a7f78fba Creating rememberable module. 2009-10-20 00:31:33 -02:00
Carlos A. da Silva
a5cb147eb2 Stores the requested page before signing in and redirect the user to the stored uri after. 2009-10-17 11:12:50 -03:00
José Valim
f1cecacc99 Move mappings to routes. 2009-10-12 21:49:51 -03:00
José Valim
b012bc800b Kick tests back to life. 2009-10-11 23:24:57 -03:00
José Valim
bd8f7dc631 Some major changes. 2009-10-11 22:11:58 -03:00
Carlos A. da Silva
1226c3d8de Adding separated tests for admins and users to enforce modularization. Rewrite of several tests. 2009-10-11 10:49:25 -03:00
Carlos A. da Silva
f4de0f6c5a Creating Devise.map to generate and recognize urls based on scope. 2009-10-09 21:11:58 -03:00
Carlos A. da Silva
1e2ffc4104 Routes using i18n and tests, moving test helpers to support directory. 2009-10-09 07:36:13 -03:00