Chris Oliver
005d514adf
Automatically underscore and pluralize scoped views generator. Fixes #3790
2015-10-21 14:53:03 -04:00
Jon Phenow
e9c82472ff
quick comment touch-ups
2015-08-27 10:26:12 -05:00
Jon Phenow
48ed2fd1aa
templates, config documentation
2015-08-27 10:26:12 -05:00
Lucas Mazza
eb091b867f
Fix rails g devise:views -v mailer with the Simple Form generator.
...
Our Simple Form generator shouldn't be responsible for generating the `mailer`
view directory, so we should skip it and let the Erb generator do the job.
Closes #3254 .
2015-08-27 12:12:13 -03:00
Daniel Hollands
8c6de852c6
modifys markerb templates to use markdown links, not html ones.
2015-08-13 13:57:01 +01:00
David Rodríguez
4064641967
Remove obsolete expire_auth_token_on_timeout
...
This should have been removed in dff7891b97
when token authentication (and the reset_authentication_token! method)
were removed.
2015-07-11 09:01:22 -03:00
Danny Burt
29e257e8ba
fixed typo referring to routes.rb file
2015-06-02 18:10:22 -07:00
James Sanders
35de859e28
Change comments on registration and session controller configure methods
2015-05-11 12:12:10 -06:00
Carlos Antonio da Silva
868d3d82a0
Do a final pass removing spaces around square brackets
...
Keep plataformatec guidelines and review tools happy.
Related to #3480 .
2015-03-13 13:59:19 -03:00
Kosmas Chatzimichalis
1ab2d51308
removed spaces inside square brackets
2015-03-13 13:59:19 -03:00
Nikolay Shebanov
5e12508b96
Update message after rails g devise:controllers
2015-02-16 19:46:01 +03:00
Michael Borohovski
f0992e4a96
Added an option to not automatically sign in a user after a password reset. This is useful for cases where additional strategies might be needed (such as two-factor authentication, e.g.), or generally if it is considered a security risk to automatically log in a user after a password is reset.
2015-02-13 02:29:11 -08:00
Gagan Awhad
90f1d4d37a
Add helpful comments re: 'secret_key' in devise initializer template
...
Adding a couple comments that explain that Devise will use
'secret_key_base' on Rails 4+ applications as its 'secret_key' by default.
2015-02-04 14:48:25 -06:00
Luciano Sousa
9177bd70cf
removing optional commas
2015-02-02 23:02:52 -03:00
Luciano Sousa
252a57d9b3
removing deprecation warning from rails 5
2015-02-02 22:54:46 -03:00
Carlos Antonio da Silva
bebf0ecbbe
Simplify the logic to display the minimum password length hint
...
There's no real need to pass 2 variables to the view to figure that out,
we can simply display the message relying on whether or not the
`@minimum_password_length` variable is present.
2014-12-27 11:22:40 -02:00
Katee
5e12b158d1
Fixes accidentally removed autofocus.
2014-12-15 20:05:46 -05:00
Katee
607bf70674
Shows min password length on edit password view.
2014-12-15 19:52:58 -05:00
Logan Leger
c7cc91cb65
Update password length validation to 72 characters max
...
BCrypt has a limit of 72 characters for the password. Anything beyond 72
characters is truncated. This commit updates the validation to limit
passwords to less than 72 characters, keeping within the limitation.
2014-11-18 23:10:01 -06:00
Dave Powers
63ae9701b4
Update casing of 'OmniAuth' to match that of official OmniAuth documentation
2014-11-14 14:45:09 -05:00
Jan Pantel
d6c8aef15f
Fix typo in controller generators help message
2014-10-18 17:34:38 +02:00
Lucas Mazza
6405c96213
last_attempt_warning should be true for now on.
2014-10-03 09:49:29 -03:00
Lucas Mazza
131013ac56
Controller templates should have the .rb extension, not .erb.
2014-09-18 17:21:25 -03:00
Lucas Mazza
79a4b93993
Point users to the canonical Omniauth docs in our README, not the wiki.
2014-09-18 17:18:11 -03:00
Lucas Mazza
9fe1561b56
Merge pull request #3169 from Chun-Yang/master
...
Create controller generator for devise (rails generator devise:controllers users -c sessions)
2014-09-18 17:17:17 -03:00
José Valim
73c406b481
Fix docs for http_authenticatable_on_xhr, closes #3112
2014-09-18 19:50:58 +02:00
Chun-Yang
439112adf3
change before_action to before_filter to make it backward compatible to rails 3.2
2014-09-09 20:40:05 -05:00
Chun-Yang
17f6c76dc7
simplify sanitizer in *_params function
2014-09-09 20:35:46 -05:00
Chun-Yang
6003c69818
change indentation
2014-09-09 20:31:48 -05:00
Chun-Yang
67dc138d94
add before_action hooks for registrations and sessions controllers to enable user to add extra params
2014-09-03 00:10:32 -05:00
Chun-Yang
86ac552287
add *_path_for stubs in all controllers
2014-09-02 23:49:37 -05:00
Chun-Yang
e2e9e90d69
move controller generator info from lib/generators/templates/README to README
2014-09-02 23:25:38 -05:00
Chun-Yang
daad552e1b
make scope required
2014-09-02 23:04:27 -05:00
Chun-Yang
2f81a83232
refactor code, use a constant insead of a class variable
2014-09-02 22:54:06 -05:00
Chun-Yang
6ba87ed339
comment out all stubs
2014-09-02 22:34:13 -05:00
Lucas Mazza
6af18ed9e3
Change the 'postgresql?' check to not connect to the database.
...
Closes #3181
2014-09-02 11:24:31 -03:00
Anton Rieder
6117a3b56d
Update Simple Form templates for 3.3.0
2014-09-01 21:59:03 +02:00
Chun-Yang
274daad005
fix code example shown in README user will see after running generator
2014-08-27 23:25:48 -05:00
Chun-Yang
316be42ed6
add instruction in the README file for controllers generator. This readme will be printed when user invoke devise:install
2014-08-27 23:20:26 -05:00
Chun-Yang
220c8ff089
print README instruction after running controller generator
2014-08-27 23:19:43 -05:00
Chun-Yang
af47bb5542
update description message in the controllers generator
2014-08-24 22:41:00 -05:00
Chun-Yang
02b1a9c4e0
enable empty scope when generating a controller
2014-08-24 21:28:06 -05:00
Chun-Yang
8de94035f0
add better help description
2014-08-24 00:06:12 -05:00
Chun-Yang
d8d9814ed4
user erb template to generate controllers, enable --controllers option to specify controllers, make 'scope' argument required
2014-08-23 23:29:45 -05:00
Chun-Yang
4f77da5b87
Step1: Create controllers templates, and create controller generator to copy ALL templates to rails app directory
2014-08-23 16:44:06 -05:00
Adrian Pacała
a2376d6ca1
Fix Rails 4 detection
2014-05-07 22:17:40 +02:00
Adrian Pacała
fa1a864731
Generate inet columns for Rails 4 only
2014-05-07 09:18:10 +02:00
Adrian Pacała
53504f7e28
Generate inet columns for postgresql
2014-05-07 08:50:21 +02:00
Sadjow Leão
a2bd5631da
Use port option in default url options for ActionMailer
2014-04-04 19:01:12 -03:00
Lauro Caetano
f7fdde1ab0
Add the invalidate_all_sessions_on_logout configuration to invalidate
...
all the remember me tokens when the user signs out.
2014-04-04 16:17:26 -03:00