Rodrigo Flores
07ef99a8f0
Changelog and a minor change on the test title
2012-04-04 17:27:41 -03:00
Rodrigo Flores
857af600f7
Merge pull request #1722 from Antiarchitect/master
...
Token regeneration on session timeout.
2012-04-04 13:23:27 -07:00
Andrey Voronkov
7ecbba089f
Authentication token expiration on session timeout
2012-04-02 20:48:23 +04:00
José Valim
52b4bab461
Fix failing test.
2012-03-30 09:13:28 +02:00
José Valim
b74f71fbed
Fix build so it works with Rails 3.1.
2012-03-26 18:50:39 +03:00
David FRANCOIS
885d8836d1
Ability to use attr_protected attributes as sign-in keys without triggering ActiveModel::MassAssignmentSecurity::Error when ActiveRecord::Base.mass_assignment_sanitizer is set to :strict. Fixes #1729 .
2012-03-21 11:48:00 +01:00
Rodrigo Flores
3623215b8c
failed_attempts is set to 0 on sign in
2012-03-19 17:09:22 -03:00
Rodrigo Flores
a7658f9d75
Checking required fields on lockable
2012-03-13 15:50:13 -03:00
José Valim
0ab28ef8ee
Add skip_reconfirmation! , closes #1708
2012-03-09 18:12:30 +01:00
Rodrigo Flores
7b7af57813
Minor fixes on models_test
2012-03-03 15:10:17 -03:00
Rodrigo Flores
a12f6ec70c
Failure is better than exceptions
2012-03-03 14:49:59 -03:00
Rodrigo Flores
fffc3b1e0e
Moved a method to support
2012-03-03 14:41:22 -03:00
Rodrigo Flores
ecfc7d752a
Deprecation warning on module doesn't have a required_fields method
2012-03-03 14:30:59 -03:00
Rodrigo Flores
9bf718dd82
Revert "Move devise/shared/_links.erb to devise/_links.erb"
...
This reverts commit aa2d15aa33 .
Conflicts:
CHANGELOG.rdoc
2012-03-03 10:40:59 -03:00
Rodrigo Flores
bb4f699d03
Fixing two tests
2012-03-03 01:25:17 -03:00
Rodrigo Flores
5ef35ee1bd
Adding required_fields to all modules
2012-02-24 20:57:58 -02:00
Rodrigo Flores
6d5bccc050
Added required fields to validatable
2012-02-24 20:57:58 -02:00
Lucas Mazza
64c05f2ce9
Fix the assert_same_content assertion helper
...
and a broken confirmable test.
2012-02-22 16:49:09 -02:00
Rodrigo Flores
803e4f5524
Changed message and refactored exception to use a initializer
2012-02-22 13:55:06 -02:00
Rodrigo Flores
a909bfaf85
Added required_fields when reconfirmable
2012-02-22 13:55:06 -02:00
Rodrigo Flores
bc11e9f300
One exception to rule them all
2012-02-22 13:55:05 -02:00
Rodrigo Flores
e3412d4207
No need to sort anymore
2012-02-22 13:55:05 -02:00
Rodrigo Flores
faf8b01ecc
Fixing some tests and adding an assert message
2012-02-22 13:55:05 -02:00
Rodrigo Flores
d7337c5b26
Added a missing test and asserting same content for 1.8 compatibility
2012-02-22 13:55:05 -02:00
Rodrigo Flores
2ab1086b80
Test, you shall pass!
2012-02-22 13:55:05 -02:00
Rodrigo Flores
85f2f88c59
Added required fields to lockable
2012-02-22 13:55:05 -02:00
Rodrigo Flores
ce3422e75a
Added required_fields to recoverable
2012-02-22 13:55:04 -02:00
Rodrigo Flores
bee87843b4
Added required_fields to rememberable
2012-02-22 13:55:04 -02:00
Rodrigo Flores
18aef6ac33
Some refactor
2012-02-22 13:55:03 -02:00
Rodrigo Flores
890f6031c3
Required fields on trackable
2012-02-22 13:55:03 -02:00
Rodrigo Flores
f3bace570d
Required fields on token_authenticatable
2012-02-22 13:55:02 -02:00
Rodrigo Flores
533511f8c3
Required fields on encryptable
2012-02-22 13:55:02 -02:00
Rodrigo Flores
6489354b0e
Required fields on confirmable
2012-02-22 13:55:02 -02:00
Rodrigo Flores
8ac8129fe7
Added required_fields to database_authenticatable
2012-02-22 13:55:01 -02:00
Rodrigo Flores
9667a38bc9
Added check_model! method
2012-02-22 13:55:01 -02:00
George Guimarães
b190fa38c7
typo
2012-02-17 19:15:46 -02:00
José Valim
a0a141b457
Merge pull request #1661 from mreinsch/fix_subdomain_routing
...
fix for when using :host in routes
2012-02-17 02:31:14 -08:00
Michael Reinsch
0315ca2701
fix for :host getting overwritten in scope[:options] and thus not generating URLs with correct hostnames
2012-02-17 19:14:42 +09:00
Rodrigo Flores
1a41fff009
Bye PathChecker
2012-02-16 15:25:06 -02:00
Rodrigo Flores
65f08ea175
Removing signed_out path workaround
2012-02-16 14:53:11 -02:00
Rodrigo Flores
9e7ab38bce
sign_out helper uses the new warden api
2012-02-16 14:53:10 -02:00
José Valim
df8ac1cfe6
Clean up remember token related config.
2012-02-16 12:30:04 +01:00
José Valim
d2223ee5e3
Improve coverage, cache array in a constant.
2012-02-15 20:18:52 +01:00
José Valim
fb8e093389
Accept devise_i18n_options to handle custom i18n values, closes #1633
2012-02-15 16:58:23 +01:00
José Valim
82da877863
Merge pull request #1565 from joliss/unconfirmed-message
...
More helpful sign-up message for Confirmable
2012-01-24 05:06:51 -08:00
José Valim
275c480f89
Redirect to the previous URL on timeout, closes #1596
2012-01-24 14:00:36 +01:00
José Valim
477d9fbcba
Do not fallback to string on failure app, easier for debugging, closes #1587
2012-01-24 13:46:25 +01:00
José Valim
55be93d5c4
Deprecated support for nested devise_for blocks
2012-01-24 13:40:04 +01:00
Jo Liss
c78c196423
More helpful sign-up message for Confirmable
...
This is also better for translations, because we can translate paragraph-wise.
signed_up_but_inactive and signed_up_but_locked are likely not needed,
but I wasn't sure how to best remove them.
2012-01-23 13:52:32 +01:00
Kaleem Ullah
41b1e87105
fix unlock message
2012-01-23 15:20:05 +04:00