Shaliko Usubov
db8eeb6c6e
Remove not used variables
2012-05-26 20:31:42 +04:00
Rodrigo Flores
768f8832b9
Removing encryptable module
2012-05-07 16:37:16 -03:00
Andrey Deryabin
9ec1003f1e
removed global namespaces
2012-04-16 21:27:16 +07:00
José Valim
52b4bab461
Fix failing test.
2012-03-30 09:13:28 +02: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
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
a909bfaf85
Added required_fields when reconfirmable
2012-02-22 13:55:06 -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
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
George Guimarães
b190fa38c7
typo
2012-02-17 19:15:46 -02:00
José Valim
d2223ee5e3
Improve coverage, cache array in a constant.
2012-02-15 20:18:52 +01:00
José Valim
07cdba349d
Merge pull request #1563 from asynchrony/handle_regexp_param_filtering
...
Allow regex to avoid string conversion for parameter filtering
2012-01-16 03:20:17 -08:00
José Valim
fd1e588645
Merge pull request #1534 from jigyasa/master
...
Fix for a bug: Incorrect message for locked account
2012-01-02 10:04:17 -08:00
Vasiliy Ermolovich
aca8d3f34c
regenerate confirmation token on reconfirmation, closes #1530
2011-12-31 14:22:58 +03:00
Jigyasa Makkar
e2030a740d
Fixed a bug in lockable wherein when a user tries to login with correct password after being locked,
...
failed attempts count gets reset. When the user tries to login with an incorrect password next,
the message shown is for invalid password instead of locked account since this check
depended mainly on failed attempts count.
2011-12-29 23:57:39 +05:30
José Valim
89db0dd44d
Do not run validatins unless on reconfirmable branch, closes #1515 .
2011-12-20 20:54:49 +01:00
T1D
c9becd3ea1
Allow regular expressions to avoid string conversion for parameter
...
filtering.
2011-12-14 10:41:24 -06:00
José Valim
930b324c15
Usage of confirm_within was deprecated in favor allow_unconfirmed_access_for
2011-12-11 20:18:02 +01:00
José Valim
d952dea32b
Remove the code that was dynamically adding columns to active record
2011-12-11 20:07:50 +01:00
José Valim
9a6ac7ab69
Add confirmable to admin.
2011-12-11 20:07:50 +01:00
José Valim
bd27bf7677
Deprecate and disable old behavior accumulated with time.
2011-12-04 23:58:19 +01:00
José Valim
6aed8f1c87
Clean up reconfirmable behavior.
2011-12-04 22:14:44 +01:00
José Valim
6d681c5b8a
Merge remote-tracking branch 'heimidal/updates' into reconfirm
...
Conflicts:
lib/devise/models/confirmable.rb
test/support/helpers.rb
2011-12-04 20:58:41 +01:00
lest
37dad2172b
implement dynamic value for timeout_in as a model method instead of a proc
2011-11-25 11:01:42 +03:00
lest
426223dda0
timeout_in option can be a Proc object
2011-11-24 21:42:58 +03:00
Kir
5ba6670164
Added support for rails 3.1 new mass assignment conventions
2011-11-24 12:51:03 +04:00
José Valim
dc8aa9ef83
Move param filtering to its own object and make all finder methods pass through it, closes #1413 .
2011-11-10 10:14:02 -02: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
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
Benjamin Quorning
a3bff7d6a2
Fix usage of "its" / "it's" in documentation
2011-08-16 22:15:25 +02:00