Pavel Ivanov
4584487126
Fixes DateValidatorTest for ICU 55.1 ( #17013 )
...
I have installed ICU of version `55.1` and tests fail on it. That's because 'short' datetime format has been changed earlier - starting with version 55.1
See for example Symfony changes for ICU 55: 4f224ef4ab (diff-564fc4b01393077657880495f2be7b17R54)
6 years ago
Dzhuneyt
a790685e66
Fixes #16974 : Regular Expression Validator to include support for 'u' (UTF-8) modifier
6 years ago
Pavel Ivanov
e0e73cf5b5
Minor cleaning of .gitignore files in tests folder ( #17007 )
...
1) `/runtime/cache/*` already ignored by file `/tests/runtime/.gitignore`
2) `/tests/runtime/assets/` already stays in place due to file `/tests/runtime/asstes/.gitignore`
6 years ago
Pavel Ivanov
bc9f8bd8a3
Fixes CommandTest::testCreateView() cleanup logic ( #17006 )
...
View must be deleted before deleting the tables on which it depends, otherwise we will get errors when rerunning the tests in the same environment.
For example:
```
1) yiiunit\framework\db\mysql\CommandTest::testCreateView
yii\db\Exception: SQLSTATE[HY000]: General error: 1356 View 'yii2_test.testCreateView' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them
The SQL being executed was: SHOW FULL COLUMNS FROM `testCreateView`
```
6 years ago
Nikolay
1a34f61e56
Fixes #16941 : Set `yii\console\controllers\MigrateController::useTablePrefix` to true as default value
6 years ago
Pavel Ivanov
966f262016
Fixes AssetBundleTest for vagrant ENV ( #17003 )
...
1. There is no need to use setUp/tearDown just for one TestCase method.
2. Previous implementation of testBasePathIsWritableOnPublish() doesn't work in vagrant environment using shared files because of unreliable chmod.
So, this implementation is more versatile and optimized.
6 years ago
taobig
e1623868f9
Fixes #16891 : Fixed Pagination::totalCount initialized incorrectly
6 years ago
Pavel Ivanov
379a2002dd
Issue #14609 : test case for further discussion ( #16990 )
6 years ago
Pavel Ivanov
7d494d0d24
Fixes #16028 : Fix serialization of complex cache keys that contain non-UTF sequences
6 years ago
Pavel Ivanov
b128ec85f4
Fixes #16081 : Fixed composite IN using just one column
6 years ago
Andrew
572e5f6655
Fixes #15850 : check basePath is writable on publish in AssetManager
6 years ago
Andrew
c162bd7ae7
Fixes #16910 : Fix messages sorting on extract
6 years ago
Bizley
1db55e6b0d
Normalizing string numeric ( #16943 )
6 years ago
Andrew
3221ab0769
Fix #15683 : Fix file as array uploading in MultipartFormDataParser ( #16950 )
6 years ago
Dmitry V. Alexeev
b5be47321b
Fixes #16469 : Allow cache to be specified as interface and to be configured in DI container
6 years ago
SilverFire - Dmitry Naumenko
4d3a140482
Fixed additional regression in number formatting
...
Related to https://github.com/yiisoft/yii2/issues/16934
6 years ago
Groonya
db1d730695
Fixes #16822 : Create config dir recursively in message/config
6 years ago
Groonya
8150cd1ed4
Fixes #16580 : Delete unused php message files in MessageController if `$removeUnused` option is on
6 years ago
Alex
b4adada51e
Fixes #16022 : Fix UniqueValidator for PostgreSQL. Checks the uniqueness of keys in `jsonb` field
6 years ago
SilverFire - Dmitry Naumenko
a03376413c
Fixed regression in formatter when passed value is a string representation of float without decimals
6 years ago
Bizley
bbfa45f133
Removed wrong spellout formatter test ( #16924 )
6 years ago
Bizley
59e99a67c7
Fixes #14950 : Fixed `yii\i18n\Formatter` methods `asInteger`, `asDecimal`, `asPercent`, and `asCurrency` outputs for very big numbers
6 years ago
Robert Korulczyk
5349132043
Use `sprintf()` in `Target::getTime()` ( #16883 )
...
* Use `sprintf()` in `Target::getTime()`.
* Changelog line [skip ci].
6 years ago
Anna Borzenko
d7ffda020b
Fixes #16903 : Fixed 'yii\validators\NumberValidator' method 'isNotNumber' returns false for true/false value
6 years ago
Bizley
3907895324
Fixes #16897 : Fixed `yii\db\sqlite\Schema` missing primary key constraint detection in case of `INTEGER PRIMARY KEY`
6 years ago
Carsten Brandt
e16dcd9674
added test to verify intl number formatter works with text options
...
issue https://github.com/yiisoft/yii2/issues/16900
6 years ago
SilverFire - Dmitry Naumenko
8b7e878f1d
Revert "Fixes #16629 : ActiveField::inputOptions were not merged with options passed for radio and checkbox"
...
This reverts commit 8334ab3060
as it
breaks layout for checkboxes with Bootstrap
6 years ago
Paweł Jankowiak
8334ab3060
Fixes #16629 : ActiveField::inputOptions were not merged with options passed for radio and checkbox
6 years ago
Nikolay Oleynikov
06227c7075
Fixes #16648 : Html::strtolower() was corrupting UTF-8 strings
6 years ago
cuileon
489dd119a5
merge from yiisoft/yii2
6 years ago
Evgeniy Moiseenko
9864837764
Revert change and added default time zone to test ( #16876 )
...
* Revert change and added default time zone to test(#15528 )
* Return comment(#15528 )
6 years ago
Damian Dziaduch
e11e3eb4c5
Allow `\yii\console\widgets\Table` to render empty table ( #16865 )
...
When headers provided but no columns.
Ref #16858
6 years ago
Robert Korulczyk
1fe3d61a3b
Fixes #16838 : `yii\mutex\Mutex::acquire()` no longer returns `true` if lock is already acquired by the same component in the same process
6 years ago
ErickSkrauch
5208ef761e
Fixes #16828 : `yii\console\controllers\MessageController::translator` recognized object' methods and functions calls as identical sets of tokens
6 years ago
Robert Korulczyk
91c96ff452
Fixes #16839
...
- Increase frequency of lock tries for `yii\mutex\FileMutex::acquireLock()` when $timeout is provided (rob006)
- Add support for `$timeout` in `yii\mutex\PgsqlMutex::acquire()`
6 years ago
Bizley
ab39246ab5
Fixes #16101 : Fixed Error Handler to clear registered meta tags, link tags, css/js scripts and files in error view
6 years ago
Robert Korulczyk
c92eb7761d
Fixes #16836 : Fix `yii\mutex\MysqlMutex` to handle locks with names longer than 64 character
6 years ago
Robert Korulczyk
c84a64a0c3
Add `$message` parameter to `TestCase::assertEqualsWithoutLE()`. ( #16837 )
6 years ago
rhertogh
2ef24d9c65
Fixes #16331 : Fixed console table without headers
6 years ago
Bizley
1342eb718b
Fixes #15204 : `yii\helpers\BaseInflector::slug()` is not removing substrings matching provided replacement from given string anymore
6 years ago
Bizley
f3438c450c
Fixes #10843 : Additional hidden input rendered by `yii\helpers\BaseHtml` methods inherits `disabled` HTML option if provided and set to `true`
6 years ago
Bizley
b8c2c7fb5e
Fixes #16424 : `yii\db\Transaction::begin()` throws now `NotSupportedException` for nested transaction and DBMS not supporting savepoints
6 years ago
Evgeniy Moiseenko
dfe828f76b
Fixes #13932 : Fix number validator attributes comparison
6 years ago
Evgeniy Moiseenko
cfe0bf5cf1
Fixes #14039 , fixes #16636 : Fixed validation for disabled inputs
6 years ago
Evgeniy Moiseenko
7c76696905
Fixes #16425 : Check for additional values for disabled confirm dialog
6 years ago
Marcelo de Andrade
e7ba6b17fc
Fixes #16761 : Add volume to config.php for MSSQL tests
6 years ago
Konstantin Voloshchuk
9f383ab228
Fixes #14367 : In `yii\db\mysql\QueryBuilder` added support fractional seconds for time types for MySQL >= 5.6.4
6 years ago
Kot
4e6eb5c814
Fixes #16766 : `yii\filters\ContentNegotiator` was not setting `Vary` header to inform cache recipients
6 years ago
Alexandr Ivanov
af3b8b2f23
Fixes #11960 : Fixed `checked` option ignore in `yii\helpers\BaseHtml::checkbox()`
6 years ago
Alexandr Ivanov
0ad5afd387
Fixes #14759 : Fixed `yii\web\JsonResponseFormatter` output for `null` data
6 years ago