José Valim
582f00ed95
Devise should not attempt to load OmniAuth strategies. Strategies should be loaded before hand by the developer or explicitly given to Devise.
2011-11-20 19:42:02 +00:00
José Valim
dfb8ff372d
Revert "Fixed require_strategy for google_oauth2 omniauth strategy."
...
This reverts commit 065963f6d3 .
2011-11-20 19:21:08 +00:00
Christian Buggle
065963f6d3
Fixed require_strategy for google_oauth2 omniauth strategy.
2011-11-14 19:14:28 +01:00
Rodrigo Flores
5c3f75d90a
Merge pull request #1426 from TamiasSibiricus/omniauth-1.0.0
...
Support OmniAuth 1.0.0 stable
2011-11-10 03:16:53 -08:00
José Valim
22136a708b
Fix failure_app failing test.
2011-11-07 21:38:31 -02:00
TamiasSibiricus
2a29e87eb9
Update dependencies for OmniAuth 1.0.0 stable
2011-11-07 22:58:33 +02:00
Denis Kiselev
ea9e8c0c9b
Merge remote-tracking branch 'dkastner/omniauth-1.0' into omniauth-1.0.0
...
Conflicts:
test/omniauth/url_helpers_test.rb
2011-11-07 22:26:51 +02:00
did
bbd117bd92
implementation of a much simpler solution
2011-11-05 16:53:27 +01:00
Derek Kastner
8b45c0a856
Correct test for named OmniAuth strategy
2011-10-17 10:09:47 -04:00
Derek Kastner
3f0b5fbd71
Support for OmniAuth 1.0.0
2011-10-14 21:31:17 -04:00
José Valim
261c01dfa3
Allow :skip => :all
2011-09-14 16:52:28 -07:00
José Valim
9ebcb691b0
Depend on jdbc master.
2011-09-08 09:05:06 +02:00
José Valim
8796c1c601
Do not always skip helpers, instead provide :skip_helpers as option to trigger it manually
2011-08-31 12:02:57 +02:00
José Valim
295088f9e8
Depend on latest Rails.
2011-08-30 14:33:23 +02:00
Szymon Przybył
7665cbf21d
Allow to set default 'from' header of Devise mails in custom mailer class
2011-08-20 22:35:47 +02:00
Alexander Uvarov
d38341b5e0
Don't require explicit scope in authenticate router extension
2011-08-10 15:41:06 +06:00
Ches Martin
55af9f8a40
Fix failing Mongoid tests
...
- attr_accessible not set for test user model, making Serializable tests
inaccurate
- Mongoid does not `include_root_in_json` by default, so enable this for
consistency with AR tests
- Mark tests pending for Mongoid < 2.1 that fail there due to known bugs
- Add `:mongoid` key for i18n model labels
- Remove outdated shim of `update_attribute` that caused mass assignment
security to be applied (ugh, that took awhile to find)
2011-08-05 01:38:42 +07:00
Jo Liss
2a6c160d39
Remove whitespace from generator template
2011-07-08 18:41:16 +02:00
José Valim
767a7a7c21
Ensure handle_unverified_request clean up any cached signed-in user
2011-06-29 20:18:10 -03: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
Samuel Cochran
e75354b3b0
Tests.
2011-06-23 10:44:46 +08:00
José Valim
84e1a89c44
Fix failing tests.
2011-06-17 10:46:39 -03:00
Mac Martine
7631456047
Added support for Devise routes to honor constraints.
2011-06-16 21:24:20 -07:00
Stefan Wrobel
8e87a2d80d
Add strip_whitespace_keys which works like case_insensitive_keys but strips whitespace from emails
2011-06-10 01:37:43 -07:00
Sergey Kojin
58f8c7c613
support for named omniauth open_id strategies
2011-05-25 00:15:24 +04:00
José Valim
b1a27ad633
Allow controllers to be given as symbols.
2011-04-25 10:00:28 +02:00
José Valim
29afe2d21c
Other minor improvements in the REST code.
2011-04-19 08:36:52 +02:00
Matias Korhonen
8db00eedea
Bump the password maximum length to 128 characters.
2011-04-15 16:39:01 +08: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
José Valim
ed51fc7636
Tidy up previous commits.
2011-03-30 15:35:38 +02:00
José Valim
43a3431c3e
Add a test to ensure user.remember_me = true followed by a sign in sends the cookie, closes #776
2011-02-24 22:24:21 +01:00
Carlos Antonio da Silva
c9fe8885f9
Spaces
2011-02-06 19:23:36 -02:00
Nico Ritsche
f06bed279a
corrected 'an user' to 'a user' in comments and docs
2011-02-06 23:46:49 +08:00
John Plummer
7a1852e9f5
Allow send confirmation to change keys used
2011-02-05 16:19:01 +08:00
José Valim
68f699bfd4
Do not change default behavior of previous apps.
2011-01-21 10:55:40 +01:00
José Valim
0615c0a0a4
Fix infinite redirect issues. Closes #787 and closes #795 .
2011-01-20 09:22:41 +01:00
José Valim
c78bb68c66
Revert "Fix an issue causing infinite redirects in production, closes #720 "
...
This reverts commit a156576ce9 .
Conflicts:
lib/devise/controllers/internal_helpers.rb
2011-01-20 09:16:44 +01:00
Richard Aday
038eb321d4
Allowing reset_password_keys and unlock_keys to be set through the config
2010-12-30 03:10:56 +08:00
José Valim
c8c84c77c6
Respond to all formats if none is specified.
2010-12-29 16:01:11 +01:00
José Valim
27051cb2fe
responder formats should be inherited from ApplicationController
2010-12-25 11:04:39 +01:00
José Valim
a156576ce9
Fix an issue causing infinite redirects in production, closes #720
2010-12-18 09:38:41 +01:00
Carlos Antonio da Silva
268eae1013
Add update_attribute method to Mongoid Shim for devise tests, to fix failing test
...
Mongoid does not have this method in the current beta version (2.0.0.beta.20).
2010-11-26 01:14:27 -02:00
Carlos Antonio da Silva
eb7760b4b2
Make sure to load test gems only in Devise test env
2010-11-26 00:55:16 -02:00
José Valim
c7efb68a77
Devise does not intercept 401 returned from applications anymore
2010-11-09 23:42:14 +01:00
David A. Cuadrado
bf19b15914
added open id support via omniauth
2010-10-31 03:06:52 +08:00
José Valim
611261c64e
More tests for Omniauth.
2010-10-18 15:00:34 +02:00
José Valim
2f360bf201
Remove OAuth2 in favor of OmniAuth.
2010-10-18 15:00:34 +02:00
dewski
69ecbd1fa3
removed the occurances of =%> at the end of erb blocks and replaced them with -%>
2010-10-02 05:56:29 +08:00
José Valim
ef3480004c
Ensure we are pointing to the proper sessions controller on failure.
2010-09-26 21:12:05 +02:00
Carlos Antonio da Silva
a7cc3388b4
Regenerate devise config file for tests and get all tests green on mongoid
2010-09-26 14:31:08 -03:00