155 Commits

Author SHA1 Message Date
7592dcc7f1 Added test for #5361 2014-10-05 20:49:29 +04:00
d06f849a85 Another test attempt for #5356 2014-10-05 20:42:22 +04:00
1bea489f98 Added test for #5356 2014-10-05 14:11:09 +04:00
ef127f6855 Fixes #5316: Added startsWith() and endsWith() to yii\helpers\StringHelper. Methods are binary-safe, multibyte-safe and optionally case-insensitive 2014-10-05 13:58:56 +04:00
3ff548a442 Refactored DateValidator to support ICU format 2014-09-16 22:53:12 +02:00
9edf938bf1 Added tests for empty values
use "just now" for empty time difference in Formatter.

fixed wrong language name definition
2014-09-16 19:48:52 +02:00
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
2014-09-16 19:48:52 +02:00
00e4d63e57 Fixed test break. 2014-09-09 22:51:26 -04:00
f50f840a55 Fixes #4955: Replaced callbacks with events for ActiveForm 2014-09-09 22:37:27 -04:00
61284ed405 Fixes #3910: Removed the container option from Html::checkbox() and Html::radio() 2014-09-04 14:36:30 -04:00
00ca1cb4b3 Fixes #4914 2014-09-04 03:27:13 +04:00
3786440288 Fixes #4762: Reverted automatic ID fix. 2014-08-25 17:05:14 -04:00
0bf16497af Convert 'caseless' option into 'caseSensitive' option at yii\helpers\BaseFileHelper::findFiles() 2014-08-19 17:33:11 +03:00
6461523aca Added 'caseless' option to yii\helpers\BaseFileHelper::findFiles() 2014-08-19 14:52:56 +03:00
689fc137da added some tests for Url helper 2014-08-06 22:27:45 +02:00
1c3e61ec26 Fixes #4591: yii\helpers\Url::to() will no longer prefix relative URLs with the base URL 2014-08-05 11:06:54 -04:00
7af92173b1 length arg of byteSubstr is now optional 2014-07-30 13:29:01 +02:00
5c767e5d34 Better Windows detection 2014-07-23 16:37:10 +04:00
e5a87af234 Fixes #4331: yii\helpers\Url now uses UrlManager to determine base URL when generating URLs 2014-07-17 21:51:37 -04:00
61b627a6fc Fixes #4318: yii\helpers\Html::ul() and ol() will return an empty list tag if an empty item array is given 2014-07-16 21:49:35 -04:00
7c04ff048f moved functionality to behavior, added tests 2014-07-03 00:05:48 +02:00
648b9b70f5 Merge pull request #4089 from klimov-paul/87-security-component-3
Fix #87: security helper converted into component and improved
2014-06-29 00:04:03 +03:00
e6f7d9b625 Security helper files removed 2014-06-27 14:34:11 +03:00
fb9df78795 Fixes #4080, FileHelper::removeDirectory():
1. Added proper handling and support of the symlinked directories.
2. Added $options parameter.
2014-06-27 13:47:43 +06:00
f46cffb4e4 Implement console color ansi2html
issue #746
2014-06-25 16:39:45 +02:00
02e3746013 Fixed Inflector::slug to work properly with numbers 2014-06-22 02:03:55 +04:00
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.
2014-06-19 20:33:52 +04:00
a8423bbaed Removed commented code 2014-06-18 12:51:52 +04:00
24257e76c8 Fixes #3909: Html::to() should not prefix base URL to URLs that already contain scheme 2014-06-17 15:41:01 -04:00
f8e05fbf4f Improved yii\helpers\Inflector::slug to support more cases for Russian, Hebrew and special characters 2014-06-08 05:44:31 +04:00
f19a97e308 Fix yii\helpers\FileHelper::copyDirectory() pattern not working 2014-05-30 14:50:11 +03:00
d7a251bbec Removed unused imports, added missing phpdoc 2014-05-30 11:55:17 +06:00
873b2b04db fixed test breaks after #3614 2014-05-28 17:20:24 +02:00
4de6e8c6b2 fix #3501 replace . when generating input ids 2014-05-25 18:51:06 +02:00
96feeb894c Fixed test break of Html. 2014-05-22 09:51:49 -04:00
1a848453a1 tried to fix tests for #3472 2014-05-22 13:09:42 +02:00
390004a899 Fixed path in unit test to use the directory separator variable. 2014-05-22 09:34:10 +10:00
be89ff97d3 fixed normalizePath to keep a '.' path when necessary. 2014-05-21 20:55:52 +10:00
be164e45db Handle invalid code sequences in Html::encode() 2014-05-20 15:44:23 +02:00
8d0fb916c0 VarDumper::exportAsString() removed 2014-05-19 18:33:49 +03:00
e11ecad1ce Object handling at BaseVarDumper::export() reworked 2014-05-09 15:32:09 +03:00
7c69c9141c BaseVarDumper::export() added 2014-05-09 14:47:57 +03:00
a4c644d3a3 Fixes #3325: fixed generated markup for conditional comments
No changelog line since feature was introduced after beta
2014-05-02 15:29:26 +04:00
a620342315 Adjusted phpdoc, tests and changelog for StringHelper::truncate and StringHelper::truncateWords 2014-04-29 18:23:48 +04:00
8d18d722b2 Merge branch 'stringhelper-truncate' of github.com:Alex-Code/yii2 into Alex-Code-stringhelper-truncate
Conflicts:
	framework/CHANGELOG.md
2014-04-29 18:03:44 +04:00
4fcd5003de Fixes #2906: Added support for using conditional comments for js and css files registered through asset bundles and Html helper 2014-04-26 20:25:48 -04:00
78a8694eb5 file helper did not preserve relative paths 2014-04-25 04:06:07 +02:00
ab218addda Fixes #2563: Theming is not working if the path map of the theme contains ".." or "." in the paths 2014-04-18 15:13:50 -04:00
7295540c72 Code style and phpdoc fixes 2014-04-17 15:33:07 +04:00
0e143338d7 Finished refactoring find() . 2014-04-07 16:29:12 -04:00