Alexander Makarov
905e39ede9
RBAC migration is now aware of custom table names, speeded up RBAC tests
2014-05-07 00:19:33 +04:00
Carsten Brandt
676b366928
adjusted elasticsearch extension to version 1.0 of ES
...
breaking changes.
2014-05-06 18:14:32 +02:00
Qiang Xue
0e143338d7
Finished refactoring find() .
2014-04-07 16:29:12 -04:00
Alexander Makarov
75154d351d
Refactored AR find
2014-04-07 09:43:03 +04:00
Qiang Xue
a6aaafd3e6
Fixed test break.
2014-04-03 13:55:34 -04:00
Qiang Xue
3ba9dcbedc
Fixed test break.
2014-04-02 20:26:55 -04:00
Qiang Xue
0fa19291f1
refactored filterWhere().
2014-04-02 20:03:42 -04:00
Carsten Brandt
03e208e59d
removed wrong test
2014-04-02 21:39:53 +02:00
Carsten Brandt
745c20538c
Merge pull request #2885 branch 'query-filter'
...
* query-filter:
added CHANGELOG lines
added tests for redis
added proper tests for elasticsearch
removed unnecessary code duplication
adjusted tests
typo
renamed Query::filter() to Query::filterWhere()
reverted elasticsearch rename of filter
Adjusted search model code generated by Gii CRUD generator
Added support for arbitrary number of parameters for NOT, AND, OR in filter methods of Query
Gii CRUD generator now uses new addFilter method
Query::filter() adjustments
fixes #2002
Added tests for Query::filter()
Conflicts:
framework/db/QueryTrait.php
2014-04-02 19:33:40 +02:00
Carsten Brandt
d97996c354
added tests for redis
2014-04-02 19:21:26 +02:00
Carsten Brandt
e9c364d2f2
added proper tests for elasticsearch
2014-04-02 19:15:21 +02:00
Carsten Brandt
c572c23c2f
adjusted tests
2014-04-02 18:56:49 +02:00
Carsten Brandt
96f1c4c10b
renamed Query::filter() to Query::filterWhere()
2014-04-02 18:48:14 +02:00
Alexander Makarov
06fdb79730
Added support for arbitrary number of parameters for NOT, AND, OR in filter methods of Query
2014-03-31 15:09:33 +04:00
Qiang Xue
f7a6cb9f7a
Refactored AR tests.
2014-03-30 20:46:25 -04:00
Alexander Makarov
ecf019e311
Merge branch 'master'
2014-03-31 02:20:56 +04:00
Alexander Makarov
ab799d8ea9
Fixes #2911 : Removed tbl_ default for table prefix
2014-03-30 19:33:46 +04:00
Alexander Makarov
8cd247730a
Query::filter() adjustments
2014-03-29 23:26:02 +04:00
Alexander Makarov
a884c80fe3
Merge branch 'master'
2014-03-29 22:55:59 +04:00
Dirk Adler
e0edca24a9
Improves mongodb nested and in condition test
2014-03-28 12:03:27 +01:00
Dirk Adler
70d495bcd4
Adds more mongodb tests for combination conditions
2014-03-28 10:23:45 +01:00
Dirk Adler
3dd8a039be
Adds mongodb test for combination conditions
2014-03-28 10:01:18 +01:00
Alexander Makarov
3c1a8141fd
fixes #2002
2014-03-27 12:41:16 +04:00
Alexander Makarov
19327ebd14
Added tests for Query::filter()
2014-03-26 17:09:16 +04:00
Qiang Xue
8c2e39235f
Turn module and application into DI containers.
2014-03-17 23:57:01 -04:00
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
2014-03-16 10:46:21 +06: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
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
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