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
Paul Klimov
bc73a2481c
MongoDB log fixed to handle Mongo objects correctly
2014-03-08 15:19:46 +02:00
AlexGx
32d0768919
style fixes with phpcs:yii2
2014-03-08 14:55:58 +02:00
Paul Klimov
866ba85010
yii\mongodb\file\Collection::ensureMongoId() fixed to suppress exception on invalid _id format.
2014-03-08 14:12:08 +02:00
Paul Klimov
8d5536ac12
yii\mongodb\file\ActiveRecord::update() fixed to save the attributes while updating file.
2014-03-08 11:49:09 +02:00
Qiang Xue
203bc5ea05
Fixed test break.
2014-03-07 19:58:30 -05:00
Qiang Xue
fad635440b
Fixes #2655 : Arrayable and ArrayableTrait are incompatible for some PHP versions.
2014-03-07 19:08:27 -05:00
Carsten Brandt
1b7e1cd027
Merge pull request #2605 branch 'feature' of https://github.com/mongosoft/yii2 into code-style
...
* 'feature' of https://github.com/mongosoft/yii2 :
returned back formatting language files
code style. WHILE
code style. FOR
code style. FOREACH
code style. operator IF
@param, @var, @property and @return must declare types as boolean, integer, string, array or null
short echo tags
short array syntax
Conflicts:
extensions/apidoc/commands/RenderController.php
extensions/apidoc/models/BaseDoc.php
extensions/apidoc/models/Context.php
extensions/apidoc/templates/bootstrap/Renderer.php
extensions/apidoc/templates/bootstrap/layouts/guide.php
extensions/apidoc/templates/bootstrap/layouts/main.php
extensions/apidoc/templates/bootstrap/views/index.php
extensions/apidoc/templates/html/Renderer.php
extensions/apidoc/templates/offline/views/index.php
extensions/apidoc/templates/offline/views/offline.php
extensions/apidoc/templates/online/views/index.php
extensions/elasticsearch/Connection.php
extensions/redis/ActiveQuery.php
framework/base/ErrorException.php
framework/helpers/BaseFileHelper.php
tests/unit/framework/helpers/FileHelperTest.php
2014-03-07 21:54:44 +01:00
Qiang Xue
65bfd1633b
Fixes #2646 : Added support for specifying hostinfo in the pattern of a URL rule
2014-03-07 09:53:55 -05:00
Qiang Xue
9b8ffdfacc
Fixes #2653 : Fixed the bug that unsetting an unpopulated AR relation would trigger exception (qiangxue)
2014-03-06 20:38:55 -05:00
Alexander Makarov
c5ec3550de
Removed unused "use" statements
2014-03-07 02:10:32 +04:00
Alexander Makarov
71835d977e
More short syntax for arrays
2014-03-07 02:03:23 +04:00
Qiang Xue
e38c4225b2
Merge commit 'bdce87b242abbff800020deba0a5c2031fc2efe7' into feature-restapi
...
Conflicts:
framework/db/BaseActiveRecord.php
2014-03-06 00:00:33 -05:00
Carsten Brandt
ecc066ac34
fixed condition for HHVM test
2014-03-05 02:35:37 +01:00
Paul Klimov
ef12934b6b
Merge pull request #2613 from mongosoft/mongodb
...
add findAndModify() method to the Collection class
2014-03-04 18:20:28 +02:00
Alexander Mohorev
1676d914fa
Add unit tests
2014-03-04 15:34:47 +03:00
Alexander Makarov
fc4098b89a
Code style
2014-03-04 00:56:27 +04:00
Alexander Mohorev
95ea1c20bb
code style. FOREACH
2014-03-03 21:47:47 +03:00
Alexander Mohorev
b2f1b00bf2
code style. operator IF
2014-03-03 21:32:34 +03:00
Carsten Brandt
f90a369932
Skipping CUBRID on HHVM
2014-03-03 18:51:03 +01:00