Alexander Makarov
7e868555c5
Closes #7093
10 years ago
Carsten Brandt
754660ef7b
added urlmanager test for default action
10 years ago
Carsten Brandt
e5e48cd484
added test for Json::encode() and JsonSerializable
...
close #7084
10 years ago
Klimov Paul
5bda2fe073
`yii\console\controllers\AssetController` now correctly handles relative image URLs if source and target CSS are under same directory
10 years ago
Qiang Xue
5ab1d1a0d1
Fixes #6992 .
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
Alexander Makarov
440eeea8cc
Fixes #6106 : Added ability to specify `encode` for each item of `yii\widgets\Breadcrumbs`
10 years ago
Carsten Brandt
aa9fe57fd7
removed date that is not well defined from tests
10 years ago
Carsten Brandt
0300683bfc
improved db test, avoid error by accessing db directlry
...
always use getConnection()
10 years ago
Carsten Brandt
f177f1701a
fixed failure on sqlite version check
...
ensure PDO instance has been created at this point
10 years ago
Carsten Brandt
08531312ef
fixed HHVM test break
...
always use unique directory for each test
10 years ago
Carsten Brandt
03351ccba3
added explicit test for the Y2K38 problem
...
http://en.wikipedia.org/wiki/Year_2038_problem
10 years ago
Carsten Brandt
2a19b3caa0
fixed whitespace in tests
10 years ago
Carsten Brandt
9415c7921d
date formatter fall back to PHP impl. to solve Y2K38 issue
...
formatting date and time values for years >=2038 or <=1901 is now possible also with intl extension is
installed. 32bit systems will fall back to the PHP implementation because intl uses a 32bit UNIX timestamp internally.
On a 64bit system the intl formatter is used in all cases if installed.
fixes #5577
10 years ago
Carsten Brandt
05cc9ae405
improved HTML to Text fallback in BaseMailer
...
fixes #6748
10 years ago
Klimov Paul
b3c6d70cda
Unit test for `yii\console\controllers\AssetController` advanced
10 years ago
Klimov Paul
94f702fe6e
`yii\console\controllers\AssetController` now handles bundle files from external resources properly
10 years ago
Carsten Brandt
b7c315f3d6
skip requirements checker test on HHVM
10 years ago
Qiang Xue
d341bf02b4
Fixes #6398 : Added support for specifying dependent component in terms of a configuration array for classes such as `DbCache`
10 years ago
Carsten Brandt
792746883e
urlManager: ensure route is trimmed by / on empty pattern
...
fixes #6717
10 years ago
Qiang Xue
cc3209cf26
Fixes #4502 : Added alias support to URL route when calling `Url::toRoute()` and `Url::to()`
10 years ago
pana1990
7aae667e28
Fixes #6618 : Added Model::addErrors()
10 years ago
Qiang Xue
166cb99be0
Fixes #6632 : `yii\di\Container::get()` did not handle config parameter correctly when it is passed as a constructor parameter
10 years ago
Qiang Xue
ca5b874561
Fixes #5494 : Added support for specifying a menu header as a configuration array in `yii\bootstrap\Dropdown`
10 years ago
Paul Klimov
8632882312
Plain `echo` replaced by `stdout()` at `yii\console\MessageController`
10 years ago
Paul Klimov
19e79ad4b4
Plain `echo` replaced by `stdout()` at `yii\console\AssetController`
10 years ago
Paul Klimov
70ca76d4a3
Added `yii\web\AssetConverter::$forceConvert`
10 years ago
Carsten Brandt
6e7dc26b38
added support for DateTimeImmutable to Formatter
...
fixes #5503
10 years ago
Carsten Brandt
ae1bd39377
adjusted missing return for fix #6263
10 years ago
Carsten Brandt
7325fdd7ed
better fix for #5448 not using customized DateTime class
...
fixes #6263 and has no problem with PHP Bug:
> it is a PHP bug: https://bugs.php.net/bug.php?id=45543
> Fixed in this commit: php/php-src@22dba2f#diff-7b738accc3d60f74c259da18588ddc5dL2996
>
> Fixed in PHP >5.4.26 and >5.5.10. http://3v4l.org/mlZX7
10 years ago
Carsten Brandt
41fca90cce
split formatter test
10 years ago
Alexander Makarov
338b334254
Improved console controller tests
10 years ago
Alexander Makarov
eaf8ece568
Fixes #5627 : Added `yii cache/flush-schema` console command to flush DB schema cache of a given database connection
10 years ago
Carsten Brandt
6a8f4b0e50
fixed date formatter to display date-only values correctly
...
fixes #5448
10 years ago
Alex-Code
b2797b0370
truncate $asHtml tests
10 years ago
Carsten Brandt
cc8ffe364e
added support for yii\db\Expression to querybuilder BETWEEN and LIKE
...
fixes #6164
10 years ago
Alexander Makarov
e88a5d9cc4
Fixes #4823 and #6005 : `yii message` accuracy and error handling were improved by using PHP tokenizer instead of regular expressions. Removed eval() as well.
10 years ago
Carsten Brandt
8039026ae2
added Formatter::defaultTimeZone to allow non UTC-values in DB
...
fixes #5683
10 years ago
Qiang Xue
2782adcca4
Fixes #4643 : Extra options specified in `yii\widgets\Breadcrumbs::links` will be treated as HTML attributes for the generated hyperlinks
10 years ago
Qiang Xue
ab1f32ef76
Fixes #4492 : Support PostgreSQL-specific syntax for `QueryBuilder::alterColumn()`
10 years ago
Klimov Paul
63e434b473
Safe real path resolving added to `yii\console\controllers\AssetController::combineCssFiles()`
10 years ago
Klimov Paul
112ad80d6e
Fixed `yii\console\controllers\AssetController` breaks CSS URLs, which start from '/'
10 years ago
Qiang Xue
cf0c8c37dd
Fixes #5983 : Added `Inflector::sentence()`
10 years ago
pana1990
d86da1d38e
add tests for sentence method
10 years ago
Carsten Brandt
b8c12307f1
added test for #5962
10 years ago
Alexander Makarov
b0c88d337e
Fixed typo in test class
10 years ago
Qiang Xue
2a6c0b7799
Fixed test break.
10 years ago
Alexander Mohorev
899b778994
Correct type declarations
10 years ago