José Valim
|
e242ca0937
|
Fix failing tests.
|
2011-06-10 11:10:56 +02:00 |
|
Stefan Wrobel
|
8e87a2d80d
|
Add strip_whitespace_keys which works like case_insensitive_keys but strips whitespace from emails
|
2011-06-10 01:37:43 -07:00 |
|
José Valim
|
4964f53a42
|
Merge pull request #1092 from xavier/filterwhitelist
Conditional string conversion of auth params (Closes #1079)
|
2011-06-08 08:39:53 -07:00 |
|
José Valim
|
6250fa8529
|
Revert "Merge pull request #1103 from Mab879/master"
This reverts commit 944e1c0378, reversing
changes made to 97659a1193.
|
2011-06-08 17:37:49 +02:00 |
|
Matthew Burket
|
4f446241a4
|
Added Controller Generator and tests to go along with it.
|
2011-05-30 23:07:20 -05:00 |
|
Paul Bellamy
|
0bcf71f8df
|
Rails has removed SecureRandom from ActiveSupport in Rails 3.2,
deprecated
* Changing references in generators and encryptable_test
|
2011-05-28 14:44:54 +01:00 |
|
Xavier Defrang
|
ab3bb9cf4d
|
Conditional string conversion of auth params (Closes #1079)
|
2011-05-26 15:45:03 +02:00 |
|
José Valim
|
69126a31db
|
Merge pull request #1052 from Thibaut/email-validation
Don't validate email format and uniqueness unless it's changed
|
2011-05-26 05:24:45 -07:00 |
|
Sergey Kojin
|
58f8c7c613
|
support for named omniauth open_id strategies
|
2011-05-25 00:15:24 +04:00 |
|
José Valim
|
2e61e52520
|
Fix failing test.
|
2011-05-23 18:22:32 +02:00 |
|
Josh Kalderimis
|
e10bc9e3c0
|
dup the conditions hash before calling filter_auth_params, this fixes an issue with reseting your password when using a custom auth field like login
|
2011-05-16 14:08:22 -04:00 |
|
Thibaut
|
92c9ed2d6c
|
Don't validate email format and uniqueness unless it's changed.
|
2011-05-07 19:02:44 +02:00 |
|
José Valim
|
e763f843c4
|
Tests pass on 3.0.7
|
2011-05-04 19:24:11 +02:00 |
|
fabian
|
56f7fbf2d1
|
use 'devise.skip_trackable' instead of DNT headers
|
2011-05-04 15:21:12 +02:00 |
|
fabian
|
89b53ea39c
|
respect do not track headers in trackable
|
2011-05-04 14:44:37 +02:00 |
|
Emanuel Carnevale
|
8e12ddf7ed
|
fix for issues #999: HTTP_ACCEPT=*/* should redirect to the default location
|
2011-04-29 13:22:52 +02:00 |
|
José Valim
|
4fd866d113
|
User cannot access sign up and similar pages if he is already signed in through a cookie or token, closes #1036.
|
2011-04-29 08:56:57 +02:00 |
|
José Valim
|
a59410a254
|
password_required? should not affect length validation, closes #1037.
|
2011-04-29 08:33:33 +02:00 |
|
José Valim
|
b1a27ad633
|
Allow controllers to be given as symbols.
|
2011-04-25 10:00:28 +02:00 |
|
Chase DuBois
|
89e4ab8a45
|
Moved check against record deletion into forget_me! method in model; added unit test.
|
2011-04-25 15:49:59 +08:00 |
|
José Valim
|
ae976f60ca
|
Mark the token as expired, because invalid gives no clue of what to do next.
|
2011-04-21 19:17:33 +02:00 |
|
José Valim
|
40153b7422
|
Add tests to previous commit.
|
2011-04-21 13:56:10 +02:00 |
|
Rodrigo Flores
|
a229627a54
|
Removed failing test cases on e-mail validations
|
2011-04-19 20:16:20 +08:00 |
|
José Valim
|
29afe2d21c
|
Other minor improvements in the REST code.
|
2011-04-19 08:36:52 +02:00 |
|
José Valim
|
a722c6236c
|
to_json does not guarantee the order.
|
2011-04-18 13:03:31 +02:00 |
|
SixArm
|
2a5669967f
|
Change test email addresses to ues RFC 2606 reserved domain example.com
|
2011-04-18 15:59:13 +08:00 |
|
José Valim
|
4a4dcb30ef
|
sessions/new also responds to xml and json now
|
2011-04-18 09:56:24 +02:00 |
|
José Valim
|
c6dd846718
|
Move the catch to the test level.
|
2011-04-17 19:37:19 +02:00 |
|
José Valim
|
7a2d76d002
|
Update changelog, improve coverage.
|
2011-04-17 18:06:29 +02:00 |
|
Steve Hodgkiss
|
60809719b8
|
Fix bug when the reset_password_sent_at field doesn't exist generate_password_token returns nil causing the token not to be saved.
|
2011-04-17 23:53:50 +08:00 |
|
José Valim
|
fa6c8ab321
|
Use inflector to avoid conflicts.
|
2011-04-16 13:30:15 +02:00 |
|
José Valim
|
0d74c1b4f0
|
Move it to the junk drawer. :)
|
2011-04-16 13:18:28 +02:00 |
|
José Valim
|
8f3539c14f
|
Don't include the same module several times, closes #765.
|
2011-04-16 13:16:47 +02:00 |
|
Jack Dempsey
|
cb622e99d8
|
create new integration test file for flash related tests
|
2011-04-16 19:16:34 +08:00 |
|
Jack Dempsey
|
567d59e48a
|
update verbiage to be more concise
|
2011-04-16 19:16:33 +08:00 |
|
Jack Dempsey
|
f89f71262d
|
require_no_authentication now sets flash with I18n message
|
2011-04-16 19:16:33 +08:00 |
|
José Valim
|
5e2ee5eb6a
|
Downcase keys before validation.
|
2011-04-16 12:52:59 +02:00 |
|
Mikel Lindsaar
|
e329930a82
|
Update DatabaseAuthenticatable#valid_password? to not raise error on empty password
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2011-04-16 12:41:49 +02:00 |
|
José Valim
|
c608fbe89e
|
Rollback to require 'test_helper'. If you want to run it in isolation, do ruby -Itest path/to/test/file.
|
2011-04-15 10:48:44 +02:00 |
|
Matias Korhonen
|
8db00eedea
|
Bump the password maximum length to 128 characters.
|
2011-04-15 16:39:01 +08:00 |
|
John Wilger
|
e4af6adaf7
|
Added test showing previously incorrect behavior of Devise::SessionsController#create
|
2011-04-15 16:37:15 +08:00 |
|
John Wilger
|
e1c7c49a0c
|
Fix test_helper require so file can be run individually
|
2011-04-15 16:37:14 +08:00 |
|
Timo Schilling
|
5adb854aa5
|
add devise_for :only option
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2011-04-15 10:31:01 +02:00 |
|
José Valim
|
30300fc6b9
|
Add a test that ensures validation options work.
|
2011-04-09 22:47:06 +02:00 |
|
José Valim
|
ed51fc7636
|
Tidy up previous commits.
|
2011-03-30 15:35:38 +02:00 |
|
Jean-Daniel Guyot
|
be2aeee70f
|
Add reset_password_within configuration variable.
|
2011-03-30 21:11:33 +08:00 |
|
Prem Sichanugrist
|
b6652abc7c
|
Add navigational_formats internal helper which filters out wildcard
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2011-03-30 13:43:57 +02:00 |
|
Prem Sichanugrist
|
97f0bacfa0
|
Add support for non-navigational formats in PasswordsController
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2011-03-30 13:39:08 +02:00 |
|
Prem Sichanugrist
|
210bc6aa66
|
Add support for non-navigational formats in UnlocksController
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2011-03-30 13:38:16 +02:00 |
|
Prem Sichanugrist
|
8170d5e340
|
Add support for non-navigational formats in ConfirmationsController
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2011-03-30 13:38:00 +02:00 |
|