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
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
salidux
d11402612f
test for trackable behind a proxy
2011-10-22 11:57:18 -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
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