diff --git a/CHANGE.md b/CHANGE.md index d6baebc..b8d3e35 100644 --- a/CHANGE.md +++ b/CHANGE.md @@ -1,11 +1,24 @@ Change Log: `yii2-export` ========================= +## version 1.2.5 (under development) + +**Date:** 18-Apr-2016 + +- (enh #115): Add Polish translations. +- (enh #118): Validation for empty value. +- (enh #117): Add German translations. +- (enh #119): Add Hungarian translations. +- (enh #121): Add Dutch translations. +- (enh #123): Allow the exported filename to have spaces. +- (enh #124): Add Italian translations. +- (enh #133): Modify default `pdfLibrary` setting for mPDF. + ## version 1.2.4 **Date:** 04-Feb-2016 -- (enh #78): Add Portugese Brazilian transactions. +- (enh #78): Add Portugese Brazilian translations. - (enh #87): Cache dataProvider total count (for performance). - (enh #89): New property `onInitExcel` as an event for `initPHPExcel` method. - (enh #98): More correct models count for generateBody. diff --git a/ExportColumnAsset.php b/ExportColumnAsset.php index 878a4a1..2db1113 100644 --- a/ExportColumnAsset.php +++ b/ExportColumnAsset.php @@ -3,7 +3,7 @@ /** * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2015 - 2016 * @package yii2-export - * @version 1.2.4 + * @version 1.2.5 */ namespace kartik\export; diff --git a/ExportMenu.php b/ExportMenu.php index 7fe599e..0d8e410 100644 --- a/ExportMenu.php +++ b/ExportMenu.php @@ -4,7 +4,7 @@ * @package yii2-export * @author Kartik Visweswaran * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2015 - 2016 - * @version 1.2.4 + * @version 1.2.5 */ namespace kartik\export; @@ -441,7 +441,7 @@ class ExportMenu extends GridView /** * @var string the alias for the pdf library path to export to PDF */ - public $pdfLibraryPath = '@vendor/kartik-v/mpdf'; + public $pdfLibraryPath = '@vendor/mpdf/mpdf'; /** * @var array the internalization configuration for this widget @@ -1371,7 +1371,7 @@ public function generateRow($model, $key, $index) $this->_endCol++; $cell = $this->_objPHPExcelSheet->setCellValue( self::columnName($this->_endCol) . ($index + $this->_beginRow + 1), - strip_tags($value), + empty($value) ? '' : strip_tags($value), true ); $this->raiseEvent('onRenderDataCell', [$cell, $value, $model, $key, $index, $this]); diff --git a/ExportMenuAsset.php b/ExportMenuAsset.php index abd5e5c..9cfc654 100644 --- a/ExportMenuAsset.php +++ b/ExportMenuAsset.php @@ -3,7 +3,7 @@ /** * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2015 - 2016 * @package yii2-export - * @version 1.2.4 + * @version 1.2.5 */ namespace kartik\export; diff --git a/README.md b/README.md index 6651307..d4d08bd 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ The extension offers configurable user interfaces for advanced cases using view You can see detailed [documentation](http://demos.krajee.com/export) and [demonstration](http://demos.krajee.com/export-demo) on usage of the extension. ## Latest Release ->NOTE: The latest version of the extension is v1.2.4. Refer the [CHANGE LOG](https://github.com/kartik-v/yii2-export/blob/master/CHANGE.md) for details. +>NOTE: The latest version of the extension is v1.2.5. Refer the [CHANGE LOG](https://github.com/kartik-v/yii2-export/blob/master/CHANGE.md) for details. ## Installation diff --git a/assets/css/kv-export-columns.css b/assets/css/kv-export-columns.css index 93be9ed..6a8e344 100644 --- a/assets/css/kv-export-columns.css +++ b/assets/css/kv-export-columns.css @@ -2,7 +2,7 @@ * @package yii2-export * @author Kartik Visweswaran * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2015 - 2016 - * @version 1.2.4 + * @version 1.2.5 * * Export Columns Selector Style Sheet * diff --git a/assets/css/kv-export-columns.min.css b/assets/css/kv-export-columns.min.css index 1d83ce9..c14e7e0 100644 --- a/assets/css/kv-export-columns.min.css +++ b/assets/css/kv-export-columns.min.css @@ -2,7 +2,7 @@ * @package yii2-export * @author Kartik Visweswaran * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2015 - 2016 - * @version 1.2.4 + * @version 1.2.5 * * Export Columns Selector Style Sheet * diff --git a/assets/css/kv-export-data.css b/assets/css/kv-export-data.css index 6e47688..f7aa26a 100644 --- a/assets/css/kv-export-data.css +++ b/assets/css/kv-export-data.css @@ -2,7 +2,7 @@ * @package yii2-export * @author Kartik Visweswaran * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2015 - 2016 - * @version 1.2.4 + * @version 1.2.5 * * Export Menu Style Sheet * diff --git a/assets/css/kv-export-data.min.css b/assets/css/kv-export-data.min.css index fd076fc..41ed3e5 100644 --- a/assets/css/kv-export-data.min.css +++ b/assets/css/kv-export-data.min.css @@ -2,7 +2,7 @@ * @package yii2-export * @author Kartik Visweswaran * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2015 - 2016 - * @version 1.2.4 + * @version 1.2.5 * * Export Menu Style Sheet * diff --git a/assets/js/kv-export-columns.js b/assets/js/kv-export-columns.js index 20221f3..d9540c4 100644 --- a/assets/js/kv-export-columns.js +++ b/assets/js/kv-export-columns.js @@ -2,7 +2,7 @@ * @package yii2-export * @author Kartik Visweswaran * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2015 - 2016 - * @version 1.2.4 + * @version 1.2.5 * * Export Columns Selector Validation Module. * diff --git a/assets/js/kv-export-columns.min.js b/assets/js/kv-export-columns.min.js index bad0027..cea2e92 100644 --- a/assets/js/kv-export-columns.min.js +++ b/assets/js/kv-export-columns.min.js @@ -2,7 +2,7 @@ * @package yii2-export * @author Kartik Visweswaran * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2015 - 2016 - * @version 1.2.4 + * @version 1.2.5 * * Export Columns Selector Validation Module. * diff --git a/assets/js/kv-export-data.js b/assets/js/kv-export-data.js index f015532..f85f37c 100644 --- a/assets/js/kv-export-data.js +++ b/assets/js/kv-export-data.js @@ -2,7 +2,7 @@ * @package yii2-export * @author Kartik Visweswaran * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2015 - 2016 - * @version 1.2.4 + * @version 1.2.5 * * Export Data Validation Module. * diff --git a/assets/js/kv-export-data.min.js b/assets/js/kv-export-data.min.js index 0eabc53..b08ac67 100644 --- a/assets/js/kv-export-data.min.js +++ b/assets/js/kv-export-data.min.js @@ -2,7 +2,7 @@ * @package yii2-export * @author Kartik Visweswaran * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2015 - 2016 - * @version 1.2.4 + * @version 1.2.5 * * Export Data Validation Module. * diff --git a/views/_columns.php b/views/_columns.php index 75f229a..f8fd4b7 100644 --- a/views/_columns.php +++ b/views/_columns.php @@ -3,7 +3,7 @@ * @package yii2-export * @author Kartik Visweswaran * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2015 - 2016 - * @version 1.2.4 + * @version 1.2.5 */ use yii\helpers\Html; diff --git a/views/_form.php b/views/_form.php index fe2bf5a..65e4d6c 100644 --- a/views/_form.php +++ b/views/_form.php @@ -3,7 +3,7 @@ * @package yii2-export * @author Kartik Visweswaran * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2015 - 2016 - * @version 1.2.4 + * @version 1.2.5 * * Export Submission Form * diff --git a/views/_view.php b/views/_view.php index 97faba4..629c958 100644 --- a/views/_view.php +++ b/views/_view.php @@ -3,7 +3,7 @@ * @package yii2-export * @author Kartik Visweswaran * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2015 - 2016 - * @version 1.2.4 + * @version 1.2.5 * * Export Submission View *