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
Jacques Crocker
e127463ac8
Adding Mongoid 2.0 Support, Removing MongoMapper for now
2010-03-26 13:37:38 -07:00
José Valim
e136573905
Improve workflow with devise generator.
2010-03-26 10:36:15 +01:00
José Valim
3a84fd4f3f
Ensure devise_views is always executed.
2010-03-16 02:51:59 +01:00
Ørjan Blom
f129b9ffd7
don't use a static name in a public directory, and delete after use.
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-03-14 15:02:54 +01:00
José Valim
185541b9e4
Use template engine as option since it's the one used by rails.
2010-03-14 09:39:59 +01:00
Fred Wu
de92be39f2
Use Ruby's tmp directory instead of a ghost directory inside the devise gem folder.
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-03-14 09:25:57 +01:00
Fred Wu
3f85fa88c3
Use 'rescue' to ensure the presence of Haml.
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-03-14 09:25:52 +01:00
Fred Wu
2ebbc30540
Made sure no deprecated HAML templates (in case any) will get copied over.
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-03-14 09:25:45 +01:00
Fred Wu
b8091928a0
A more user friendly way of checking the existence of Haml.
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-03-14 09:25:39 +01:00
Fred Wu
cbd35a846a
Added verification for HAML >= 2.3.
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-03-14 09:25:31 +01:00
Fred Wu
90e8253205
Added HAML as a template engine option to devise_views generator (-t or --engine). HAML files are created based on the erb files on the fly using 'html2haml' command that comes with HAML.
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-03-14 09:25:19 +01:00
José Valim
ed3a460bad
Allow to give a scope when copying views.
2010-03-10 16:53:09 +01:00
Fred Wu
cd17099401
Create the devise_views directory in './app/views' instead of the root.
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-03-10 15:29:30 +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
e9682a3e64
In Rails 3, for some reason, you need to restart the server after copying views.
2010-02-19 23:54:05 -07:00
José Valim
1c6f18cb8b
Since Devise::FailureApp is now a metal, we can get rid of this default_url_options stuff.
2010-02-19 10:13:53 +01:00
José Valim
a79e8e0404
Tiny change in generator README.
2010-02-17 16:37:27 +01:00