Dmitry Khlystov
7eff23886c
Fixes #10726 : Added `yii\rbac\ManagerInterface::canAddChild()`
9 years ago
SilverFire - Dmitry Naumenko
7229b3aa7d
QueryBuilder::buildAndCondition() - added Expression value extraction
...
Updated CHANGELOG
Added test case for param binding in `or` condition
Closes #11093
9 years ago
CedricYii
2bd14098f9
Fix Expression parameter binding in 'And' clause
9 years ago
SilverFire - Dmitry Naumenko
976b9fe357
Updated ArrayHelperTest to test exceptions of `ArrayHelper::isIn()` and `::isSubset()`
9 years ago
Klimov Paul
6066b63c6e
`UrlManagerTest` fixed
9 years ago
SilverFire - Dmitry Naumenko
8e1ab29592
Changelog updated
9 years ago
Sam Mousa
c4e782725c
Fixed cache key collision in `yii\web\UrlManager::createUrl()`
...
Closes #10935
9 years ago
Robbert Jan van de Velde
c7f365910d
Fixed handling of intervals of 0 seconds in yii\i18n\Formatter::asDuration().
...
Added unit tests for handling 0 second intervals and numeric values for yii\i18n\Formatter::asDuration().
Closes #11038
9 years ago
Ni-san
77599dc179
fixes #11040 : make copyDirectory method work correctly with parameter 'recursive'
9 years ago
Alexander Makarov
b2f16df9dc
Fixed file header comment
9 years ago
Daniel Gomez Pan
1ce21cd927
WIP #10840 : rename key 'alias' to '_aliases'
9 years ago
Daniel Gomez Pan
03cb361a59
Fixed #10969 : add more tests
9 years ago
Klimov Paul
779b1e90ce
`yii\validators\DateValidator` skip validation for `timestampAttribute`, if it is already in correct format
9 years ago
Daniel Gomez Pan
921b102961
Fixed #10969 : generator migration tool not works with decimal params in column
9 years ago
Vladimir Khramov
8db7df9352
replace all occurrences of migration class
9 years ago
Carsten Brandt
645e78e832
fixed message formatter for input where no parameters are provided
...
fixes #10884
9 years ago
Carsten Brandt
5880968d45
added unit test for #10946
9 years ago
SilverFire - Dmitry Naumenko
4dc771d0a0
Fixed DbSessionTest
9 years ago
SilverFire - Dmitry Naumenko
1e1baec6e6
Reverted c478199
9 years ago
SilverFire - Dmitry Naumenko
b641cb7dea
Updated ArrayHelperTest::testIsTraversable()
9 years ago
SilverFire - Dmitry Naumenko
c478199937
Added property `yii\web\DbSession::encodeData` to encode/decode session data in base64 on session read/write
...
Closes #6173
9 years ago
Sam Mousa
16a6af5fa8
Add helper function for checking if an object is an array-like object.
...
Added support for traversable objects in `BaseHtml` and `ArrayHelper`
9 years ago
SilverFire - Dmitry Naumenko
d66659e329
ArrayHelperTest - groupBy tests moved to a separate method
9 years ago
SilverFire - Dmitry Naumenko
66c6268e5f
FileValidator: updated guide-ru,en, PHP; updated tests
9 years ago
kirSeNN
a4c68b5278
#5469 added mimetype mask validation feature
9 years ago
Carsten Brandt
2d74a8da41
added test for DetailView related attribute
...
issue #10923
9 years ago
Carsten Brandt
6c5c2ff64f
added test for AccessRule class
...
related to #10898
9 years ago
Carsten Brandt
187c314d01
better fix for test break b9880f3247
9 years ago
SilverFire - Dmitry Naumenko
4e4fb02264
Fixed QueryBuilterTest for PgSQL
9 years ago
Daniel Gomez Pan
26ff223855
WIP #10840 : add display shorcuts in help command
9 years ago
Daniel Gomez Pan
edfdb54430
WIP #10840 : rename shortCuts() to optionAliases()
9 years ago
Carsten Brandt
b9880f3247
added test for custom index hints in FROM and JOIN
...
close #10869
9 years ago
Daniel Gomez Pan
a0a44c382a
WIP #10840
9 years ago
Sam Mousa
af5f5d0e3e
Fixes #9851 : Fixed partial commit / rollback in nested transactions
9 years ago
quantum
7b46bd1f7c
Fixes #10451 : Check of existence of `$_SERVER` in `\yii\web\Request` before using it
9 years ago
Vladimir Khramov
ef8b0a2be0
parameter dimensions in ArrayHelper::index
9 years ago
SilverFire - Dmitry Naumenko
624be05be0
Updated TimestampBehaviorTest to test the callable in array format as value
9 years ago
Sam Mousa
8ea4c660da
Several improvements to DI container
...
- Refactored invoke into separate resolve method (reusability)
- Added support for associative params array
- Added PHPUnit group doc to DI tests.
- Improved the tests for better coverage, and fixed a bug discovered by the new tests.
close #10811
9 years ago
Carsten Brandt
4f4a661061
fixed test break when formatter is loaded before intl magic
9 years ago
Carsten Brandt
ce35739469
joinWith implementation cleanup
9 years ago
Carsten Brandt
3f8df39f45
more tests for joinWith alias
...
also test on joining the same relation twice
9 years ago
Carsten Brandt
94571e2c23
improved tests for ActiveQuery::joinWith alias
9 years ago
Carsten Brandt
5f19e7aa41
Added Alias Syntax for joinWith()
...
Add alias syntax to joinWith(), e.g. joinWith('author a').
No need to know the table name for defining an alias for the relation.
fixes #2377 , alternative to #8788 , which allows later implementation of
getting alias and column name ambiguation.
depends on #10813 to be merged first.
9 years ago
Carsten Brandt
157d6c79cc
fixes #4972 by adding and `alias()` to `ActiveQuery`
...
allows defining an alias without knowing the model table name.
9 years ago
Klimov Paul
d22a3a0a07
Fixed `yii\validators\EachValidator` does not respect `skipOnEmpty` rule parameter
9 years ago
nainoon
076329bfba
add test for join with alias
...
close #8788
9 years ago
Klimov Paul
e4f71eef69
`CheckboxColumnTest` location fixed
9 years ago
boehsermoe
22dceedabb
Fixed DetailView for arrayable models
...
The toArray() function return [attribute => value] but there is need a list of attribute names.
UnitTest for the DetailView arrayable models
close #10760
9 years ago
SilverFire - Dmitry Naumenko
ef413d0337
AuthTest::testActive - fixed test case
9 years ago
Daniel Gomez Pan
295bb3e173
WIP #10764 : adjusted Html::beginTag and Html::endTag methods to be consistent
9 years ago