Commit Graph

1067 Commits

Author SHA1 Message Date
Qiang Xue
4f44bb2416 Fixes #1581: Added ActiveQuery::joinWith() to support joining with relations 2013-12-24 00:08:49 -05:00
Qiang Xue
2402d2d031 Draft implementation of ActiveQuery::joinWith(). 2013-12-23 22:26:44 -05:00
Paul Klimov
7a4c1cd387 Trait "ClientTrait" converted into "BaseClient" class. 2013-12-23 15:31:23 +02:00
Paul Klimov
ba95e1dd12 Normalization of user attributes added to Auth Client. 2013-12-23 11:12:14 +02:00
Qiang Xue
9649a6727a Renamed attributeName and className to targetAttribute and targetClass for UniqueValidator and ExistValidator.
Refactored UniqueValidator and ExistValidator.
2013-12-22 16:40:51 -05:00
Qiang Xue
252b6c9ef1 Fixes #797: Added support for validating multiple columns by UniqueValidator and ExistValidator 2013-12-22 11:30:59 -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
f06b5ab161 Widget "yii\authclient\widgets\Choice" fixed. 2013-12-20 14:04:26 +02:00
Paul Klimov
21fff9429c Mongo full text search test updated. 2013-12-19 12:21:20 +02:00
Carsten Brandt
702cf513ca make elasticsearch tests only work on yiitext index 2013-12-18 17:31:32 +01:00
Carsten Brandt
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
Carsten Brandt
4d1390ceb1 fixed travis mongodb 2013-12-18 04:33:41 +01:00
Paul Klimov
de83e4ddd1 Merge branch 'master' of github.com:yiisoft/yii2 into authclient 2013-12-17 17:12:38 +02:00
Carsten Brandt
b59b77cd4f added timeZone property to i18n formatter
fixed #1021
2013-12-17 13:45:16 +01:00
Paul Klimov
91000e8d8c Merge branch 'master' of github.com:yiisoft/yii2 into authclient 2013-12-16 15:55:44 +02:00
Paul Klimov
b62b4eae2b Sphinx Active Relation lazy load fixed. 2013-12-16 15:54:32 +02:00
Paul Klimov
9ea4ef13fe MongoDB Active Relation lazy load fixed. 2013-12-16 15:46:28 +02:00
Paul Klimov
34f9c924b9 Merge branch 'master' of github.com:yiisoft/yii2 into authclient 2013-12-16 13:56:52 +02:00
Paul Klimov
776a92502f "yii\authclient" structure refactored. 2013-12-16 13:26:25 +02:00
Paul Klimov
1ef606da9a "yii\authclient\AuthAction" created. 2013-12-13 16:28:53 +02:00
Florian Fackler
ff7c25ea7b Fixes #1497 (wrong file rendered if language != sourceLanguage) 2013-12-12 22:55:10 +01:00
Paul Klimov
691cc14c1c "\yii\authclient\provider\Collection" added. 2013-12-12 12:46:17 +02:00
Paul Klimov
6171287f79 Classes "\yii\authclient\provider\*" created as draft. 2013-12-11 17:17:35 +02:00
Paul Klimov
41eaa2df07 Extension "authclient" recomposed. 2013-12-11 13:56:14 +02:00
Paul Klimov
cdae9b6046 Extension "authclient" added as draft. 2013-12-10 14:49:51 +02:00
Qiang Xue
0310935e48 fixed test breaks. 2013-12-10 00:12:17 -05:00
Carsten Brandt
e2b4708bbd added support for updateCounters to elasticsearch
issue #1313
2013-12-09 14:42:28 +01:00
Paul Klimov
8a3277e7e9 tag for MongoDB unit tests fixed 2013-12-09 11:04:15 +02:00
Qiang Xue
bce353bf3a fixed test break. 2013-12-06 14:32:59 -05:00
Qiang Xue
cb4a8c764c Refactored validators. 2013-12-06 14:19:17 -05:00
Paul Klimov
9b5f3fab99 Extension "mongo" renamed into "mongodb" 2013-12-06 17:35:32 +02:00
Paul Klimov
8032785f0d Method "\yii\mogo\Collection::buildLikeCondition()" fixed to use \MongoRegex. 2013-12-06 11:38:00 +02:00
Qiang Xue
60d9e04cdb Merge pull request #1438 from klimov-paul/mongo
MongoDB integration
2013-12-05 11:50:12 -08:00
Klimov Paul
062e138c83 Method "\yii\mongo\Collection::fullTextSearch()" added. 2013-12-05 21:09:33 +02:00
Klimov Paul
99b6ae27b3 Logging and profiling at Mongo improved. 2013-12-05 20:29:14 +02:00
Paul Klimov
04fb75b6a7 File retrieve methods added to Mongo File Active Record. 2013-12-05 13:55:35 +02:00
Paul Klimov
77f10ed91b Mongo file Active Record saving fixed. 2013-12-05 12:36:53 +02:00
Klimov Paul
ca608a81a4 Mongo file Active Record updated. 2013-12-05 00:15:23 +02:00
Klimov Paul
85a32bea42 Method "getChunkCollection()" added to Mongo file collection.
Method file unit tests improved.
2013-12-04 21:48:43 +02:00
Qiang Xue
4df9b6cb0e Merge pull request #1416 from yiisoft/helpers-renames
Helpers refactoring
2013-12-04 08:00:14 -08:00
Paul Klimov
f0e62971aa Mongo GridFS Query added.
Mongo GridFS AR added as draft.
2013-12-04 17:02:26 +02:00
Alexander Makarov
26767735dc Renamed byte methods, moved path methods back to StringHelper 2013-12-04 14:26:47 +01:00
Paul Klimov
16d857df50 Mongo File Collection added. 2013-12-04 14:12:19 +02:00
Paul Klimov
156f7c0467 Unit tests for Mongo updated to check nested columns. 2013-12-04 11:18:09 +02:00
Alexander Makarov
5f2a612c78 Moved file and path related methods from StringHelper to FileHelper, renamed StringHelper byte methods not to be misused as string methods 2013-12-04 09:48:01 +01:00
Qiang Xue
164ddf98b0 Fixed test break. 2013-12-04 00:06:01 -05:00
Qiang Xue
b868e91fee Fixed test break. 2013-12-03 23:52:21 -05:00
Qiang Xue
b0568612bf Fixes #1402: AR eager loading has problem when asArray() is used together with viaTable(). 2013-12-03 20:58:20 -05:00
Paul Klimov
3e744b73e9 Mongo Collection "findAll" method removed.
Logging and profiling for Mongo Query added.
2013-12-03 16:19:45 +02:00
Paul Klimov
1a9d5a11ff Mongo Collection "deleteAllIndexes" return result fixed. 2013-12-03 15:28:35 +02:00