José Valim
b87dc84079
Add oauth links to default template.
2010-07-26 20:32:05 +02:00
Trevor Turk
2939a61a49
documentation tweaks for extend_remember_period
2010-07-24 01:06:10 +08:00
José Valim
058d433f28
Add extend_remember_period, closes #340 .
2010-07-23 16:32:22 +02:00
Stefan Huber
5aeb8cf1cf
small documentation fix
2010-07-23 01:33:08 +08:00
James Pellow
9f29ca480b
Add http_authenticatable_on_xhr option
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-07-07 21:26:29 +02:00
José Valim
ae6322efb5
No longer retrieve the user from paths, but use the env hash. This change deprecates use_default_scope.
...
If you have non conventional routes and want to specify the scope for a controller, you can do that at the router level:
as :user do
get "/sign_in", :to => "devise/session#new"
end
This is saying: when accessing "/sign_in", devise should use the user scope. Meaning that users signed through that form will be signed to the user scope.
2010-07-06 01:33:32 +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
04c25539c2
Add remember_me to attr_accessible on generation.
2010-07-01 12:38:48 -07: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
Maxim Filatov
503d27f2e1
Renew devise:install due to sign_out_everybody => sign_out_all_scopes
2010-06-25 02:29:50 +08:00
Maxim Filatov
f864259f1e
Added config.sign_out_scoped to devise:install
2010-06-25 02:29:47 +08:00
José Valim
fccde42f20
Do not show model exist message on revoke behavior, closes #334
2010-06-23 12:39:04 +02: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
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
7e784b258c
Update Devise generator error message.
2010-06-09 02:41:30 -07:00
José Valim
bb39243da2
data_mapper uses underscore (ht: Yehuda Katz)
2010-05-05 02:28:40 -07:00
José Valim
07204c500d
Confirmable is not default anymore. This provides a better bootstrap experience.
2010-05-03 00:08:48 +02:00
Jacques Crocker
57712737b2
Fixing up devise generator for mongoid and datamapper. Will insert devise configuration after the module include so that it works, closes #226 .
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-04-25 09:47:14 +02:00
José Valim
f3d654a733
:activatable is added by default.
2010-04-13 13:35:34 -07:00
José Valim
0d3c6b9d99
Small changes to token_authenticatable.
2010-04-06 13:26:56 +02:00
José Valim
0f7b311171
Add lockable to migration.
2010-04-02 20:36:27 +02:00
José Valim
22e1fa0cb9
Small cleanup.
2010-03-30 00:29:57 +02:00
José Valim
1c5d4771ff
Initial work on making the authentication stack more flexible.
2010-03-29 16:13:19 +02:00
José Valim
e136573905
Improve workflow with devise generator.
2010-03-26 10:36:15 +01:00
Ørjan Blom
1a740774e3
use Devise.encryptor setting when creating the migration
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-03-09 10:38:39 +01:00
José Valim
443a2d8343
Moved devise_install to rails 3 generators.
2010-02-17 11:10:24 +01:00
José Valim
38bfe3f990
First generator for Rails 3.
2010-02-17 11:00:10 +01:00