José Valim
ca794776c1
Bump to 0.9.1.
2010-01-25 20:19:47 +01:00
José Valim
b4707c2bae
Use self. just to stay in the same pattern.
2010-01-25 19:29:14 +01:00
jgeiger
b3fd742aea
bcrypt requires the salt to be over 29 chars
2010-01-22 23:04:03 +08:00
David Palm
bc05d28d3f
Devise::Mapping#raw_path does not consider relative_url_root so that route helpers work (no more session_path(:user) => '/abc/abc/users/sign_in')
...
Devise::Mapping#parsed_path considers relative_url_root so that initial redirects still work with non empty relative_url_roots
2010-01-22 23:03:48 +08:00
José Valim
e4e9e16623
Bump to 0.9.0.
2010-01-21 15:30:13 +01:00
José Valim
345bf159e2
Add latest commities entries to CHANGELOG.
2010-01-21 09:15:07 +01:00
Jonas Grimfelt
0c7c762c16
Fixed some Ruby 1.9 issues/bugs.
2010-01-21 16:06:19 +08:00
Jonas Grimfelt
f50ec773b2
New convenient helper method for extending Devise with additional modules: Devise::add_module.
2010-01-21 16:06:17 +08:00
Carlos Antonio da Silva
6d80418fd1
Changing flash messages to new Rails defaults :notice/:alert
2010-01-20 17:46:14 -02:00
José Valim
b4183cbaa2
Url helpers should rely find_scope!
2010-01-19 17:19:40 +01:00
José Valim
04ce9d1e6f
Should accept path prefixes not starting with slash.
2010-01-16 14:39:57 +01:00
José Valim
ef25da992c
Use an OrderedHash to fix problems with test suite working in some machines but no in others.
2010-01-16 14:32:52 +01:00
José Valim
394b1ff444
Bring mongomapper up to date. Remember that you need mongo_ext in order to use MongoMapper with Devise.
2010-01-16 11:22:09 +01:00
José Valim
a5b2ee5171
Improve documentation for after_sign_in_path_for.
2010-01-16 10:56:35 +01:00
José Valim
2afad49a96
Bring rememberable back.
2010-01-14 15:47:14 +01:00
José Valim
f46d1b1d81
Add support to Warden 0.9.0.pre
2010-01-14 13:38:02 +01:00
José Valim
efc0ae230a
Deprecate :all.
2010-01-13 19:45:24 +01:00
José Valim
d4442837d5
Clean up whitespace and remove deprecated stuff.
2010-01-13 18:23:04 +01:00
José Valim
b581f86317
DRY up controllers.
2010-01-13 18:12:13 +01:00
José Valim
d0ccd14c54
Merge remote branch 'mhfs/master'
2010-01-13 17:49:20 +01:00
José Valim
d1dc18cb1a
Bump to 0.8.2.
2010-01-13 17:46:16 +01:00
José Valim
6bb1901830
Add tests for mail with proc.
2010-01-13 17:45:02 +01:00
David Palm
5ca178aa7e
Devise::Mapping#raw_path considers the relative_url_root to fix issue with Passenger and RailsBaseURI directives
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-01-13 17:30:27 +01:00
Marcelo Silveira
827d0ce14c
refactoring attempts track to avoid saving the model twice
2010-01-09 13:12:24 -02:00
Marcelo Silveira
4498acb1d0
moved view links into a partial and I18n'ed them
2010-01-09 12:58:51 -02:00
Marcelo Silveira
9c4ddc6465
- Maximum attempts changed from 5 to 20
...
- Lockable is not turned on by default
- Fixed lockable incompatibilities with latest commits
2010-01-09 11:41:28 -02:00
Marcelo Silveira
32991e13c4
Merge and fix conflicts.
2010-01-09 11:22:27 -02:00
José Valim
c4764c931a
Bump to 0.8.1
2010-01-08 23:27:15 +01:00
José Valim
35838b02b7
Ensure bcrypt works and move salt generation to encryptors (needed for bcrypt).
2010-01-08 23:19:57 +01:00
José Valim
d00c31314d
Bump to 0.8.0
2010-01-07 22:50:01 +01:00
lancecarlson
ab57cdfb4a
More DataMapper compatibility
2010-01-07 22:48:23 +01:00
José Valim
6517b358a1
sign_in_count should also be increased when user signs in via password change, confirmation, etc.
2010-01-07 22:41:14 +01:00
José Valim
99694fd159
Updated CHANGELOG.
2010-01-07 22:37:47 +01:00
Julio Capote
3916033058
added bcrypt as one of the encryptors
2010-01-08 05:33:16 +08:00
José Valim
4d8f5ea165
Add an easy way to configure an application to sign in users through "/sign_in".
...
First, configure your routes:
map.devise_for :users
map.sign_in "/sign_in", :controller => "sessions", :action => "new"
Then, in config/initializers/devise.rb:
config.use_default_scope = true
The default scope is always the first declaration in routes.rb, but if you need
to change it, you can also do it through the initializer:
config.default_scope = :user
2010-01-06 14:31:00 +01:00
Carlos Antonio da Silva
73c0a10af5
Updating docs: timeoutable does not rely on trackable.
2010-01-05 21:12:16 -02:00
José Valim
a789f08d3b
Cleaning up README to be more compatible with the latest stuff.
2010-01-05 16:01:16 +01:00
José Valim
543fe077d8
Update to work with Warden 0.8.0.
2010-01-05 13:44:13 +01:00
José Valim
7c67388a90
Release new version.
2010-01-02 10:12:04 +01:00
Marcelo Silveira
d2fa737aa0
introducing lockable implementation
2010-01-01 17:57:35 -02:00
lancecarlson
15bd4b1956
Copy over class Devise class methods onto EmbeddedDocument modules too
2009-12-28 21:51:24 +08:00
José Valim
42829911b6
New version with small MongoMapper fixes.
2009-12-22 22:04:46 +01:00
José Valim
35a8d13369
Tests passing for ActiveRecord and MongoMapper.
2009-12-21 21:10:23 +01:00
José Valim
78303cd5c5
Got another bunch of tests passing with MongoMapper.
2009-12-21 19:57:17 +01:00
José Valim
e00ae1f86e
Extract CookieSerializer from Rememberable.
2009-12-20 21:49:12 +01:00
José Valim
e1c2e45f97
Extract Activatable from Confirmable, so if you need to active your account through other means, you can still do so and ensure cherry pick works as expected.
2009-12-20 13:53:53 +01:00
José Valim
f26e6a269f
Decouple serializers from Devise modules. You can use any serializer at any time, as long the API required by the serializer is satisfied. Since session serializer is encrypted, it simply stores the id and the resource klass. Cookie is not encrypted, so it creates a random token and store it in the database, so in order to do the token cleanup, you need provide remember_me! and forget_me! methods, as in :rememberable.
2009-12-20 12:31:02 +01:00
José Valim
a3e7ea59ae
Copy and paste from skype is not as good as it sounds. Removing invisible/odd/strange characters which make Devise fail with Ruby 1.9.
2009-12-19 20:32:32 +01:00
José Valim
90c33a4e05
Revert earlier commit. Do care about blank passwords, otherwise update_with_password is useless.
2009-12-16 17:34:09 +01:00
José Valim
490b20a2b5
Release Devise 0.7.3.
2009-12-16 01:29:19 +01:00