José Valim
5ce5843888
Release 1.2.1.
2011-03-28 20:52:29 +02:00
José Valim
1210fd4b77
Clear up update path.
2011-03-28 20:51:36 +02:00
José Valim
da510508bb
Release 1.2.0
2011-03-25 15:53:59 +01:00
José Valim
edee511cd1
Rename active? to active_for_authentication?
2011-03-25 15:40:46 +01:00
Jack Dempsey
fbd35ec332
new cache api requires passing a key to get
2011-03-25 06:38:26 +08:00
José Valim
30b35e3727
Fix syntax error.
2011-03-24 20:25:54 +01:00
Jack Dempsey
330cafd3d2
use reference if available otherwise ref
2011-03-25 03:16:41 +08:00
Jack Dempsey
fe9024218c
ref will be reference in 3.1
2011-03-25 03:16:40 +08:00
José Valim
b23e2e807a
Note about navigational formats.
2011-03-18 16:04:52 +01:00
José Valim
7876acf960
Oops, fix silly mistake.
2011-03-16 05:52:53 -07:00
José Valim
74166e224b
Faster uniqueness queries, closes #917
2011-03-15 12:53:17 +01:00
José Valim
cb778d033f
Squeeze "/"
2011-03-14 11:04:51 -07:00
José Valim
1bf7da148a
Properly ignore path prefix on omniauthable
2011-03-14 18:35:06 +01:00
José Valim
d58a72ee32
Remove stuff deprecated on .rc2
2011-03-14 11:22:09 +01:00
José Valim
4f093574da
Release 1.2.rc2.
2011-03-11 20:56:50 +01:00
José Valim
3f4fb1a769
Improve previous patch.
2011-03-11 20:46:08 +01:00
gilles
1982ad9f57
fix for possible injection with mongo
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2011-03-11 20:24:24 +01:00
José Valim
307fe6cb60
Revert two previous commits. Rails is broken, it needs to be fixed instead.
2011-03-02 10:13:38 +01:00
José Valim
fe2d7b5ffe
Don't cache variable otherwise reloading in development is busted.
2011-03-02 00:16:09 -08:00
Jan Xie
d445db9e5e
use Inflector#constantize to get class, compatible with rails edge commit 7b6bfe84f332a3c99656f73cf0251bce0a16ba88
2011-03-02 16:13:15 +08:00
Guilherme Silveira
e4cae200f4
simplifying comparisons (avoind too much negatives) and adding unit test cases
2011-02-27 15:14:02 +08:00
Vinicius Baggio
0cc900e7cf
Reset lock attempts count when lock is expired. Closes #825
2011-02-25 17:59:27 -03:00
Vinicius Baggio
305059f573
Consider SCRIPT_NAME on omniauth url helper. Closes #876
2011-02-25 14:20:12 -03:00
José Valim
392e664036
Be sure to halt on failures, closes #856
2011-02-24 22:31:48 +01:00
José Valim
930d5874ca
Raise here instead of a warning.
2011-02-24 22:12:54 +01:00
José Valim
2e43944567
Move rememberable back to a hook.
2011-02-24 21:55:52 +01:00
Vinicius Baggio
352edc024b
Cleaning up test helpers related to OmniAuth.
...
Developers should rely on OmniAuth's new testing API. Check
https://github.com/intridea/omniauth/wiki/Integration-Testing
for more details.
2011-02-24 16:50:22 -03:00
Vinicius Baggio
42d002702c
Considering namespaces while generating the routes. Closes #682
2011-02-23 14:24:47 -03:00
Alexander Uvarov
bbaaefa995
Relax dependency on ActiveModel::Dirty
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2011-02-18 12:28:56 +01:00
Joey Aghion
fdf6a48a7e
Custom failure apps no longer ignored in test mode.
2011-02-18 15:53:04 +08:00
José Valim
7113beac81
Bring back behavior for < 3.0.4.
2011-02-16 20:59:58 +01:00
José Valim
dd721f1857
Use secure compare as well.
2011-02-15 11:33:54 +01:00
José Valim
ca293d17ba
Implement Rails' handle unverified request.
2011-02-15 10:58:38 +01:00
José Valim
add8f8a203
Works on 3.0.4.
2011-02-15 10:27:34 +01:00
Nate Todd
2d0f887ba7
Preventing timeoutable from interfering with stateless tokens.
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2011-02-15 09:54:13 +01:00
José Valim
3109b0924b
Remove --haml and --slim views from Devise.
2011-02-15 09:49:11 +01:00
Jo Liss
bca43a7576
Require 'rails' in devise.rb.
...
This way we can require 'devise' without requiring 'rails' beforehand.
2011-02-10 23:00:13 +08:00
Jo Liss
8440ed0101
Make Devise::friendly_token 20 characters long.
...
This makes the tokens better suited for URLs in plain-text emails, and
is still secure for all practical purposes.
2011-02-10 21:42:58 +08:00
Jeffrey Jones
cb5e0c4a7b
Simplified logic for checking if the email is present and moved the Mongoid classes out of eval statements
2011-02-10 16:16:33 +08:00
Jeffrey Jones
0287d8cc80
When using database_authenticatable Devise will now only create an email field when appropriate.
...
(If using default authentication_keys or custom authentication_keys with email included)
Test written for Mongoid, not sure how to test for active_record yet.
2011-02-10 16:16:33 +08:00
Carlos Antonio da Silva
c9fe8885f9
Spaces
2011-02-06 19:23:36 -02:00
Nico Ritsche
f06bed279a
corrected 'an user' to 'a user' in comments and docs
2011-02-06 23:46:49 +08:00
John Plummer
7a1852e9f5
Allow send confirmation to change keys used
2011-02-05 16:19:01 +08:00
Carlos Antonio da Silva
1f8909458f
Fix typo
2011-01-26 22:26:40 -02:00
José Valim
68f699bfd4
Do not change default behavior of previous apps.
2011-01-21 10:55:40 +01:00
José Valim
0615c0a0a4
Fix infinite redirect issues. Closes #787 and closes #795 .
2011-01-20 09:22:41 +01:00
José Valim
c78bb68c66
Revert "Fix an issue causing infinite redirects in production, closes #720 "
...
This reverts commit a156576ce9 .
Conflicts:
lib/devise/controllers/internal_helpers.rb
2011-01-20 09:16:44 +01:00
José Valim
d018970c4b
Revert "Doh. Use respond_to :all."
...
This reverts commit 555435e6fe .
2011-01-20 09:14:38 +01:00
Jo Liss
4207c2321f
Fix the module sorting in devise method.
2011-01-15 07:38:06 +08:00
Jo Liss
54dc82ad25
Generate add_index for :authentication_token (used by :token_authenticatable).
2011-01-15 06:42:30 +08:00