Andrés Mejía
fb4ec6e9da
Fixing parameters for _omniauth_authorize_path method after short-circuiting it.
2011-01-08 02:37:05 +08:00
José Valim
7ff0231ab7
Don't pass options forward, this fixes uncaught warden error. Unfortunately could not write a test for it, although easily reproducible in Rails applications. Closes #754
2011-01-03 16:25:23 +01:00
Carlos Antonio da Silva
3f086656aa
Fix RegistrationsController routes comments
2011-01-02 20:17:48 -02:00
Carlos Antonio da Silva
55cb7195b8
Implicit self
2011-01-02 20:13:37 -02:00
José Valim
555435e6fe
Doh. Use respond_to :all.
2010-12-30 14:49:15 +01:00
Richard Aday
88d4aca2c4
Adding tests for reset_password_keys and unlock_keys
2010-12-30 03:11:03 +08: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
8f20b13f84
By default, just require e-mail on recover and lockable.
2010-12-28 23:00:23 +01:00
José Valim
af1295284c
rememberable cookie now is httponly by default
2010-12-25 12:04:04 +01:00
JamesFerguson
1b43cb5203
Added assertion testing that remember_user_token cookie is flagged as HttpOnly.
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-12-25 11:49:40 +01:00
José Valim
b34f456096
Invoke callbacks using the correct API
2010-12-25 11:41:14 +01:00
Josh Starcher
e95eb93eb7
added failing test for Warden before_failure hooks
2010-12-25 18:21:20 +08:00
Josh Starcher
1a2590dc08
Warden before_failure hooks are an array, not a proc
2010-12-25 18:21:20 +08:00
José Valim
1cdb02bd54
More tiny fixes
2010-12-25 11:15:56 +01:00
José Valim
7759c8b3f3
Update CHANGELOG
2010-12-25 11:11:56 +01:00
José Valim
b32883a7c5
Small fixes in views generator
2010-12-25 11:07:52 +01:00
José Valim
27051cb2fe
responder formats should be inherited from ApplicationController
2010-12-25 11:04:39 +01:00
Prem Sichanugrist
e8e3df3891
Add support for non-navigational format response to SessionsController
...
This will make Devise::SessionsController return the authenticated object in the requested format instead of redirect the client to another page upon success authentication.
2010-12-25 17:57:15 +08:00
Fred Wu
2561cd4eac
Use an instance variale when removing the temp directories otherwise the create_haml_views method gets called twice.
2010-12-23 17:05:05 +08:00
Fred Wu
146090f86e
Added more clarification for the devise:views generator.
2010-12-23 17:05:05 +08:00
Fred Wu
4519364eaf
Added support for generating Slim view templates.
2010-12-23 17:05:03 +08:00
Uģis Ozols
f56c588a6a
Fix typo.
2010-12-23 15:48:03 +08:00
siong1987
379d8c69a5
Issue 675: recall option is now passed for not confirmed email and inactive account.
2010-12-23 02:24:26 +08:00
José Valim
13e8bc22e3
Move duplicate sign_in logic to sign_in().
2010-12-20 10:02:27 +01:00
José Valim
c27bc21af9
Update CHANGELOG.
2010-12-18 09:39:55 +01:00
José Valim
a156576ce9
Fix an issue causing infinite redirects in production, closes #720
2010-12-18 09:38:41 +01:00
José Valim
b942520dc4
No need to use expand_path as we assume the test directory is in the .
2010-12-18 08:22:01 +01:00
Andrés Mejía
a2e92a2ef2
Adding mongoid generator tests.
2010-12-18 15:15:43 +08:00
Andrés Mejía
60be68436b
Adding tests for Active Record generator
2010-12-18 15:15:43 +08:00
Andrés Mejía
fe4eaf2d12
Invoking the model generator even if the model exists but only when the behavior is :revoke (i.e. we are running 'rails destroy' instead of 'rails generate')
2010-12-18 15:15:42 +08:00
Andrés Mejía
845c186f48
Removing caching from #model_exists? so it doesn't return a false positive when the method is called, the file is deleted and then the method is called again.
2010-12-18 15:15:42 +08:00
José Valim
9f832d2cb2
Remove Jeweler.
2010-12-16 16:37:42 +01:00
José Valim
a23a52b2f7
Update dependencies versions.
2010-12-11 10:24:52 +01:00
Carlos Antonio da Silva
7ed1fb116f
Cleanup requires in generators tests, fixing issue with load error in Ruby 1.9.2
2010-12-09 23:52:30 -02:00
José Valim
b50fd1a72e
Fix e-mail regexp. Closes #698
2010-12-01 17:19:45 +01:00
José Valim
2305e8f8cf
Improve README.
2010-11-30 14:17:18 +01:00
José Valim
f2f9232b89
Fix typo.
2010-11-30 05:01:19 -08:00
José Valim
cb62597afa
Improve messages.
2010-11-30 12:23:09 +01:00
José Valim
089c316f37
Improve message.
2010-11-29 00:56:43 -08:00
José Valim
ec5bfe9119
Ensure to convert keys on indifferent hash.
2010-11-27 19:45:25 +01:00
José Valim
912969b5a0
Update CHANGELOG.
2010-11-27 08:10:44 -08:00
Gavin Hughes
fe5ef25614
Deprecate anybody_signed_in? in favor of signed_in?(nil)
2010-11-28 00:09:23 +08:00
José Valim
1d6944d201
Update gemspec with 1.2.rc release.
v1.2.rc
2010-11-26 12:19:22 +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
Carlos Antonio da Silva
112f499937
Use UTC for Mongoid timestamps, so it conforms with AR.
2010-11-26 00:54:08 -02:00
Carlos Antonio da Silva
a582d4dca1
Configure Gemfile to use Rails 3.0.x. Also bump mongo related and webrat gem versions
2010-11-26 00:53:57 -02:00
José Valim
4977bd1222
Fix indifferent access on session issue.
2010-11-25 00:06:39 +01:00
Carlos Antonio da Silva
ed30114bd8
Fix changelog e cleanup white spaces
2010-11-21 11:25:37 -02:00