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
Alexander Makarov
7592dcc7f1
Added test for #5361
10 years ago
Alexander Makarov
6d8aa2d4d4
Fixed tests
10 years ago
Alexander Makarov
d06f849a85
Another test attempt for #5356
10 years ago
Alexander Makarov
1bea489f98
Added test for #5356
10 years ago
armab
ef127f6855
Fixes #5316 : Added `startsWith()` and `endsWith()` to `yii\helpers\StringHelper`. Methods are binary-safe, multibyte-safe and optionally case-insensitive
10 years ago
Carsten Brandt
1b4d894c9d
created test for #5341
10 years ago
Carsten Brandt
dfc4de877f
ensure integer is formatted without fraction digits
...
fixes #5179
10 years ago
Qiang Xue
d6b797e236
Fixes #5252 : Null values are not properly handled by `RangeValidator`
10 years ago
Carsten Brandt
0df9a82a7f
updated documentation and tests
...
fixes #5331
10 years ago
Serge Bezborodov
76ade0f6b0
Changed order of attributes setting in Formatter
...
close #5261
10 years ago
Carsten Brandt
2fbce2fa25
improved formatter test coverage
10 years ago
Carsten Brandt
e305f0842c
skip unsupported things on 32bit system
10 years ago
Carsten Brandt
6267b9ee1a
Fixed issue with timezone conversion in formatter
...
related to #5128
10 years ago
Carsten Brandt
45e472ccb0
added unit tests for #5249
10 years ago
Qiang Xue
aa8c013ebf
Fixes #3197 : Using `ActiveQuery::indexBy()` may cause relational AR queries to generate incorrect relational results
10 years ago
Carsten Brandt
3b0f561480
format timestamps with invalid date input
...
fixes #4989
10 years ago
Kartik Visweswaran
18b57af5ac
Better date parsing and formatting including 32 bit support
...
Enhances `normalizeDateTimeValue` to return a DateTime object instead of a converted double value, that fails. The DateTime object input is supported by 32 bit, 64 bit, as well as the `IntlDateFormatter` to format all years. (including fixing of the Y2K38 bug). Fixes issue in #4989 .
close #5000
10 years ago
Qiang Xue
aeaf0511d2
Fixes #3725 : Fixed the bug that the filtering condition used in relation definition was ignored when calling `ActiveRecord::unlinkAll()`
10 years ago
Qiang Xue
d49957fe35
Fixes #5079 : added test case.
10 years ago
Carsten Brandt
82b2f795b8
test case for #5084
10 years ago