José Valim
747751a20f
Protect against CSRF token fixation attacks
2013-08-02 23:13:15 +02:00
Paul Chobert
d88b3cedfb
Remove trailing whitespaces
2013-07-28 23:15:42 +02:00
José Valim
cd1bc53947
Do not generate attr_accessible for any Rails 4 app
2013-07-26 09:22:03 +02:00
Justin Coyne
b7e67115fc
When using rails 3.2, the generator adds 'attr_accessible' to the model. Fixes #2515
2013-07-23 22:49:05 -05:00
José Valim
176158a309
Just for Rails 3.2
2013-06-06 00:45:02 +08:00
Carlos Antonio da Silva
eb0ad1c21a
Merge branch 'master' into rails4
2013-05-07 13:01:34 -03:00
José Valim
8a93c34080
Clean up Devise parameter sanitizer
2013-04-13 23:21:46 -07:00
José Valim
5bf4f57fcf
Tidy up devise configuration
2013-04-13 22:07:54 -07:00
José Valim
1b8fd7c2ff
Merge pull request #2271 from robhurring/master
...
Allowing http token auth to set the token_authentication_key if missing from params
2013-04-13 21:39:36 -07:00
Drew Ulmer
2f88f7c0ed
Remove protected_attributes gem and all whitelisting
2013-03-31 15:21:49 -05:00
Puneet Goyal
5d87e150f7
removing an extra full stop
2013-03-15 15:18:45 +05:30
robhurring
10f58b636f
update devise config template with new allow_token_authenticatable_via_headers options
2013-03-04 17:38:36 -05:00
Ryan Mohr
f3928d8462
Mention devise-encryptable requirement for anything but bcrypt.
2013-02-25 10:42:06 -10:00
Vasiliy Ermolovich
1b2460171e
Merge pull request #2261 from plataformatec/issue-2253
...
use scoped path to shared views if scope is present
2013-02-08 15:43:39 -08:00
Vasiliy Ermolovich
f822f92321
use scoped path to shared views if scope is present
...
closes #2253
2013-02-09 02:35:06 +03:00
Stefan Boesen
3458e12274
Update lib/generators/templates/devise.rb
...
Typo in template comment.
2013-02-06 16:30:00 -08:00
Waldyr Guimarães Araújo de Souza
5ee07390b7
correcting tiny typo
2013-01-29 22:45:23 -02:00
Lucas Mazza
47db984f52
Apply the changes on 0c4615e33 to the simple_form template too.
2013-01-14 18:53:34 -02:00
José Valim
86f0bff332
Apparently Rails 3.1 does not like @headers as ivar
2012-12-13 09:59:36 +01:00
José Valim
839e8fc8ac
Show if there is an e-mail waiting for confirmation, closes #2060
2012-12-13 09:13:33 +01:00
José Valim
4c83743263
unconfirmed_email now uses the proper e-mail on salutation, related to #2060
2012-12-13 09:02:59 +01:00
Luis Gracia
0415564a7d
Show invalid unlock token message
...
Attribute unlock token is not present in the simple_form template,
therefore not being displayed by #error_notification.
This fix explicitily call #full_error on :unlock_token.
2012-11-13 15:01:32 -05:00
Luis Gracia
ed6f2abc23
Show invalid confirmation token message
...
fixes #2143
Attribute confirmation token is not present in the simple_form template,
therefore not being displayed by #error_notification.
This fix explicitily call #full_error on :confirmation_token.
2012-11-12 20:05:42 -05:00
Vasiliy Ermolovich
2f36d0dd32
handle namespaced models in AR generator
...
closes #2043
2012-10-28 00:59:33 +03:00
James Mead
e873e2aeed
Use "number of" instead of "amount of" for countable nouns.
2012-09-28 10:52:37 +01:00
José Valim
8c7bf7dd15
Merge pull request #2042 from igor04/master
...
Deleted unnecessary validation in generator mongoid model
2012-09-13 05:10:18 -07:00
José Valim
f7dd59839c
Update lib/generators/templates/README
2012-09-06 17:26:20 +03:00
igor04
d59301ed2a
Deleted unnecessary validation in generator mongoid model
2012-08-26 14:54:08 +03:00
Radagaisus
422bf89182
autofocus for simple_form_for
2012-08-22 15:28:25 +03:00
José Valim
bdf0bc7b1e
Revert "Revert "New password default minimum length is now 8""
...
This reverts commit b1f490a2f8 .
Actually, the implementation was good!
2012-07-24 23:41:17 +02:00
José Valim
b1f490a2f8
Revert "New password default minimum length is now 8"
...
This reverts commit 2950434ed3 .
It is backwards incompatible, we need a better migration plan.
2012-07-24 22:41:13 +02:00
José Valim
f4db03d31c
Do not add ActionView::Helpers::DateHelper to all models
2012-07-23 15:59:17 +02:00
Nils Landt
dcada8fe75
Refactor according to line notes from josevalim
...
- rename reset_password_within to confirm_within
- confirmation_period_valid? is back and memoized
- fix hash syntax to hashrocket
2012-07-22 14:02:27 +02:00
Nils Landt
42a0c30139
Refactored according to line notes by rodrigoflores
2012-07-11 15:49:41 +02:00
Nils Landt
87f2fa9767
Add options to expire confirmation tokens
...
With this patch, functionality is added to expire the confirmation
tokens that are being sent by email.
For example, if a token is valid for 3 days only, it cannot be used for
confirmation on the 4th day.
2012-07-09 14:43:12 +02:00
Rodrigo Flores
2950434ed3
New password default minimum length is now 8
2012-07-06 13:41:28 -03:00
Carlos Galdino
c179cef365
Change the minimum password length to 8
2012-07-06 11:46:46 -03:00
José Valim
174c2903d7
Release 2.1.2
2012-06-19 11:27:30 +02:00
José Valim
1f4c8e39f8
Revert "Thor fixes were sent upstream"
...
Actually, we need to wait for a new rails release, le sigh.
This reverts commit 3caab6d2ea .
2012-06-18 15:18:33 +02:00
José Valim
3caab6d2ea
Thor fixes were sent upstream
2012-06-18 15:06:06 +02:00
José Valim
4e5a9bd600
Workaround thor bug /cc @wycats
2012-06-18 13:44:43 +02:00
José Valim
ba2e44c6a4
Release 2.1.1
2012-06-16 15:57:17 +02:00
Vasiliy Ermolovich
7a12655111
use data-confirm option as :confirm was deprecated in rails 3.2.6
...
SimpleForm templates
2012-06-14 22:48:37 +03:00
José Valim
6dd7ccee68
Add more docs, remove 3.0 related code, update CHANGELOG
2012-06-08 19:22:14 +02:00
José Valim
622e480c4b
Merge pull request #1892 from clody69/master
...
Fixed User model generation for Mongoid
2012-06-07 01:09:54 -07:00
Andrey Voronkov
b1b6e53d6f
In addition to #1722 . expire_auth_token_on_timeout added to Timeoutable configuration block.
2012-06-07 09:32:44 +04:00
Claudio Riva
0689b4558e
Update master
2012-06-03 22:24:31 +03:00
Vasiliy Ermolovich
1d79c1982a
use implicit partials rendering
...
make simple_form templates consistent with templates
that generates by simple_form itself
612c0067cf
2012-05-20 22:01:11 +03:00
Rodrigo Flores
5ed6534aa3
Adding a line break on resource generator after attr_accessible
...
Fixes issue #1851
2012-05-14 10:26:30 -03:00
Rodrigo Flores
768f8832b9
Removing encryptable module
2012-05-07 16:37:16 -03:00