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
José Valim
71450998c5
Avoid session fixation attacks.
2010-11-20 23:18:41 +01:00
José Valim
6f205fe4c4
Tidy up.
2010-11-20 21:44:53 +01:00
Steve Ross
4a8f9a9ba8
set_flash_message: Added conditional to make certain flash entries are not set if message is blank.
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-11-20 21:42:25 +01:00
José Valim
d8016ea3fd
Ensure namespaces has proper scoped views, closes #654
2010-11-20 21:41:26 +01:00
José Valim
6bfcbeffdd
Tidy up and update CHANGELOG.
2010-11-20 21:19:12 +01:00
José Valim
094790295c
Merge remote branch 'adahl/master'
2010-11-20 20:57:02 +01:00
Andrew Dahl
8d1e23c67d
add unit and integration tests for case insensitive keys
2010-11-20 15:54:01 +01:00
Andrew Dahl
e911abf13b
changed case_insensitive_keys config setting to an array and added downcasing of keys as a before filter on database authentication module
2010-11-18 23:29:53 +01:00
Andrew Dahl
26b1bc4107
Revert "remember to downcase on registration"
...
This reverts commit 0c0444c078 .
2010-11-18 22:28:23 +01:00
Andrew Dahl
0c0444c078
remember to downcase on registration
2010-11-18 21:58:00 +01:00
Andrew Dahl
94c666e439
first attempt
2010-11-18 21:24:42 +01:00
José Valim
67645c68f7
Move extra helpers names to the bottom.
2010-11-15 06:55:47 -08:00
Romain Pechayre
13968f49af
Updated README for better layout of modification of previous commit
2010-11-15 22:54:02 +08:00
Romain Pechayre
1b05d8c3bd
Updated README to remove unclarity about user autogenerated helper methods
2010-11-15 22:54:02 +08:00
Andrés Mejía
020f919dcd
Tpyo.
2010-11-15 18:35:15 +08:00
José Valim
b70b72b6b0
Rollback to use the regexp result.
2010-11-15 10:01:45 +01:00
Denis Hennessy
19219cbe0f
Fix for HTTP Basic Auth when base64 encoded string wraps
...
When using a token longer than approximately 45 characters, the base64 encoded string passed in
the HTTP_AUTHORIZATION header will contain newline characters. The existing implementation used
a regex which didn't handle this case correctly.
2010-11-15 16:40:39 +08:00
Robert Peters
32c6f7b00b
For #646 - modify the configuration text that is output for confirm_within so that it matches the actual default value. If you use nil as a value, it crashes trying to call nil.ago
2010-11-13 15:50:33 +08:00
José Valim
67a49f3b75
Ensure authenticatable_salt can be nil.
2010-11-11 22:51:39 +01:00
José Valim
14d772972d
No need to set a pepper in a bcrypt world.
2010-11-11 12:54:09 -08:00
José Valim
b2496d1bc1
Smallish updates.
2010-11-11 13:53:52 +01:00
José Valim
2d2c4c63be
Update gemspec.
2010-11-11 13:28:25 +01:00
José Valim
c7efb68a77
Devise does not intercept 401 returned from applications anymore
2010-11-09 23:42:14 +01:00
José Valim
2366530d55
Update CHANGELOG.
2010-11-09 23:31:35 +01:00
José Valim
505bd39700
failure_app now properly handles nil request.format
2010-11-09 23:30:53 +01:00
José Valim
07fedb4383
Merge branch 'omniauth'
2010-11-09 22:28:05 +01:00