157 Commits

Author SHA1 Message Date
8d8d68159d Updated PHPDocs [skip ci]
Closes #15830
2018-03-04 20:28:42 +02:00
22832b7c49 release version 2.0.14 2018-02-19 00:27:09 +02:00
cd42f4d2ec minor 2018-02-19 00:11:13 +02: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
65f6b59b35 @inheritdoc notation changed 2018-01-23 13:11:24 +02:00
d0c2ba43d7 Fixes #14806: Added $placeFooterAfterBody option for GridView 2018-01-22 16:32:45 +03:00
5e3776e482 Fixed phpdoc of $radioOptions example (#15441) [skip ci] 2018-01-08 01:51:11 +04:00
f6b2d4dbcc Added information about filters and header of DataColumn (#14981) [skip ci] 2017-12-19 22:26:00 +03:00
792f50759e Refactored GridView->renderColumnGroup 2017-10-04 16:50:00 +02:00
349589bf3b fixed typo in grid view docs
fixes #14736
2017-09-01 09:20:38 +02:00
d68789a195 Fixes #13779, fixes #5786
- #13779: Fixed `yii\db\ActiveRecord::joinWith()` unable to use relation defined via attached behavior.
- #5786: Allowed to use custom constructors in ActiveRecord-based classes.
2017-08-29 15:13:28 +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
69673c0c94 Rename Object -> BaseObject for PHP 7.2 compatibility
issue #7936
2017-07-19 10:51:46 +02:00
fe8a0a6a2e Enable no_useless_else rule in php-cs-fixer (#14420) 2017-07-10 11:26:21 +03:00
fadeb5d2b4 added formatter as second paramter to format closure
to allow reusing the formatter in custom formats.

fixes #4495
addition to #14326
2017-07-03 11:34:20 +02: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
533da6240e Update phpdoc, \yii\db\ActiveRecord => \yii\db\ActiveRecordInterface [skip ci] (#14076) 2017-04-30 21:14:58 +02: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
284cadfe03 Made ActionColumn Yii::t() tags static again (#13489)
* Made ActionColumn Yii::t() tags static again

this was changed in 2.0.11 and cause the messages translation to not
recognize them anymore.

* Fixed formatting
2017-02-02 19:46:42 +01: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
4aa935e69e Fixes #12055: Changed boolean to bool and integer to int in phpdoc 2016-11-07 02:51:39 +03:00
32f4dc8997 Fixes #5385: links created from classes to corresponding guide articles (#12920) 2016-11-04 18:55:14 +03:00
6ff2b3e8ab Fixes #9220: GridView::filterModel docs update (#12886) [skip ci] 2016-11-01 13:29:43 +03: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
e0882a864d Added argument to yii\grid\ActionColumn::urlCreator callback, which holds reference to the column instance 2016-08-30 13:57:09 +03:00
ffb7ca2a78 Removed unused import 2016-07-30 00:18:14 +03:00
ee92cfa7ba release version 2.0.9 2016-07-11 15:36:42 +02:00
217d50e4ff improved PHPdoc and @since annotations 2016-07-11 12:58:43 +02:00
60a2a54fc8 CheckboxColumn - Use CSS class to find the elements (#11729)
* Use CSS class to fetch the elements

* default null

* CHANGELOG.md

* CHANGELOG.md
2016-06-23 20:16:56 +03:00
8e34f9f45d Update DataColumn.php (#11724) [skip ci] 2016-06-08 18:25:41 +02:00
9d327baa8b coding style fixes 2016-05-26 11:19:32 +02: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
030913e7f0 Fixed code style and indentations 2016-05-03 14:51:25 +03:00
7f3511a908 Update ArrayDataProvider.php
Update DataColumn.php

Update CHANGELOG.md
2016-05-03 14:51:22 +03:00
84827597dc Added @since tags for #10631 2016-04-23 01:27:36 +03:00
9f45a94661 #10631: added changelog, simpified code a bit more 2016-04-22 17:07:22 +03:00
b5b55ad302 Fixes #10631: Splitted gettng label and rendering cell in yii\grid\DataColumn::renderHeaderCellContent() to make code simpler 2016-04-22 17:07:07 +03:00
d3beca32b4 Refactored PR, updated CHANGELOG 2016-04-22 13:41:13 +03:00
f2e8725de5 Merge branch '9074-checkboxColumn-selectedRows-fix' of https://github.com/NekitoSP/yii2 into NekitoSP-9074-checkboxColumn-selectedRows-fix 2016-04-22 11:53:35 +03:00
151610f611 Fixed #10784
Added tests for CheckboxColumn value
Updated CHANGELOG
2016-03-20 16:59:21 +02:00
191f2a4943 fixed phpdoc type names 2016-02-25 20:24:32 +01:00
5c4e2d4372 Removed unnecessary parentheses 2016-02-16 14:08:43 +03:00
97bc4e0567 Fixed wrong case in method calls 2016-02-16 13:53:53 +03:00
e630072408 Add phpdoc [skip ci] 2016-01-26 18:01:17 +01:00
275a7827c3 ActionColumn::visibleButtins() - changed PHPDoc wording 2016-01-26 10:17:16 +02:00
Vit
f17a881539 fix typo 2016-01-26 10:29:32 +03:00