6d2f0837fc
improved memory assertation
2016-03-20 18:41:00 +01:00
c73b116ba5
batch query result test for pgsql and sqlite
2016-03-20 18:21:10 +01:00
0a88d4b0b7
[WIP] added batch query test for big table
2016-03-15 01:37:23 +01:00
7229b3aa7d
QueryBuilder::buildAndCondition() - added Expression value extraction
...
Updated CHANGELOG
Added test case for param binding in `or` condition
Closes #11093
2016-03-13 19:22:32 +02:00
2bd14098f9
Fix Expression parameter binding in 'And' clause
2016-03-13 19:19:48 +02:00
976b9fe357
Updated ArrayHelperTest to test exceptions of ArrayHelper::isIn()
and ::isSubset()
2016-03-10 16:39:21 +02:00
6066b63c6e
UrlManagerTest
fixed
2016-03-09 10:37:13 +02:00
8e1ab29592
Changelog updated
2016-03-09 00:01:53 +02:00
c4e782725c
Fixed cache key collision in yii\web\UrlManager::createUrl()
...
Closes #10935
2016-03-09 00:01:31 +02:00
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
2016-03-08 15:12:08 +02:00
77599dc179
fixes #11040 : make copyDirectory method work correctly with parameter 'recursive'
2016-03-08 00:45:52 +06:00
b2f16df9dc
Fixed file header comment
2016-03-04 16:04:01 +03:00
857eee2451
Merge pull request #10870 from pana1990/10840-add-shorcuts-console
...
WIP #10840
2016-03-04 13:53:28 +02:00
1ce21cd927
WIP #10840 : rename key 'alias' to '_aliases'
2016-02-27 23:26:34 +01:00
9b94dbfe38
Merge remote-tracking branch 'upstream/master' into 10969-fix-migration
2016-02-26 15:58:17 +01:00
03cb361a59
Fixed #10969 : add more tests
2016-02-26 15:57:41 +01:00
779b1e90ce
yii\validators\DateValidator
skip validation for timestampAttribute
, if it is already in correct format
2016-02-26 15:02:22 +02:00
921b102961
Fixed #10969 : generator migration tool not works with decimal params in column
2016-02-26 03:34:03 +01:00
8db7df9352
replace all occurrences of migration class
2016-02-26 10:04:24 +10:00
645e78e832
fixed message formatter for input where no parameters are provided
...
fixes #10884
2016-02-25 19:39:52 +01:00
5880968d45
added unit test for #10946
2016-02-25 18:21:56 +01:00
4dc771d0a0
Fixed DbSessionTest
2016-02-25 12:35:16 +02:00
1e1baec6e6
Reverted c478199
2016-02-25 12:14:22 +02:00
b641cb7dea
Updated ArrayHelperTest::testIsTraversable()
2016-02-25 12:02:48 +02:00
c478199937
Added property yii\web\DbSession::encodeData
to encode/decode session data in base64 on session read/write
...
Closes #6173
2016-02-25 00:17:26 +02:00
16a6af5fa8
Add helper function for checking if an object is an array-like object.
...
Added support for traversable objects in `BaseHtml` and `ArrayHelper`
2016-02-24 23:49:05 +02:00
d66659e329
ArrayHelperTest - groupBy tests moved to a separate method
2016-02-24 23:08:59 +02:00
54c0d9a31c
Merge branch 'helper_indexbydimensions' of https://github.com/quantum13/yii2 into quantum13-helper_indexbydimensions
2016-02-24 21:35:51 +02:00
66c6268e5f
FileValidator: updated guide-ru,en, PHP; updated tests
2016-02-24 09:05:29 +02:00
a4c68b5278
#5469 added mimetype mask validation feature
2016-02-24 00:40:34 +02:00
2d74a8da41
added test for DetailView related attribute
...
issue #10923
2016-02-22 09:50:32 +01:00
6c5c2ff64f
added test for AccessRule class
...
related to #10898
2016-02-19 17:04:35 +01:00
187c314d01
better fix for test break b9880f32474bf30bd7662ee7f3465a0e58a2be2b
2016-02-17 14:27:10 +01:00
4e4fb02264
Fixed QueryBuilterTest for PgSQL
2016-02-17 07:42:04 +02:00
26ff223855
WIP #10840 : add display shorcuts in help command
2016-02-16 22:56:29 +01:00
edfdb54430
WIP #10840 : rename shortCuts() to optionAliases()
2016-02-16 22:35:40 +01:00
b9880f3247
added test for custom index hints in FROM and JOIN
...
close #10869
2016-02-16 21:24:00 +01:00
a0a44c382a
WIP #10840
2016-02-16 15:47:28 +01:00
af5f5d0e3e
Fixes #9851 : Fixed partial commit / rollback in nested transactions
2016-02-15 23:32:32 +03:00
7b46bd1f7c
Fixes #10451 : Check of existence of $_SERVER
in \yii\web\Request
before using it
2016-02-15 23:22:45 +03:00
3bf3c20710
Merge remote-tracking branch 'upstream/master' into 10764-enh-options-tag
...
# Conflicts:
# framework/CHANGELOG.md
2016-02-15 17:37:40 +01:00
ef8b0a2be0
parameter dimensions in ArrayHelper::index
2016-02-15 17:47:44 +10:00
624be05be0
Updated TimestampBehaviorTest to test the callable in array format as value
2016-02-13 12:39:05 +02:00
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
2016-02-12 17:29:18 +01:00
31bd0e392b
Merge pull request #10828 from yiisoft/activequery-alias2
...
Activequery::joinWith() alias
2016-02-12 14:30:05 +01:00
4f4a661061
fixed test break when formatter is loaded before intl magic
2016-02-12 14:00:53 +01:00
ce35739469
joinWith implementation cleanup
2016-02-12 12:45:29 +01:00
3f8df39f45
more tests for joinWith alias
...
also test on joining the same relation twice
2016-02-12 12:35:29 +01:00
94571e2c23
improved tests for ActiveQuery::joinWith alias
2016-02-12 12:35:29 +01:00
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.
2016-02-12 12:35:28 +01:00