José Valim
f54013a181
Do not hardcode to devise/mailer in order to allow inheritance to work.
2010-07-05 10:05:08 +02:00
José Valim
1cf77028c1
Bump version to 1.1.0 but do not release yet. We are only using this as flag for those using Devise as git with bundler due to the latest changes.
2010-07-04 17:34:33 +02:00
José Valim
7774accb6c
Remove data_mapper support.
...
Devise 1.1.0 will be released soon. This new version will support activerecord and mongoid as default ORMs. From now on, Devise will prefer ORM extensions as gems since this is the best way to handle dependencies.
For example, to allow Devise to work with Datamapper, it requires at least activemodel, dm-rails and dm-timestamps. If the ORM support comes from Devise gem, we cannot add dm-rails and dm-timestamps as dependencies, relying on the developer and documentation to find these out and install them.
Other ORMs may still be added to Devise, as long as they are supported by the community, extend Devise test suite to have all tests passing and they necessarily use ActiveModel::Validations.
2010-07-04 17:22:57 +02:00
José Valim
6c49b428b3
Add flexibility to devise generators by using ORM hooks.
2010-07-04 17:15:24 +02:00
José Valim
7113dfe93a
Ensure to convert template engine to string to properly match haml, closes #359
2010-07-04 13:13:00 +02:00
José Valim
4083d679d4
Add documentation to the new :module method.
2010-07-04 13:11:04 +02:00
José Valim
7a1adbb61e
Improve integration of devise with new router scope.
2010-07-04 11:53:12 +02:00
José Valim
18cccae82f
Update bundler, Rails and improve tests for previous commit.
2010-07-02 08:12:00 +02:00
klacointe
e9fbb3d7ef
fix AbstractController::ActionNotFound when use
...
route with specific format (ie xml, json...)
2010-07-02 13:25:33 +08:00
José Valim
04c25539c2
Add remember_me to attr_accessible on generation.
2010-07-01 12:38:48 -07:00
José Valim
55bc0ace5a
Update CHANGELOG.
2010-07-01 13:58:08 +02:00
José Valim
421256d294
Devise should respect script_name and path_info contracts. This closes #331 , a long standing bug with Passenger.
2010-07-01 13:50:05 +02:00
José Valim
8e3ef2a620
Add entry to CHANGELOG.
2010-06-30 12:49:41 +02:00
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