781 Commits

Author SHA1 Message Date
José Valim
8e0d517cdb Release 1.1.9 v1.1.9 2011-03-25 15:52:19 +01:00
José Valim
17cd4b0c85 Double check if warden has not halted. 2011-03-25 15:46:38 +01:00
José Valim
1d85f389a0 Release 1.1.8 v1.1.8 2011-03-11 21:23:23 +01:00
José Valim
e358f8256b Improve previous patch.
Conflicts:

	lib/devise/models/authenticatable.rb
2011-03-11 21:20:52 +01:00
José Valim
12ba8603a5 fix for possible injection with mongo
Signed-off-by: José Valim <jose.valim@gmail.com>

Conflicts:

	lib/devise/models/authenticatable.rb
	test/integration/token_authenticatable_test.rb
	test/models/token_authenticatable_test.rb
2011-03-11 21:07:48 +01:00
José Valim
2b123f3017 Release 1.1.7. v1.1.7 2011-02-16 21:02:30 +01:00
José Valim
5396b04202 Check for < 3.0.4 behavior. 2011-02-16 20:32:39 +01:00
José Valim
acac9b43a7 Update README to 1.1.6. 2011-02-16 20:32:38 +01:00
José Valim
6e020af959 Update to 1.1.6 2011-02-16 20:32:38 +01:00
José Valim
c3983d7807 Update CHANGELOG. 2011-02-16 20:32:38 +01:00
José Valim
4803d5d6b1 Use secure compare. 2011-02-16 20:32:38 +01:00
José Valim
d8dedec1f8 Fix handle unverified request. 2011-02-16 20:32:38 +01:00
José Valim
b328655f0f Works on 3.0.4 2011-02-16 20:32:38 +01:00
Carlos Antonio da Silva
0dd921c460 Fix RegistrationsController routes comments 2011-01-02 20:18:28 -02:00
José Valim
c2feed6b3e Fix e-mail regexp. Closes #698 2010-12-01 17:23:41 +01:00
José Valim
dea0f68291 Prepare for 1.1.5. v1.1.5 2010-11-27 19:50:55 +01:00
José Valim
5fc2c2e6f5 Change http_authenticatable default to false to cause less confusion. 2010-11-27 19:50:26 +01:00
José Valim
3bba7edc4f Ensure to convert keys on indifferent hash. 2010-11-27 19:46:17 +01:00
José Valim
36906a03f3 Update gemspec with 1.1.4 release. v1.1.4 2010-11-26 13:21:57 +01:00
Carlos Antonio da Silva
d6af3d7dc6 Make sure to load test gems only in Devise test env 2010-11-26 00:29:33 -02:00
Carlos Antonio da Silva
767331657b Use UTC for Mongoid timestamps, so it conforms with AR. 2010-11-26 00:02:50 -02:00
Carlos Antonio da Silva
55860675c2 Bring Gemfile config from master, adding mongo configs. Also bump mongo related and webrat gem versions 2010-11-25 23:38:37 -02:00
Carlos Antonio da Silva
da3af3f341 Configure Gemfile to use Rails 3.0.x 2010-11-25 22:56:54 -02:00
José Valim
0f46ed3a33 Fix indifferent access on session issue. 2010-11-25 00:04:47 +01:00
José Valim
8d33e8f313 Prepare for 1.1.4 2010-11-20 23:51:27 +01:00
José Valim
fb1e9bc8a7 Avoid session fixation attacks. 2010-11-20 23:51:09 +01:00
Carlos Antonio da Silva
4310ad798c Bump webrat to 0.7.1
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-11-20 23:48:23 +01:00
José Valim
8def06e1a6 Update the README to point to the proper version. 2010-09-24 09:40:21 +02:00
José Valim
3b0aaaaae8 Release a new Devise version with several bug fixes. v1.1.3 2010-09-24 09:38:56 +02:00
Fred Wu
cb83c66139 Updated the views generator to respect the rails :template_engine option.
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-09-24 09:32:38 +02:00
José Valim
2104397bee :default options is used, closes #452
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-09-24 09:31:19 +02:00
James Miller
374948cf4b Fix for failed first-ever logins on PostgreSQL where column default is nil
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-09-24 09:30:33 +02:00
Pelle Braendgaard
7c51ec0742 Improved test thanks to Jose Valim.
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-09-24 09:30:18 +02:00
Pelle Braendgaard
ed05225dd5 The http authentication code was not checking for the type of authentication in the Authentication header.
This caused issues with OAuth header authentication.
Please note I have added a test but I'm not sure it works right as it doesn't fails without the change :-)
But it does fix failures in the oauth-plugin provider specs using devise.

Signed-off-by: José Valim <jose.valim@gmail.com>
2010-09-24 09:30:11 +02:00
Thibaud Guillaume-Gentil
c32cb3da6c Avoid BCrypt::Errors::InvalidSalt: invalid salt
when password_salt is nil.

Signed-off-by: José Valim <jose.valim@gmail.com>
2010-09-24 09:29:35 +02:00
Martin Davidsson
70c32e48fc Incorporate feedback from carlosantoniodasilva and update rememberable
tests
2010-09-24 00:15:25 -03:00
Martin Davidsson
522219e5db Merge options hash instead of overwriting it
The forgetable hook will delete cookies based on the :scope in an
options hash but it was overwriting the options and setting them to
either an empty hash or a hash with a single :domain key. Because the
:scope was lost, the hook was trying to delete the 'remember__token'
instead of the more typical 'remember_user_token' cookie.
2010-09-24 00:15:25 -03:00
takahashim
a843b74c86 fix TypeError in test_sign_in_with_script_name(AuthenticationOthersTest) 2010-09-16 12:08:50 -03:00
Carlos Antonio da Silva
56834284bd Update Gemfile to use Rails 3.0 final, all tests green 2010-08-29 23:27:06 -03:00
José Valim
5b762ff85a Release 1.1.2. 2010-08-25 08:48:02 -03:00
José Valim
73822fe109 Update Gemfile. 2010-08-25 08:48:02 -03:00
José Valim
85a4aa2afa Ensure routes works for all rails 3 versions. 2010-08-25 08:48:02 -03:00
José Valim
c49fe8c6d7 Release v1.1.1. 2010-08-25 08:48:01 -03:00
Carlos Antonio da Silva
a59e20e3bb Add some tests to helper creation using namespaces, to better show how it works. 2010-08-02 08:50:48 -03:00
José Valim
5ef88a8fe6 Fix generators bug. 2010-07-27 16:19:11 +02:00
José Valim
9ab64c53f4 Release 1.1.0. v1.1.0 2010-07-26 20:25:28 +02:00
José Valim
c5999c8f61 Tests green on mongoid as well. 2010-07-26 20:25:02 +02:00
José Valim
680f2612f4 Update CHANGELOG. 2010-07-26 11:52:05 +02:00
José Valim
81620fecab More about extend remember period feature. 2010-07-23 23:57:31 +02:00
Trevor Turk
2939a61a49 documentation tweaks for extend_remember_period 2010-07-24 01:06:10 +08:00