Commit Graph

199 Commits

Author SHA1 Message Date
Alexander Makarov
71835d977e More short syntax for arrays 2014-03-07 02:03:23 +04:00
Carsten Brandt
f90a369932 Skipping CUBRID on HHVM 2014-03-03 18:51:03 +01:00
Carsten Brandt
b6e0c2b26f skipping memcache on HHVM 2014-03-03 18:41:47 +01:00
Qiang Xue
d3ff343e5e try to fix test break. 2014-02-27 22:07:13 -05:00
Carsten Brandt
c21e01930e added unit test for #2568 2014-02-27 15:13:51 +01:00
Carsten Brandt
683a46d9ee test for deeply nested relation
close #2543
2014-02-25 15:03:54 +01:00
Carsten Brandt
3b40d44909 made createQuery() config param optional 2014-02-20 05:54:47 +01:00
Carsten Brandt
1708a36d95 WIP merge ActiveRelation into ActiveQuery
allow extending only one class to add scopes, fixes #2146

TODO:

- [ ] adjust guide docs
- [ ] adjust README files of extensions
- [ ] finish work and fix test breaks
2014-02-20 05:53:36 +01:00
Qiang Xue
c92a260a3d Fixes #2415: Added support for inverse relations 2014-02-18 19:43:05 -05:00
Alexander Makarov
dd26d39dd8 Removed unused namespace imports 2014-02-07 13:26:00 +04:00
Alexander Makarov
1e602adb6e - Fixed BaseFileHelper::localize docs.
- DbMessageSource now performs UNION ALL.
- Fixed message merging for php and po.
- Updated tests.
2014-01-23 20:34:46 +04:00
Alexander Makarov
76705b4319 Merge branch 'master'
Conflicts:
	tests/unit/data/ar/elasticsearch/Customer.php
2014-01-22 03:06:21 +04:00
Klimov Paul
504fc76f5c Unit test for yii\mongodb\file\ActiveRecord fixed 2014-01-21 21:39:22 +02:00
Luciano Baraglia
7d33a5d3b5 Some Code style fixes 2014-01-19 13:35:36 -03:00
Alexander Kochetov
0ec5643ce3 Unit tests updated 2014-01-19 13:51:56 +04:00
Alexander Makarov
87d42e9f37 Fixed wrong namespace 2014-01-17 23:37:39 +04:00
Alexander Makarov
af385858c7 Fixed tests for elasticsearch, mongo, redis 2014-01-17 23:24:31 +04:00
Alexander Makarov
ed97632f53 Fixed scope method signatures 2014-01-17 23:01:13 +04:00
Alexander Makarov
0699eaadd5 Fixed test breaks 2014-01-17 22:33:10 +04:00
Carsten Brandt
f6530314e2 Merge pull request #1765 from yiisoft/elasticsearch-pk-refactoring
[WIP] Changed elasticsearch AR primary key handling
2014-01-10 15:56:22 -08:00
Carsten Brandt
5dca1257b2 reverted primaryKey of elasticsearch to be array again
meet the AR interface requirements.
2014-01-09 13:44:12 +01:00
Qiang Xue
c4c328dc92 Fixes #1791: support ON condition for relational query. 2014-01-06 23:56:58 -05:00
Carsten Brandt
a7b852fcc3 Changed elasticsearch AR primary key handling
now supports mapped primary key when _id is part of source with an
alias.
2014-01-04 04:26:50 +01:00
Antonio Ramirez
53160797df added tests 2013-12-29 21:43:26 +01:00
Qiang Xue
4f44bb2416 Fixes #1581: Added ActiveQuery::joinWith() to support joining with relations 2013-12-24 00:08:49 -05:00
Carsten Brandt
4d1390ceb1 fixed travis mongodb 2013-12-18 04:33:41 +01:00
Paul Klimov
9b5f3fab99 Extension "mongo" renamed into "mongodb" 2013-12-06 17:35:32 +02:00
Klimov Paul
ca608a81a4 Mongo file Active Record updated. 2013-12-05 00:15:23 +02:00
Paul Klimov
96e794b4d3 Merge branch 'master' of github.com:yiisoft/yii2 into mongo 2013-12-03 11:20:02 +02:00
Paul Klimov
750c6275c0 Sphinx test AR classes moved to 'data/ar/sphinx'. 2013-12-03 10:46:02 +02:00
Klimov Paul
50a7bfea68 Merge branch 'master' of github.com:yiisoft/yii2 into mongo 2013-12-01 20:12:31 +02:00
Klimov Paul
0b8784860f Moved sphinx source database setup into ".sh" file allowing to use relative file path. 2013-12-01 18:00:08 +02:00
Klimov Paul
1129d820ed Mongo Active Relation unit test fixed. 2013-12-01 17:45:18 +02:00
Paul Klimov
3fd6d95aff Unit test for Mongo Active Relation added. 2013-11-29 17:25:17 +02:00
Paul Klimov
9c7d2b23c2 Mongo Active Record and Active Query fixed. 2013-11-29 16:40:57 +02:00
Paul Klimov
ee0c9ed61e Merge branch 'master' of github.com:yiisoft/yii2 into mongo 2013-11-28 10:56:49 +02:00
Carsten Brandt
83527e85ca made Model::attributes() non static again
- allows to have dynamic definition of attributes depended on the
  instance
- there was no real need for it to be static. Places that used it static
  have been refactored.

fixes #1318
2013-11-28 01:01:48 +01:00
Carsten Brandt
b4fb8abb87 reverted accidentally changed binary files
PR #1340 changed/broke them
2013-11-27 23:36:09 +01:00
Carsten Brandt
789f0285b8 adjusted sphinx tests to AR changes 2013-11-27 23:03:33 +01:00
Panagiotis Moustafellos
feef1256bd updated travis tests README 2013-11-27 22:54:58 +02:00
Panagiotis Moustafellos
0387666c8b added sphinx runtime pid dir 2013-11-27 22:30:31 +02:00
Panagiotis Moustafellos
75cc595630 proper db name (comply with yiitest) #2 2013-11-27 22:26:57 +02:00
Panagiotis Moustafellos
12fe9292fe proper db name (comply with yiitest) 2013-11-27 22:23:11 +02:00
Panagiotis Moustafellos
174574ebed created log and spl dir 2013-11-27 22:14:44 +02:00
Panagiotis Moustafellos
79771feab3 Revert "forcing travis build"
This reverts commit 0d8ae877d3.
2013-11-27 22:12:47 +02:00
Panagiotis Moustafellos
0d8ae877d3 forcing travis build 2013-11-27 22:10:41 +02:00
Panagiotis Moustafellos
5290fdfc81 adding sphinx log dirs etc 2013-11-27 22:06:28 +02:00
Panagiotis Moustafellos
5cb2283d89 Travis: Adding sphinx support 2013-11-27 21:52:10 +02:00
Panagiotis Moustafellos
f6a3496e8d Removed trailing whitespace.. (OCD really kicking in) 2013-11-27 19:53:11 +02:00
Paul Klimov
6eeeb6d169 Mongo test config fixed. 2013-11-27 11:54:09 +02:00