|
65f6b59b35
|
@inheritdoc notation changed
|
2018-01-23 13:11:24 +02:00 |
|
|
72b69e359a
|
Fixes #15417: Added yii\validators\FileValidator::$minFiles
|
2018-01-08 02:12:27 +04:00 |
|
|
13cd7d7ee0
|
Fixes #6588: Fixed changing array keys after validation of multiple files in yii\validators\FileValidator
|
2017-11-01 12:26:25 +03:00 |
|
|
5a8c3d537b
|
Enable phpdoc_summary rule in php-cs-fixer config (#14675)
* Enable `phpdoc_summary` rule in php-cs-fixer config.
* Fix case in "PHPDoc".
|
2017-08-21 11:19:35 +02:00 |
|
|
1501c659ac
|
Add empty lines before return statements. (#14682) [skip ci]
|
2017-08-21 01:58:49 +03:00 |
|
|
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.
|
2017-06-12 12:25:45 +03:00 |
|
|
06967f9018
|
Fixes #13254: Core validators no longer require Yii::$app to be set
|
2017-03-14 15:37:54 +03:00 |
|
|
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 |
|
|
76e253e140
|
yii\validators\Validator - added separate methods for client-side validation options
Closes #11163
|
2016-12-05 22:33:49 +02:00 |
|
|
7a3a342127
|
Fix errors reported by apidoc extension. (#12986)
|
2016-11-13 14:51:21 +01:00 |
|
|
4aa935e69e
|
Fixes #12055: Changed boolean to bool and integer to int in phpdoc
|
2016-11-07 02:51:39 +03:00 |
|
|
494842636e
|
📖 Fixed client-side and server-side grammar in all files
|
2016-09-08 10:16:02 +03:00 |
|
|
9d327baa8b
|
coding style fixes
|
2016-05-26 11:19:32 +02:00 |
|
|
191f2a4943
|
fixed phpdoc type names
|
2016-02-25 20:24:32 +01:00 |
|
|
66c6268e5f
|
FileValidator: updated guide-ru,en, PHP; updated tests
|
2016-02-24 09:05:29 +02:00 |
|
|
7aef671872
|
Refactored FileHelper::validateMimeType, js validaton, PHPDocs
|
2016-02-24 00:40:34 +02:00 |
|
|
a4c68b5278
|
#5469 added mimetype mask validation feature
|
2016-02-24 00:40:34 +02:00 |
|
|
f0c666cd6f
|
Update FileValidator phpDoc: see link added to maxSize
|
2016-02-15 15:14:39 +03:00 |
|
|
07c3403f27
|
Update FileValidator phpDoc: see link added to maxSize
|
2016-02-15 15:12:36 +03:00 |
|
|
e23f47f49a
|
Update phpDoc maxSize of FileValidator
|
2016-02-15 14:51:39 +03:00 |
|
|
f620f4de90
|
phpdoc fixes
|
2016-02-07 19:48:13 +01:00 |
|
|
e41c2e3946
|
validators PHPdoc
|
2016-02-07 19:16:31 +01:00 |
|
|
9bd0810bce
|
FileValidator - fixed fix for error message on UPLOAD_ERR_FORM_SIZE (7f65704)
|
2016-01-25 21:36:11 +02:00 |
|
|
7f657047da
|
FileValidator - fixed error message on UPLOAD_ERR_FORM_SIZE
Closes #10660
|
2016-01-25 20:14:51 +02:00 |
|
|
8298588d5b
|
Separated limit and formattedLimit for translations in FileValidator
|
2015-12-19 22:08:52 +02:00 |
|
|
b83803460b
|
Fixes #8466. FileValidator: units in tooBig and tooSmall error messsages are formated
|
2015-12-19 21:38:29 +02:00 |
|
|
898ffa57c4
|
FileValidator - updated PHPDoc
|
2015-12-06 07:12:20 +02:00 |
|
|
d5eff682a0
|
Merge branch 'patch-1' of https://github.com/PowerGamer1/yii2 into PowerGamer1-patch-1
|
2015-12-05 21:22:24 +02:00 |
|
|
a6e1ba2cf6
|
Fixed mb_ functions calls to use UTF-8 or app charset
|
2015-11-17 09:02:22 +02:00 |
|
|
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
|
2015-08-02 23:37:46 +02:00 |
|
|
6d9fe671de
|
various code style and whitespace adjustments
|
2015-08-02 00:27:19 +02:00 |
|
|
4f25734509
|
Update FileValidator.php
Implementation of https://github.com/yiisoft/yii2/issues/8995
|
2015-07-03 20:36:43 +03:00 |
|
|
b4d22cfe63
|
Fix documentation
wrongType -> wrongExtension
|
2015-06-30 14:12:13 +02:00 |
|
|
68c30c1034
|
Replace aliases of functions
|
2015-06-29 22:59:22 +03:00 |
|
|
ae42a054bb
|
PSR-2 spaces, commas, etc
|
2015-06-09 00:05:06 +03:00 |
|
|
e83b479dfb
|
improved validator documentation
fixes #7472
|
2015-02-26 18:40:13 +01:00 |
|
|
d13d274d05
|
renamed $object to $model
|
2014-10-31 14:56:59 -04:00 |
|
|
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()
|
2014-10-19 18:50:46 +04:00 |
|
|
11812af1c1
|
Fixed formatting, initialized options array
|
2014-09-06 01:48:12 +04:00 |
|
|
6dd2203a5c
|
Fixes #4566: Added client validation support for image validator
|
2014-08-02 22:36:22 -04:00 |
|
|
8c5c4c503b
|
Fix lines
|
2014-08-02 17:04:42 -04:00 |
|
|
ed3564c1cf
|
Added client-side image validation
|
2014-08-02 17:04:42 -04:00 |
|
|
0edd8bc65a
|
Fixed missing and incorrect phpdoc
|
2014-07-25 17:26:35 +04:00 |
|
|
b3f0f7dceb
|
Fixed typo and inconsistent conditionals
|
2014-07-23 22:41:35 -04:00 |
|
|
d1c2b137b3
|
Added client-side file validator
|
2014-07-23 22:41:35 -04:00 |
|
|
a2e73f9900
|
Fixes #4370: fileinfo extension is required for FileValidator.
|
2014-07-22 15:06:14 -04:00 |
|
|
9fd920e2d1
|
minor refactoring of FileValidator.
|
2014-07-22 11:29:04 -04:00 |
|
|
aabd69afcf
|
avoid confusion about uploadRequired
|
2014-07-16 11:43:44 +02:00 |
|
|
084819b84c
|
refactored file validator.
|
2014-06-14 16:21:59 -04:00 |
|
|
a89d574a20
|
updated FileValidator , CHANGELOG.md , UPGRADE.md guides , tests fixed
|
2014-06-14 22:11:58 +04:00 |
|