Elvira Sheina
1ee91fe4ab
Fix BC in Exist Validator ( #13533 )
...
Related to #13318 and #13475
fixes #13533
close #13534
2017-02-08 09:13:40 +01:00
Carsten Brandt
36521c50e0
instructions on signing tag on release repo
2017-02-02 14:35:16 +01:00
Carsten Brandt
c19b2f7dc8
release version 2.0.11
2017-02-01 17:46:29 +01:00
Carsten Brandt
1eec5c17bc
make UniqueValidator compatible with ActiveRecordInterface again
...
fixes #13485
2017-02-01 13:30:19 +01:00
Elvira Sheina
0df8020dd0
Fix for #13485
2017-02-01 13:20:32 +01:00
Elvira Sheina
d39c491022
Fix BC breaking #13475 ( #13478 )
2017-01-31 11:56:46 +03:00
Elvira Sheina
240bca515a
Use low-level query in UniqueValidator ( #13461 )
...
Fixes #13453 , relates to #13098
2017-01-28 18:38:06 +03:00
Alexander Makarov
bede9feba5
Fixes #13453 : Reverted #10896 commit 729ddc5b76
...
It was causing side effects: https://github.com/yiisoft/yii2/issues/13453
2017-01-28 01:16:14 +03:00
Alexander Makarov
3f4771b1de
Phpdoc adjustments [skip ci]
2017-01-23 12:42:35 +03:00
Elvira Sheina
b82caa97e8
Fixes #7820 : Add or relation for targetAttribute in yii\validators\UniqueValidator
2017-01-22 19:45:18 +03:00
Alexander Makarov
3f66f1907f
Removed unused method
2017-01-16 00:08:28 +03:00
Alexander Makarov
ebe30bd5ee
Exposed number normalization as StringHelper::normalizeNumber()
2017-01-15 22:46:25 +03:00
Alexander Makarov
eee7b9663c
Merge branch 'master' into fix-numbervalidator-comma-decimal-separator
2017-01-15 22:41:09 +03:00
Klimov Paul
d4ac47abe7
Added yii\validators\EachValidator::$stopOnFirstError allowing addition of more than one error
2017-01-13 17:59:10 +02:00
Carsten Brandt
e13a18ba8b
added missing version information
...
fixes #13259
2016-12-20 22:40:44 +01:00
Alexander Makarov
a7f0a3c147
Merge branch 'master' into fix-numbervalidator-comma-decimal-separator
2016-12-17 16:39:00 +03:00
Elvira Sheina
bfba0aa711
Refactor validateAttribute method in UniqueValidator ( #13202 )
...
* Refactor validateAttribute method in UniqueValidator
Extract prepareParams and prepareQuery from validateAttribute,
so they can be tested separately.
* Added issue number to changelog
* Eliminated unneeded variable
* Renamed methods and parameters, update PHPDocs
2016-12-15 12:23:16 +01:00
SilverFire - Dmitry Naumenko
a132ee9a08
Fixed order or checks in IpValidator
...
Fixes #13198
2016-12-13 18:14:04 +02:00
Alexey Rogachev
bd85b7ced2
Closes #6242 : Access to validator in inline validation ( #13027 )
...
* Closes #6242 : Access to validator in inline validation
* Updated PHPDoc according to PR review [skip ci]
* Imrpoved PHPDoc, updated guide info [skip ci]
* Fixes related with PR review
* Corrected CHANGELOG [skip ci]
* Update input-validation.md
added version info
2016-12-08 23:29:53 +01:00
Nikola Kovacs
f5beaf3edf
Make validator getClientOptions public
...
This allows implementing custom client-side validation
without extending every validator.
Fixes #11163
close #13145
2016-12-08 01:30:36 +01:00
Alexey Rogachev
76e253e140
yii\validators\Validator - added separate methods for client-side validation options
...
Closes #11163
2016-12-05 22:33:49 +02:00
Alexander Makarov
242d850d6c
Shorter variable name, different approach to casting
2016-12-02 00:40:10 +03:00
Alexander Makarov
b17dfa03a2
Fixes #10488 : Fixed incorrect behavior of yii\validation\NumberValidator when used with locales where decimal separator is comma
2016-12-02 00:04:55 +03:00
Vladimir Khramov
dd94ead358
Initial work on #10488
2016-12-02 00:01:51 +03:00
Elvira Sheina
729ddc5b76
Select only primary keys in UniqueValidator ( #10896 ) ( #13098 )
...
fixes #10896
2016-12-01 10:45:58 +01:00
Carsten Brandt
b8b3aeeb00
update deprecated phpdoc messages
2016-11-22 16:03:28 +01:00
SilverFire - Dmitry Naumenko
332637db83
Fixed EmailValidator`to prevent false-positives checks
...
Fixed EmailValidator`to prevent false-positives checks when property `checkDns` is set to `true`
Fixes #12714
2016-11-13 18:12:34 +02:00
Robert Korulczyk
7a3a342127
Fix errors reported by apidoc extension. ( #12986 )
2016-11-13 14:51:21 +01:00
SilverFire - Dmitry Naumenko
35ce3ba611
Docs updated
...
Closes #11747
2016-11-12 18:04:23 +02:00
Robert Korulczyk
4aa935e69e
Fixes #12055 : Changed boolean to bool and integer to int in phpdoc
2016-11-07 02:51:39 +03:00
Boudewijn Vahrmeijer
32f4dc8997
Fixes #5385 : links created from classes to corresponding guide articles ( #12920 )
2016-11-04 18:55:14 +03:00
Carsten Brandt
5f821feff7
Added constants for CompareValidator::$type
...
also improved and fixed docs about 'compare' validator.
fixes #12864
2016-10-28 10:17:27 +02:00
Carsten Brandt
64ed8c9112
added note about timezone conversion to DateValidator
...
fixes #11692
2016-10-13 13:06:50 +02:00
Nikola Kovacs
1414b18835
Add short validator names time and datetime.
...
These map to `DateValidator` with `$type` set to
TYPE_TIME and TYPE_DATETIME.
close #12198
2016-10-13 12:30:54 +02:00
Carsten Brandt
89bc2918d3
Make 'safe' validator work on write-only properties
...
fixes #12605
2016-10-06 14:44:11 +02:00
DrDeath72
c42ef605db
Fixes #12554 : Fixed yii\validators\UniqueValidator error of getting first model indexed by field
2016-09-20 22:47:12 +02:00
SilverFire - Dmitry Naumenko
b42b8d6458
Updated PHPDoc for Validator::createValidator(). Closes #12564
2016-09-19 11:47:56 +03:00
Dmitry Naumenko
5d91ed520c
Merge pull request #12305 from rob006/fix-11323-bc
...
Fix BC break for `UniqueValidator` custom message
2016-09-09 13:41:28 +03:00
SilverFire - Dmitry Naumenko
494842636e
📖 Fixed client-side and server-side grammar in all files
2016-09-08 10:16:02 +03:00
Aleksey Loban
5307d50852
Typos yii\validators\Validator::$whenClient [skip ci]
2016-08-30 10:23:11 +03:00
Robert Korulczyk
2f981c5a70
Fix BC break for UniqueValidator custom message when validating multiple attributes
2016-08-24 22:59:58 +02:00
Alexander Makarov
9b1b4fc5fa
Added missing phpdoc
2016-07-30 00:02:51 +03:00
Carsten Brandt
ee92cfa7ba
release version 2.0.9
2016-07-11 15:36:42 +02:00
Carsten Brandt
d2dd232b6f
message improvement and test for #11323
2016-07-06 14:27:50 +02:00
PowerGamer1
e0ace833d0
Added Error message for combined attributes to unique validator
...
- error message `$comboNotUnique` to include model attribute labels instead of attribute names.
- Fixes #11322
close #11323
2016-07-06 14:09:56 +02:00
Sam Mousa
b30b5a99ea
Fixes #11672 : Fixed yii\validators\NumberValidator erroring when value is an object without __toString() method
2016-06-23 23:32:25 +03:00
Carsten Brandt
84e9c40ca1
updated datevalidator docs
...
issue #11692
2016-06-09 13:07:40 +02:00
Nikola Kovacs
662f86acb5
fix missing closing bracket in documentation ( #11716 )
2016-06-07 13:20:56 +02:00
Nikola Kovacs
9d327baa8b
coding style fixes
2016-05-26 11:19:32 +02:00
Sergey Smirnov
1ed6fc09f6
#10825 Fixed EachValidator does not respect skipOnEmpty when using model ( #11507 )
2016-05-11 14:11:32 +02:00