Skip to content

Commit d43bb9d

Browse files
committed
Updates to release v1.1.0 fix #162 fix #171
1 parent 9ab1fa3 commit d43bb9d

File tree

12 files changed

+52
-47
lines changed

12 files changed

+52
-47
lines changed

CHANGE.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
Change Log: `yii2-widget-fileinput`
22
===================================
33

4+
## Version 1.1.0
5+
6+
**Date:** 24-Oct-2020
7+
8+
- (enh #171): Eliminate DOM Purify plugin and assets dependencies.
9+
- (enh #169): Add German Translations.
10+
- (enh #165): Add Latvian Translations.
11+
- (enh #162): Add Uzbek Translations.
12+
- (enh #159): Add Romanian Translations.
13+
- (enh #157): Add Armenian Translations.
14+
- Bump composer dependencies.
15+
416
## Version 1.0.9
517

618
**Date:** 19-Apr-2019

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2014 - 2019, Kartik Visweswaran
1+
Copyright (c) 2014 - 2020, Kartik Visweswaran
22
Krajee.com
33
All rights reserved.
44

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
},
2424
"extra": {
2525
"branch-alias": {
26-
"dev-master": "1.0.x-dev"
26+
"dev-master": "1.1.x-dev"
2727
}
2828
}
2929
}

src/BaseAsset.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?php
22

33
/**
4-
* @copyright Copyright &copy; Kartik Visweswaran, Krajee.com, 2014 - 2019
4+
* @copyright Copyright &copy; Kartik Visweswaran, Krajee.com, 2014 - 2020
55
* @package yii2-widgets
66
* @subpackage yii2-widget-fileinput
7-
* @version 1.0.9
7+
* @version 1.1.0
88
*/
99

1010
namespace kartik\file;

src/DomPurifyAsset.php

Lines changed: 0 additions & 28 deletions
This file was deleted.

src/FileInput.php

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?php
22

33
/**
4-
* @copyright Copyright &copy; Kartik Visweswaran, Krajee.com, 2014 - 2019
4+
* @copyright Copyright &copy; Kartik Visweswaran, Krajee.com, 2014 - 2020
55
* @package yii2-widgets
66
* @subpackage yii2-widget-fileinput
7-
* @version 1.0.9
7+
* @version 1.1.0
88
*/
99

1010
namespace kartik\file;
@@ -47,6 +47,7 @@ class FileInput extends InputWidget
4747

4848
/**
4949
* @var boolean whether to load dom purify plugin to purify HTML content in purfiy
50+
* @deprecated since v1.1.0 (not required since bootstrap-fileinput v5.1.3)
5051
*/
5152
public $purifyHtml = true;
5253

@@ -165,10 +166,6 @@ public function registerAssetBundle()
165166
if ($this->sortThumbs) {
166167
SortableAsset::register($view);
167168
}
168-
if ($this->purifyHtml) {
169-
DomPurifyAsset::register($view);
170-
$this->pluginOptions['purifyHtml'] = true;
171-
}
172169
FileInputAsset::register($view)->addLanguage($this->language, '', 'js/locales');
173170
}
174171

src/FileInputAsset.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?php
22

33
/**
4-
* @copyright Copyright &copy; Kartik Visweswaran, Krajee.com, 2014 - 2019
4+
* @copyright Copyright &copy; Kartik Visweswaran, Krajee.com, 2014 - 2020
55
* @package yii2-widgets
66
* @subpackage yii2-widget-fileinput
7-
* @version 1.0.9
7+
* @version 1.1.0
88
*/
99

1010
namespace kartik\file;

src/FileInputThemeAsset.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?php
22

33
/**
4-
* @copyright Copyright &copy; Kartik Visweswaran, Krajee.com, 2014 - 2019
4+
* @copyright Copyright &copy; Kartik Visweswaran, Krajee.com, 2014 - 2020
55
* @package yii2-widgets
66
* @subpackage yii2-widget-fileinput
7-
* @version 1.0.9
7+
* @version 1.1.0
88
*/
99

1010
namespace kartik\file;

src/PiExifAsset.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?php
22

33
/**
4-
* @copyright Copyright &copy; Kartik Visweswaran, Krajee.com, 2014 - 2019
4+
* @copyright Copyright &copy; Kartik Visweswaran, Krajee.com, 2014 - 2020
55
* @package yii2-widgets
66
* @subpackage yii2-widget-fileinput
7-
* @version 1.0.9
7+
* @version 1.1.0
88
*/
99

1010
namespace kartik\file;

src/SortableAsset.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?php
22

33
/**
4-
* @copyright Copyright &copy; Kartik Visweswaran, Krajee.com, 2014 - 2019
4+
* @copyright Copyright &copy; Kartik Visweswaran, Krajee.com, 2014 - 2020
55
* @package yii2-widgets
66
* @subpackage yii2-widget-fileinput
7-
* @version 1.0.9
7+
* @version 1.1.0
88
*/
99

1010
namespace kartik\file;

0 commit comments

Comments
 (0)