Commit Graph

8965 Commits

Author SHA1 Message Date
Sergei Malmygin
3ea671454c Fixes #12133: Fixed getDbTargets() function in yii\log\migrations\m141106_185632_log_init that would create a log table correctly 2017-01-15 21:53:36 +03:00
Hao
652d05f0b8 Fixed some comment issues (#13392) [skip ci] 2017-01-15 21:39:12 +03:00
Alexander Makarov
442ac040cc Used is_subclass_of() as suggested by @SamMousa
3946ac0dab (commitcomment-20466575)
2017-01-14 13:22:13 +03:00
SilverFire - Dmitry Naumenko
43de339a72 Reordered CHANGELOG 2017-01-14 11:53:02 +02:00
Sergey
fc00e60ade Incorrect console width/height detecting with using Stty on Mac
Fixes #13309
2017-01-14 11:49:13 +02:00
SilverFire - Dmitry Naumenko
0efed3f2b0 Fixed wrong background color generation in BaseConsole::renderColoredString()
Fixes #13326
2017-01-14 11:42:33 +02:00
Klimov Paul
d4ac47abe7 Added yii\validators\EachValidator::$stopOnFirstError allowing addition of more than one error 2017-01-13 17:59:10 +02:00
Klimov Paul
b93856cdfd Unit test for yii\caching\DbDependency added 2017-01-13 12:16:37 +02:00
Klimov Paul
3946ac0dab Added yii\widgets\InputWidget::$field field, allowing access to the related yii\widget\ActiveField instance 2017-01-13 11:36:33 +02:00
Klimov Paul
25a7ed60e7 Docs about namespaced migrations fixed 2017-01-10 14:22:50 +02:00
Carsten Brandt
7c98000391 Update Controller.php 2017-01-07 21:15:30 +01:00
Carsten Brandt
3050dedded Update BaseConsole.php 2017-01-07 21:13:02 +01:00
Vovan-VE
d8566aecc4 Exception within useMaster() completely disables slaves 2017-01-07 18:49:52 +08:00
Klimov Paul
0a978f9d1e Fix fetching schema information for pgsql when PDO::ATTR_CASE is set 2017-01-05 17:54:37 +02:00
Nobuo Kihara
e05a883fdf ja message file updated (#13325) [skip ci] 2017-01-04 17:25:59 +03:00
lubosdz
6aa80cc9f5 Slovak translation updated (#13324) [skip ci] 2017-01-04 17:25:34 +03:00
d3artagnan
a2dc34d84d Update id (Indonesian) messages, add translation (#13322) [skip ci] 2017-01-04 12:31:54 +08:00
a.kompaniets
50f3012f68 fixed currency format with custom decimal fraction
fixes #12345
close #12648
2017-01-03 00:03:40 +01:00
Alexey Rogachev
bd9947a681 Removed redundant colon (#13317) 2017-01-02 23:18:31 +01:00
Dmitry Naumenko
2853dcbad7 Update FixtureController.php 2017-01-02 10:13:43 +02:00
Sidney Lins (slinstj)
9173656b53 Improves error message for invalid namespace in FixtureController 2017-01-02 00:07:50 -02:00
Vladimir
f3bc11c724 Implement #13219: Ability to not shuffle masters connections (#13241)
* Implement #13219: Ability to not shuffle masters connections

* Enh: add master connection getter

* Add test case for #13241 which implements #13219

* Doc comments [skip ci]

* Doc comments

* Fix: wrong return value when no masters

* Revert `getMasterPdo()` 4a786c7e10

* Fix: try to fix too slow test

* Refact: fix Single Responsibility; Fix possible BC break

* Update Connection.php

* Update Connection.php

* Update Connection.php

* Update Connection.php

* Updated CHANGELOG

* Fix: grammatic mistake

* Refact: property renamed from `randomizeMasters` to `shuffleMasters`

* Refact: split and try to simplify tests
2017-01-02 02:15:13 +01:00
bashkarev
338e5967cb Added Logging of memory usage
calculateTimings added options: `memory`, `memoryDiff` memory_get_usage only the used memory is reported.

close #13268
2017-01-02 02:01:49 +01:00
Alexander Makarov
ed849c6d87 Updated Russian strings translation [skip ci] 2017-01-01 12:11:25 +07:00
SilverFire - Dmitry Naumenko
24ad05de5b Refactored yii\web\ErrorAction to make it reusable 2016-12-31 21:29:12 +02:00
Pavel Ivanov
8060300bf4 Small optimization of yii\console\Request::resolve() 2016-12-31 20:57:24 +03:00
Pavel Ivanov
4db3bcd64c Fixes #13277: Invalid parsing of -- in CLI 2016-12-31 16:31:07 +02:00
Vasilis Lourdas
6840319d16 Updated Greek framework messages translation. (#13303)
* Updated Greek translation of core framework.

* Updated Greek messages translation.
2016-12-31 14:51:46 +02:00
SilverFire - Dmitry Naumenko
b26527ca69 Changelog updated 2016-12-30 23:52:02 +02:00
SilverFire - Dmitry Naumenko
178d319556 Added Cache::getOrSet() 2016-12-30 23:49:18 +02:00
Māris Graudiņš
cb1ff4e0fb Added missing and fixed wrong plural translations for Latvian language. (#13294) [skip ci] 2016-12-30 21:50:16 +07:00
Alexey Rogachev
934acae51e Fixed #13296: Removed UTF-8 BOM in az messages (#13298) [skip ci] 2016-12-30 21:46:14 +07:00
Alexey Rogachev
661e672554 Fixed inconsistency with dots in translation added in #13286 (#13290) [skip ci] 2016-12-30 00:27:20 +07:00
SilverFire - Dmitry Naumenko
076661c390 Added @dynasource to composer.json 2016-12-29 12:59:21 +02:00
jetexe
765588933b Added translation for unique validator (#13286) [skip ci] 2016-12-28 22:45:42 +07:00
Carsten Brandt
30e599b94f updated docs about deleteALl() and updateAll() 2016-12-27 21:35:45 +01:00
Alexander Makarov
210cf36750 Fixes #12703: Fixed StringHelper::truncateHtml() non functional when dom PHP extension is disabled 2016-12-26 23:15:19 +07:00
Alexander Makarov
c33583aede Fixed naming for #13214 as suggested by Paul 2016-12-26 22:42:14 +07:00
Alexander Makarov
56583c37e3 CHANGELOG merge fix 2016-12-26 22:27:32 +07:00
Alexander Makarov
c175c6b73a Merge branch 'master' into xml-formatter-root-and-object-tags 2016-12-26 18:17:15 +03:00
Klimov Paul
194577c55e Code style fix 2016-12-26 15:39:33 +02:00
Carsten Brandt
e13a18ba8b added missing version information
fixes #13259
2016-12-20 22:40:44 +01:00
kidol
85cbe8dbaf Fix race conditions in FileMutex 2016-12-20 15:20:01 +01:00
SilverFire - Dmitry Naumenko
ed82ba4ee2 Revert "fix ArrayHelper::getValue() to throw exception on invalid input"
This reverts commit e963b2af64 because of BC breaking reported in #13248.

To know more about the reasons of commit revertinvg, visit https://github.com/yiisoft/yii2/issues/13248
2016-12-20 12:39:25 +02:00
p.chapl
5488fc6e28 fixes #13221
Make \yii\db\QueryTrait::limit and \yii\db\QueryTrait::offset methods works with \yii\db\Expression
2016-12-20 14:08:03 +07:00
Evgeniy Tkachenko
69de8f8460 Update ActiveDataProvider.php 2016-12-20 10:07:04 +03:00
Carsten Brandt
b4b2b0e6d1 better docs about decimal numbers in Formatter
fixes #12520
2016-12-20 01:23:00 +01:00
Klimov Paul
8f5f540455 Fix fetching table schema for pgsql when PDO::ATTR_CASE is set 2016-12-19 17:10:34 +02:00
Dmitry Naumenko
8562055937 Merge pull request #13216 from yiisoft/arrayhelper-error
fix ArrayHelper::getValue() to throw exception on invalid input
2016-12-18 20:02:26 +02:00
Dmitry Naumenko
3624eae23f Merge pull request #13217 from yiisoft/throwable
Catch `\Throwable` in critical places
2016-12-18 19:53:27 +02:00