Commit Graph

1567 Commits

Author SHA1 Message Date
PowerGamer1
0781b02cc3 Fix #18455: Add ability to use separate attributes for data model and filter model of yii\grid\GridView in yii\grid\DataColumn 2021-01-13 11:47:30 +03:00
Bizley
13cda988e7 #18475: Correct conditional configuration of db property 2021-01-13 11:35:50 +03:00
Bizley
684310828b Fix #18464: Fix bug with processing fallback messages when translation language is set to null 2021-01-11 15:18:39 +03:00
Bizley
f544883148 Fix #18472: Fix initializing db component configuration 2021-01-11 14:54:39 +03:00
Valerii Gorbachev
9883b78214 Fix #18448: Fix issues in queries and tests for older MSSQL versions 2020-12-24 17:37:07 +03:00
Valerii Gorbachev
0571e806b9 Fix #18447: Do not use getLastInsertID to get PK from insert query to lower collision probability for concurrent inserts 2020-12-24 14:04:01 +03:00
Isitar
bceba86952 Fix #18414: Fix AssetManager::appendTimestamp() not appending timestamp for website root in sub-directory 2020-12-23 12:57:29 +03:00
Bizley
b8f4958092 Fix #18442: Fix calls with array access to strings 2020-12-23 01:08:58 +03:00
Bizley
02c77da812 Fix #18395: Fix regression in yii\helpers\BaseArrayHelper::filter() (allowing filtering arrays with numeric keys) 2020-12-22 22:35:51 +03:00
Spell6inder
fb35f20f6d Fix #18435: Change the check order whether an object is an implementation of Arrayable or JsonSerializable in \yii\base\ArrayableTrait::toArray() and \yii\rest\Serializer::serialize() 2020-12-21 11:08:09 +03:00
Bizley
ff0fd9a9ea Fix #16492: Fix eager loading Active Record relations when relation key is a subject to a type-casting behavior 2020-12-15 22:56:24 +03:00
Yusup Hambali
771e96d7db Fix #18400: Set parent module of the newly attached child module by Module::setModule() and Module::setModules() 2020-12-15 17:52:30 +03:00
Andriy Borysov
8dc3131435 Add negative timezone in tests for date-only with non-UTC timezone (#18432) 2020-12-12 19:19:50 +03:00
代码之美
6cba80d887 Fix #18339: Fix migrate controller actions to return exit codes
Co-authored-by: Bizley <pawel@positive.codes>
2020-12-09 16:48:39 +03:00
Valerii Gorbachev
7c7c7148f6 Fix #18287: Fix the OUTPUT got SQL syntax error if the column name is MSSQL keyword e.g key 2020-12-09 00:09:11 +03:00
Brandon Kelly
cafe8e315c Fix #18406: Fix PDO exception when committing or rolling back an autocommitted transaction in PHP 8 2020-11-26 23:54:56 +03:00
Wilmer Arambula
8784331022 Fix #18385: Add ci-oracle and fix tests
* Add github action for testing oci8 Oracle.
* Fix CommandTest::testQueryCache.
* Fix tests CommandTest::testBindParamsNonWhere.
* Fix test CommandTest::testInsert.
* Fix test CommanTest::testInsertExpression.
* Fix test CommandTest::testInsertSelectAlias.
* Fix test CommandTest::testBindParamValue.
* Fix tests CommandTest::testBatchInsertDataTypesLocale.
* Fix test CommandTest::testNoTablenameReplacement.
* Fix test CommandTest::testCreateTable.
* Fix test CommandTest::testsInsertQueryAsColumnValue.
* Fix tests CommandTest::testAlterTable.
* Fix test CommandTest::testCreateView.
* Fix test CommandTest::testTransaction.
* Fix test ConnectionTest::testTransactionShortcutCorrect.
* Fix test ConnectionTest::testTransactionShortcutCustom.
* Fix test ConnectionTest::testEnableQueryLog.
* Fix test QueryBuilder::testAddDropDefaultValue.
* Fix test QueryTest::testUnion.
* Fix test QueryTest::testExpressionInFrom.
* Fix test SchemaTest::testFindUniqueIndexes.
* Fix test QueryBuilderTest::testGetColumnType.
* Fix test ActiveRecordTest::testFind.
* Fix test ExistValidatorTest::testExpresionInAttributeColumnName.
* Fix test UniqueValidatorTest::testExpressionInAttributeColumnName.
* Fix ActiveRecordTest testCastValues(), testDefaultValues.
* Fix test UniqueValidatorTest::testValidateAttributeDefault.
* Fix test UniqueValidatorTest::testValidateEmptyAttributeInStringField.
* Fix test UniqueValidatorTest::testValidateEmptyAttributeInIntField.
* Fix test ActiveRecordTest::testBit.
* Fix test ActiveRecordTest::testBooleanAttribute.
* Fix test ActiveRecordTest::testJoinWithAlias.
* Fix test SchemaTest::testColumnSchema.
* Fix test CommandTest:: testBatchInsertSQL.
* Skip CommandTest::testColumnCase.
* Fix test ConnectionTest::testQuoteValue.
* Should be fixed tests conditionsProvider in QueryBuilderTest.
* Fix ActiveRecordTest.php
* Fix test UniqueValidatorTest.
* Fix test QueryBuilderTest::testUpsert.
* Skip SchemaTest::testCompositeFK.
2020-11-23 23:12:01 +03:00
Rober Díaz
6b33ddf441 Fix #18199: Fix content body response on 304 HTTP status code, according to RFC 7232 2020-11-23 23:05:04 +03:00
Sergei Predvoditelev
22d3255890 Fix #18396: Fix not throw InvalidConfigException when failed to instantiate class via DI container in some cases 2020-11-20 18:20:11 +03:00
Rober Díaz
763a2b04ea Fix #18200: Add maxlength attribute by default to the input text when it is an active field within a yii\grid\DataColumn 2020-11-15 22:16:20 +03:00
Sergei Predvoditelev
d633a9188e Fix #18378: Fix not taking default value when unable to resolve abstract class via DI container 2020-11-12 16:42:04 +03:00
Sergei Predvoditelev
bbd9a267d6 Fix #18373: Fix not taking default value when unable to resolve non-exing class via DI container 2020-11-10 23:09:49 +03:00
Bizley
ee0fe97a45 Fix #18370: Add option to provide a string replacement for null value in yii\data\DataFilter 2020-11-10 16:13:21 +03:00
Sergei Predvoditelev
50d5fb2bd9 Fix #18304: Added support of constructor parameters with default values to DI container 2020-11-02 19:44:13 +03:00
Sergei Predvoditelev
23cfb38cea Fix #18285: Enhanced DI container to allow passing parameters by name in constructor 2020-11-01 00:31:27 +03:00
Bizley
840083724e Fix #18351: Added option to change default timezone for parsing formats without time part in yii\validators\DateValidator 2020-10-31 15:59:20 +03:00
rhertogh
ce088e05df Fix #18247: Added support for the 'session.use_strict_mode' ini directive in yii\web\Session 2020-10-31 11:58:34 +03:00
Evgeniy Tkachenko
f8337a15c2 Fix #18263: Fix writing \yii\caching\FileCache files to the same directory when keyPrefix is set 2020-10-24 13:13:19 +03:00
Ivan Sidorov
cd36f505b1 Fix #16831: Fix console Table Widget does not render correctly in combination with ANSI formatting 2020-10-23 22:21:03 +03:00
Alexander Makarov
ed1c087784 Fix #18317: Additional PHP 8 compatibility fixes
Co-authored-by: Bizley <pawel@positive.codes>
2020-10-23 12:42:44 +03:00
杨晶旭
7ff516063d Fix #18160, fix #18192: Fixed registerFile with argument depends set does not use the position and appendTimestamp argument, also modify the unit view 2020-10-11 15:03:12 +03:00
Walid Said
3dabcdb6ab Fix #18313: Fix multipart form data parse with double quotes 2020-10-05 13:08:32 +03:00
Walid Said
3f3003d823 Fix #18303: Fix creating migration issue for column methods used after defaultValues 2020-10-05 01:02:21 +03:00
DarkDef
7a50da5cf8 Fix #18287: Fix for OUTPUT INSERTED and computed columns. Added flag to computed values in table schema 2020-10-04 21:44:18 +03:00
Tobias Munk
88e79d3f8e Fix #18290: Fix response with non-seekable streams 2020-10-02 11:48:02 +03:00
DrDeath72
0210999748 Fix #18308: Fixed \yii\base\Model::getErrorSummary() reverse order 2020-10-02 11:43:30 +03:00
Bizley
67728476ec Fix #16418: Fixed yii\data\Pagination::getLinks() to return links to the first and the last pages regardless of the current page 2020-09-21 00:18:52 +03:00
Bizley
9790ea3a35 Add tests to ensure ActiveQuery is using DB connection set by model (#18286) 2020-09-17 20:07:32 +03:00
Sam
9c838207ce Bug #18245: Make resolving DI references inside of arrays in dependencies optional
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
Co-authored-by: Andrii Vasyliev <sol@hiqdev.com>
2020-09-14 16:15:31 +03:00
Daniel Szabo
973ecda74c Fix #16892: Validation error class was not applied to checkbox and radio when validationStateOn = self::VALIDATION_STATE_ON_INPUT
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
2020-09-11 22:28:10 +03:00
Wilmer Arambula
e5e80ac5ec Fix testGetColumType for PostgreSQL (#18279) 2020-09-11 19:23:00 +03:00
Wilmer Arambula
5558ee793b Fix #18040, fix #15265, fix #18232 database issues (#18225)
- Bug #18040: Display width specification for integer data types was deprecated in MySQL 8.0.19
- Bug #15265: PostgreSQL > 10.0 is not pass tests with default value of timestamp CURRENT_TIMESTAMP
- Bug #18232: Fail tests pgsql v-10.14, v-11.9, v-12-latest
2020-09-10 20:36:04 +03:00
DarkDef
4b2af4d2a4 Bug #13973: Correct alterColumn for MSSQL & drop constraints before drop column
Fixing #11158 and #13973
2020-09-08 12:50:32 +03:00
JesseHines0
db4beebe23 Fix #18213: Do not load fixtures with circular dependencies twice instead of throwing an exception 2020-09-07 15:47:20 +03:00
Maxim Hodyrev
09dc9b70f8 Fix #18066: Fixed yii\db\Query::create() wasn't using all info from withQuery() 2020-09-07 15:45:57 +03:00
Vladislav Pototskiy
e348c0f460 Fix #18269: Fix integer safe attribute to work properly in yii\base\Model 2020-09-07 00:33:50 +03:00
DarkDef
f212925242 Fix #18239: Fix support of no-extension files for FileValidator::validateExtension() 2020-08-19 20:32:15 +03:00
Basil
175a201004 Fix #18236: Allow yii\filters\RateLimiter to accept a closure function for the $user property in order to assign values on runtime 2020-08-19 13:57:45 +03:00
Alex
e49a52f3a1 Fix #18210: Allow strict comparison for multi-select inputs 2020-08-05 15:12:42 +03:00
DarkDef
a624c31698 Fix #18198: Fix saving tables with trigger by outputting inserted data from insert query with usage of temporary table 2020-08-05 09:39:05 +03:00