Michael Reinsch
0315ca2701
fix for :host getting overwritten in scope[:options] and thus not generating URLs with correct hostnames
2012-02-17 19:14:42 +09:00
José Valim
5eebf74f69
Fix a bug where passing :format => false to devise_for was permanent, closes #1504
2011-12-12 09:25:19 +01:00
Brent J. Nordquist
7e711089a8
More transparent implementat'n of :format => false
...
Per josevalim, by setting {:format => false} in @scope[:options],
Rails will pick it up, without the need to alter each devise_*()
method individually.
2011-06-27 06:51:04 -05:00
Mac Martine
7631456047
Added support for Devise routes to honor constraints.
2011-06-16 21:24:20 -07:00
Sergey Kojin
58f8c7c613
support for named omniauth open_id strategies
2011-05-25 00:15:24 +04:00
Timo Schilling
5adb854aa5
add devise_for :only option
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2011-04-15 10:31:01 +02:00
bUg
6b04312be5
get -> match for omniauth callbacks
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-10-26 17:55:18 -02:00
José Valim
611261c64e
More tests for Omniauth.
2010-10-18 15:00:34 +02:00
José Valim
ef3480004c
Ensure we are pointing to the proper sessions controller on failure.
2010-09-26 21:12:05 +02:00
Martin Rehfeld
f3385e96ab
use :sign_out_via to control the method(s) for the destroy_*_session_path route
2010-08-13 19:16:59 +08:00
José Valim
4ac6b6e407
Unit tests for OAuth.
2010-07-26 20:33:23 +02:00
José Valim
ac8221aca7
Add cancel to registrations controller as a way to delete information from session.
2010-07-26 20:33:22 +02:00
José Valim
ef841ca17d
Start to add helpers for OAuth tests.
2010-07-26 20:33:22 +02:00
José Valim
6c5be8dfd5
Initial routes and module setup.
2010-07-26 20:32:04 +02:00
José Valim
7a1adbb61e
Improve integration of devise with new router scope.
2010-07-04 11:53:12 +02:00
bodhi
c8ec42a41c
Update documentation to track deprecation of :as in #devise_for
2010-05-19 15:50:48 +08:00
José Valim
f1bbce58f3
Add tests to previous commit.
2010-05-16 12:14:02 +02:00
José Valim
1c5d4771ff
Initial work on making the authentication stack more flexible.
2010-03-29 16:13:19 +02:00
José Valim
ca4e09390e
Compatibility with Ruby 1.9.1 and 1.9.2.
2010-03-26 11:27:19 +01:00
José Valim
3f0bae1968
Allow to give :skip in devise_for to skip routes for an specific controller.
2010-03-12 09:54:57 +01:00
José Valim
f6cc219210
Devise now allows you to have custom controlleers. Check the README for more information.
2010-02-17 13:15:19 +01:00
José Valim
02e8c04cde
Update views generator and now have scoped views.
2010-02-17 12:26:54 +01:00
José Valim
e6e66481b8
Got all tests in test/models and failure app ones passing. 369 tests, 805 assertions, 13 failures, 2 errors.
2010-02-16 17:00:36 +01:00
José Valim
2761a75437
Refactor on routes.
2010-02-08 20:25:20 +01:00
Carlos Antonio da Silva
445070f6ec
Use sign_up instead of registration in routes. Fix issue with users being signed in while attempting to sign up with info from already existing user. Also fix signed up flash.
2010-02-08 11:03:15 -02:00
Carlos Antonio da Silva
6b837cb285
Introducing Registerable module, allowing users to sign up.
2010-02-04 20:08:38 -02:00
José Valim
efc0ae230a
Deprecate :all.
2010-01-13 19:45:24 +01:00
José Valim
0819f87255
Test different ORMs
2009-12-21 15:29:58 +01: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
4debe4080b
Allow :path_prefix to be given to devise_for.
2009-11-06 14:27:27 -02:00
Carlos A. da Silva
9a10709545
Fixing singular options for mappings.
2009-10-18 18:19:04 -02:00
Carlos A. da Silva
d87ff26cbd
Allow setup of path_names in devise_for mapping for overwriting sign_in, sign_out, password and confirmation keywords.
2009-10-16 20:46:06 -03:00
Carlos A. da Silva
0f174dbf4b
Updating routes to use sign_in/sign_out instead of session.
2009-10-16 13:44:51 -03:00
José Valim
f1cecacc99
Move mappings to routes.
2009-10-12 21:49:51 -03:00
José Valim
6da49499ff
Finished major changes.
2009-10-12 10:18:14 -03:00
José Valim
e50dfcc73f
More specs.
2009-10-12 09:56:12 -03:00
José Valim
43a13bf2fe
Add missing files.
2009-10-12 08:37:42 -03:00