Rafael Mendonça França
87922e6ea2
Use the Ruby 1.8 hash syntax.
...
Yes we still support Ruby 1.8 😢
Conflicts:
Gemfile.lock
2013-01-28 13:43:16 -02:00
José Valim
1a8a252770
Release v1.5.4
2013-01-26 11:59:19 -07:00
José Valim
5a158f8b24
Require string conversion for all values
2013-01-26 11:58:19 -07:00
José Valim
59cd9e72b9
Release 1.5.3.
2011-12-19 12:56:56 +01:00
José Valim
e137e9d5d1
PathChecker should not attempt to validate invalid routes, closes #1505
2011-12-12 11:35:57 +01:00
José Valim
cd8af3c00c
Fix a bug where passing :format => false to devise_for was permanent, closes #1504
2011-12-12 09:25:43 +01:00
Dmitriy Kiriyenko
86d4ec223d
Fix taking associated failure app from the scope in the given env.
...
There is a delegator to get failure app, introduced in 4629bee and tuned
in 24b26026 . The latter commit introduced a bit of logic, however, no
tests are included into commit. Needless to say this resulted in a
broken code.
The point is that `env["warden.options"][:scope]` returns a string.
However, `Devise.mappings` is a hash with symbol keys.
Adding tests and converting scope to symbol here.
Signed-off-by: José Valim <jose.valim@gmail.com >
2011-12-07 13:14:22 +01:00
Rodrigo Flores
4243791b47
Bumping to 1.5.2
2011-11-30 07:19:12 -02:00
lest
37dad2172b
implement dynamic value for timeout_in as a model method instead of a proc
2011-11-25 11:01:42 +03:00
lest
426223dda0
timeout_in option can be a Proc object
2011-11-24 21:42:58 +03:00
José Valim
5909d6a0c5
Fix up previous commit and update CHANGELOG.
2011-11-24 09:24:06 +00:00
José Valim
5570929b56
Merge pull request #1458 from kirs/update-attrubutes-as
...
Added support for rails 3.1 new mass assignment conventions
2011-11-24 00:59:13 -08:00
Kir
5ba6670164
Added support for rails 3.1 new mass assignment conventions
2011-11-24 12:51:03 +04:00
José Valim
589442b09b
Update lib/devise/omniauth/config.rb
2011-11-24 08:32:48 +00:00
José Valim
9c3d5705b5
Update lib/generators/templates/devise.rb
2011-11-23 08:42:45 +00:00
Rodrigo Flores
99040535d7
Bumping to 1.5.1
2011-11-22 13:12:21 -02:00
José Valim
582f00ed95
Devise should not attempt to load OmniAuth strategies. Strategies should be loaded before hand by the developer or explicitly given to Devise.
2011-11-20 19:42:02 +00:00
José Valim
dfb8ff372d
Revert "Fixed require_strategy for google_oauth2 omniauth strategy."
...
This reverts commit 065963f6d3 .
2011-11-20 19:21:08 +00:00
José Valim
1e37e42239
Do not use stored location for sign out.
2011-11-20 19:19:41 +00:00
José Valim
ce1bd142e2
Merge pull request #1438 from hinrik/master
...
Allow specifying a resource_return_to for sign out
2011-11-20 11:17:44 -08:00
Christian Buggle
065963f6d3
Fixed require_strategy for google_oauth2 omniauth strategy.
2011-11-14 19:14:28 +01:00
Rodrigo Flores
a71319a080
Bumping to 1.5.0
2011-11-13 19:17:03 -02: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
Rodrigo Flores
301e24c06c
Bumping to 1.5.0.rc
2011-11-10 19:18:54 -02:00
José Valim
dc8aa9ef83
Move param filtering to its own object and make all finder methods pass through it, closes #1413 .
2011-11-10 10:14:02 -02:00
José Valim
0fd5493220
Merge pull request #1326 from sbounmy/master
...
feature added : markerb generator for mails
2011-11-10 03:27:53 -08:00
Rodrigo Flores
5c3f75d90a
Merge pull request #1426 from TamiasSibiricus/omniauth-1.0.0
...
Support OmniAuth 1.0.0 stable
2011-11-10 03:16:53 -08:00
Paul McKellar
e8aabd4652
s/Gererates/Generates/
2011-11-09 20:58:58 -02:00
Vasiliy Ermolovich
7e9ba53d82
use Time.now.utc instead of Time.now, closes #1421
2011-11-09 23:26:48 +03:00
José Valim
16208f7ad7
Rework previous commit to clean up the instance variable dynamically.
2011-11-09 17:00:42 -02:00
artemk
c3880e52e4
#1432 current_user still returning user after sign_out
2011-11-09 20:35:19 +02:00
José Valim
22136a708b
Fix failure_app failing test.
2011-11-07 21:38:31 -02:00
Denis Kiselev
ea9e8c0c9b
Merge remote-tracking branch 'dkastner/omniauth-1.0' into omniauth-1.0.0
...
Conflicts:
test/omniauth/url_helpers_test.rb
2011-11-07 22:26:51 +02:00
José Valim
bad6049d73
Allow :failure_app as configuration in devise_for.
2011-11-07 09:20:09 -02:00
José Valim
24b26026ef
Delegator now checks the mapping for the proper failure app.
2011-11-07 09:20:09 -02:00
José Valim
4629beecd7
Cache failure_app action builder and pipe call through delegator.
2011-11-07 09:20:09 -02:00
Vasiliy Ermolovich
493ddbd99e
change method should be instance method. closes #1345
2011-11-06 16:15:17 +03:00
Vasiliy Ermolovich
f00d9c5eff
generate migrations with new .change method for rails >= 3.1. closes #1345
2011-11-06 15:47:34 +03:00
José Valim
e9c263c326
Merge pull request #1418 from locomotivecms/simple_scoped_mailer
...
Re-define the devise mailer inside a model
2011-11-06 01:38:08 -08: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
0439c35198
Simplify active_for_authentication? checking.
2011-11-05 19:54:40 -02:00
José Valim
a816e538ab
Fix bug where activation messages were shown first than the credentials error message, closes #1410
2011-11-05 19:47:58 -02:00
did
bbd117bd92
implementation of a much simpler solution
2011-11-05 16:53:27 +01:00
José Valim
d448e7d841
Timeoutable also skips tracking if skip_trackable is given
2011-10-25 18:43:48 +02:00
José Valim
6fcfba229d
Improve docs for update_without_password.
2011-10-25 18:43:48 +02:00
José Valim
d525636423
Merge pull request #1398 from salidux/master
...
Trackable don't work properly behind a proxy
2011-10-22 10:51:19 -07:00
José Valim
6079a025ca
Fix doc typo.
2011-10-21 13:38:39 +03:00
salidux
60822641cb
fix to obtain user original IP in a proxyed environment
2011-10-19 22:23:04 -02:00
José Valim
fac02b58bc
Another attempt to fix the misterious loading helpers bug.
2011-10-18 08:35:50 +02:00
Derek Kastner
c9902f34d1
Intelligent OmniAuth strategy loader
2011-10-17 13:42:40 -04:00