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
Lucas Mazza
042ba76480
Merge pull request #2263 from sboesen/patch-1
...
Typo - Update lib/generators/templates/devise.rb
2013-02-06 17:08:36 -08:00
Stefan Boesen
3458e12274
Update lib/generators/templates/devise.rb
...
Typo in template comment.
2013-02-06 16:30:00 -08:00
José Valim
d9364f7a4a
Update CHANGELOG.rdoc
...
Close #2254
2013-02-01 09:30:43 -07:00
José Valim
fd0db0b188
Merge pull request #2251 from latortuga/2190-test-case
...
Add test for Issue #2190
2013-02-01 07:58:00 -08:00
Drew Ulmer
c9c1e13743
Add test for Issue #2190
...
Seems to be passing for me.
2013-01-31 10:05:53 -06:00
José Valim
25296d8c6f
Add tests for sign out with redirect, related to #2249
2013-01-30 08:28:51 -07:00
José Valim
34c7981f69
Merge pull request #2248 from bvsatyaram/patch-1
...
Update README.md
2013-01-30 07:11:43 -08:00
B V Satyaram
f7a658e13d
Update README.md
...
Devise is composed of 11 modules instead of 12.
2013-01-30 15:17:36 +05:30
José Valim
1d639bd0c5
Merge pull request #2247 from waldyr/patch-1
...
correcting tiny typo
2013-01-29 17:01:04 -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
72be1f1289
Match against string value, no need to create regexps
2013-01-28 23:59:15 -02:00
Carlos Antonio da Silva
0285565322
Actually fix this test by forcing to_s on the id
2013-01-28 21:40:11 -02:00
Carlos Antonio da Silva
acc3adb2c1
Use #next instead of calculating id + 1
...
The id attribute is not Integer in Mongo, so it fails with something like:
NoMethodError: undefined method `+' for "5106fc06ee6da1ee44000002":Moped::BSON::ObjectId'`
With #next, it will work with both Integer and String ids, for both AR
and Mongo, returning a different id to test for filtered conditions.
2013-01-28 20:46:21 -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
Carlos Antonio da Silva
86eecc6606
Change "ActionController::IntegrationTest" to "ActionDispatch::IntegrationTest"
2013-01-28 19:58:21 -02:00
Rafael Mendonça França
349aab72f0
No need to test against ree since we are testing with 1.8.7
2013-01-28 13:50:08 -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
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
José Valim
5790107f49
Merge pull request #2235 from camelmasa/sorted_locale_file
...
sorted locale file
2013-01-22 19:11:38 -08:00
camelmasa
6fd21ae37e
sorted locale file
2013-01-23 10:39:58 +09:00
Vasiliy Ermolovich
b95c321660
update Gemfile.lock
2013-01-21 20:14:59 +03:00
Carlos Antonio da Silva
0061f113db
Fix indent [ci skip]
2013-01-20 21:49:45 -02:00
José Valim
1fb3fbbd88
Merge pull request #2230 from nashby/issue-2218
...
add key option to rememberable_options
2013-01-20 12:23:21 -08:00
Vasiliy Ermolovich
d3f8bd6cae
add key option to rememberable_options
...
closes #2218
2013-01-20 23:16:25 +03:00
José Valim
0642e2fc9b
Merge pull request #2223 from jayshepherd/master
...
Allow parent_mailer to be customizable via Devise.parent_mailer ... (#2219 )
2013-01-18 05:35:55 -08: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
v2.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
0c4615e337
Properly check if reconfirmable is available
2013-01-13 09:53:26 +01:00
Carlos Antonio da Silva
85e46f0163
Merge pull request #2211 from nashby/fix-build
...
uUe click_button for canceling account in integration specs
2013-01-12 03:16:12 -08:00
Vasiliy Ermolovich
9913fde749
use click_button for canceling account in integration specs
2013-01-12 14:12:05 +03:00
José Valim
1f940f61c6
Merge pull request #2210 from steverob/master
...
Changed link_to to button_to for cancel registration link in edit registration view
2013-01-11 14:25:55 -08:00
Steve Robinson
70e38fe66d
Changed link_to to button_to for delete user
...
It is advisable to use link_to for mostly GET operations. Actions like DESTROY when presented as a link can cause severe vulnerabilities.
Hence using a button is advisable.
2013-01-12 01:53:09 +05:30
José Valim
872ef2b97f
Release 2.2.1 with fixes for 2.2.0 regressions
v2.2.1
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
Drew Ulmer
c768366240
Add failing tests for Issue #2204
...
For a point release upgrade, Devise should not throw an exception when trying
to downcase or strip globally configured keys. This would be a breaking
change in functionality and this test demonstrates the issue.
2013-01-09 11:41:20 -06:00
Lucas Mazza
ca7d479e90
Install mongoid only on 1.9
2013-01-09 11:51:15 -02:00
Rafael Mendonça França
5bfbc264b7
Invalid YAML 💣
2013-01-09 10:14:01 -02:00