30 Commits

Author SHA1 Message Date
ece300ac30 removed null value adjustment in redis ActiveQuery
asArray will not include null valued keys
2014-09-22 18:54:00 +02:00
df22616c76 finished fix for redis null and boolean value storage
fixes #1311
2014-09-22 18:45:37 +02:00
f7fc1faa97 Fixed condition building for booleans 2014-09-07 20:26:55 +04:00
0c14f47f9a Fixes #3793: Changed inline autocomplete hints style to get more IDEs support 2014-06-20 17:40:00 +04:00
d92281dcda refactored ActiveRecord::unlinkAll() to work will noSQL
issue #3520
2014-06-04 14:28:57 +02:00
9c564808e5 Added missing models for Redis tests 2014-06-03 14:02:41 +04:00
905e39ede9 RBAC migration is now aware of custom table names, speeded up RBAC tests 2014-05-07 00:19:33 +04:00
75154d351d Refactored AR find 2014-04-07 09:43:03 +04:00
a6aaafd3e6 Fixed test break. 2014-04-03 13:55:34 -04:00
3ba9dcbedc Fixed test break. 2014-04-02 20:26:55 -04:00
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
d97996c354 added tests for redis 2014-04-02 19:21:26 +02:00
f7a6cb9f7a Refactored AR tests. 2014-03-30 20:46:25 -04:00
ab799d8ea9 Fixes #2911: Removed tbl_ default for table prefix 2014-03-30 19:33:46 +04:00
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
32d0768919 style fixes with phpcs:yii2 2014-03-08 14:55:58 +02:00
b2f1b00bf2 code style. operator IF 2014-03-03 21:32:34 +03:00
c7e8d8b900 @param, @var, @property and @return must declare types as boolean, integer, string, array or null 2014-03-03 20:50:44 +03:00
8a32379537 fixed test break 2014-02-28 16:14:22 +01:00
dd26d39dd8 Removed unused namespace imports 2014-02-07 13:26:00 +04:00
fe3ff6dd99 Missing codestyle fix 2014-01-19 13:39:07 -03:00
7d33a5d3b5 Some Code style fixes 2014-01-19 13:35:36 -03:00
0ec5643ce3 Unit tests updated 2014-01-19 13:51:56 +04:00
cbf649b16c Some code style fixes [skip ci] 2014-01-12 20:54:27 -03:00
ab47d58c69 path fixes. 2014-01-10 21:58:50 -05:00
b4612637ec make count behave like in SQL
also fixed count behavior according to limit and offset.
fixes #1458
2013-12-18 17:22:56 +01:00
0310935e48 fixed test breaks. 2013-12-10 00:12:17 -05:00
c1febb74ff reduce randomness in test results 2013-11-25 13:29:54 +01:00
f6811002ca Merge branch 'master' into elasticsearch
* master: (59 commits)
  updated ext composer.json for issue labels
  moved redis to extensions
  fixed whitespaces
  update composer to include sphinx
  Added initial steps about configuring DB-based RBAC
  Fixes #1297: CSRF not generated on error pages
  fixes #1158 mentioned @web alias in docs
  Merged RBAC draft into authorization
  "yii\sphinx\ActiveQuery" updated to throw exception on conflict between "asArray" and "snippetByModel" options.
  Code style and docs at "yii\sphinx\*" fixed.
  Docs for Sphinx extension updated.
  Redundant typecast removed from yii\sphinx\ActiveRecord::create()
  yii\sphinx\Command reworked to extend yii\db\Command. yii\sphinx\DataReader removed.
  Sphinx Active Record updated to be compatible with ActiveDataProvider.
  Sphinx documentation updated.
  Sphinx documentation updated.
  Sphinx has many relation test prepared.
  Sphinx Query refactored.
  Create relation methods added to Sphinx Active Record.
  Sphinx Query Builder updated to respect column types for where statements
  ...
2013-11-25 03:21:08 +01:00
8ac2b7364d moved redis to extensions 2013-11-25 02:27:04 +01:00