Commit Graph

148 Commits

Author SHA1 Message Date
Qiang Xue
00e4d63e57 Fixed test break. 2014-09-09 22:51:26 -04:00
Qiang Xue
f50f840a55 Fixes #4955: Replaced callbacks with events for ActiveForm 2014-09-09 22:37:27 -04:00
Qiang Xue
61284ed405 Fixes #3910: Removed the container option from Html::checkbox() and Html::radio() 2014-09-04 14:36:30 -04:00
Alexander Makarov
00ca1cb4b3 Fixes #4914 2014-09-04 03:27:13 +04:00
Qiang Xue
3786440288 Fixes #4762: Reverted automatic ID fix. 2014-08-25 17:05:14 -04:00
Klimov Paul
0bf16497af Convert 'caseless' option into 'caseSensitive' option at yii\helpers\BaseFileHelper::findFiles() 2014-08-19 17:33:11 +03:00
Klimov Paul
6461523aca Added 'caseless' option to yii\helpers\BaseFileHelper::findFiles() 2014-08-19 14:52:56 +03:00
Carsten Brandt
689fc137da added some tests for Url helper 2014-08-06 22:27:45 +02:00
Qiang Xue
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
Carsten Brandt
7af92173b1 length arg of byteSubstr is now optional 2014-07-30 13:29:01 +02:00
Alexander Makarov
5c767e5d34 Better Windows detection 2014-07-23 16:37:10 +04:00
Qiang Xue
e5a87af234 Fixes #4331: yii\helpers\Url now uses UrlManager to determine base URL when generating URLs 2014-07-17 21:51:37 -04:00
Qiang Xue
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
Tobias Munk
7c04ff048f moved functionality to behavior, added tests 2014-07-03 00:05:48 +02:00
Paul Klimov
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
Klimov Paul
e6f7d9b625 Security helper files removed 2014-06-27 14:34:11 +03:00
resurtm
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
Carsten Brandt
f46cffb4e4 Implement console color ansi2html
issue #746
2014-06-25 16:39:45 +02:00
Alexander Makarov
02e3746013 Fixed Inflector::slug to work properly with numbers 2014-06-22 02:03:55 +04:00
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.
2014-06-19 20:33:52 +04:00
Alexander Makarov
a8423bbaed Removed commented code 2014-06-18 12:51:52 +04:00
Qiang Xue
24257e76c8 Fixes #3909: Html::to() should not prefix base URL to URLs that already contain scheme 2014-06-17 15:41:01 -04:00
Alexander Makarov
f8e05fbf4f Improved yii\helpers\Inflector::slug to support more cases for Russian, Hebrew and special characters 2014-06-08 05:44:31 +04:00
Klimov Paul
f19a97e308 Fix yii\helpers\FileHelper::copyDirectory() pattern not working 2014-05-30 14:50:11 +03:00
Alexander Makarov
d7a251bbec Removed unused imports, added missing phpdoc 2014-05-30 11:55:17 +06:00
Carsten Brandt
873b2b04db fixed test breaks after #3614 2014-05-28 17:20:24 +02:00
Carsten Brandt
4de6e8c6b2 fix #3501 replace . when generating input ids 2014-05-25 18:51:06 +02:00
Qiang Xue
96feeb894c Fixed test break of Html. 2014-05-22 09:51:49 -04:00
Carsten Brandt
1a848453a1 tried to fix tests for #3472 2014-05-22 13:09:42 +02:00
Scott Tester
390004a899 Fixed path in unit test to use the directory separator variable. 2014-05-22 09:34:10 +10:00
Scott Tester
be89ff97d3 fixed normalizePath to keep a '.' path when necessary. 2014-05-21 20:55:52 +10:00
DaSourcerer
be164e45db Handle invalid code sequences in Html::encode() 2014-05-20 15:44:23 +02:00
Klimov Paul
8d0fb916c0 VarDumper::exportAsString() removed 2014-05-19 18:33:49 +03:00
Paul Klimov
e11ecad1ce Object handling at BaseVarDumper::export() reworked 2014-05-09 15:32:09 +03:00
Paul Klimov
7c69c9141c BaseVarDumper::export() added 2014-05-09 14:47:57 +03:00
Alexander Makarov
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
Alexander Makarov
a620342315 Adjusted phpdoc, tests and changelog for StringHelper::truncate and StringHelper::truncateWords 2014-04-29 18:23:48 +04:00
Alexander Makarov
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
Qiang Xue
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
Carsten Brandt
78a8694eb5 file helper did not preserve relative paths 2014-04-25 04:06:07 +02:00
Qiang Xue
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
Alexander Makarov
7295540c72 Code style and phpdoc fixes 2014-04-17 15:33:07 +04:00
Qiang Xue
0e143338d7 Finished refactoring find() . 2014-04-07 16:29:12 -04:00
Qiang Xue
b7d6f6141a Added isAssociative() and isIndexed() to yii\helpers\ArrayHelper 2014-04-07 16:02:55 -04:00
lubosdz
612d3ed27d removed redundant whitespace 2014-04-04 15:18:58 +02:00
lubosdz
164459f90a Fixed test break and JSON MIME type. Fixes issue #2978. 2014-04-04 13:54:04 +02:00
Alex-Code
1c80b9d2cc Test case for new truncate methods.
Test case for new truncate methods.
2014-04-02 08:51:02 +01:00
Qiang Xue
6e8c460273 Fixes #2724: consistent use of absolute and relative routes. 2014-03-22 20:17:31 -04:00
SonicGD
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
Carsten Brandt
5d309c2075 added unit tests for boolean attributes
fixes #1022
2014-03-13 02:50:09 +01:00