Andrew Dahl
e911abf13b
changed case_insensitive_keys config setting to an array and added downcasing of keys as a before filter on database authentication module
2010-11-18 23:29:53 +01:00
Andrew Dahl
94c666e439
first attempt
2010-11-18 21:24:42 +01:00
Robert Peters
32c6f7b00b
For #646 - modify the configuration text that is output for confirm_within so that it matches the actual default value. If you use nil as a value, it crashes trying to call nil.ago
2010-11-13 15:50:33 +08:00
José Valim
14d772972d
No need to set a pepper in a bcrypt world.
2010-11-11 12:54:09 -08:00
José Valim
c7efb68a77
Devise does not intercept 401 returned from applications anymore
2010-11-09 23:42:14 +01:00
José Valim
835d1044ae
Fix a problem with IE7 headers.
2010-11-08 22:45:42 +01:00
José Valim
2f360bf201
Remove OAuth2 in favor of OmniAuth.
2010-10-18 15:00:34 +02:00
José Valim
4d8d1f5222
Uncomment pepper in configuration.
2010-09-26 01:44:37 -07:00
José Valim
531f221be7
Allow :stateless_token to be set to true avoiding users to be stored in session through token authentication
2010-09-25 20:28:14 +02:00
José Valim
09088706bb
Extract encryptors into their own module for better bcrypt support.
2010-09-25 16:08:46 +02:00
José Valim
31d821c2e0
Allow to Rememberable to work without remember_token relying on salt if possible.
...
This comes with the benefit that if you change your password, all remember tokens expires, and it also requires one field less in the database.
The downside is that if you want remember_me_across_browser to be false, it won't work unless you use the token. It also requires you to be using database_authenticable.
Using salt is now the default in Devise.
2010-09-25 13:07:24 +02:00
José Valim
b2066cc229
Add request_keys support. Closes #401 .
2010-09-21 11:45:44 +02:00
Carlos Antonio da Silva
5c928df66b
Strip some whitespaces
2010-09-09 21:11:23 -03:00
George Guimarães
1e17b6a5ec
Typo in initializer
2010-08-25 00:41:26 -03:00
George Guimarães
a9aab6bd27
Changes the comments in devise initializer to reflect the default options.
2010-08-23 16:50:42 -03:00
José Valim
b8ab9a835b
Disable HTTP Authentication by default. You can turn it on in the initializer.
2010-08-23 10:22:31 -03:00
José Valim
ab7f3bc175
Added Devise.sign_out_via.
2010-08-23 09:05:40 -03:00
Fred Wu
701bbf2d3c
Updated the views generator to respect the rails :template_engine option.
2010-08-06 18:40:46 +08:00
José Valim
d6c6e7cfe1
Fix generators bug.
2010-07-27 16:14:09 +02:00
José Valim
eb3118e89a
Add OAuth2 documentation.
2010-07-26 20:33:21 +02:00
José Valim
5d6900dcdb
Remove old generators.
2010-07-26 20:32:06 +02:00
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
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