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
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
José Valim
bad6049d73
Allow :failure_app as configuration in devise_for.
2011-11-07 09:20:09 -02:00
José Valim
e9c263c326
Merge pull request #1418 from locomotivecms/simple_scoped_mailer
...
Re-define the devise mailer inside a model
2011-11-06 01:38:08 -08:00
José Valim
a816e538ab
Fix bug where activation messages were shown first than the credentials error message, closes #1410
2011-11-05 19:47:58 -02:00
did
bbd117bd92
implementation of a much simpler solution
2011-11-05 16:53:27 +01:00
José Valim
d448e7d841
Timeoutable also skips tracking if skip_trackable is given
2011-10-25 18:43:48 +02:00
salidux
d11402612f
test for trackable behind a proxy
2011-10-22 11:57:18 -02:00
José Valim
2a5ad4664b
Change all paranoid settings to behave as success instead of as failure, closes #1375 .
2011-10-15 10:52:00 +02:00
Jim Herzberg
b98720d324
jh - reworking paranoid mode in passwords controller
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2011-10-15 10:45:33 +02:00
Derek Kastner
3f0b5fbd71
Support for OmniAuth 1.0.0
2011-10-14 21:31:17 -04:00
José Valim
bc8fc2d4e4
Allow idempotent API requests, closes #1309 .
2011-09-29 11:35:18 +02:00
James Cook
edcca8cd3f
DatabaseAuthenticatable#clean_up_passwords should set accessors to nil, not empty string.
2011-09-02 13:14:15 -04:00
Rémy Coutable
ebbabaea5b
After a password reset, don't show "You are now signed in." if the user can't be signed-in anyway.
2011-09-01 00:24:10 +02:00
Benjamin Quorning
a3bff7d6a2
Fix usage of "its" / "it's" in documentation
2011-08-16 22:15:25 +02:00
José Valim
e76ba05516
Merge pull request #1249 from ches/mongoid-fixes
...
Tests that should no longer exclude Mongoid
2011-08-06 08:21:48 -07:00
Ches Martin
3cedba1de8
Fix optional enforcement of particular authentication keys
...
Documentation states that authentication_keys should accept a hash with
values indicating whether or not each key is required. This was added in
b2066cc2 but tests only covered request_keys, and 29afe2d2 later broke
it with a << array operator.
2011-08-06 20:07:49 +07:00
Ches Martin
ccbf26be0a
Tests that should no longer exclude Mongoid
2011-08-06 19:28:19 +07: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
Gabe da Silveira
ed6dfed67f
Resetting password should confirm implicitly
2011-07-29 14:26:19 -07:00
Gabe da Silveira
3488066031
Spelling correction
2011-07-29 14:17:31 -07:00
Mathieu Ravaux
a2700bc17f
Fixed issue #1206 : TokenAuthenticatable#params_auth_hash behaving in an unexpected way for the authentication token lookup
2011-07-23 17:45:45 +02:00
Simon Ernst
517343ddb5
Add ability to override redirect_to path after account confirmation.
2011-07-08 11:21:01 +02:00
José Valim
07db04e773
Work around AR that does not call serializable_hash on to_xml.
2011-06-29 20:18:10 -03:00
José Valim
767a7a7c21
Ensure handle_unverified_request clean up any cached signed-in user
2011-06-29 20:18:10 -03:00
José Valim
f43a7c4f24
Merge pull request #1147 from sj26/master
...
Authenticated Route Constraints
2011-06-23 05:29:17 -07:00
Samuel Cochran
e75354b3b0
Tests.
2011-06-23 10:44:46 +08:00
Rodrigo Flores
308238ab42
Not responding the object on creating unlockable requests
2011-06-22 23:04:55 -03:00
Rodrigo Flores
e937cf78cf
Added a test for empty json on unlockable controller response
2011-06-22 23:00:15 -03:00
Rodrigo Flores
3184834d72
Added tests for confirmable
2011-06-22 21:26:32 -03:00
Rodrigo Flores
8ef5534d92
Moved the test to after the XML tests
2011-06-22 21:04:50 -03:00
Rodrigo Flores
b37055fa47
Added a test to return empty json
2011-06-22 19:38:21 -03:00
Rodrigo Flores
422bc4aaa6
Added tests for lockable
2011-06-22 12:52:11 -03:00
Rodrigo Flores
76281ff15c
Added tests for paranoid mode on confirmable
2011-06-22 12:52:10 -03:00
Rodrigo Flores
7d160650b8
Using the same url in success and failure
2011-06-22 12:52:10 -03:00
Rodrigo Flores
09baf2091e
Refactored the tests to use swap
2011-06-22 12:50:34 -03:00
Rodrigo Flores
135a94b4f7
Added a test for the paranoid mode on recoverable
2011-06-22 12:50:34 -03:00
José Valim
e242ca0937
Fix failing tests.
2011-06-10 11:10:56 +02: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
José Valim
2e61e52520
Fix failing test.
2011-05-23 18:22:32 +02:00
José Valim
e763f843c4
Tests pass on 3.0.7
2011-05-04 19:24:11 +02:00
fabian
56f7fbf2d1
use 'devise.skip_trackable' instead of DNT headers
2011-05-04 15:21:12 +02:00
fabian
89b53ea39c
respect do not track headers in trackable
2011-05-04 14:44:37 +02:00
José Valim
4fd866d113
User cannot access sign up and similar pages if he is already signed in through a cookie or token, closes #1036 .
2011-04-29 08:56:57 +02:00
José Valim
29afe2d21c
Other minor improvements in the REST code.
2011-04-19 08:36:52 +02:00
José Valim
a722c6236c
to_json does not guarantee the order.
2011-04-18 13:03:31 +02:00
SixArm
2a5669967f
Change test email addresses to ues RFC 2606 reserved domain example.com
2011-04-18 15:59:13 +08:00
José Valim
4a4dcb30ef
sessions/new also responds to xml and json now
2011-04-18 09:56:24 +02:00
José Valim
0d74c1b4f0
Move it to the junk drawer. :)
2011-04-16 13:18:28 +02:00