Trevor Turk
aefcd53765
more tests for remember_across_browsers
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-06-30 12:42:59 +02:00
Trevor Turk
0eb9208503
changelog note for remember_across_browsers
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-06-30 12:42:49 +02:00
Trevor Turk
8824b767f3
remember_across_browsers option for rememberable module
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-06-30 12:42:42 +02:00
José Valim
2103a673f0
Allow devise_for to be scoped with the scope method. This commit requires latest commits in Rails master.
2010-06-30 12:41:44 +02:00
José Valim
78e7642bd2
Tests green again.
2010-06-29 21:41:34 +02:00
José Valim
8526056bde
Merge branch 'master' of github.com:plataformatec/devise
2010-06-29 12:02:06 +02:00
José Valim
4b272767d6
Fix a bug in Devise::TestHelpers where current_user was returning a Response object for non active accounts, closes #341 .
2010-06-29 11:52:10 +02:00
José Valim
84c34ff0c4
Be more specific about master.
2010-06-28 12:25:03 -07:00
Maxim Filatov
4db3ac820b
sign_out_all_scopes is false by default
2010-06-25 02:29:52 +08:00
Maxim Filatov
503d27f2e1
Renew devise:install due to sign_out_everybody => sign_out_all_scopes
2010-06-25 02:29:50 +08:00
Denis Lifanov
2475faf9c7
warden.logout(*scopes) instead of warden.logout(*Devise.mappings.keys)
2010-06-25 02:29:49 +08:00
Denis Lifanov
819db39263
simplification (sign_out_everybody => sign_out_all_scopes)
2010-06-25 02:29:48 +08:00
Maxim Filatov
f864259f1e
Added config.sign_out_scoped to devise:install
2010-06-25 02:29:47 +08:00
Maxim Filatov
12ae21117c
Missed rdoc
2010-06-25 02:29:46 +08:00
Denis Lifanov
1a224c7486
move sign_out_scoped logic to the Devise::SessionsController#destroy
2010-06-25 02:29:45 +08:00
Denis Lifanov
f10b747f7f
Devise.sign_out_scoped option added
2010-06-25 02:29:43 +08:00
Denis Lifanov
8370006591
we should not fetch Devise.mappings.keys twice in #sign_out_everybody
2010-06-25 02:29:42 +08:00
Denis Lifanov
1924a915a8
sign_out_everybody helper (as a convenient proxy to warden)
2010-06-25 02:29:41 +08:00
José Valim
7a45043bc8
Be more friendly if the user goes ahead and adds devise_for :users before defining the model.
2010-06-24 16:51:30 +02:00
Rob Holland
ad63e25c89
config.load_paths is now config.autoload_paths
2010-06-24 19:28:34 +08:00
José Valim
895a7a4951
Use Rails master.
2010-06-23 12:52:44 +02:00
José Valim
b8c2bbe73c
Revert "Revert "Track Deprecation of :name_prefix in Rails 3 RC""
...
Devise master will now follow Rails master.
This reverts commit b2c2cb272f .
2010-06-23 12:42:23 +02:00
José Valim
b76bf10203
Update README.
2010-06-23 12:42:13 +02:00
José Valim
748eced9e8
Release RC2 (for Rails 3.0.0.beta4)
v1.1.rc2
2010-06-23 12:39:04 +02:00
José Valim
a39312e26b
Ensure flash messages work with Devise::TestHelper, closes #327
2010-06-23 12:39:04 +02:00
José Valim
b2c2cb272f
Revert "Track Deprecation of :name_prefix in Rails 3 RC"
...
Let's wait until a new Rails 3 release is out before applying this to maintain compatibility with Rails 3 beta 4.
This reverts commit 21874d8559 .
2010-06-23 12:39:04 +02:00
José Valim
fccde42f20
Do not show model exist message on revoke behavior, closes #334
2010-06-23 12:39:04 +02:00
Jared Morgan
e90732c8c3
Remove #save! method from test DM User model
...
DM has a #save! method, so it's no longer needed. Having it call #save
caused #valid? to be called where tests were expecting validations to be
skipped.
2010-06-23 18:38:39 +08:00
bodhi
21874d8559
Track Deprecation of :name_prefix in Rails 3 RC
2010-06-23 14:56:01 +08:00
José Valim
cfadaf80a2
Merge with jm81 and snusnu datamapper forks.
2010-06-22 21:01:37 +02:00
José Valim
df444663ac
Bring datamapper Gemfile back.
2010-06-22 21:00:46 +02:00
Jared Morgan
5b63605c94
Add dm-serializer to Gemfile so DM models respond to #to_xml
...
Fixes 3 Missing template errors
2010-06-22 11:00:36 -05:00
José Valim
3660cbac30
Do not execute after initializers if production.
2010-06-21 14:07:58 +02:00
José Valim
92cf50454b
Add Rails 3 + Mongoid example to the README.
2010-06-20 01:29:53 -07:00
Postmodern
29ba790e07
Do not use ActiveRecord only methods in tests.
2010-06-19 17:30:10 -07:00
snusnu
4e2cd157c1
Specs surely don't pass, but they run at least!
2010-06-19 17:30:10 -07:00
snusnu
194959f312
Updated Gemfile to include DataMapper-1.0.0 (from git for now)
2010-06-19 17:30:10 -07:00
José Valim
e3b815de49
Bring encrypted password limit back.
2010-06-18 22:00:31 +02:00
José Valim
ac0105d15f
No need to limit password.
2010-06-17 00:36:09 -07:00
Carlos Antonio da Silva
7dbd2eac2a
Confirmable is not default anymore, so remove it from generated migration.
2010-06-17 01:57:42 -03:00
José Valim
025c3875b6
Update gemspec, closes #316 .
2010-06-13 21:48:43 +02:00
José Valim
f1a990c2ae
Do not show messages if eager loading to call help.
2010-06-13 13:34:49 +02:00
José Valim
1f4a31f1cf
Update generators to use Rails 3 syntax, i.e devise:install instead of devise_install.
2010-06-13 13:10:33 +02:00
José Valim
31910b85a2
Regenerate .gemspec
2010-06-13 12:40:40 +02:00
José Valim
5e1ef9319e
Check if the user is already signing out before timing out his connection, closes #273 .
2010-06-13 12:40:13 +02:00
José Valim
70a429d9ff
Split tests files a bit.
2010-06-13 12:11:15 +02:00
José Valim
f16d01869a
Rename apply_schema to apply_devise_schema and refactor Mongoid part a bit.
2010-06-13 11:48:45 +02:00
José Valim
290cfd1f72
Be more generic on TestHelpers.
2010-06-13 11:09:59 +02:00
José Valim
ed22295963
Fix a couple things based on community feedback (love ya!)
2010-06-13 10:51:46 +02:00
José Valim
a2f84852af
Allow the mailer class to be configured.
2010-06-12 20:56:55 +02:00