Qiang Xue
a3ea7b774d
Fixes #7350 : Added `yii\helpers\Html::$dataAttributes` to support customizing data attributes.
10 years ago
Alexander Makarov
c80da0722e
Fixed more tests on Windows failing because of line endings
10 years ago
Alexander Makarov
a831271d29
Moved assertEqualsWithoutLE() to \yiiunit\TestCase, fixed some test failures on Windows
10 years ago
Carsten Brandt
e5e48cd484
added test for Json::encode() and JsonSerializable
...
close #7084
10 years ago
Qiang Xue
fe19243da1
Fixes #6969 : `yii\helpers\ArrayHelper::htmlEncode()` and `htmlDecode()` should not remove non-string data
10 years ago
Qiang Xue
52f4006c11
Fixed Url::current() implementation.
10 years ago
Alexander Makarov
9c7e4e514d
Fixes #6697 : Added `yii\helpers\Url::current()` method that allows adding or removing parameters from current URL
10 years ago
Carsten Brandt
2a19b3caa0
fixed whitespace in tests
10 years ago
Qiang Xue
cc3209cf26
Fixes #4502 : Added alias support to URL route when calling `Url::toRoute()` and `Url::to()`
10 years ago
Alex-Code
b2797b0370
truncate $asHtml tests
10 years ago
Qiang Xue
cf0c8c37dd
Fixes #5983 : Added `Inflector::sentence()`
10 years ago
pana1990
d86da1d38e
add tests for sentence method
10 years ago
Alexander Makarov
b0c88d337e
Fixed typo in test class
10 years ago
Alexander Makarov
7592dcc7f1
Added test for #5361
10 years ago
Alexander Makarov
d06f849a85
Another test attempt for #5356
10 years ago
Alexander Makarov
1bea489f98
Added test for #5356
10 years ago
armab
ef127f6855
Fixes #5316 : Added `startsWith()` and `endsWith()` to `yii\helpers\StringHelper`. Methods are binary-safe, multibyte-safe and optionally case-insensitive
10 years ago
Carsten Brandt
3ff548a442
Refactored DateValidator to support ICU format
10 years ago
Carsten Brandt
9edf938bf1
Added tests for empty values
...
use "just now" for empty time difference in Formatter.
fixed wrong language name definition
10 years ago
Carsten Brandt
be655d4f39
extracted date format converting to a helper class
...
adding and reworking the conversion of:
- ICU to PHP
- PHP to ICU
- ICU to JUI
- PHP to JUI
10 years ago
Qiang Xue
00e4d63e57
Fixed test break.
10 years ago
Qiang Xue
f50f840a55
Fixes #4955 : Replaced callbacks with events for `ActiveForm`
10 years ago
Qiang Xue
61284ed405
Fixes #3910 : Removed the `container` option from `Html::checkbox()` and `Html::radio()`
10 years ago
Alexander Makarov
00ca1cb4b3
Fixes #4914
10 years ago
Qiang Xue
3786440288
Fixes #4762 : Reverted automatic ID fix.
10 years ago
Klimov Paul
0bf16497af
Convert 'caseless' option into 'caseSensitive' option at `yii\helpers\BaseFileHelper::findFiles()`
10 years ago
Klimov Paul
6461523aca
Added 'caseless' option to `yii\helpers\BaseFileHelper::findFiles()`
10 years ago
Carsten Brandt
689fc137da
added some tests for Url helper
10 years ago
Qiang Xue
1c3e61ec26
Fixes #4591 : `yii\helpers\Url::to()` will no longer prefix relative URLs with the base URL
10 years ago
RichWeber
92cd13a913
pull origin
10 years ago
Carsten Brandt
7af92173b1
length arg of byteSubstr is now optional
10 years ago
Alexander Makarov
5c767e5d34
Better Windows detection
10 years ago
Qiang Xue
e5a87af234
Fixes #4331 : `yii\helpers\Url` now uses `UrlManager` to determine base URL when generating URLs
10 years ago
Qiang Xue
61b627a6fc
Fixes #4318 : `yii\helpers\Html::ul()` and `ol()` will return an empty list tag if an empty item array is given
10 years ago
Tobias Munk
7c04ff048f
moved functionality to behavior, added tests
10 years ago
Klimov Paul
e6f7d9b625
Security helper files removed
10 years ago
resurtm
fb9df78795
Fixes #4080 , FileHelper::removeDirectory():
...
1. Added proper handling and support of the symlinked directories.
2. Added $options parameter.
10 years ago
Carsten Brandt
f46cffb4e4
Implement console color ansi2html
...
issue #746
10 years ago
Alexander Makarov
02e3746013
Fixed Inflector::slug to work properly with numbers
10 years ago
Alexander Makarov
c3de3450a7
Fixes #3939 : `\yii\Inflector::slug()` improvements:
...
- Added protected `\yii\Inflector::transliterate()` that could be replaced with custom translit implementation.
- Added proper tests for both intl-based slug and PHP fallback.
- Removed character maps for non-latin languages.
- Improved overall slug results.
- Added note about the fact that intl is required for non-latin languages to requirements checker.
10 years ago
Alexander Makarov
a8423bbaed
Removed commented code
10 years ago
Qiang Xue
24257e76c8
Fixes #3909 : `Html::to()` should not prefix base URL to URLs that already contain scheme
10 years ago
Alexander Makarov
f8e05fbf4f
Improved `yii\helpers\Inflector::slug` to support more cases for Russian, Hebrew and special characters
10 years ago
Klimov Paul
f19a97e308
Fix `yii\helpers\FileHelper::copyDirectory()` pattern not working
10 years ago
Alexander Makarov
d7a251bbec
Removed unused imports, added missing phpdoc
10 years ago
Carsten Brandt
873b2b04db
fixed test breaks after #3614
10 years ago
Carsten Brandt
4de6e8c6b2
fix #3501 replace . when generating input ids
11 years ago
Qiang Xue
96feeb894c
Fixed test break of Html.
11 years ago
Carsten Brandt
1a848453a1
tried to fix tests for #3472
11 years ago
Scott Tester
390004a899
Fixed path in unit test to use the directory separator variable.
11 years ago