33 Commits

Author SHA1 Message Date
161526cd41 HTTPS everywhere (#19503) 2022-08-03 12:32:18 +03:00
45a81c1eeb Minified SVGs (#18573) 2021-03-22 11:43:58 +03:00
06f1917b9c fixed test 2021-03-18 08:27:12 +01:00
ba9366be0d Fix #17479: Fix yii\grid\ActionColumn to render icons when no glyphicons are available 2021-03-12 23:58:20 +03:00
0781b02cc3 Fix #18455: Add ability to use separate attributes for data model and filter model of yii\grid\GridView in yii\grid\DataColumn 2021-01-13 11:47:30 +03:00
763a2b04ea Fix #18200: Add maxlength attribute by default to the input text when it is an active field within a yii\grid\DataColumn 2020-11-15 22:16:20 +03:00
9910519aba Revert "Fixes #16657: Ensure widgets after run event result contains the result of the rendered widget"
This reverts commit 7dc38ff4029ec96931c574dac430a924370ea039.
2018-10-01 01:04:11 +03:00
7dc38ff402 Fixes #16657: Ensure widgets after run event result contains the result of the rendered widget 2018-09-23 13:28:09 +03:00
f5665a0544 fix #15798 (yii\grid\CheckboxColumn, yii\grid\RadioButtonColumn conte… (#16021)
* fix #15798 (yii\grid\CheckboxColumn, yii\grid\RadioButtonColumn content option has no effect)

* fix #15798 update pl, call parent method

* add test for content options in checkboxcolumn and radiobuttoncolumn

* update changelog by #15798
2018-04-29 10:47:09 +03:00
dbb49b436b Fixes #15625: yii\grid\DataColumn boolean filter dropdown list values are now in reversed order 2018-02-09 12:22:26 +03:00
d0c2ba43d7 Fixes #14806: Added $placeFooterAfterBody option for GridView 2018-01-22 16:32:45 +03:00
1bc17a3d22 improved dockerized tests (#15516)
- added ENV variable for using custom runtime folder
- create assets directory before using asset-manager
2018-01-18 13:21:40 +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
12eb936083 Enable heredoc_to_nowdoc rule in php-cs-fixer (#14419) 2017-07-10 13:18:52 +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
80d6f7323a Do not render empty row in GridView when data is empty and emptyText set to false
Fixes #13352
close #13422
2017-05-10 09:40:29 +02:00
31e321b9b2 Remove unused imports. (#14096) 2017-05-01 20:26:15 +02:00
a600e165aa Added RadiobuttonColumnTest to the grid test group (#13795) 2017-03-18 00:17:42 +03:00
6397791513 Fixed whitespaces to match code style [skip ci] 2017-03-14 09:42:13 +03:00
c5296242b1 Fixes #13698: yii\grid\DataColumn filter is automatically generated as dropdown list in case of format set to boolean 2017-03-09 00:33:13 +03:00
7dac3ed1ca Kirkhansen 9053 add radio button column (#13126)
* Added the RadioButtonColumn class and updated the changelog.

* - several enhancements:
- unit tests added
- changelog fixed

* Update CHANGELOG.md

* small markdown fixes

* fix travis: custom ID
2016-12-05 13:58:11 +01:00
d3c7accc49 Added braces check for initDefaultButton (#12863) 2016-10-28 00:22:11 +03:00
aa6d34a285 Fixes #9796: Initialization of not existing yii\grid\ActionColumn default buttons (#12859) 2016-10-27 22:11:54 +03:00
757b3de0bf Fixes #12828: Fixed handling of nested arrays, objects in \yii\grid\GridView::guessColumns 2016-10-27 16:19:13 +03:00
76d8bc9f94 enhance tests for DataColumn (#12615) 2016-09-27 13:42:56 +03:00
53e1018648 Updated yii\grid\DataColumn::getHeaderCellLabel() to extract attribute label from the filterModel of Grid
Closes #9950
2016-05-03 15:01:33 +03:00
aaf6c844fb Added DataColumnTest 2016-05-03 14:51:25 +03:00
bf9fb0e13e Fixed CheckboxColumnTest::testInputValue() 2016-04-22 14:02:48 +03:00
151610f611 Fixed #10784
Added tests for CheckboxColumn value
Updated CHANGELOG
2016-03-20 16:59:21 +02:00
4f4a661061 fixed test break when formatter is loaded before intl magic 2016-02-12 14:00:53 +01:00
e4f71eef69 CheckboxColumnTest location fixed 2016-02-12 13:24:18 +02:00
bdddcc54ad code review fixes 2016-01-25 22:56:44 +03:00
6698b8154b add tests for buttonsVisible suggestion (issue #9198) 2015-07-24 23:19:11 +04:00