Commit Graph

59 Commits

Author SHA1 Message Date
Alexander Makarov
905e39ede9 RBAC migration is now aware of custom table names, speeded up RBAC tests 2014-05-07 00:19:33 +04:00
Alexander Makarov
75154d351d Refactored AR find 2014-04-07 09:43:03 +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
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
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
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
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
32d0768919 style fixes with phpcs:yii2 2014-03-08 14:55:58 +02:00
Alexander Mohorev
95ea1c20bb code style. FOREACH 2014-03-03 21:47:47 +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
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
Alexander Makarov
dd26d39dd8 Removed unused namespace imports 2014-02-07 13:26:00 +04:00
Qiang Xue
ab47d58c69 path fixes. 2014-01-10 21:58:50 -05: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
b62b4eae2b Sphinx Active Relation lazy load fixed. 2013-12-16 15:54:32 +02:00
Qiang Xue
0310935e48 fixed test breaks. 2013-12-10 00:12:17 -05:00
Paul Klimov
3db7a07534 Method "yii\sphinx\ActiveRecord::find()" removed in favour of "BaseActiveRecord::find()". 2013-12-03 11:17:51 +02:00
Paul Klimov
750c6275c0 Sphinx test AR classes moved to 'data/ar/sphinx'. 2013-12-03 10:46:02 +02:00
Paul Klimov
3dbb3d40dd Sphinx unit tests fixed. 2013-11-28 11:34:13 +02:00
Paul Klimov
400b5310ca Docs for Sphinx extension updated. 2013-11-22 14:06:32 +02:00
Paul Klimov
c1b5946d40 yii\sphinx\Command reworked to extend yii\db\Command.
yii\sphinx\DataReader removed.
2013-11-22 13:26:42 +02:00
Paul Klimov
765d47d00d Sphinx Active Record updated to be compatible with ActiveDataProvider. 2013-11-21 13:41:35 +02:00
Paul Klimov
e19c9cebc6 Sphinx has many relation test prepared. 2013-11-20 13:14:21 +02:00
Paul Klimov
6a5b8d1904 Sphinx Query refactored. 2013-11-20 11:27:44 +02:00
Paul Klimov
6bfc888c8f Sphinx Active Relation created 2013-11-18 16:56:28 +02:00
Paul Klimov
bd79e1c1be Sphinx Active Record saving via 'replace' converted into fallback 2013-11-18 15:36:06 +02:00
Paul Klimov
102f386873 Index schema type support added to Sphinx 2013-11-18 13:36:17 +02:00
Klimov Paul
e1065ef1fc "snippetByModel" option added to Sphinx Active Query. 2013-11-17 17:02:47 +02:00
Klimov Paul
386b58b2a1 Snippet call options added to Sphinx Query. 2013-11-17 16:26:58 +02:00
Klimov Paul
d6ddfd7bb3 Methods "callSnippets()" and "callKeywords()" added to Sphinx Active Record 2013-11-16 17:14:15 +02:00
Klimov Paul
62968971b6 Sphinx unit test "ActiveRelationTest" created. 2013-11-16 14:54:24 +02:00
Paul Klimov
37862b6ee2 Unsupported "update counters" feature removed from Sphinx Active Record. 2013-11-15 11:30:24 +02:00
Klimov Paul
d6c388299d Sphinx ActiveRecord added as blank. 2013-11-14 22:12:31 +02:00
Klimov Paul
6593c8cea4 Unit test for "yii\sphinx\Query" advanced 2013-11-14 19:39:08 +02:00
Klimov Paul
47a2e211d6 Separated method "match" added to "yii\sphinx\Query" 2013-11-14 19:15:18 +02:00
Klimov Paul
0275a2244f Option array value support added to "yii\sphinx\Query" 2013-11-13 20:48:05 +02: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
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
Paul Klimov
cc156ba812 Methods "callSnippet" and "callKeywords" added to "yii\sphinx\Command" 2013-11-13 14:04:27 +02:00