Commit Graph

7547 Commits

Author SHA1 Message Date
Klimov Paul
6593c8cea4 Unit test for "yii\sphinx\Query" advanced 2013-11-14 19:39:08 +02:00
Klimov Paul
9459b44022 Composite primary key support removed from Sphinx schema. 2013-11-14 19:27:21 +02:00
Klimov Paul
47a2e211d6 Separated method "match" added to "yii\sphinx\Query" 2013-11-14 19:15:18 +02:00
Qiang Xue
8775e25ca6 Added readme and updated test helper classes. 2013-11-14 11:11:51 -05:00
Qiang Xue
220e6dc42d Added readme about tests. 2013-11-14 11:05:09 -05:00
Qiang Xue
cd7a4a6745 fixed functional test. 2013-11-14 10:36:35 -05:00
Qiang Xue
b44921126b Merge pull request #1097 from yiisoft/db-traits
Db traits
2013-11-14 05:27:00 -08:00
Carsten Brandt
8250cfbb0f reverted change of count() signature 2013-11-14 08:06:57 +01:00
Qiang Xue
368dd4b1d4 Allow Validator::except to be either a string or an array. 2013-11-13 19:50:19 -05:00
Carsten Brandt
71a619d2ae Merge pull request #1200 from zhuravljov/master
Fixed gii after merge #1184
2013-11-13 15:15:59 -08:00
KiTE
c5ee83bffb Fixed gii after merge #1184 2013-11-13 23:54:27 +02:00
Carsten Brandt
1acdbb741c moved indexBy() trait -> interface + removed findWith from interface 2013-11-13 19:57:32 +01:00
Carsten Brandt
51faa62eca updated interface and trait php-doc in yii\ar
[ci skip]
2013-11-13 19:52:14 +01:00
Klimov Paul
0275a2244f Option array value support added to "yii\sphinx\Query" 2013-11-13 20:48:05 +02:00
Carsten Brandt
ced7ee1b8a dataprovider: reset orderBy when counting
strict sql dbms like postgres would fail otherwise
2013-11-13 19:47:35 +01:00
Carsten Brandt
9448c3d471 added unit tests for active dataprovider and fixed query tests 2013-11-13 19:35:44 +01:00
Klimov Paul
aae221ddea Methods "replace()" and "batchReplace()" added to "yii\sphinx\Command" 2013-11-13 20:33:32 +02:00
Klimov Paul
0839ceb598 Parameter "options" added to "yii\sphinx\Command::update()" 2013-11-13 20:04:07 +02:00
Carsten Brandt
65338972c7 refactored ActiveRecord classes to use Interfaces and traits
this allows us to implement other activerecord implementations based on
NoSQL dbms
2013-11-13 18:42:50 +01:00
Qiang Xue
6fd0f0da19 Merge pull request #1197 from slavcodev/asset-dir
Move AppAsset from config to assets directory
2013-11-13 08:19:23 -08:00
slavcodev
4c4f7bd708 Move AppAsset from config to assets directory 2013-11-13 18:17:05 +02:00
Carsten Brandt
c8c7f59d69 Merge branch 'master' into db-traits
Updated AR classes with the latest changes from master to go on with
separation of AR query classes in traits.

Conflicts:
	framework/yii/db/ActiveQuery.php
	framework/yii/db/ActiveRecord.php
	framework/yii/db/ActiveRelation.php
2013-11-13 17:00:52 +01:00
Carsten Brandt
b8e31d50bb renamed AR trait classes 2013-11-13 16:50:30 +01:00
Paul Klimov
36da1617e8 "yii\sphinx\Query" has been composed, unit test for it added. 2013-11-13 17:10:56 +02:00
Paul Klimov
6b5b99764f Options support for "yii\sphinx\Command::callSnippet()" added. 2013-11-13 15:52:03 +02:00
Qiang Xue
5b0886f10b Allow "on" and "attributes" to take either array or string for validators. 2013-11-13 08:45:12 -05:00
Qiang Xue
447bad5a12 Merge pull request #1184 from slavcodev/only-arrays-in-rules
Using only arrays in rules instead comma-separated string
2013-11-13 05:37:43 -08:00
Qiang Xue
75dc290a24 Fixes #1193 2013-11-13 08:31:49 -05:00
Qiang Xue
36c28bee4f Fixes #1191 2013-11-13 08:28:55 -05:00
Qiang Xue
da93d9b4ba Fixes #1195. 2013-11-13 08:25:07 -05:00
Qiang Xue
2d86618644 Merge branch 'master' of github.com:yiisoft/yii2 2013-11-13 08:23:01 -05:00
Qiang Xue
2f8ee2a8b0 typo fix. 2013-11-13 08:22:55 -05:00
Paul Klimov
cc156ba812 Methods "callSnippet" and "callKeywords" added to "yii\sphinx\Command" 2013-11-13 14:04:27 +02:00
Paul Klimov
07ad008d49 Sphinx unit tests advanced. 2013-11-13 12:23:28 +02:00
slavcodev
f57b3536a2 Fixed apps rules 2013-11-13 11:41:25 +02:00
Carsten Brandt
0eaafd74ba updated composer.json to be less restrictive
also removed superflous minimum-stability definition
2013-11-13 01:34:41 +01:00
Carsten Brandt
539e233d9c massive improvement on class documentation
- added example code for application components
- added missing short description

[ci skip]
2013-11-13 01:16:21 +01:00
slavcodev
2adcd16e0d Update phpDoc 2013-11-12 19:32:11 +02:00
slavcodev
3ff8f10d11 Add array conversion on creating validator 2013-11-12 19:26:49 +02:00
slavcodev
9bf7f791b8 Fix test 2013-11-12 17:53:24 +02:00
slavcodev
cbca145e97 Add type hinting 2013-11-12 17:24:52 +02:00
slavcodev
35681c618b Fix test 2013-11-12 17:24:35 +02:00
Paul Klimov
f4a8be1f68 Sphinx MVA insert and update resolved. 2013-11-12 17:07:13 +02:00
slavcodev
ecc557ef92 Refactor all models to new rules format 2013-11-12 16:39:23 +02:00
slavcodev
3cdd78cafe Fix rules generator 2013-11-12 16:27:31 +02:00
Qiang Xue
aeda7fb1df Merge pull request #1188 from egorpromo/little-description-for-cookiePram
Little helpful description for Session::cookieParam
2013-11-12 06:24:19 -08:00
Paul Klimov
cbfa7e6129 "yii\sphinx\Command" and "yii\sphinx\QueryBuilder" extracted. 2013-11-12 16:15:37 +02:00
egorpromo
b6424946e4 Little helpful description for Session::cookieParam 2013-11-12 21:12:43 +07:00
Carsten Brandt
8a4dffed9d fixed ActiveRelation::__clone() to work with via relation 2013-11-12 14:22:07 +01:00
Paul Klimov
7cc182fc72 "yii\sphinx\IndexSchema' created.
"yii\sphinx\Schema' reworked to drop inheritance from "yii\db".
2013-11-12 14:31:55 +02:00