Commit Graph

1067 Commits

Author SHA1 Message Date
Paul Klimov
765d47d00d Sphinx Active Record updated to be compatible with ActiveDataProvider. 2013-11-21 13:41:35 +02:00
Qiang Xue
900100c29e Merge pull request #1258 from cebe/self-static
Changed usage of self to static to allow extendibility
2013-11-20 12:29:04 -08:00
Klimov Paul
7fa572460e Merge branch 'master' of github.com:yiisoft/yii2 into sphinx 2013-11-20 20:25:24 +02:00
Carsten Brandt
e775c82dd8 Changed usage of self to static to allow extendibility
code style section has been added here:
https://github.com/yiisoft/yii2/wiki/Core-framework-code-style#self-vs-static

verification code for properties:
https://gist.github.com/cebe/7566916
2013-11-20 18:36:05 +01:00
Carsten Brandt
45d92f1cef refactored emailvalidator test 2013-11-20 16:50:29 +01:00
Carsten Brandt
7b5b93efd2 fixed email validator test break 2013-11-20 16:46:04 +01:00
Carsten Brandt
8dab87be3d fixed EmailValidator IDN and full pattern support
also made everything conistent with client validation
2013-11-20 16:18:19 +01: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
Qiang Xue
d2e5f2c507 Fixes #1234: use dash instead of underscore to separate language and country in locale id. 2013-11-19 16:33:52 -05:00
Qiang Xue
53457a0a3f Simplified ArrayHelper::multisort(). 2013-11-19 14:10:00 -05:00
Qiang Xue
9efe446545 Fixes #1236: removed Sort::ASC and DESC 2013-11-19 10:20:07 -05:00
Paul Klimov
9a45a04365 Create relation methods added to Sphinx Active Record. 2013-11-19 17:18:54 +02:00
Paul Klimov
6bfc888c8f Sphinx Active Relation created 2013-11-18 16:56:28 +02:00
Paul Klimov
c355fed280 Sphinx test delta index added 2013-11-18 16:12:59 +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
Carsten Brandt
09a3300b7c refactored redis cache, added mset() 2013-11-17 21:09:13 +01: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
cfb3e98bf6 Merge branch 'master' of github.com:yiisoft/yii2 into sphinx 2013-11-17 14:02:29 +02:00
Qiang Xue
1c24b3e0d8 removed TestCase and WebTestCase. 2013-11-16 21:30:20 -05:00
Alexander Makarov
979e8d1619 Replaced assertTrue(file_exists with assertFileExists in FileHelperTest 2013-11-17 04:19:57 +04:00
Alexander Makarov
1a7a15a3ef Implemented mset, madd for cache. Added tests. 2013-11-17 04:00:43 +04:00
Alexander Makarov
5fc51f1ad9 Merge pull request #1094 from pmoust/cache-mset
[WIP] Caching: mset() method to store multiple items.
2013-11-16 14:24:17 -08:00
Carsten Brandt
77840adf65 Made ActiveRecord::isPrimaryKey() public
+ added tests and fixed behavior
2013-11-16 16:53:50 +01:00
Klimov Paul
d6ddfd7bb3 Methods "callSnippets()" and "callKeywords()" added to Sphinx Active Record 2013-11-16 17:14:15 +02:00
Klimov Paul
0bc91f29e7 Sphinx Active Record relation handling provided. 2013-11-16 15:32:03 +02:00
Klimov Paul
62968971b6 Sphinx unit test "ActiveRelationTest" created. 2013-11-16 14:54:24 +02:00
Qiang Xue
ffded7a1b5 array syntax fix. 2013-11-15 10:15:25 -05:00
Paul Klimov
93ca701a10 Merge branch 'master' of github.com:yiisoft/yii2 into sphinx 2013-11-15 12:17:22 +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
Qiang Xue
b44921126b Merge pull request #1097 from yiisoft/db-traits
Db traits
2013-11-14 05:27:00 -08:00
Klimov Paul
0275a2244f Option array value support added to "yii\sphinx\Query" 2013-11-13 20:48:05 +02: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
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
Paul Klimov
07ad008d49 Sphinx unit tests advanced. 2013-11-13 12:23:28 +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
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
Paul Klimov
cbfa7e6129 "yii\sphinx\Command" and "yii\sphinx\QueryBuilder" extracted. 2013-11-12 16:15:37 +02:00