Robert Korulczyk
8142de23d4
Improve normalizer for URL manager
8 years ago
Cronfy
a7f63b6da3
Add normalizer for URL manager.
8 years ago
Klimov Paul
75439d367d
Fixed `canGetProperty()` and `canSetProperty()` returns `false` for `yii\db\BaseActiveRecord` attributes
8 years ago
Klimov Paul
cd8c01f555
Fixed `yii\rest\Serializer::serialize()` serializes DataProvider incorrectly, if models keys do not compose integer sequence
8 years ago
Carsten Brandt
469c0548b6
fixed formatter to respect grouping separator for currency format
...
fixes #12331
8 years ago
Dmitriy Makarov
2d9b659777
Fixes #12296 : Added value validation to `yii\log\Target::setLevels()`
8 years ago
Dmitriy Makarov
d4536fe645
Added Target test of the following methods: ( #12294 )
...
- getLevels()
- setLevels()
8 years ago
SilverFire - Dmitry Naumenko
623f30324d
Added tests for ActiveField::hint(), fixed code formatting
8 years ago
Dmitriy Makarov
8b49164f72
Added BaseYiiTest tests of the following methods: ( #12235 )
...
- BaseYii::info()
- BaseYii::warning()
- BaseYii::trace()
- BaseYii::error()
- BaseYii::beginProfile()
- BaseYii::endProfile()
8 years ago
Klimov Paul
3e3c4b12ef
unit test `BaseYiiTest::testSetupLogger()` improved
8 years ago
Dmitriy Makarov
cb6e5dcc61
Added BaseYii test for the setLogger() method ( #12187 )
...
Added BaseYii test for the setLogger() method
8 years ago
Dmitriy Makarov
dc8f6e8195
Added EmailTarget tests of the following methods: ( #12150 )
...
- init()
- export()
8 years ago
Nikola Kovacs
84124bec4f
Fix grammar in migration template docblocks. ( #12148 )
...
Fix typo in test file's name.
8 years ago
Klimov Paul
143f9070af
Fixed `yii\db\BaseActiveRecord::updateAttributes()` change `isNewRecord` state for the new model
8 years ago
Dmitriy Makarov
81479ff085
Added Dispatcher tests of the following methods: ( #12127 )
...
* Added Dispatcher tests of the following methods:
- getTraceLevel()
- setTraceLevel()
- getFlushInterval()
- setFlushInterval()
- dispatch()
- init()
* [Fix] Added the 'mocking' flag
8 years ago
Sergey Makinen
afc298c6ef
Fixed HttpCache was sending an empty Pragma header ( #12100 ) ( #12123 )
8 years ago
Sergey Makinen
bbbb98626f
HttpCache no longer returns 304 HTTP code when callbacks return null ( #12099 )
8 years ago
Carsten Brandt
ef0658726f
Revert "Revert "fixed mysql defaul integer display width on unsigned pk""
...
This reverts commit 144d78ebb4
.
fixes #11541
8 years ago
Dmitriy Makarov
552ad141b6
Added SyslogTarget tests of the following methods: ( #12093 )
...
- export
- formatMessage
8 years ago
Carsten Brandt
10806a65a4
validate input in REST serializer
...
fixes #12107
8 years ago
Carsten Brandt
144d78ebb4
Revert "fixed mysql defaul integer display width on unsigned pk"
...
This reverts commit 85d89e4893
because it
is a breaking change. see #11541
8 years ago
Carsten Brandt
85d89e4893
fixed mysql defaul integer display width on unsigned pk
...
fixes #11541
8 years ago
SilverFire - Dmitry Naumenko
3fcc26996b
Fixed #11973 : `yii\helpers\BaseHtml::getAttributeValue()` fixed to work with `items[]` notation correctly
8 years ago
Paul Klimov
a53c1f9525
Added `yii\behaviors\AttributeTypecastBehavior` ( #12067 )
...
Added `yii\behaviors\AttributeTypecastBehavior`
8 years ago
Dmitriy Makarov
5d09f32b3b
Added logger tests of the following methods: ( #12083 )
...
- getDbProfiling()
- calculateTimings()
- getElapsedTime()
- getLevelName()
- getProfiling()
8 years ago
Alexander Makarov
01c4dde202
Added tests for column schema builder comment() method
8 years ago
Dmitriy Makarov
dc4a4b456c
Test for logger, flush method ( #12041 )
...
* Added test for logger, flush method
- testFlushWithoutDispatcher
- testFlushWitDispatcherAndDefaultParam
- testFlushWitDispatcherAndDefinedParam
* Used 'yii\\log\\Dispatcher' instead of Dispatcher::class as parameter for the getMock method
8 years ago
Robert Korulczyk
993f2aef28
Fixes #11275 : Added possibility of unset or force replace former value in `ArrayHelper::merge()`
8 years ago
Klimov Paul
acfe21b400
Fixed `yii\helpers\Json::encode()` encodes empty array returned by `JsonSerializable::jsonSerialize()` as object
8 years ago
Dmitriy Makarov
b2b2cb2ada
Added more tests for logger ( #12034 )
...
- testLogWithTraceLavel
- testLogWithFlush
8 years ago
Klimov Paul
8de6a5117c
Fixed `yii\base\Model::offsetExists()` throws an exception on un-existing field
8 years ago
Daniel Gómez Pan
83496853c8
Fixes #11461 : Fixed migration tool error when create migrate with comma in defaultValue
8 years ago
Egor Verbitskiy
2fbd55b634
Fixes #11949 : Fixed `ActiveField::end` generates close tag when it's `option['tag']` is null
8 years ago
Evgeniy
ad796dbf22
#11912 : Postgresql negative default values support for integer/float/decimal columns ( #11933 )
...
* fixes #11912 : Postgresql negative default values support for integer/float/decimal columns
* added more tests
* updated CHANGELOG.md
8 years ago
Carsten Brandt
bda42b68ce
fixed yii\di\Instance documentation
...
fixes #11637
8 years ago
Carsten Brandt
7076b38ea9
added a test for #11925
8 years ago
Angel Guevara
8c240ed067
Fixes #11683 : Fixed fixture command to work with short syntax. `yii fixture "*, -User"` should be used instead of `yii fixture "*" -User`
8 years ago
Carsten Brandt
326cdfeb52
added test for #11256
8 years ago
Carsten Brandt
d2dd232b6f
message improvement and test for #11323
8 years ago
Carsten Brandt
7fb447506d
fix mixed case column names for unique indexes in postgres
...
fixes #10613
8 years ago
Laszlovl
0f640c7138
Make sure inverseOf relations are also populated during dynamic relational queries
...
Refs #6347
8 years ago
stevekr
8ca845b680
Fixes #11212 : Added headers to PO file in `yii\i18n\GettextPoFile::save()`
8 years ago
Carsten Brandt
a46e88dea5
fixed inverseof test assertation
...
fixed wrong test to actually test what it should.
current assertation is a duplicate.
thanks to @laszlovl for spotting it.
pr #8497
8 years ago
Carsten Brandt
07d3217706
added test for negative date formatter values
...
test for #9628
8 years ago
Carsten Brandt
062895111f
fixed php 7.1 test breaks that depend on ICU data version
8 years ago
Robert Korulczyk
5992eea571
Fixes #11808 : `_table` and `_column` suffixes are now required when generating migration
8 years ago
Carsten Brandt
b0bb8649a3
HHVM compatible fix for messageformatter error
...
fixes #11528
8 years ago
Carsten Brandt
91f1ac1d99
fixed exception on malformed message in Messageformatter
...
this exception is thrown since PHP7
fix is compatible with older versions.
close #11644
fixes #11528
8 years ago
Kostas Thermos
d219b17e65
Test for MessageFormatter with broken pattern
...
close #11644
8 years ago
Carsten Brandt
d9122a74a9
improved tests and docs for #11857
8 years ago