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
Qiang Xue
24257e76c8
Fixes #3909 : `Html::to()` should not prefix base URL to URLs that already contain scheme
10 years ago
Qiang Xue
084819b84c
refactored file validator.
10 years ago
Mark
42643e3747
type validation adjusted
10 years ago
Qiang Xue
6b799d392d
Fixes #3358 : Removed automatic CSRF meta tag generation by `View`. Added `Html::csrfMetaTags()` and its call to main layout files
10 years ago
Mark
718d114828
file helper adjusted , upgrade notes added
10 years ago
Carsten Brandt
efbd23b52e
refactored logger to support array values out of the box.
...
fixes #3245 , #3244
10 years ago
Alexander Makarov
36e4930dcd
Fixes #3669 : added note about using ArrayHelper::getValue with objects
10 years ago
Alexander Makarov
09e6a13e8f
Fixed tests
10 years ago
Alexander Makarov
f8e05fbf4f
Improved `yii\helpers\Inflector::slug` to support more cases for Russian, Hebrew and special characters
10 years ago
Alexander Makarov
44273f0790
Revert "Merge pull request #3445 from Alex-Code/getValue"
...
This reverts commit a5846fa269
, reversing
changes made to 2a6e064aca
.
10 years ago
Carsten Brandt
e5713c8e12
generated mimeType detection file from apache http mime.types file
...
MimeTypeController generates a map of file extensions to MIME types
It uses `mime.types` file from apache http located under
http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/conf/mime.types?view=markup
This file has been placed in the public domain for unlimited
redistribution,
so we can use it and ship it with Yii.
see also yiisoft/yii#2851 and yiisoft/yii#2857
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
armab
c792e0d07f
Hotfix for #3597
10 years ago
armab
3048fdf66f
Improve array support for "data" attribute in renderTagAttributes()
11 years ago
Carsten Brandt
4de6e8c6b2
fix #3501 replace . when generating input ids
11 years ago
Qiang Xue
305e8cbdba
refactored Html.
11 years ago
Scott Tester
330f4609bf
Implemented qiangxue's solution as it is much simpler.
11 years ago
Kartik Visweswaran
16f279ebe3
Fix #3472 : Configurable option to encode spaces in dropdowns
11 years ago
Scott Tester
39265da4f5
Code style fix & CHANGELOG typo fix for bug #3522
11 years ago
Scott Tester
be89ff97d3
fixed normalizePath to keep a '.' path when necessary.
11 years ago
Kartik Visweswaran
1abd0ab486
Fix #3472 : Configurable option to encode spaces in dropdowns
11 years ago
Kartik Visweswaran
0e40dfdd6e
Fix #3472 : Configurable option to encode spaces in dropdowns
11 years ago
DaSourcerer
be164e45db
Handle invalid code sequences in Html::encode()
11 years ago
Qiang Xue
2b26dd3285
Improved doc [skip ci]
11 years ago
Kartik Visweswaran
0ed190e995
Fix #3472 : Configurable option to encode spaces in dropdowns
11 years ago
Klimov Paul
8d0fb916c0
`VarDumper::exportAsString()` removed
11 years ago
Qiang Xue
3cbf1adbae
guide WIP [skip ci]
11 years ago
lynicidn
18d1de61fe
fix #3478
...
it correct work with integer keys of list
11 years ago
Alex-Code
274828839b
Check if property is set
...
```getValue``` didn't check if the property on an object exists so wouldn't return the default value.
11 years ago
Paul Klimov
e11ecad1ce
Object handling at `BaseVarDumper::export()` reworked
11 years ago
Paul Klimov
3469b47114
Issue #3232 added to CHANGELOG
11 years ago
Paul Klimov
b94b18337b
Doc comments for `BaseVarDumper::export()` added
11 years ago
Paul Klimov
7c69c9141c
BaseVarDumper::export() added
11 years ago
Qiang Xue
d6f6b7b6f2
guide WIP [skip ci]
11 years ago
Jurmarcus Allen
6099e85160
HHVM compatibility Fixes for Yii 2 Console Application
11 years ago
Yeung Song
5ea81a91c9
Fixed document for multisort in BaseArrayHelper
...
Fixed
11 years ago
Alexander Makarov
a4c644d3a3
Fixes #3325 : fixed generated markup for conditional comments
...
No changelog line since feature was introduced after beta
11 years ago
Alexander Makarov
a620342315
Adjusted phpdoc, tests and changelog for StringHelper::truncate and StringHelper::truncateWords
11 years ago
Qiang Xue
4fcd5003de
Fixes #2906 : Added support for using conditional comments for js and css files registered through asset bundles and Html helper
11 years ago
Carsten Brandt
4f9e4e2c78
ensure assetmanager and baseurl to handle relative urls correctly
11 years ago
Carsten Brandt
78a8694eb5
file helper did not preserve relative paths
11 years ago
Carsten Brandt
91965fd391
phpdoc formatting issues
11 years ago
Qiang Xue
c15aceb094
Refactored filter error display for GridView.
11 years ago
Qiang Xue
7ca1be3504
Fixes #3008 : Added `Html::errorSummary()`
11 years ago
Alex-Code
ca6583a045
Update BaseStringHelper.php
11 years ago
Qiang Xue
ab218addda
Fixes #2563 : Theming is not working if the path map of the theme contains ".." or "." in the paths
11 years ago
Alexander Makarov
c7c708d454
Removed unused imports
11 years ago
Thiago Talma
c1445871f4
Correction of many errors code inspection.
...
Adjustments code according to the standards.
Adding missing PHPDoc comment.
11 years ago