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
Alexander Mohorev
bb8550886e
PHP type casting
10 years ago
Alexander Makarov
50fd1f586c
Bug: `yii\web\UrlRule` was unable to create URLs for rules containing unicode characters
10 years ago
Qiang Xue
35e7f27d43
Fixes test break.
10 years ago
Carsten Brandt
1feb09b6ff
refactored querybuilder test to reuse quote replacement
...
fixes #5652
10 years ago
Qiang Xue
5829020eff
Fixes #5223 : Query builder now supports selecting sub-queries as columns
10 years ago
Carsten Brandt
292a9ff55b
Add support for yii\db\Expression to QueryBuiler simple conditions
...
fixes #5601
10 years ago
Alexander Makarov
c7a7a312e6
Fixed schema cache test
10 years ago
Klimov Paul
f5c5c2fd8b
Fixed `yii\console\controllers\AssetController` breaks CSS URLs in case target file localed at `yii\web\AssetManager::basePath` root
10 years ago
Klimov Paul
13bc95ae52
Fixed `yii\console\controllers\AssetController` breaks CSS URLs on Windows
10 years ago
Alexander Makarov
327dde72f4
Fixes #5467 : Added ability to pass HTML tag options to `asEmail()`, `asImage()` and `asUrl()` methods of `yii\i18n\Formatter`
10 years ago
Alexey Kolmakov
ce4bf84452
#5467 Allow pass options to Html:a in Formatter:asUrl
10 years ago
Carsten Brandt
280f499ae1
skip test on travis
10 years ago
Carsten Brandt
52c315e6a3
added test for web\User authTimeout
10 years ago