Commit Graph

1067 Commits

Author SHA1 Message Date
Dirk Adler
3dd8a039be Adds mongodb test for combination conditions 2014-03-28 10:01:18 +01:00
Carsten Brandt
093f5ebd32 ensure log dispatcher gets registered with logger in all cases
fixes #2894
2014-03-27 15:05:16 +01:00
Carsten Brandt
46d9518c52 fixed test break, fixes #2892 2014-03-27 13:34:03 +01:00
Alexander Makarov
372220450b Merge branch 'master' 2014-03-27 12:56:01 +04:00
Alexander Makarov
3c1a8141fd fixes #2002 2014-03-27 12:41:16 +04:00
Qiang Xue
f7edebb295 Fixed test break. 2014-03-26 22:06:12 -04:00
Qiang Xue
636042b9b3 Fixed test break. 2014-03-26 16:16:39 -04:00
Qiang Xue
39667aa6b7 Fixed activequery select issue. 2014-03-26 15:51:10 -04:00
Qiang Xue
bc378d1cae properly quote table names for join(). 2014-03-26 15:02:56 -04:00
Qiang Xue
21bc29560c Fixed test break. 2014-03-26 12:50:58 -04:00
Qiang Xue
78136d4278 Fixes #2880: filterByModels() should prefix key columns in a join query. 2014-03-26 11:19:01 -04:00
Alexander Makarov
19327ebd14 Added tests for Query::filter() 2014-03-26 17:09:16 +04:00
Qiang Xue
c956ffb75d fixed test break. 2014-03-22 20:42:00 -04:00
Qiang Xue
6e8c460273 Fixes #2724: consistent use of absolute and relative routes. 2014-03-22 20:17:31 -04:00
Qiang Xue
1a71c10934 Added yii\web\PrefixUrlRule 2014-03-21 22:01:20 -04:00
Qiang Xue
3c518c4207 Merge commit 'f605508bb2805d24df98037ea239f8f582deda0e' into feature-container 2014-03-20 23:51:02 -04:00
Qiang Xue
aae8622fce Fixed test break. 2014-03-20 21:31:51 -04:00
Qiang Xue
bda1ffa6ce Finished refactoring of DI container and service locator. 2014-03-20 20:52:23 -04:00
Qiang Xue
87df068eb0 DI WIP 2014-03-20 19:54:52 -04:00
Alexander Makarov
af030c5f5b Added $skipIfSet to ActiveRecord::loadDefaultValues 2014-03-20 19:43:59 +04:00
Alexander Makarov
f40011abc4 Fixed CubridCommandTest::testBindParamValue 2014-03-20 15:43:32 +04:00
Alexander Makarov
647e9e146f Added missing columns to cubrid test schema 2014-03-20 15:24:06 +04:00
Alexander Makarov
aece6d309e Adjusted test for cubrid 2014-03-20 14:27:47 +04:00
Alexander Makarov
5c3e4fa4ba Adjusted unit tests, added description to docs 2014-03-19 23:07:56 +04:00
Alexander Makarov
b66427f8c7 Fixes #2726: ActiveRecord now fills default values on creating new instance of the model if defaults are available from DB schema 2014-03-19 18:06:20 +04:00
David Renty
dde5a00ce3 Merge branch 'master' of https://github.com/yiisoft/yii2
Conflicts:
	framework/base/Formatter.php
	tests/unit/framework/base/FormatterTest.php
2014-03-18 17:31:11 +01:00
Qiang Xue
72c99663ff Refactored container. 2014-03-18 11:49:52 -04:00
Qiang Xue
43fb937a20 Added unit tests. 2014-03-18 10:45:25 -04:00
Qiang Xue
8c2e39235f Turn module and application into DI containers. 2014-03-17 23:57:01 -04:00
David Renty
91e4ad5978 PSR-2 compliance 2014-03-17 12:02:26 +01:00
Zhandos Nuftiev
202e3ae0ca Fixed typo in FilterValidator for skipping array values. 2014-03-16 18:27:19 +05:00
SonicGD
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
Qiang Xue
08f6003c1d Fixed test break. 2014-03-14 23:55:38 -04:00
Qiang Xue
e5031dfd5f test break fix. 2014-03-14 23:17:04 -04:00
Qiang Xue
9ff8b0f903 Fixes #2571: Fixed the bug that batchInsert will fail for SQLite if the values contain null or boolean false;
Fixes #2683: Fixed the bug that batchInsert will fail for MySQL if the values contain boolean false.
2014-03-14 22:48:20 -04:00
David Renty
cb3eb9c6d8 Added support for inverted intervals (future time) and unit tests 2014-03-14 18:29:23 +01:00
Carsten Brandt
f944278a74 Update ActiveFormTest.php 2014-03-13 02:53:01 +01:00
Carsten Brandt
5d309c2075 added unit tests for boolean attributes
fixes #1022
2014-03-13 02:50:09 +01:00
Alexander Pletnev
b9c0871218 tabs vs spaces 2014-03-11 23:16:04 +04:00
Alexander Makarov
c694d32e13 Merge branch 'fix_is_empty_file_validator' of github.com:ZhandosKz/yii2 into ZhandosKz-fix_is_empty_file_validator
Conflicts:
	framework/CHANGELOG.md
2014-03-11 17:24:43 +04:00
Qiang Xue
bcf5b4644e Fixes #2687: ActiveQuery::joinWith() has problem when the query is used twice. 2014-03-10 21:44:48 -04:00
Zhandos
385ee5550a Update FileValidatorTest.php
fix tabs
2014-03-10 23:19:00 +05:00
Zhandos
780c5aa36c Update FakedValidationModel.php 2014-03-10 23:18:09 +05:00
Zhandos Nuftiev
b3b9bd353e fix isEmpty method for file validator. 2014-03-10 23:10:47 +05:00
Alexander Makarov
2ceab799e2 Removed unneeded config from tests 2014-03-11 02:12:53 +04:00
Alexander Makarov
842e7eb573 Added tests, final Url helper adjustments 2014-03-11 02:12:13 +04:00
Carsten Brandt
4384a96812 Merge pull request #2667 from AlexGx/tests-codestyle-fix
Tests codestyle fix
2014-03-09 03:06:39 +01:00
Luciano Baraglia
269d1303a9 Code style fixes 2014-03-08 20:47:04 -03:00
AlexGx
183819abfd fix phpDoc method signature 2014-03-08 15:37:06 +02:00
AlexGx
c9edea3d11 merge 2014-03-08 15:36:12 +02:00