1810 Commits

Author SHA1 Message Date
José Valim
19f9ecfcb6 Updating CHANGELOG. 2010-01-13 18:27:26 +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. v0.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
Jonas Grimfelt
37119616ff Devise.mailer_sender accepts a proc too, passing mapping. Useful if sender e-mail should differ for different devise scopes or current locale.
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-01-13 17:36:05 +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
f4b438bb1e adding links refactory to changelog 2010-01-09 13:36:04 -02:00
Marcelo Silveira
6c4274fae6 fixing mongo tests 2010-01-09 13:16:07 -02:00
Marcelo Silveira
827d0ce14c refactoring attempts track to avoid saving the model twice 2010-01-09 13:12:24 -02:00
Marcelo Silveira
915afa5f0a forgot the partial.. 2010-01-09 12:59: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 v0.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 v0.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
José Valim
27a515fcbf Alloy dummy test app to boot. 2010-01-06 14:03:52 +01:00
José Valim
dc5724c888 Since script/generate devise_install is a required step, move README over there. 2010-01-06 14:00:50 +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. v0.7.5 2010-01-02 10:12:04 +01:00
José Valim
501a89aaea Merge branch 'master' of github.com:plataformatec/devise 2010-01-02 10:07:31 +01:00
José Valim
4c531df108 Remove DeviseMailer from README and set a default value for mailer_sender. 2010-01-02 10:06:26 +01:00
Marcelo Silveira
d2fa737aa0 introducing lockable implementation 2010-01-01 17:57:35 -02:00
rejeep
95989dc2a5 create_table yields a table object. 2009-12-29 02:14:04 +08:00
lancecarlson
15bd4b1956 Copy over class Devise class methods onto EmbeddedDocument modules too 2009-12-28 21:51:24 +08:00
José Valim
6bd88461f6 Update Maintainers and Contributors section. Add Grimen for his work and feedback on Devise plugins. 2009-12-23 13:56:46 +01:00
José Valim
42829911b6 New version with small MongoMapper fixes. 2009-12-22 22:04:46 +01:00
José Valim
f863c3ced5 Support to multiple ORMs in the test suite (rake pre_commit) before commiting. 2009-12-21 21:24:19 +01:00
José Valim
35a8d13369 Tests passing for ActiveRecord and MongoMapper. 2009-12-21 21:10:23 +01:00
José Valim
947de72617 More test files. 2009-12-21 19:57:26 +01:00
José Valim
78303cd5c5 Got another bunch of tests passing with MongoMapper. 2009-12-21 19:57:17 +01:00
José Valim
0819f87255 Test different ORMs 2009-12-21 15:29:58 +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
José Valim
436300928b Send :scope to the proper validation. 2009-12-16 01:28:43 +01:00
José Valim
01ca3e54f8 Update CHANGELOG 2009-12-15 18:48:51 +01:00
José Valim
8b4036feca Allow :controller to be given to render_with_scope. 2009-12-15 18:48:00 +01:00