Klimov Paul
c73de31a90
Fixed `yii\web\MultipartFormDataParser` adds an extra newline to every value
8 years ago
Robert Korulczyk
507cc52658
Allow omit default params on URL creation
...
Fixes #10970
8 years ago
Elvira Sheina
b82caa97e8
Fixes #7820 : Add `or` relation for `targetAttribute` in `yii\validators\UniqueValidator`
8 years ago
SilverFire - Dmitry Naumenko
3d549374bf
Added BlameableBehaviorTest
8 years ago
Tobias Munk
f5ab85c393
updated debug settings (+56 squashed commits)
...
Squashed commits:
[c42f30c] updated base image, added docs & local test script
[88f0c40] debug
[6220c94] fixed network isolation
[c63c7c3] test mssql only on test/mssql branch
[74efc78] fixed isolation in after_script
[02b895b] updated test setup
[3335f39] updated retry
[bd123b2] updated service checks
[45e4c90] updated build
[d54da7a] updated after_script
[5a4c726] 🏭 wait for mysql
[08db878] fixed typo
[ea53c1e] updated build stages
[9807ce3] fixed typos
[cf9f64e] fixed mssql testing
[08001d6] added db create for mssql
[62f6b65] run travis (gitlab simulation) only in travis branch
[cf63da4] streamlined build
[76808ac] updated test jobs
[18d79b5] fixed test error
[7b2bce6] updated build & composer.lock
[244623a] updated build
[86bd71b] fixed cleanup
[86ab2e8] fixed cleanup
[091d4b8] fixed tests
[2d315b5] fixed build config
[2913644] fixed project names
[f53b823] refactored build config
[5a791fb] refactored docker db-tests
[b4479b0] revert
[a975fa5] updated gitlab build
[4e4e5e4] updated mssql setup
[d6ff03b] added sleep workaround
[578b102] removed host volumes in test
[928f50b] fixed path
[967ab10] updated tests
[520f317] bootstrap cubrid
[5f245e1] 🏭 fixed cubrid tests
[940dbbc] 🏭 pinned cubrid version 9.3.6.0002
[8d5ea69] 📝 dockerized test commands
[9954b54] updated cubrid
[fb3afac] updated docs
[3f63ced] updated isolation
[bdc3c83] 🏭 build cubrid
[b777911] 🏭 disabled mssql, updated cubrid
[36534e7] added travis-a-like stage
[6546f02] updated GitLab build
[c046096] updated test setup
- added mssql and cubrid stack
[5a0e635] disabled host-volume
[75cf342] fixed test
[8de0794] fixed testing
[465d27a] added stages
[63aa950] added script
[68eecef] fixed typo
[00e4b88] updated Docker build
[f9072cc] added dockerized test setup
8 years ago
João Pedro Pereira
3692941ead
Fixes #11464 : Foreign key name is not provided by schema
8 years ago
Klimov Paul
d4ac47abe7
Added `yii\validators\EachValidator::$stopOnFirstError` allowing addition of more than one error
8 years ago
Klimov Paul
b93856cdfd
Unit test for `yii\caching\DbDependency` added
8 years ago
Klimov Paul
3946ac0dab
Added `yii\widgets\InputWidget::$field` field, allowing access to the related `yii\widget\ActiveField` instance
8 years ago
Robert Korulczyk
6d277ddafb
Tests for create URLs with multiple domain rules. ( #13351 )
8 years ago
a.kompaniets
50f3012f68
fixed currency format with custom decimal fraction
...
fixes #12345
close #12648
8 years ago
Carsten Brandt
a51dadc866
added test for #12345
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
f6b9aac0bf
Ehanced `yii\web\ErrorAction` test coverage
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
178d319556
Added Cache::getOrSet()
8 years ago
Carsten Brandt
96ee5c373e
added more tests for SwiftMailer vulnerability CVE-2016-10074
...
https://legalhackers.com/advisories/SwiftMailer-Exploit-Remote-Code-Exec-CVE-2016-10074-Vuln.html
8 years ago
SilverFire - Dmitry Naumenko
6af2a43390
Added EmailValidatorTest to prove CVE-2016-10074 does not affect EmailValidator
8 years ago
Alexander Makarov
c33583aede
Fixed naming for #13214 as suggested by Paul
8 years ago
Klimov Paul
6211f9c030
`MigrateControllerTestTrait` fix for HHVM
8 years ago
Klimov Paul
194577c55e
Code style fix
8 years ago
kidol
3ea5b97585
Fix existing test
8 years ago
Carsten Brandt
c4857176ac
added test for ArrayHelper::multisort() with closure key
...
related to #13248
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
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
SilverFire - Dmitry Naumenko
24dae19fc8
ListView: PHPDocs and tests enhanced
8 years ago
SilverFire - Dmitry Naumenko
cdabb660d6
Refactored ListView::beforeItem, ::afterItem. Added Unit tests.
8 years ago
SilverFire - Dmitry Naumenko
df733d1bbe
Fixed QueryBuilderTest
8 years ago
SilverFire - Dmitry Naumenko
2f8225a244
Fixed QueryBuilderTest to work with PgSQL and other DBMS
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
SilverFire - Dmitry Naumenko
54c7e0c434
Added tests for QueryBuilder::batchInsert()
8 years ago
Robert Korulczyk
08054bba6d
Fix tests. ( #13227 )
8 years ago
Ni-san
5795b3937e
Added rbac\BaseManager::hasNoAssignments()
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
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
e963b2af64
fix ArrayHelper::getValue() to throw exception on invalid input
...
fixes #12927
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
e83624df9e
Closes #11418 : Added test for #11418
8 years ago
SilverFire - Dmitry Naumenko
11c58549d4
Fixed FileHelperTest::testFindFilesRecursiveWithSymLink()
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
9a45b70adf
Updated FileHelperTest
8 years ago
Alexander Makarov
b78d6367ba
Removed duplicate assertion from tests, divided test method into two
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
Carsten Brandt
01997441cc
added tests for rest\UrlRule::createUrl()
...
verify issue #13200
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