18768 Commits

Author SHA1 Message Date
a140b2b468 Fixes #16991: Removed usage of utf8_encode() from Request::resolvePathInfo() 2019-01-03 17:36:16 -05:00
4c88805f85 Translated Yii2 core messages in Bulgarian language (#17010) [skip ci] 2019-01-03 15:21:29 -05:00
a790685e66 Fixes #16974: Regular Expression Validator to include support for 'u' (UTF-8) modifier 2019-01-03 15:12:42 -05:00
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`
2019-01-03 14:15:47 -05:00
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`
```
2019-01-03 14:15:06 -05:00
1a34f61e56 Fixes #16941: Set yii\console\controllers\MigrateController::useTablePrefix to true as default value 2019-01-03 12:16:42 -05:00
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.
2019-01-02 18:45:40 -05:00
a4b12b14ca Removed unneeded changelog line [skip ci] 2019-01-03 00:51:41 +03:00
66ecd6b5b6 Merge pull request #16998 from GHopperMSK/16966-add-array_expression-support-to-relation-data
Add ArrayExpression support in related tables
2019-01-02 18:26:04 +02:00
698e45ac1e Fixed code style 2019-01-02 18:24:16 +02:00
a5182e5d5e Merge branch 'master' of git://github.com/yiisoft/yii2 into 16966-add-array_expression-support-to-relation-data 2019-01-01 22:33:52 +03:00
e1623868f9 Fixes #16891: Fixed Pagination::totalCount initialized incorrectly 2019-01-01 13:24:14 -05:00
d02fb4e3dd Reduce the Cyclomatic Complexity level 2019-01-01 13:01:12 +03:00
a7771acd8d Add ArrayExpression support in related tables 2019-01-01 02:39:55 +03:00
379a2002dd Issue #14609: test case for further discussion (#16990) 2018-12-31 07:04:08 -05:00
7d494d0d24 Fixes #16028: Fix serialization of complex cache keys that contain non-UTF sequences 2018-12-31 06:54:19 -05:00
2b79a0c5ba Fixes #16945: Fixed RBAC DbManager ruleName fetching on the case of PDO::ATTR_ORACLE_NULLS => PDO::NULL_TO_STRING 2018-12-31 06:43:07 -05:00
b128ec85f4 Fixes #16081: Fixed composite IN using just one column 2018-12-31 06:41:25 -05:00
ebb5976a22 Fixes #16926: Fix shell autocompletion 2018-12-31 06:34:01 -05:00
5250197d3b Fixed typo in MessageController docs [skip ci] (#16982) 2018-12-30 16:38:39 -05:00
8a641a99b8 Update ROADMAP.md (#16992) [skip ci] 2018-12-30 15:02:42 -05:00
3c1f1e4dcc Disabled deprecated warnings for PHP 7.3 tests (#16997) 2018-12-30 15:01:03 -05:00
572e5f6655 Fixes #15850: check basePath is writable on publish in AssetManager 2018-12-16 01:54:00 +03:00
Sam
197feeb255 Fixes #16969: Fix yii\filters\PageCache incorrectly storing empty data in some cases 2018-12-14 19:52:34 +03:00
d1c3dac0f7 docs/guide-ja/start-installation.md updated and translators.json added [ci skip] (#16964) 2018-12-13 16:43:38 +03:00
c162bd7ae7 Fixes #16910: Fix messages sorting on extract 2018-12-12 22:57:24 +03:00
d07e286dbd fix syntax error in fr and es guide
these were failing the PDF build
2018-12-12 09:29:34 +01:00
f79d3d7edc Fix syntax errors in Chinese guide
these were failing the PDF build.
2018-12-12 09:02:15 +01:00
1cf22d0252 Fixed grammatical error (#16957) [skip ci] 2018-12-11 16:16:47 +03:00
429ddbdf64 Непонятно какой параметр 'r' (#16958) [skip ci]
Очень далек от контекста. Я сразу не понял о каком параметре речь
2018-12-10 23:59:57 +03:00
1db55e6b0d Normalizing string numeric (#16943) 2018-12-10 11:50:50 +03:00
3221ab0769 Fix #15683: Fix file as array uploading in MultipartFormDataParser (#16950) 2018-12-10 11:49:36 +03:00
b5be47321b Fixes #16469: Allow cache to be specified as interface and to be configured in DI container 2018-12-10 11:41:45 +03:00
4656e2dcdc Added "start looking ahead" to ar guide translation (#16952) [skip ci] 2018-12-10 11:36:58 +03:00
712b6accce Fixes #16687: Add missing translations for nl-NL durations used in yii\i18n\Formatter::asDuration() 2018-12-08 01:08:43 +03:00
bd3193a52a Fixed typo (#16947) [skip ci] 2018-12-07 18:39:12 +03:00
2fab70731a Added gii translation for ar language (#16942) [skip ci] 2018-12-06 23:09:53 +03:00
4d3a140482 Fixed additional regression in number formatting
Related to https://github.com/yiisoft/yii2/issues/16934
2018-12-06 17:35:30 +02:00
bca1e88fbd Fix Apache URL rewriting (#16936) 2018-12-05 13:20:35 +03:00
db1d730695 Fixes #16822: Create config dir recursively in message/config 2018-12-05 01:37:12 +03:00
8150cd1ed4 Fixes #16580: Delete unused php message files in MessageController if $removeUnused option is on 2018-12-05 01:35:44 +03:00
b4adada51e Fixes #16022: Fix UniqueValidator for PostgreSQL. Checks the uniqueness of keys in jsonb field 2018-12-05 00:06:51 +03:00
a03376413c Fixed regression in formatter when passed value is a string representation of float without decimals 2018-12-03 18:22:11 +02:00
8bccbd595d Update Formatter.php 2018-12-03 11:33:40 +01:00
fe07177ddd Update Formatter.php 2018-12-03 09:56:28 +01:00
bbfa45f133 Removed wrong spellout formatter test (#16924) 2018-12-01 23:43:02 +03:00
59e99a67c7 Fixes #14950: Fixed yii\i18n\Formatter methods asInteger, asDecimal, asPercent, and asCurrency outputs for very big numbers 2018-11-29 18:16:19 +03:00
324884a5d5 Add work with database to ar guide (#16921) [skip ci] 2018-11-29 03:05:04 +03:00
5349132043 Use sprintf() in Target::getTime() (#16883)
* Use `sprintf()` in `Target::getTime()`.

* Changelog line [skip ci].
2018-11-28 08:22:04 +01:00
d7ffda020b Fixes #16903: Fixed 'yii\validators\NumberValidator' method 'isNotNumber' returns false for true/false value 2018-11-23 12:55:07 +03:00