Scott M
2f28e48f54
Fix spelling error in doc block
2013-04-29 01:52:37 -03:00
Carlos Antonio da Silva
df4b282566
Set variable to false instead of nil
2013-04-19 19:59:08 -03:00
Carlos Antonio da Silva
b8c5d76c5a
Merge pull request #2380 from vipulnsward/fix_warnings
...
fix some warnings
2013-04-19 15:53:43 -07:00
Vipul A M
b871bd5036
fix some warning
2013-04-19 19:08:20 +05:30
Vipul A M
2e6457006e
Remove unused variables and fix typos
2013-04-18 10:24:38 +05:30
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
Carlos Antonio da Silva
fa5ae57ce4
Use instance_eval instead of Proc#bind
...
Keep the implementation more similar to how it works in Action Mailer,
and avoid deprecation warnings with Proc#bind being raised in rails4
branch.
2013-04-13 11:35:51 -03:00
Tomas Varneckas
1acd3d1790
Fix devise sender bug with custom devise mailers.
...
The devise sender detection must take into account that the default
sender set in the custom devise mailer can be a proc.
2013-04-12 16:48:48 +03:00
José Valim
148fa99dce
Merge pull request #2330 from pungoyal/master
...
Language copy changes
2013-04-01 12:20:02 -07:00
Scott Jacobsen
4549d8c65f
Update recoverable.rb
...
Fix type-o.
2013-03-21 18:49:19 -06:00
Puneet Goyal
5d87e150f7
removing an extra full stop
2013-03-15 15:18:45 +05:30
José Valim
d90e365636
Merge pull request #2315 from neo/http_auth_key
...
Allow explicit configuration of http auth key
2013-03-07 09:43:08 -08:00
Lucas Mazza
22442907af
Fix send_devise_notification arity in the documentation.
...
[ci skip]
2013-03-05 15:55:19 -03:00
robhurring
10f58b636f
update devise config template with new allow_token_authenticatable_via_headers options
2013-03-04 17:38:36 -05:00
robhurring
2d14bd2826
removing params hash merging of token and mimicking http basic auth flow
2013-03-04 17:33:27 -05:00
Matt Jones + Tony Schneider
f4ceecece4
Allow explicit configuration of http auth key
...
- Fix basic auth case in which authorized_keys is configured as hash
- Duplicate existing functionality when http_auth_key is not explicitly
set
2013-03-04 12:23:05 -05:00
Andrew White
c6578250d2
Improve documentation on sending delayed emails
...
There are a couple of gotchas in the existing documentation
about the `send_devise_notification` hook.
1. The `after_commit` callback can be called multiple times
so you should clear the array otherwise any additional
invocations will trigger extra copies of the email.
2. The `after_commit` callback is only called when a record
is created or updated so you need to check for `new_record?`
or `changed?` before adding it to `pending_notifications`
otherwise it's okay to send it immediately.
The `new_record? || changed?` condition is necessary because
the latter isn't always true for new records, e.g:
>> User.new.changed?
=> false
[ci skip]
2013-03-01 14:32:15 +00:00
Lucas Mazza
198bfff2de
Merge pull request #2300 from fphilipe/scoped-serialization
...
Make use of warden's scoped serialization
2013-02-25 15:32:43 -08:00
José Valim
b388aae473
Merge pull request #2302 from islandr/master
...
Mention devise-encryptable requirement in initializer template
2013-02-25 14:05:15 -08:00
Ryan Mohr
f3928d8462
Mention devise-encryptable requirement for anything but bcrypt.
2013-02-25 10:42:06 -10:00
Philipe Fatio
c22d755cf4
Make use of warden's scoped serialization
2013-02-25 07:38:42 +01:00
Greg Gates
72cfaad618
Add #skip_confirmation_notification to Confirmable
2013-02-22 12:43:01 -05:00
Vasiliy Ermolovich
395a69b4ef
allow_unconfirmed_access_for set to nil means unconfirmed access for unlimited time
...
closes #2275
2013-02-13 21:17:38 +03:00
Rob
547439d94c
renaming devise option "allow_authorization_to_set_auth_token" to "allow_token_authenticatable_via_headers"
2013-02-10 12:50:52 -05:00
Rob
84f743c4ef
adding http token auth options to env[devise.token_options]
2013-02-10 12:48:02 -05:00
Rob
22a8cfe6d3
fix hanging line on method call
2013-02-09 15:19:42 -05:00
Rob
3025b7e2f7
Allow http token authorization to set token_authentication_key in place of passing it in via params
...
It will not override existing token_authentication_key params if they are present.
2013-02-09 15:12:36 -05: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
Carlos Antonio da Silva
83ad67bd51
Fix inheriting mailer templates from Devise::Mailer
...
Previously inheriting from Devise::Mailer would not render default views
from devise when the inheriting mailer didn't have the view. Now it'll
correctly pick the default one from Devise::Mailer.
2013-01-29 00:08:26 -02:00
Carlos Antonio da Silva
af37800c1d
Change match routes to get / post
...
match without a verb is deprecated in Rails master.
2013-01-28 20:23:13 -02:00
Rafael Mendonça França
bfa65dde70
Use the Ruby 1.8 hash syntax.
...
Yes we still support Ruby 1.8 😢
2013-01-28 13:21:44 -02:00
José Valim
d099d8f0ac
Release v2.2.3
2013-01-26 11:43:17 -07:00
José Valim
5190f52857
Require string conversion for all values
2013-01-26 11:42:42 -07:00
Vasiliy Ermolovich
d3f8bd6cae
add key option to rememberable_options
...
closes #2218
2013-01-20 23:16:25 +03:00
Jay Shepherd
cc017b1f0d
Allow parent_mailer to be customizable via Devise.parent_mailer, useful for engines
2013-01-18 02:26:41 -06:00
José Valim
6c2f51e35e
Release 2.2.2
2013-01-15 21:03:15 +01: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
872ef2b97f
Release 2.2.1 with fixes for 2.2.0 regressions
2013-01-11 19:15:54 +01:00
José Valim
33fb89340a
Revert "update_with_password doesn't change encrypted password when it is invalid"
...
This reverts commit 10235f9d72 .
2013-01-11 19:12:53 +01:00
José Valim
bd9bf326c0
Merge pull request #2206 from tigris/mailer_subject_rename
...
Rename Devise::Mailer.translate() to something more inline with what it does
2013-01-10 04:19:57 -08:00
Danial Pearce
d48414b0a5
Rename Devise::Mailer.translate() to something more inline with what it does.
2013-01-10 15:26:06 +11:00
José Valim
b6a7d11e5a
Merge pull request #2205 from latortuga/2204-regression-with-db-authenticatable
...
2204 regression with db authenticatable
2013-01-09 09:52:14 -08:00
Drew Ulmer
75ce916be9
Call respond_to?(attr) before applying strip or downcase
...
This avoids calling strip and downcase on globally configured keys that may
not exist on all devise models. Fixes #2204 , a regression introduced by
PR #2135 . Also included a note about the intentional use of respond_to.
2013-01-09 11:42:54 -06:00
José Valim
b2b8b5bf9a
Release v2.2.0
2013-01-08 21:30:43 +01:00
José Valim
19b5bcbe0f
Accept mail options in Devise::Mailer and deprecate headers_for
2013-01-04 18:52:49 +01:00
José Valim
86f0bff332
Apparently Rails 3.1 does not like @headers as ivar
2012-12-13 09:59:36 +01:00