Klimov Paul
862a5dd6b7
Added support for field `yii\console\controllers\BaseMigrateController::$migrationNamespaces` setup from CLI
8 years ago
Alexander Makarov
913b51b0b9
Adjusted changelog
...
See 3692941ead (commitcomment-20490835)
8 years ago
João Pedro Pereira
3692941ead
Fixes #11464 : Foreign key name is not provided by schema
8 years ago
Tetyuev Pavel
3a1cd7f3aa
Fixes #13287 : Fixed translating "and" separator in `UniqueValidator` error message
8 years ago
Sergei Malmygin
3ea671454c
Fixes #12133 : Fixed `getDbTargets()` function in `yii\log\migrations\m141106_185632_log_init` that would create a log table correctly
8 years ago
SilverFire - Dmitry Naumenko
43de339a72
Reordered CHANGELOG
8 years ago
Sergey
fc00e60ade
Incorrect console width/height detecting with using Stty on Mac
...
Fixes #13309
8 years ago
SilverFire - Dmitry Naumenko
0efed3f2b0
Fixed wrong background color generation in `BaseConsole::renderColoredString()`
...
Fixes #13326
8 years ago
Klimov Paul
d4ac47abe7
Added `yii\validators\EachValidator::$stopOnFirstError` allowing addition of more than one error
8 years ago
Klimov Paul
3946ac0dab
Added `yii\widgets\InputWidget::$field` field, allowing access to the related `yii\widget\ActiveField` instance
8 years ago
Klimov Paul
0a978f9d1e
Fix fetching schema information for `pgsql` when `PDO::ATTR_CASE` is set
8 years ago
a.kompaniets
50f3012f68
fixed currency format with custom decimal fraction
...
fixes #12345
close #12648
8 years ago
Alexey Rogachev
bd9947a681
Removed redundant colon ( #13317 )
8 years ago
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()` 4a786c7e10519bd1b3b5593e6fa0a6bbdafbb37a
* 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
8 years ago
bashkarev
338e5967cb
Added Logging of memory usage
...
calculateTimings added options: `memory`, `memoryDiff` memory_get_usage only the used memory is reported.
close #13268
8 years ago
SilverFire - Dmitry Naumenko
24ad05de5b
Refactored `yii\web\ErrorAction` to make it reusable
8 years ago
Pavel Ivanov
4db3bcd64c
Fixes #13277 : Invalid parsing of `--` in CLI
8 years ago
SilverFire - Dmitry Naumenko
b26527ca69
Changelog updated
8 years ago
SilverFire - Dmitry Naumenko
178d319556
Added Cache::getOrSet()
8 years ago
Alexander Makarov
210cf36750
Fixes #12703 : Fixed `StringHelper::truncateHtml()` non functional when dom PHP extension is disabled
8 years ago
Alexander Makarov
56583c37e3
CHANGELOG merge fix
8 years ago
kidol
85cbe8dbaf
Fix race conditions in FileMutex
8 years ago
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
8 years ago
p.chapl
5488fc6e28
fixes #13221
...
Make \yii\db\QueryTrait::limit and \yii\db\QueryTrait::offset methods works with \yii\db\Expression
8 years ago
Klimov Paul
8f5f540455
Fix fetching table schema for `pgsql` when `PDO::ATTR_CASE` is set
8 years ago
Alexander Makarov
09901a2af1
Minor changelog fixes
8 years ago
Pavel Chaplygin
25e6eb04a5
refs #11122 : Fixed can not use `orderBy` with aggregate functions ( #12772 )
...
* refs #11122 : Fixed can not use `orderBy` with aggregate functions like `count`, `max` etc.
* Update QueryTest.php
8 years ago
SilverFire - Dmitry Naumenko
a710345ea7
Enhanced PHPDocs, added Unit tests, updated CHANGELOG
8 years ago
Alexey Rogachev
8d813f7bf1
Fixes #12840 , #12836 , #13231 , #13232
...
Additionally added tests for #10302 (#10284 (comment)), #10284 (#10217 (comment)), #11729
8 years ago
SilverFire - Dmitry Naumenko
cdabb660d6
Refactored ListView::beforeItem, ::afterItem. Added Unit tests.
8 years ago
mdmunir
cc2e6bcd56
Add `beforeItem` and `afterItem` to the `ListView'
...
added changelog
8 years ago
Alexander Makarov
bd552113b2
Fixes #11906 : Updated `yii\widgets\MaskedInput` inputmask dependency to `~3.3.3`
8 years ago
Daniel Gómez Pan
b985ea3476
Fix #13108 : Negative integer parameter causes "Unknown alias" error w… ( #13220 )
...
* Fix #13108 : Negative integer parameter causes "Unknown alias" error when you execute command console
* Fix #13108 : Fix small issues
* Update Request.php
change order
8 years ago
Alexander Makarov
cad400b6ff
Added rob006 to changelog line
8 years ago
Ni-san
5795b3937e
Added rbac\BaseManager::hasNoAssignments()
8 years ago
SilverFire - Dmitry Naumenko
7b5efe5161
Enhanced `handleAction()` in `yii.js`
...
Closes #12737
8 years ago
Carsten Brandt
66e8158716
Fixes #11771 : Fixed semantics of `yii\di\ServiceLocator::__isset()` to match the behavior of `__get()` which fixes inconsistent behavior on newer PHP versions
8 years ago
Sergey
483c6c1867
Fixes #12713 : Fixed `yii\caching\FileDependency` to clear stat cache before reading filemtime
8 years ago
Brandon Kelly
350e93e626
Fixes #12612 : Query conditions added with `yii\db\Query::andWhere()` now get appended to the existing conditions if they were already being joined with the `and` operator
8 years ago
Carsten Brandt
a3b6dfbb7b
Catch `\Throwable` in critical places
...
Added catch `\Throwable` to be compatible with PHP7.
Added it in cases where object state needs to be kept consistent.
Mainly on transactions but also some other places where some values are
reset before exiting.
Most of them could probably be refactored by using `finally` in 2.1, as
that requires PHP 5.5.
fixes #12619
8 years ago
Carsten Brandt
e963b2af64
fix ArrayHelper::getValue() to throw exception on invalid input
...
fixes #12927
8 years ago
Carsten Brandt
6d4c61ce16
fixed changelog
8 years ago
Carsten Brandt
9821c589c5
fixed issue with rest\UrlRule extraPatterns
...
url creation did not work when no HTTP verb was specified.
fixes #13200
8 years ago
Alexander Makarov
2f7c1b36b5
Fixes #12419 : Added ability to remove root tag and object tags for `yii\web\XmlResponseFormatter`
8 years ago
SilverFire - Dmitry Naumenko
cfe5202e44
Fixed CHANGELOG merge problems
8 years ago
zalatov
1d5a6d1722
Add is_dir() validation for BaseFileHelper::findFiles().
...
Sometimes it throws exception when file/directory is deleted or moved while executing script.
8 years ago
SilverFire - Dmitry Naumenko
821ba54720
Reordered CHANGELOG
8 years ago
Elvira Sheina
bfba0aa711
Refactor validateAttribute method in UniqueValidator ( #13202 )
...
* Refactor validateAttribute method in UniqueValidator
Extract prepareParams and prepareQuery from validateAttribute,
so they can be tested separately.
* Added issue number to changelog
* Eliminated unneeded variable
* Renamed methods and parameters, update PHPDocs
8 years ago
Alexander Makarov
837b33767c
Fixes #11697 : Added `filterHaving()`, `andFilterHaving()` and `orFilterHaving()` to `yii\db\Query`
...
Signed-off-by: Alexander Makarov <sam@rmcreative.ru>
8 years ago
SilverFire - Dmitry Naumenko
88f2348ed5
Fixed `ActiveRecord::unlinkAll()` to respect `onCondition()`
...
Closes #12213
8 years ago