rossoneri
63ffae028e
Fixes #14254 : add an option to specify whether validator is forced to always use master DB for `yii\validators\UniqueValidator` and `yii\validators\ExistValidator`
7 years ago
SilverFire - Dmitry Naumenko
41cf14e515
Added tests for #14538 , added CHANGELOG line
7 years ago
Aleksandar Belic
b566dd522c
Fixes #15272 : Removed type attribute from script tag
7 years ago
Elvira Sheina
a18ee838fd
Fixes #8092 : ExistValidator for relations
7 years ago
SilverFire - Dmitry Naumenko
44ab0414b6
fixing tests
7 years ago
SilverFire - Dmitry Naumenko
898fbfc6f8
fixed tests
7 years ago
Robert Korulczyk
df91a9608f
Fixes #14638 : Added `yii\db\SchemaBuilderTrait::tinyInteger()`
7 years ago
Nikolay Oleynikov
74dc1cdc30
Fixes #13618 : Active record now resets related models after corresponding attributes updates
...
Co-authored-by: Robert Korulczyk <robert@korulczyk.pl>
7 years ago
Alexander Makarov
5e8fd58ddb
15630 fixed like escaping ( #15642 )
...
* Tests for like escaping.
* Fix for like condition escaping
* Fixed PHPDocs
* Simplify tests
7 years ago
SilverFire - Dmitry Naumenko
1bbd2e1993
Add ExpressionInterface to Query class
7 years ago
SilverFire - Dmitry Naumenko
62d4604269
Added BetweenConditionBuilder
...
Replaces #12678 , Fixes #11611
7 years ago
Alexander Makarov
00c0bb5804
Added test for #15630 ( #15639 )
7 years ago
Alexander Makarov
25f8b263e5
Fixes #14811 : Fixed `yii\filters\HttpCache` to work with PHP 7.2
7 years ago
Brandon Kelly
e6f5c46cdc
Fixes #15633 : Deprecate some things going away/changing in 2.1
...
- Deprecated `yii\base\BaseObject::className()` in favor of native PHP syntax `::class`, which does not trigger autoloading
- Deprecated XCache and Zend data cache support as caching backends
- Deprecated `yii\BaseYii::powered()` method
- Added `yii\base\InvalidArgumentException` and deprecated `yii\base\InvalidParamException`
- Added `yii\BaseYii::debug()` and deprecated `yii\BaseYii::trace()`
7 years ago
SilverFire - Dmitry Naumenko
5bd6ed5684
Fixed issues in accidental merge of unfinished #15398
7 years ago
Alexander Makarov
a23a325ca7
Fixes #15627 : Corrected session freezing/unfreezing not to attempt opening or closing connection if it isn't necessary
7 years ago
Bizley
dbb49b436b
Fixes #15625 : `yii\grid\DataColumn` boolean filter dropdown list values are now in reversed order
7 years ago
Alexander Makarov
64d57043b1
Fixes #11401 : Fixed `yii\web\DbSession` concurrency issues when writing and regenerating IDs
7 years ago
Brandon Kelly
2e55570e1f
Fixes #15621 : Fixed `yii\web\User::getIdentity()` returning `null` if an exception had been thrown when it was called previously
7 years ago
Dmitry Naumenko
de1750228d
Fixes #13879 : Added upsert support for `yii\db\QueryBuilder` and `yii\db\Command`
7 years ago
Alexander
24f4e3126a
Bug #15523 : `yii\web\Session` settings could now be configured after session is started (StalkAlex, rob006, daniel1302, samdark)
...
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
Co-authored-by: Robert Korulczyk <robert@korulczyk.pl>
Co-authored-by: daniel.1302 <daniel.1302@gmail.com>
7 years ago
Vladimir Reznichenko
ecf3ef8bf9
Use root NS specification for opcoded functions
7 years ago
Гордиенко Владислав Юрьевич
7cafa65ad2
Fixes #15216 : Added `yii\web\ErrorHandler::$traceLine` to allow opening file at line clicked in IDE
7 years ago
Alexander Makarov
7bafb7bf09
Fixes #14488 : Added support for X-Forwarded-Host to `yii\web\Request`, fixed `getServerPort()` usage
7 years ago
Zhukov Roman
40b038379f
Fixes #13019 : Support JSON in SchemaBuilderTrait
7 years ago
Nikolay Oleynikov
37bd97ad9a
Fixes #13679 : Added `yii\behaviors\CacheableWidgetBehavior`
7 years ago
Mikk Tendermann
5550ad2021
Fixes #15595 : `yii\data\DataFilter` can now handle `lt`,`gt`,`lte` and `gte` on `yii\validators\DateValidator`
7 years ago
Alexander Makarov
c7e55450dd
Reverted #14593
...
(reverted from commit a42bbd8f01
)
7 years ago
Tobias Munk
b9fc1f3ca6
Build image in dockerized tests with BUILD_ARG ( #15559 )
...
* added build argument for Yii 2.0 PHP base image version
- streamlined build
- dropped network config for CI
- updated local test script
* added default for PHP (7.2) image on GitLab CI
* use PHP 7.1 as a default on GitLab CI, see https://github.com/yiisoft/yii2/issues/15512
7 years ago
Alexander Makarov
a42bbd8f01
Fixes #14593 : Added `yii\db\Command::EVENT_AFTER_EXECUTE` event that is triggered after command is executed
7 years ago
Dmitry Naumenko
d16586334d
Fixes #7640 : Implemented custom data types support. Added JSON support for MySQL and PostgreSQL, array support for PostgreSQL
7 years ago
wapmorgan
5afe0a0d36
Fixes #15047 : `yii\db\Query::select()` and `yii\db\Query::addSelect()` now check for duplicate column names
7 years ago
Bizley
8b74e29663
Fixes #14296 : Fixed log targets to throw exception in case log can not be properly exported
7 years ago
Alexander Makarov
61b47014a2
Fixes #14643 : Added `yii\web\ErrorAction::$layout` property to conveniently set layout from error action config
...
Co-authored-by: Stas So <etc@swods.ru>
Co-authored-by: Carsten Brandt <mail@cebe.cc>
7 years ago
Alexander Makarov
17186b24c1
Fixed test
7 years ago
Alexander Makarov
b979b2aa88
Fixes #15355 : Additional test and fix
7 years ago
Arsen
16e63f6de2
Fixes #13465 : Added `yii\helpers\FileHelper::findDirectory()` method
7 years ago
Alexander Makarov
8a155701c2
Fixed test class name
7 years ago
Alexander Makarov
63fdd26b7e
Fixes #8527 : Added `yii\i18n\Locale` component having `getCurrencySymbol()` method
...
Co-authored-by: Anton Gubarev <a.p.gubarev@gmail.com>
7 years ago
Leandro Gehlen
810e9e5337
Fixes #14546 : Added `dataDirectory` property into `BaseActiveFixture`
7 years ago
Гордиенко Владислав Юрьевич
1a1fb49426
Fixes #15522 : Fixed `yii\db\ActiveRecord::refresh()` method does not use an alias in the condition
7 years ago
Alexander Makarov
b3130be7ba
Fixes #15476 : Added `\yii\widgets\ActiveForm::$validationStateOn` to be able to specify where to add class for invalid fields
7 years ago
Elvira Sheina
06ebd3faa7
Fixes #13034 : Fixed `normalizePath` for windows network shares that start with two backslashes
7 years ago
Vladimir Reznichenko
67f67e3a69
SCA with Php Inspections (EA Extended) ( #15571 )
7 years ago
E.Alamo
e07219c812
Fixes #13996 : Added `yii\web\View::registerJsVar()` method that allows registering JavaScript variables
7 years ago
Elvira Sheina
eb57d4191c
Fixes #15553 : Fixed `yii\validators\NumberValidator` incorrectly validate resource
7 years ago
Hanafi Ahmat
4f7b410230
Fixes #9771 : Assign hidden input with its own set of HTML options via `$hiddenOptions` in activeFileInput `$options`
7 years ago
Alone
08eccb612f
Fixes #15536 : Fixed `yii\widgets\ActiveForm::init()` for call `parent::init()`
7 years ago
Klimov Paul
71c541773f
PHPDoc fix
7 years ago
Klimov Paul
65f6b59b35
`@inheritdoc` notation changed
7 years ago