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
Alexander Mohorev
c7e8d8b900
@param, @var, @property and @return must declare types as boolean, integer, string, array or null
2014-03-03 20:50:44 +03:00
Carsten Brandt
b6e0c2b26f
skipping memcache on HHVM
2014-03-03 18:41:47 +01:00
Alexander Mohorev
6e7edfdf5b
short array syntax
2014-03-03 20:21:55 +03:00
Qiang Xue
f22d409e8b
test break fix.
2014-03-02 00:34:33 -05:00
Qiang Xue
b9743ef65b
fixed test break.
2014-03-01 19:35:00 -05:00
Qiang Xue
a2edf01c85
Delay joinWith till createCommand to correctly combine relation condition with primary condition.
2014-03-01 18:39:22 -05:00
Qiang Xue
24e086deaf
Added yii\web\UrlRuleInterface and yii\web\CompositeUrlRule
2014-02-28 14:40:25 -05:00
Carsten Brandt
8a32379537
fixed test break
2014-02-28 16:14:22 +01:00
Qiang Xue
d3ff343e5e
try to fix test break.
2014-02-27 22:07:13 -05:00
Qiang Xue
6659919ad7
Fixed test break.
2014-02-27 11:29:32 -05:00
Carsten Brandt
c21e01930e
added unit test for #2568
2014-02-27 15:13:51 +01:00
Qiang Xue
ad06b80e6e
Enhanced parsing the accept header.
2014-02-26 23:11:59 -05:00
Carsten Brandt
683a46d9ee
test for deeply nested relation
...
close #2543
2014-02-25 15:03:54 +01:00
Qiang Xue
04bf51b01a
Fixes #2392 : Added addCssStyle(), removeCssStyle(), cssStyleFromArray() and cssStyleToArray() to Html
2014-02-23 19:12:33 -05:00
Qiang Xue
9f37e133e3
Fixed test break.
2014-02-23 14:02:39 -05:00
Carsten Brandt
c229ba729a
fixed a bug in MessageSource and missingtranslation event
...
fixes #2519 : MessageSource removed translation messages when event handler
was bound to `missingTranslation`-event
2014-02-23 14:26:47 +01:00
Alexander Makarov
d8d44b6127
Merge pull request #2501 from yiisoft/unify-urls
...
Fixes #2426 : Changed URL creation method signatures to be consistent
2014-02-21 23:53:15 +03:00
Carsten Brandt
5ee50a8454
Merge pull request #2497 from yiisoft/merge-query-and-relation2
...
WIP merge ActiveRelation into ActiveQuery
2014-02-21 19:00:45 +01:00
Carsten Brandt
505762d49c
updated docs about active relation
2014-02-21 18:53:28 +01:00
Alexander Makarov
43c17d99cc
Fixes #2426 : Changed URL creation method signatures to be consistent
2014-02-20 20:10:33 +04:00
Qiang Xue
ddb7141ea6
doc update about behavior.
2014-02-20 08:21:37 -05:00
Carsten Brandt
3b40d44909
made createQuery() config param optional
2014-02-20 05:54:47 +01:00
Carsten Brandt
1708a36d95
WIP merge ActiveRelation into ActiveQuery
...
allow extending only one class to add scopes, fixes #2146
TODO:
- [ ] adjust guide docs
- [ ] adjust README files of extensions
- [ ] finish work and fix test breaks
2014-02-20 05:53:36 +01:00
Carsten Brandt
54476b4853
Merge branch 'master' of github.com:yiisoft/yii2
...
* 'master' of github.com:yiisoft/yii2:
Fixes #2360 : Added `AttributeBehavior` and `BlameableBehavior`, and renamed `AutoTimestamp` to `TimestampBehavior`
2014-02-20 05:51:38 +01:00
Qiang Xue
02d5b20bda
Fixes #2360 : Added AttributeBehavior and BlameableBehavior, and renamed AutoTimestamp to TimestampBehavior
2014-02-19 21:47:25 -05:00
Carsten Brandt
aedfef1e79
added tests for smarty and worked around a small bug
...
fixes #2265
2014-02-20 02:43:06 +01:00
Qiang Xue
c92a260a3d
Fixes #2415 : Added support for inverse relations
2014-02-18 19:43:05 -05:00
Qiang Xue
26cb7b2a3c
Renamed fooVar to fooParam for various classes.
2014-02-15 18:18:27 -05:00
Qiang Xue
c0bac44f10
Fixes #1186 : Changed Sort to use comma to separate multiple sort fields and use negative sign to indicate descending sort
2014-02-15 17:54:33 -05:00
Qiang Xue
9a068f50f4
Refactored batch query.
2014-02-15 11:22:48 -05:00
Qiang Xue
3a930bd675
Finished batch query feature.
2014-02-14 18:13:42 -05:00