José Valim
1fd4beb18a
Move simple_form_for directories to a new location.
2011-06-30 15:09:54 -03:00
José Valim
adb127bb3e
Default to delete on new templates.
2011-06-27 12:15:23 -03:00
José Valim
13ef23f517
Add simple form generators.
2011-06-27 11:50:28 -03:00
José Valim
0bf28b19ab
Simple use hook_for.
2011-06-27 11:31:29 -03:00
José Valim
29a0af78bc
Refactor view generators.
2011-06-27 11:22:44 -03:00
Rodrigo Flores
1d87997647
Improved paranoid mode generator explanation
2011-06-22 12:52:11 -03:00
Rodrigo Flores
db959da247
Added a commented line for paranoid mode on generator
2011-06-22 12:52:11 -03:00
Stefan Wrobel
8e87a2d80d
Add strip_whitespace_keys which works like case_insensitive_keys but strips whitespace from emails
2011-06-10 01:37:43 -07:00
José Valim
6250fa8529
Revert "Merge pull request #1103 from Mab879/master"
...
This reverts commit 944e1c0378 , reversing
changes made to 97659a1193 .
2011-06-08 17:37:49 +02:00
Matthew Burket
4f446241a4
Added Controller Generator and tests to go along with it.
2011-05-30 23:07:20 -05:00
Paul Bellamy
0bcf71f8df
Rails has removed SecureRandom from ActiveSupport in Rails 3.2,
...
deprecated
* Changing references in generators and encryptable_test
2011-05-28 14:44:54 +01:00
José Valim
9fe0cb4954
use @example.com
2011-04-18 10:00:00 +02:00
Matias Korhonen
8db00eedea
Bump the password maximum length to 128 characters.
2011-04-15 16:39:01 +08:00
José Valim
de8982563a
Always use :erb.
2011-04-05 22:06:27 +02:00
José Valim
56fd7031e5
Edited lib/generators/devise/views_generator.rb via GitHub
2011-04-04 02:48:41 -07:00
José Valim
ed51fc7636
Tidy up previous commits.
2011-03-30 15:35:38 +02:00
Jean-Daniel Guyot
be2aeee70f
Add reset_password_within configuration variable.
2011-03-30 21:11:33 +08:00
José Valim
73669e09c8
Remove deprecations, bump to .dev and update template.
2011-03-28 21:26:53 +02:00
Vinicius Baggio
42d002702c
Considering namespaces while generating the routes. Closes #682
2011-02-23 14:24:47 -03:00
José Valim
add8f8a203
Works on 3.0.4.
2011-02-15 10:27:34 +01:00
José Valim
3109b0924b
Remove --haml and --slim views from Devise.
2011-02-15 09:49:11 +01:00
Carlos Antonio da Silva
c9fe8885f9
Spaces
2011-02-06 19:23:36 -02:00
John Plummer
7a1852e9f5
Allow send confirmation to change keys used
2011-02-05 16:19:01 +08:00
José Valim
68f699bfd4
Do not change default behavior of previous apps.
2011-01-21 10:55:40 +01:00
Jo Liss
54dc82ad25
Generate add_index for :authentication_token (used by :token_authenticatable).
2011-01-15 06:42:30 +08:00
Jo Liss
258eb1c7e6
Move config.pepper from encryptable into database_authenticatable section in the initializer.
...
config.pepper is used by both database_authenticatable and encryptable,
but encryptable requires database_authenticatable anyway, so it makes
more sense to have it in the database_authenticatable section.
2011-01-13 13:02:17 +08:00
vagmi
d87521723d
fix create_haml_views. see issue 761 for details
...
accessing a variable before assigning causes nil exception
2011-01-11 19:06:48 +08:00
Richard Aday
038eb321d4
Allowing reset_password_keys and unlock_keys to be set through the config
2010-12-30 03:10:56 +08:00
José Valim
b32883a7c5
Small fixes in views generator
2010-12-25 11:07:52 +01:00
Fred Wu
2561cd4eac
Use an instance variale when removing the temp directories otherwise the create_haml_views method gets called twice.
2010-12-23 17:05:05 +08:00
Fred Wu
4519364eaf
Added support for generating Slim view templates.
2010-12-23 17:05:03 +08:00
Andrés Mejía
fe4eaf2d12
Invoking the model generator even if the model exists but only when the behavior is :revoke (i.e. we are running 'rails destroy' instead of 'rails generate')
2010-12-18 15:15:42 +08:00
Andrés Mejía
845c186f48
Removing caching from #model_exists? so it doesn't return a false positive when the method is called, the file is deleted and then the method is called again.
2010-12-18 15:15:42 +08:00
José Valim
b50fd1a72e
Fix e-mail regexp. Closes #698
2010-12-01 17:19:45 +01:00
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