d5e8849283
Fix #19508 : Fix wrong selection for boolean attributes in GridView
2022-08-24 15:54:27 +03:00
161526cd41
HTTPS everywhere ( #19503 )
2022-08-03 12:32:18 +03:00
ad1fd84f39
Fix PHP 8.1 Empty header DataColumn ( #19350 )
...
* Fix PHP 8.1 Empty header DataColumn
#19349
* Update CHANGELOG.md
* Update CHANGELOG.md
Co-authored-by: Bizley <pawel@positive.codes>
2022-04-13 17:58:28 +02:00
a87c02c712
Fix more types ( #19333 )
...
* Migration::upsert() returns void
* Unneeded `@property` tags
* Add missing `null` param/return types
* Null types for db\Query + db\ActiveQuery
* Fixed testSelect
* Null types for Validator
* Several more null types
* One more
* Make AccessRule::$allow always a boolean
It doesn't have any special null handling, so it's safe to default to false
* Validator::$skipOnEmpty is always a boolean
* Catch all throwable from Widget::widget()
* Don't limit $previous args to \Exception
The actual \Exception allows $previous to be any throwable in PHP 7+
* Add Throwable catch block to Instance::get()
* Throwable cleanup
Comment changes only.
- Document \Throwable instead of \Exception wherever appropriate
- Removed redundant exception/error classes when \Throwable is referenced
* Yii::setlogger() accepts null
* ArrayHelper::removeValue() can remove any type of value
* Change default $allow value to false
2022-04-03 11:20:21 +02:00
4628b91e73
Fix types ( #19332 )
...
* Migration::upsert() returns void
* Unneeded `@property` tags
* Add missing `null` param/return types
* Null types for db\Query + db\ActiveQuery
* Fixed testSelect
2022-03-30 18:40:10 +02:00
1271bc419f
Fix #19041 : Fix PHP 8.1 issues
2022-01-14 13:52:01 +03:00
82be8b61cf
Replacing deprecated ::className()
with ::class
( #18671 )
2021-05-22 23:14:54 +03:00
45a81c1eeb
Minified SVGs ( #18573 )
2021-03-22 11:43:58 +03:00
1ef65a9f7c
fixed icon sizes (inline css) and added link to fontawesome
2021-03-18 08:25:38 +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
251a3aaf23
Fix #18336 : typo in documentation
2020-10-19 01:21:07 +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
80d0c2b05a
Fixes #16365 : Added $filterOnFocusOut option for GridView
2018-07-04 21:42:40 +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
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