Paul Klimov
8d5536ac12
yii\mongodb\file\ActiveRecord::update() fixed to save the attributes while updating file.
2014-03-08 11:49:09 +02: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
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
Alexander Mohorev
1676d914fa
Add unit tests
2014-03-04 15:34:47 +03: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
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
Alexander Mohorev
6e7edfdf5b
short array syntax
2014-03-03 20:21:55 +03:00
Carsten Brandt
8a32379537
fixed test break
2014-02-28 16:14:22 +01:00
Carsten Brandt
aedfef1e79
added tests for smarty and worked around a small bug
...
fixes #2265
2014-02-20 02:43:06 +01:00
Paul Klimov
db6d0a57f9
Unit test for yii\sphinx\Query::count() added.
2014-02-12 23:43:11 +02:00
Paul Klimov
1e58570741
Unit test sphinx\ActiveRecordTest fixed
2014-02-12 23:10:17 +02:00
Paul Klimov
08131477a2
yii\mongodb\Collection::mapReduce() fixed to handle 'inline' output correctly.
2014-02-10 21:51:38 +02:00
Alexander Makarov
4a201c7ad5
Removed unused variables
2014-02-07 13:39:35 +04:00
Alexander Makarov
dd26d39dd8
Removed unused namespace imports
2014-02-07 13:26:00 +04:00
Carsten Brandt
e407d0489c
updated elasticsearch querybuilder test to use yiitest index
...
better not delete all to avoid data loss
pr #2324
2014-02-06 19:31:50 +01:00
Qiang Xue
bad9c0cccc
Merge branch 'master' of github.com:mintao/yii2 into mintao-master
...
Conflicts:
extensions/yii/elasticsearch/CHANGELOG.md
2014-02-06 13:20:48 -05:00
Florian Fackler
a3724aa4d1
Fixed bug which prevented a field query as described in the example:
...
```
$result = Article::find()->query(["field" => ["title" => "yii"]])->all();
````
2014-02-05 11:49:33 +01:00
Luciano Baraglia
fe3ff6dd99
Missing codestyle fix
2014-01-19 13:39:07 -03:00
Luciano Baraglia
7d33a5d3b5
Some Code style fixes
2014-01-19 13:35:36 -03:00
Alexander Kochetov
0ec5643ce3
Unit tests updated
2014-01-19 13:51:56 +04:00
Carsten Brandt
7e961eee85
fixed test break
2014-01-16 11:50:59 +01:00
Carsten Brandt
81d23332df
afterFind event in AR is now called after relations have been populated
...
fixes #1993
2014-01-16 10:28:58 +01:00
Paul Klimov
91c86fb704
MongoDB ActiveRecord uit test advanced to check integer value handling.
2014-01-15 11:33:58 +02:00
Paul Klimov
5d3684fd7c
Unit test for MongoDB Cache advanced.
2014-01-13 16:13:21 +02:00
Paul Klimov
9ca62131f9
Merge branch 'master' of github.com:yiisoft/yii2 into mongodb-cache
2014-01-13 15:36:51 +02:00
Paul Klimov
32887edf5a
MongoDB Cache class added as draft.
2014-01-13 14:41:45 +02:00
Paul Klimov
48be2bb7d1
MongoDB Session class added.
2014-01-13 12:54:18 +02:00
Luciano Baraglia
cbf649b16c
Some code style fixes [skip ci]
2014-01-12 20:54:27 -03:00
Qiang Xue
e6f9aef3a9
fixed test break.
2014-01-11 22:20:33 -05:00
Qiang Xue
ab47d58c69
path fixes.
2014-01-10 21:58:50 -05:00
Carsten Brandt
f6530314e2
Merge pull request #1765 from yiisoft/elasticsearch-pk-refactoring
...
[WIP] Changed elasticsearch AR primary key handling
2014-01-10 15:56:22 -08:00
Carsten Brandt
31fece562e
fixed test break
2014-01-10 15:39:06 +01:00
Carsten Brandt
5dca1257b2
reverted primaryKey of elasticsearch to be array again
...
meet the AR interface requirements.
2014-01-09 13:44:12 +01:00
Paul Klimov
232a223c17
SwiftMailer message updated to setup charset for alternative body correctly.
2014-01-08 13:45:48 +02:00
Carsten Brandt
951791f245
added unit test for twig renderer
...
verify #1755 works
2014-01-07 17:06:25 +01:00
Carsten Brandt
a7b852fcc3
Changed elasticsearch AR primary key handling
...
now supports mapped primary key when _id is part of source with an
alias.
2014-01-04 04:26:50 +01:00
Qiang Xue
35373b14ae
fixed test breaks.
2014-01-01 23:14:13 -05:00
Qiang Xue
3cd7a7440e
Refactored imagine extension.
2014-01-01 14:02:41 -05:00
Antonio Ramirez
53160797df
added tests
2013-12-29 21:43:26 +01:00
Paul Klimov
8da6f39a86
Merge branch 'master' of github.com:yiisoft/yii2 into authclient
2013-12-25 17:15:04 +02:00
Paul Klimov
f0b9e1503d
OpenId client 'discover()' method updated to return 'identity' instead of set internal field.
2013-12-24 17:25:35 +02:00
Paul Klimov
46746cd8a1
OpenId client 'discover()' method refactored.
2013-12-24 16:06:21 +02:00
Paul Klimov
5a137e6dec
OpenId client refactor in progress.
2013-12-24 14:18:49 +02:00
Paul Klimov
7a4c1cd387
Trait "ClientTrait" converted into "BaseClient" class.
2013-12-23 15:31:23 +02:00
Paul Klimov
ba95e1dd12
Normalization of user attributes added to Auth Client.
2013-12-23 11:12:14 +02:00
Qiang Xue
42d8748e6e
Fixes #1579 : throw exception when the given AR relation name does not match in a case sensitive manner.
...
Renamed `ActiveRecord::getPopulatedRelations()` to `getRelatedRecords()`
2013-12-21 23:26:35 -05:00
Paul Klimov
f06b5ab161
Widget "yii\authclient\widgets\Choice" fixed.
2013-12-20 14:04:26 +02:00
Paul Klimov
21fff9429c
Mongo full text search test updated.
2013-12-19 12:21:20 +02:00