Derek Kastner
8b45c0a856
Correct test for named OmniAuth strategy
2011-10-17 10:09:47 -04:00
José Valim
2a5ad4664b
Change all paranoid settings to behave as success instead of as failure, closes #1375 .
2011-10-15 10:52:00 +02:00
Jim Herzberg
b98720d324
jh - reworking paranoid mode in passwords controller
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2011-10-15 10:45:33 +02:00
Derek Kastner
3f0b5fbd71
Support for OmniAuth 1.0.0
2011-10-14 21:31:17 -04:00
Brian Rose
7f754caba3
Merge branch 'master' into updates
2011-10-12 10:56:08 -06:00
José Valim
990dcc8eef
Try to fix the misterious case where some url helpers are not defined.
2011-10-09 11:50:48 +02:00
Bounmy Stephane
76bff0d4de
removed Gemfile's injection
...
by default : Markerb define then markerb email views generated otherwise
erb
2011-09-30 22:41:02 -07:00
José Valim
59f2767345
Remove deprecated code and tests.
2011-09-29 13:11:12 +02:00
José Valim
bc8fc2d4e4
Allow idempotent API requests, closes #1309 .
2011-09-29 11:35:18 +02:00
Bounmy Stephane
a629654a15
ensure that the gem markerb entry is not duplicated in the gemfile
2011-09-14 20:20:20 -07:00
José Valim
0b9a95e294
Allow --skip-routes to devise generator.
2011-09-14 16:52:28 -07:00
José Valim
98acc84111
Allow options to be passed to authenticate_user!
2011-09-14 16:52:28 -07:00
José Valim
261c01dfa3
Allow :skip => :all
2011-09-14 16:52:28 -07:00
Bounmy Stephane
8067022d98
added injection of markerb in Gemfile
2011-09-13 22:50:39 -07:00
Bounmy Stephane
72ba56b071
generate markerb views with "--markerb" instead of "-m markerb"
2011-09-13 21:46:46 -07:00
Bounmy Stephane
10451e9e38
added mailviewsgenerator
...
now mail generator can copy markerb or erb mail template views
2011-09-13 00:19:48 -07:00
José Valim
9ebcb691b0
Depend on jdbc master.
2011-09-08 09:05:06 +02:00
José Valim
7b0a8f9bdc
Also try the root route for convenience, closes #1312 .
2011-09-08 08:32:05 +02:00
James Cook
edcca8cd3f
DatabaseAuthenticatable#clean_up_passwords should set accessors to nil, not empty string.
2011-09-02 13:14:15 -04:00
Rémy Coutable
ebbabaea5b
After a password reset, don't show "You are now signed in." if the user can't be signed-in anyway.
2011-09-01 00:24:10 +02:00
José Valim
8796c1c601
Do not always skip helpers, instead provide :skip_helpers as option to trigger it manually
2011-08-31 12:02:57 +02:00
Brian Rose
8c0f74f036
Add better message when user updates while reconfirmable is enabled.
2011-08-30 22:19:18 -06:00
Brian Rose
5a820262f9
Fix double-submit reconfirmation bug
...
Previously, if a user submitted their new email twice, they would bypass
the reconfirmation requirement and wind up auto-confirmed.
2011-08-30 22:19:18 -06:00
Brian Rose
a1407565c8
Selectively add reconfirmable field in tests when necessary.
2011-08-30 22:19:18 -06:00
Brian Rose
a7c5a2e65d
Fix up implementation of reconfirmable.
2011-08-30 22:19:17 -06:00
mandaryn
10ac4dbc35
reconfirmable uniqueness validations
2011-08-30 22:19:17 -06:00
mandaryn
6469cbc62a
renamed confirmation_on_email_change property to reconfirmable and added reconfirmable explanations
2011-08-30 22:19:17 -06:00
mandaryn
1961de6b5d
Add email confirmation when it is changed by a user
2011-08-30 22:19:17 -06:00
José Valim
295088f9e8
Depend on latest Rails.
2011-08-30 14:33:23 +02:00
José Valim
79d89a3c20
Merge pull request #1297 from seanski/master
...
Patch for Issue 1259 -- New
2011-08-30 01:44:30 -07:00
Sean Hill
8ad414b217
Added a helper to look for an modifying migration. If one is found during :revoke, the modifying migration is deleted. If the modifying migration is not found, the creating migration is deleted.
2011-08-29 17:53:32 -05:00
José Valim
7b1418be3b
Improve the regexp a bit more.
2011-08-29 14:55:56 +02:00
José Valim
a8d9695324
Simplify regexp and ensure it runs against UTF8 chars, closes #1235
2011-08-29 13:15:40 +02:00
Sean Hill
179cb2c88a
Changed the order of the devise_generator methods to create the model after the migration to properly use model_exists?, and I added tests to prove the generator works.
2011-08-28 16:02:58 -05:00
Szymon Przybył
7665cbf21d
Allow to set default 'from' header of Devise mails in custom mailer class
2011-08-20 22:35:47 +02:00
Benjamin Quorning
a3bff7d6a2
Fix usage of "its" / "it's" in documentation
2011-08-16 22:15:25 +02:00
David Turner
6d65c28f1f
remove hard-to-distinguish characters from friendly_token
2011-08-10 12:44:30 -04:00
Alexander Uvarov
d38341b5e0
Don't require explicit scope in authenticate router extension
2011-08-10 15:41:06 +06:00
José Valim
e76ba05516
Merge pull request #1249 from ches/mongoid-fixes
...
Tests that should no longer exclude Mongoid
2011-08-06 08:21:48 -07:00
Ches Martin
3cedba1de8
Fix optional enforcement of particular authentication keys
...
Documentation states that authentication_keys should accept a hash with
values indicating whether or not each key is required. This was added in
b2066cc2 but tests only covered request_keys, and 29afe2d2 later broke
it with a << array operator.
2011-08-06 20:07:49 +07:00
Ches Martin
ccbf26be0a
Tests that should no longer exclude Mongoid
2011-08-06 19:28:19 +07:00
Ches Martin
6bc93173f1
Restore forlorn Mongoid generator tests
2011-08-05 02:40:42 +07:00
Ches Martin
55af9f8a40
Fix failing Mongoid tests
...
- attr_accessible not set for test user model, making Serializable tests
inaccurate
- Mongoid does not `include_root_in_json` by default, so enable this for
consistency with AR tests
- Mark tests pending for Mongoid < 2.1 that fail there due to known bugs
- Add `:mongoid` key for i18n model labels
- Remove outdated shim of `update_attribute` that caused mass assignment
security to be applied (ugh, that took awhile to find)
2011-08-05 01:38:42 +07:00
José Valim
919404df53
Merge pull request #1228 from dasil003/master
...
Set up Recoverable to automatically confirm! if Comfirmable
2011-08-02 12:41:09 -07:00
Aditya Sanghi
873e49ab66
sign_in should return true in case user is already signed in and assert that.
2011-08-02 14:35:46 +05:30
Gabe da Silveira
ed6dfed67f
Resetting password should confirm implicitly
2011-07-29 14:26:19 -07:00
Gabe da Silveira
3488066031
Spelling correction
2011-07-29 14:17:31 -07:00
Mathieu Ravaux
a2700bc17f
Fixed issue #1206 : TokenAuthenticatable#params_auth_hash behaving in an unexpected way for the authentication token lookup
2011-07-23 17:45:45 +02:00
Jo Liss
2a6c160d39
Remove whitespace from generator template
2011-07-08 18:41:16 +02:00
Simon Ernst
517343ddb5
Add ability to override redirect_to path after account confirmation.
2011-07-08 11:21:01 +02:00