José Valim
b1633f2454
Delegate omniauth_authorize_path to the router, closes #1843
2012-06-16 13:43:11 +02:00
José Valim
41a91188f5
Do not trigger timeout on sign in related actions
2012-06-16 13:24:07 +02:00
Vasiliy Ermolovich
13f35d80a9
use data-confirm option as :confirm was deprecated in rails 3.2.6
2012-06-14 22:27:40 +03:00
Gregory Bataille
ff75341c75
Redirect to sign in page when trying to access password#edit without a
...
reset_password_token (i.e. not coming from a reset password email)
2012-06-08 10:08:35 +02:00
José Valim
215fdf119e
Better error message when mapping can't be found
2012-06-07 14:34:13 +03:00
José Valim
2b7328535d
Check for the request before checking for the mapping, closes #1859
2012-05-25 09:39:50 +02: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
Adam Meehan
7ec4c1424d
Add resource_params internal helper to param filtering
...
In light of recent discussions around mass assignment security and
the alternate solution of using the controller to filter params, not the model,
a hook/helper is needed to be able to override how the params are filtered
before they are used to build the resource.
2012-05-15 18:07:02 +10:00
Julian Vargas
6664acd27f
Use 'head :no_content' in sessions_controller#destroy
...
Code cleanup for returning headers instead of an empty string
when destroying sessions.
Lines 464 and 471 on test/integration/autenticatable_test.rb
were adjusted to assert on :no_content
2012-05-02 22:40:53 -05:00
Carlos Antonio da Silva
ec3eed5d2a
Change method name
2012-04-22 10:07:44 -03:00
Mark Kremer
0e0bfe6686
Added after_unlock_path_for to allow override of redirect after account
...
unlock
2012-04-17 13:38:50 +02:00
Mark Kremer
fafea15fa8
Added after_sending_reset_unlock_instructions_path_for which can be overridden in extensions to modify the redirect path
2012-04-17 10:04:06 +02:00
José Valim
6846014def
Do not make _prefixes private.
2012-04-05 09:15:48 -03:00
David FRANCOIS
885d8836d1
Ability to use attr_protected attributes as sign-in keys without triggering ActiveModel::MassAssignmentSecurity::Error when ActiveRecord::Base.mass_assignment_sanitizer is set to :strict. Fixes #1729 .
2012-03-21 11:48:00 +01:00
Rodrigo Flores
af12ec2b01
Fixing a deprecation warning
2012-03-03 14:32:53 -03:00
Rodrigo Flores
ecfc7d752a
Deprecation warning on module doesn't have a required_fields method
2012-03-03 14:30:59 -03:00
Rodrigo Flores
f04d883ac1
Deprecation warning
2012-03-03 11:12:30 -03:00
Rodrigo Flores
9bf718dd82
Revert "Move devise/shared/_links.erb to devise/_links.erb"
...
This reverts commit aa2d15aa33 .
Conflicts:
CHANGELOG.rdoc
2012-03-03 10:40:59 -03:00
José Valim
2f6ecc1328
Do not call after sign in hook without resource, closes #1666 .
2012-03-03 12:09:26 +01:00
Rodrigo Flores
65f08ea175
Removing signed_out path workaround
2012-02-16 14:53:11 -02:00
José Valim
79aadb4bc9
Set autocomplete to off by default on password field.
2012-02-15 17:07:58 +01:00
José Valim
fb8e093389
Accept devise_i18n_options to handle custom i18n values, closes #1633
2012-02-15 16:58:23 +01:00
José Valim
4b47c3ab73
Clean up devise_controller? related code.
2012-02-15 16:58:23 +01:00
José Valim
83c47552e8
Extract auth_options into its own method.
2012-02-01 09:37:33 +01:00
José Valim
8c9cf7d671
Add deprecations, update changelog.
2012-01-24 14:23:34 +01:00
José Valim
82da877863
Merge pull request #1565 from joliss/unconfirmed-message
...
More helpful sign-up message for Confirmable
2012-01-24 05:06:51 -08:00
José Valim
b88524027c
Get rid of deprecation warning.
2012-01-24 13:41:19 +01:00
Jo Liss
c78c196423
More helpful sign-up message for Confirmable
...
This is also better for translations, because we can translate paragraph-wise.
signed_up_but_inactive and signed_up_but_locked are likely not needed,
but I wasn't sure how to best remove them.
2012-01-23 13:52:32 +01:00
José Valim
1ebcb09fc1
Do not rely on root_path. Redirect to / if not available.
2012-01-02 22:43:07 +01:00
José Valim
dada404a6b
Support 3.2 as well.
2012-01-02 22:19:05 +01:00
José Valim
66b93e8fd2
Clean up as we don't need to call render_with_scope anymore.
2012-01-02 22:12:09 +01:00
José Valim
d9df632671
Get rid of InternalHelpers, refactor scoped views for more performant behavior.
2012-01-02 22:01:28 +01:00
José Valim
aa2d15aa33
Move devise/shared/_links.erb to devise/_links.erb
2012-01-02 21:26:26 +01:00
José Valim
c3f864f2b6
Allow parent controller to be customizable.
2012-01-02 20:39:22 +01:00
José Valim
a29a30effc
Move InternalHelpers to parent controller.
2012-01-02 20:30:56 +01:00
José Valim
1fdeadd113
Merge pull request #1188 from sj26/controller-inheritence
...
Make all controllers inherit from a single DeviseController
2012-01-02 11:24:33 -08:00
Vasiliy Ermolovich
1e1e964d25
redirect users to sign in page after unlock, closes #1486
2011-12-08 22:06:09 +03:00
José Valim
6aed8f1c87
Clean up reconfirmable behavior.
2011-12-04 22:14:44 +01:00
José Valim
6d681c5b8a
Merge remote-tracking branch 'heimidal/updates' into reconfirm
...
Conflicts:
lib/devise/models/confirmable.rb
test/support/helpers.rb
2011-12-04 20:58:41 +01:00
José Valim
1e37e42239
Do not use stored location for sign out.
2011-11-20 19:19:41 +00:00
Hinrik Örn Sigurðsson
9ea7249368
Allow specifying a resource_return_to for sign out
...
It was impossible to accomplish this by providing a
custom #after_sign_out_path_for in ApplicationController because the
session gets destroyed before it is called. Furthermore,
resource_return_to is now used by default if it exists, so users won't
have to provide a custom #after_sign_out_path_for in that case.
2011-11-13 20:27:08 +00:00
José Valim
16208f7ad7
Rework previous commit to clean up the instance variable dynamically.
2011-11-09 17:00:42 -02:00
José Valim
1bace6df4e
Be sure to expire cached devise data after sign in, closes #1411
2011-11-05 20:11:09 -02:00
José Valim
2a5ad4664b
Change all paranoid settings to behave as success instead of as failure, closes #1375 .
2011-10-15 10:52:00 +02:00
Jim Herzberg
b98720d324
jh - reworking paranoid mode in passwords controller
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2011-10-15 10:45:33 +02:00
Brian Rose
7f754caba3
Merge branch 'master' into updates
2011-10-12 10:56:08 -06:00
José Valim
bba6562dcc
after_sign_in_path_for now redirects to session[scope_return_to] if any value is stored in it
2011-09-29 13:07:13 +02:00
José Valim
15b76e93d1
The default here is now DELETE.
2011-09-27 10:42:08 +03:00
José Valim
ab9d856568
Add a deprecation warning for previous controller authorization style.
2011-09-22 11:51:09 +02:00
José Valim
335d36088f
Instead of depending on mapping.controller[:session], make it explicit when we allow auth from params.
2011-09-14 16:52:28 -07:00