SilverFire - Dmitry Naumenko
|
22832b7c49
|
release version 2.0.14
|
7 years ago |
Klimov Paul
|
71c541773f
|
PHPDoc fix
|
7 years ago |
Klimov Paul
|
65f6b59b35
|
`@inheritdoc` notation changed
|
7 years ago |
Гордиенко Владислав Юрьевич
|
72b69e359a
|
Fixes #15417: Added `yii\validators\FileValidator::$minFiles`
|
7 years ago |
Elvira Sheina
|
13cd7d7ee0
|
Fixes #6588: Fixed changing array keys after validation of multiple files in `yii\validators\FileValidator`
|
7 years ago |
Robert Korulczyk
|
5a8c3d537b
|
Enable `phpdoc_summary` rule in php-cs-fixer config (#14675)
* Enable `phpdoc_summary` rule in php-cs-fixer config.
* Fix case in "PHPDoc".
|
7 years ago |
Robert Korulczyk
|
1501c659ac
|
Add empty lines before return statements. (#14682) [skip ci]
|
7 years ago |
Robert Korulczyk
|
ba0ab403b5
|
Added php-cs-fixer coding standards validation to Travis CI (#14100)
* php-cs-fixer: PSR2 rule.
* php-cs-fixer: PSR2 rule - fix views.
* Travis setup refactoring.
* Add php-cs-fixer to travis cs tests.
* Fix tests on hhvm-3.12
* improve travis config
* composer update
* revert composer update
* improve travis config
* Fix CS.
* Extract config to separate classes.
* Extract config to separate classes.
* Add file header.
* Force short array syntax.
* binary_operator_spaces fixer
* Fix broken tests
* cast_spaces fixer
* concat_space fixer
* dir_constant fixer
* ereg_to_preg fixer
* function_typehint_space fixer
* hash_to_slash_comment fixer
* is_null fixer
* linebreak_after_opening_tag fixer
* lowercase_cast fixer
* magic_constant_casing fixer
* modernize_types_casting fixer
* native_function_casing fixer
* new_with_braces fixer
* no_alias_functions fixer
* no_blank_lines_after_class_opening fixer
* no_blank_lines_after_phpdoc fixer
* no_empty_comment fixer
* no_empty_phpdoc fixer
* no_empty_statement fixer
* no_extra_consecutive_blank_lines fixer
* no_leading_import_slash fixer
* no_leading_namespace_whitespace fixer
* no_mixed_echo_print fixer
* no_multiline_whitespace_around_double_arrow fixer
* no_multiline_whitespace_before_semicolons fixer
* no_php4_constructor fixer
* no_short_bool_cast fixer
* no_singleline_whitespace_before_semicolons fixer
* no_spaces_around_offset fixer
* no_trailing_comma_in_list_call fixer
* no_trailing_comma_in_singleline_array fixer
* no_unneeded_control_parentheses fixer
* no_unused_imports fixer
* no_useless_return fixer
* no_whitespace_before_comma_in_array fixer
* no_whitespace_in_blank_line fixer
* not_operator_with_successor_space fixer
* object_operator_without_whitespace fixer
* ordered_imports fixer
* php_unit_construct fixer
* php_unit_dedicate_assert fixer
* php_unit_fqcn_annotation fixer
* phpdoc_indent fixer
* phpdoc_no_access fixer
* phpdoc_no_empty_return fixer
* phpdoc_no_package fixer
* phpdoc_no_useless_inheritdoc fixer
* Fix broken tests
* phpdoc_return_self_reference fixer
* phpdoc_single_line_var_spacing fixer
* phpdoc_single_line_var_spacing fixer
* phpdoc_to_comment fixer
* phpdoc_trim fixer
* phpdoc_var_without_name fixer
* psr4 fixer
* self_accessor fixer
* short_scalar_cast fixer
* single_blank_line_before_namespace fixer
* single_quote fixer
* standardize_not_equals fixer
* ternary_operator_spaces fixer
* trailing_comma_in_multiline_array fixer
* trim_array_spaces fixer
* protected_to_private fixer
* unary_operator_spaces fixer
* whitespace_after_comma_in_array fixer
* `parent::setRules()` -> `$this->setRules()`
* blank_line_after_opening_tag fixer
* Update finder config.
* Revert changes for YiiRequirementChecker.
* Fix array formatting.
* Add missing import.
* Fix CS for new code merged from master.
* Fix some indentation issues.
|
7 years ago |
Sam
|
06967f9018
|
Fixes #13254: Core validators no longer require Yii::$app to be set
|
8 years ago |
Nikola Kovacs
|
f5beaf3edf
|
Make validator getClientOptions public
This allows implementing custom client-side validation
without extending every validator.
Fixes #11163
close #13145
|
8 years ago |
Alexey Rogachev
|
76e253e140
|
`yii\validators\Validator` - added separate methods for client-side validation options
Closes #11163
|
8 years ago |
Robert Korulczyk
|
7a3a342127
|
Fix errors reported by apidoc extension. (#12986)
|
8 years ago |
Robert Korulczyk
|
4aa935e69e
|
Fixes #12055: Changed `boolean` to `bool` and `integer` to `int` in phpdoc
|
8 years ago |
SilverFire - Dmitry Naumenko
|
494842636e
|
📖 Fixed `client-side` and `server-side` grammar in all files
|
8 years ago |
Nikola Kovacs
|
9d327baa8b
|
coding style fixes
|
8 years ago |
Carsten Brandt
|
191f2a4943
|
fixed phpdoc type names
|
9 years ago |
SilverFire - Dmitry Naumenko
|
66c6268e5f
|
FileValidator: updated guide-ru,en, PHP; updated tests
|
9 years ago |
SilverFire - Dmitry Naumenko
|
7aef671872
|
Refactored FileHelper::validateMimeType, js validaton, PHPDocs
|
9 years ago |
kirSeNN
|
a4c68b5278
|
#5469 added mimetype mask validation feature
|
9 years ago |
githubjeka
|
f0c666cd6f
|
Update FileValidator phpDoc: see link added to maxSize
|
9 years ago |
githubjeka
|
07c3403f27
|
Update FileValidator phpDoc: see link added to maxSize
|
9 years ago |
githubjeka
|
e23f47f49a
|
Update phpDoc maxSize of FileValidator
|
9 years ago |
Carsten Brandt
|
f620f4de90
|
phpdoc fixes
|
9 years ago |
Carsten Brandt
|
e41c2e3946
|
validators PHPdoc
|
9 years ago |
SilverFire - Dmitry Naumenko
|
9bd0810bce
|
FileValidator - fixed fix for error message on UPLOAD_ERR_FORM_SIZE (7f65704 )
|
9 years ago |
SilverFire - Dmitry Naumenko
|
7f657047da
|
FileValidator - fixed error message on UPLOAD_ERR_FORM_SIZE
Closes #10660
|
9 years ago |
SilverFire - Dmitry Naumenko
|
8298588d5b
|
Separated `limit` and `formattedLimit` for translations in FileValidator
|
9 years ago |
SilverFire - Dmitry Naumenko
|
b83803460b
|
Fixes #8466. FileValidator: units in tooBig and tooSmall error messsages are formated
|
9 years ago |
SilverFire - Dmitry Naumenko
|
898ffa57c4
|
FileValidator - updated PHPDoc
|
9 years ago |
SilverFire - Dima Naumenko
|
a6e1ba2cf6
|
Fixed mb_ functions calls to use UTF-8 or app charset
|
9 years ago |
Lorenzo Milesi
|
a6fc02345e
|
FileValidator->getSizeLimit: check also php's post_max_size
- return the lowerest of `post_max_size` or `upload_max_filesize`
- Raised warning for misconfigured PHP
close #8373
|
9 years ago |
Carsten Brandt
|
6d9fe671de
|
various code style and whitespace adjustments
|
9 years ago |
PowerGamer1
|
4f25734509
|
Update FileValidator.php
Implementation of https://github.com/yiisoft/yii2/issues/8995
|
9 years ago |
nkovacs
|
b4d22cfe63
|
Fix documentation
wrongType -> wrongExtension
|
9 years ago |
Alexander Mohorev
|
68c30c1034
|
Replace aliases of functions
|
9 years ago |
Alexander Mohorev
|
ae42a054bb
|
PSR-2 spaces, commas, etc
|
9 years ago |
Carsten Brandt
|
e83b479dfb
|
improved validator documentation
fixes #7472
|
10 years ago |
Qiang Xue
|
d13d274d05
|
renamed $object to $model
|
10 years ago |
Alexander Makarov
|
48ec791e4a
|
Fixes #5587: `json_encode` is now used with `JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE` where it makes sense, also it is now default for `Json::encode()`
|
10 years ago |
Alexander Makarov
|
11812af1c1
|
Fixed formatting, initialized options array
|
10 years ago |
Qiang Xue
|
6dd2203a5c
|
Fixes #4566: Added client validation support for image validator
|
10 years ago |
Tomek Romik
|
8c5c4c503b
|
Fix lines
|
10 years ago |
Tomek Romik
|
ed3564c1cf
|
Added client-side image validation
|
10 years ago |
RichWeber
|
92cd13a913
|
pull origin
|
10 years ago |
Alexander Makarov
|
0edd8bc65a
|
Fixed missing and incorrect phpdoc
|
10 years ago |
Tomek Romik
|
b3f0f7dceb
|
Fixed typo and inconsistent conditionals
|
10 years ago |
Tomek Romik
|
d1c2b137b3
|
Added client-side file validator
|
10 years ago |
Qiang Xue
|
a2e73f9900
|
Fixes #4370: fileinfo extension is required for FileValidator.
|
10 years ago |
Qiang Xue
|
9fd920e2d1
|
minor refactoring of FileValidator.
|
10 years ago |
Carsten Brandt
|
aabd69afcf
|
avoid confusion about uploadRequired
|
10 years ago |