68 Commits (5b0c163c59aa7d07d620269658496ac2955e39ea)

Author SHA1 Message Date
Andrey Akimov 2a3428c9e9 Fixes #15875: afterSave for new models flushes unsaved data 7 years ago
Carsten Brandt 0af1c05d6a
`yii\db\ActiveRecord::findOne()` now accepts column names prefixed with table name 7 years ago
SilverFire - Dmitry Naumenko b37f361ad7
Fixed possible SQL injection through `ActiveRecord::findOne()` 7 years ago
Carsten Brandt 52c80f782d
moved SQL specific test to SQL AR 7 years ago
SilverFire - Dmitry Naumenko 23b41220ce
Fixed ActiveRecordTest::testCustomARRelation() to work on PHP <5.5 7 years ago
Elvira Sheina ef9600234e Fix magic getter for ActiveRecord (#15696) 7 years ago
SilverFire - Dmitry Naumenko 7bd694dccb
Enhanced tests 7 years ago
Nikolay Oleynikov 74dc1cdc30 Fixes #13618: Active record now resets related models after corresponding attributes updates 7 years ago
Zhukov Roman 40b038379f Fixes #13019: Support JSON in SchemaBuilderTrait 7 years ago
Vladimir Reznichenko 67f67e3a69 SCA with Php Inspections (EA Extended) (#15571) 7 years ago
Klimov Paul 71c541773f PHPDoc fix 7 years ago
Klimov Paul 65f6b59b35 `@inheritdoc` notation changed 7 years ago
Klimov Paul b9cbc56330 Fixed `yii\db\ActiveRecord::with()` unable to use relation defined via attached behavior in case `asArray` is enabled 7 years ago
Alexander Makarov fb23b0d0ea
Code style fixes 7 years ago
Paul Klimov d68789a195 Fixes #13779, fixes #5786 7 years ago
Robert Korulczyk 5a8c3d537b Enable `phpdoc_summary` rule in php-cs-fixer config (#14675) 7 years ago
Robert Korulczyk 0c0942d6e2 Enable `phpdoc_add_missing_param_annotation` rule in php-cs-fixer config. (#14681) [skip ci] 7 years ago
Robert Korulczyk b99e955627 Fix CS (#14665) 7 years ago
Carsten Brandt c9347b0a57 Fixed ambiguous column error on indexBy with JOIN 7 years ago
Carsten Brandt 173108b5b0 Move getTablesUsedInFrom() from ActiveQuery to Query 7 years ago
Carsten Brandt 0559a95db9 Fixed ambiguous column error in `BaseActiveRecord::refresh()` 7 years ago
Robert Korulczyk d2781cd232 Added configuration for headers in PHP files generated by `message/extract` command (#14417) 7 years ago
Carsten Brandt f212bc6caf ensure tablenames are not replaced in insert and update 7 years ago
Robert Korulczyk ba0ab403b5 Added php-cs-fixer coding standards validation to Travis CI (#14100) 7 years ago
Robert Korulczyk 31e321b9b2 Remove unused imports. (#14096) 8 years ago
Klimov Paul d8e6a89af9 fixed tests without assettions 8 years ago
Klimov Paul dee88787fc compatibility with PHPUnit 6.x added 8 years ago
Sam Mousa 5675ed818d
Fixed tests 8 years ago
Sam Mousa 7ab2a1efa8
Fixed test 8 years ago
Sam Mousa e0e07c9c1b
Added test for indexing by related fields. 8 years ago
usix298 13c2f5370f Fixed formatting in tests [skip ci] 8 years ago
Alexander Makarov 3f8e8a89eb Used more specific unit test assertions in framework tests 8 years ago
gagatust 6397791513 Fixed whitespaces to match code style [skip ci] 8 years ago
Nikolay Oleynikov 323568c2e9 Remove trailing spaces from sources and tests (#13621) [skip ci] 8 years ago
SilverFire - Dmitry Naumenko 88f2348ed5
Fixed `ActiveRecord::unlinkAll()` to respect `onCondition()` 8 years ago
Klimov Paul 50b668eee8 redundant code removed 8 years ago
Klimov Paul c17766181f Added `QueryInterface::emulateExecution()` 8 years ago
p.chapl 3e1588b5b9 Added unit tests for #9561 8 years ago
SilverFire - Dmitry Naumenko 8eaf4e2ffe #12544 - Added mote test cases for `AssetBundleTest::testRegisterFileAppendTimestamp()` 8 years ago
Klimov Paul ea03f56d42 `BaseActiveRecord` methods `canGetProperty()` and `canSetProperty()` improved to handle attribute list fetching failure. 8 years ago
Klimov Paul 75439d367d Fixed `canGetProperty()` and `canSetProperty()` returns `false` for `yii\db\BaseActiveRecord` attributes 8 years ago
Klimov Paul 143f9070af Fixed `yii\db\BaseActiveRecord::updateAttributes()` change `isNewRecord` state for the new model 8 years ago
Laszlovl 0f640c7138 Make sure inverseOf relations are also populated during dynamic relational queries 8 years ago
Carsten Brandt a46e88dea5 fixed inverseof test assertation 8 years ago
Carsten Brandt 8ba032d147 refactored database tests 8 years ago
Carsten Brandt 4411a74ebd proper fix for #9425, adjust changes from #11363 9 years ago
Carsten Brandt 37d2373911 added tests for #9047 9 years ago
Carsten Brandt fd68e6814e added failing test for #11088 9 years ago
Ivaylo Ushev 5921865459 Fixed: #11270 - Error when link record in one to many relation. (#11301) 9 years ago
Carsten Brandt ce35739469 joinWith implementation cleanup 9 years ago