Qiang Xue
cb4a8c764c
Refactored validators.
11 years ago
Qiang Xue
b9f9b16536
Apply fix for #1003 to validateAttribute.
11 years ago
Carsten Brandt
d0fc987f0b
fixed test break
11 years ago
Qiang Xue
a5e3c00d75
replaced inheritdoc tags.
11 years ago
Carsten Brandt
83527e85ca
made Model::attributes() non static again
...
- allows to have dynamic definition of attributes depended on the
instance
- there was no real need for it to be static. Places that used it static
have been refactored.
fixes #1318
11 years ago
Panagiotis Moustafellos
2ff8ac3d61
fixed PhpDoc by swapping to {@inheritdoc}
11 years ago
Carsten Brandt
ed98df5cd8
fixed broken UniqueValidator
11 years ago
Carsten Brandt
cb4504a10f
refactored Model and redis AR to allow drop of RecordSchema
11 years ago
Carsten Brandt
070bd9625c
removed checkPort feature from email validator
...
fixes #1246
11 years ago
Carsten Brandt
4079acf4a6
changed EmailValidator MX check to be more useful
...
issue #1246
11 years ago
Carsten Brandt
8dab87be3d
fixed EmailValidator IDN and full pattern support
...
also made everything conistent with client validation
11 years ago
Qiang Xue
368dd4b1d4
Allow Validator::except to be either a string or an array.
11 years ago
Qiang Xue
5b0886f10b
Allow "on" and "attributes" to take either array or string for validators.
11 years ago
Carsten Brandt
539e233d9c
massive improvement on class documentation
...
- added example code for application components
- added missing short description
[ci skip]
11 years ago
slavcodev
cbca145e97
Add type hinting
11 years ago
slavcodev
1c2489a3dc
Using only arrays in rules instead comma-separated string
11 years ago
slavcodev
b0b1c27c85
Fix phpDoc var tag format
11 years ago
Qiang Xue
202664f3a4
Fixes #1176 .
11 years ago
Alexander Makarov
927e9dddb4
Refactored View
11 years ago
Gudz Taras
11c78cb4fb
Changed validateFile() method access from protected to public, fixed hasErrors check
11 years ago
Gudz Taras
3ef20e591d
Overriding validateFile()
11 years ago
Gudz Taras
c8596fdbc9
Changed px to pixels
11 years ago
Gudz Taras
960cb499bd
Fixed typos [skip ci]
11 years ago
Gudz Taras
e3981be1b8
Added image validator
11 years ago
Alexander Makarov
c127171efb
Fixes #1003 : DateValidator returned true for invalid dates
11 years ago
Alexander Makarov
ffb37f8eab
fixes #1001
11 years ago
Carsten Brandt
cfc57c20f0
Allow ITU message format in validator messages
...
fixes #991
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
11 years ago
Alexander Makarov
5cf9992251
Removed @codeCoverageIgnore
11 years ago
Carsten Brandt
266f4f9843
Clientvalidation {value} was not what has been validated
...
also fixed some inconsistency between client and server validation.
11 years ago
Alexander Makarov
409500000a
Validation reference, validators phpdoc fixes
11 years ago
Carsten Brandt
c306fccd46
fixed FileValidator after UploadedFile refactoring
...
fixes #845
11 years ago
Carsten Brandt
7fa81949bf
various documentation changes
11 years ago
Qiang Xue
ea10868824
Removed Yii::import().
11 years ago
Carsten Brandt
ca69ef09d4
update of @property annotations
11 years ago
Carsten Brandt
bdb77f33ba
updated @property annotations of many classes
11 years ago
Qiang Xue
c037b481e8
Added SafeValidator.
12 years ago
Qiang Xue
1ca215dff4
Added default value of Validator::attributes.
12 years ago
Qiang Xue
3d5388ff2b
Reorganized captcha code.
12 years ago
Suralc
1ce7344e18
Additional tests in EmailValidator.
12 years ago
Qiang Xue
a23f233457
enhanced the usage of StringValidator.
12 years ago
Suralc
ec1dfeaa58
Ignoring javascript generating methods in coverage for now.
12 years ago
Suralc
fc1d2af36c
UrlValidator Tests
12 years ago
Qiang Xue
368a4cfe66
Asset feature refactoring (WIP)
12 years ago
Qiang Xue
36f6ebab7f
Fixes issue #539 : Yii2 Csrf protection broken
12 years ago
Carsten Brandt
6c8f898a90
validator use static instead of self
12 years ago
resurtm
7a7d2a9c06
CS fixes.
12 years ago
gsd
4ed28a9aee
Update CompareValidator.php
12 years ago
Qiang Xue
8157ea5804
Fixes issue #481 .
12 years ago
Qiang Xue
f1ce0e165d
Fixes issue #428 Allowing UniqueValidator to be used with non-AR models.
12 years ago