José Valim
c2feed6b3e
Fix e-mail regexp. Closes #698
2010-12-01 17:23:41 +01:00
José Valim
5fc2c2e6f5
Change http_authenticatable default to false to cause less confusion.
2010-11-27 19:50:26 +01:00
Fred Wu
cb83c66139
Updated the views generator to respect the rails :template_engine option.
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-09-24 09:32:38 +02:00
José Valim
5ef88a8fe6
Fix generators bug.
2010-07-27 16:19:11 +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
Jinzhu
aecc014d33
Attributes for devise generator
2010-07-17 15:09:01 +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
a2f84852af
Allow the mailer class to be configured.
2010-06-12 20:56:55 +02:00
José Valim
0333caeb92
Make bcrypt the default encryptor and automatically add a pepper on generation.
2010-06-12 14:46:55 +02:00
José Valim
7e784b258c
Update Devise generator error message.
2010-06-09 02:41:30 -07:00
Lloyd Pick
f0c0f5f11b
fixed a few spelling/grammar mistakes
2010-05-28 20:24:39 +08:00
Antonio Tapiador del Dujo
7dc1842cc4
Add note about default routes in devise configuration
2010-05-25 18:58:20 +08:00
José Valim
bff64a6291
Added navigational formats to specify when it should return a 302 and when a 401, closes #234 and #249 .
2010-05-16 19:13:38 +02:00
José Valim
6162e1f5ff
Devise install now accepts --orm option.
2010-05-15 10:28:29 +02:00
José Valim
bb39243da2
data_mapper uses underscore (ht: Yehuda Katz)
2010-05-05 02:28:40 -07:00
José Valim
416bff3daa
Merge branch 'master' of github.com:plataformatec/devise
2010-05-03 00:12:58 +02:00
José Valim
07204c500d
Confirmable is not default anymore. This provides a better bootstrap experience.
2010-05-03 00:08:48 +02:00
gitman
f5bc66521f
patch-244 for improving commented help for :confirmable configuration
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-05-03 00:06:16 +02:00
Britto
fb0f8fcd0d
typo
2010-04-29 05:45:44 +08: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
hpoydar
c9fe7900c3
Removed references to mongo_ext, since mongoid now uses bson_ext
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-04-23 13:50:41 +02:00
José Valim
f3d654a733
:activatable is added by default.
2010-04-13 13:35:34 -07:00
José Valim
32d37cebed
Properly use scope in views generator.
2010-04-12 04:39:16 -07:00
José Valim
d2ebaa43ec
Be more helpful in the sign up message for new comers.
2010-04-09 23:13:34 +02:00
José Valim
045af3a614
Change README shown in devise_install.
2010-04-09 09:50:45 -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
1ba525a0e9
Tidying up some lose ends and adding more docs.
2010-04-01 22:11:59 +02:00
Fred Wu
42d06a241b
Added support for HAML 3+.
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-04-01 00:14:16 +02:00
José Valim
3d1a04fd83
Fix warden configuration.
2010-03-31 22:04:48 +02:00
José Valim
6cc32db2dd
Add lock_strategy.
2010-03-31 11:54:11 +02:00
José Valim
22e1fa0cb9
Small cleanup.
2010-03-30 00:29:57 +02:00
José Valim
65b8908960
Create authenticatable base model and strategy.
2010-03-29 20:52:48 +02:00
José Valim
1c5d4771ff
Initial work on making the authentication stack more flexible.
2010-03-29 16:13:19 +02:00
José Valim
ea71be8d2a
More compatibility with Rails master.
2010-03-28 07:15:52 +02:00
Jacques Crocker
fd035b841b
Additional configuration for validatable
...
Added the ability to customize password length (via Devise.password_length) and the regular expression used for validating email (via Devise.email_regex)
2010-03-26 13:52:12 -07:00