Commit Graph

3198 Commits

Author SHA1 Message Date
Paul Klimov
a39b2d3799 Default options setup added to Mongo Collection operations. 2013-11-29 16:59:38 +02:00
Paul Klimov
9c7d2b23c2 Mongo Active Record and Active Query fixed. 2013-11-29 16:40:57 +02:00
Klimov Paul
dc3ada65a5 Mongo query "IN" condition shortcut syntax added. 2013-11-28 20:36:38 +02:00
Klimov Paul
a038449801 Merge branch 'master' of github.com:yiisoft/yii2 into mongo 2013-11-28 20:06:56 +02:00
Paul Klimov
9da7a80f0f Mongo query condition composition composed. 2013-11-28 17:21:47 +02:00
Qiang Xue
bd8f74cf12 Refactored MessageInterface::send(). 2013-11-28 09:55:35 -05:00
Qiang Xue
c22409e397 Fixed test break using file transport. 2013-11-28 09:22:08 -05:00
Qiang Xue
0390a99833 Use backquotes to quote column and table names for sqlite (related with #1318) 2013-11-28 09:04:16 -05:00
Paul Klimov
3dbb3d40dd Sphinx unit tests fixed. 2013-11-28 11:34:13 +02:00
Paul Klimov
ee0c9ed61e Merge branch 'master' of github.com:yiisoft/yii2 into mongo 2013-11-28 10:56:49 +02:00
Qiang Xue
bb6b75e794 fixed exception check in test. 2013-11-27 23:07:15 -05:00
Carsten Brandt
184e3dfb30 added missing aliases to swiftmailer tests 2013-11-28 01:27:10 +01: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
e1fe5115cd fixed vendor path in tests 2013-11-28 00:44:37 +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
be583a7a22 fixed problem with sorting by id in elasticsearch
issue #1317
2013-11-27 23:27:47 +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
d42a942aed Mongo Command 'update' and 'insertBatch' methods added. 2013-11-27 16:40:29 +02:00
Paul Klimov
4f5f5bb691 Mongo Query implemented as draft. 2013-11-27 14:29:05 +02:00
Paul Klimov
ec2df146a8 Mongo Connection updated allowing to fetch default database name from options. 2013-11-27 12:00:32 +02:00
Paul Klimov
6eeeb6d169 Mongo test config fixed. 2013-11-27 11:54:09 +02:00
Klimov Paul
38df36840f Mongo test config updated. 2013-11-26 21:19:16 +02:00
Klimov Paul
529af8edc4 Mongo "Database" and "Collection" classes introduced. 2013-11-26 21:16:55 +02:00
Paul Klimov
3b5ee4fbe9 Mongo Command created. 2013-11-26 17:03:08 +02:00
Carsten Brandt
1c08c06da8 implemented connection based on CUrl
far better than depending on fat guzzle
2013-11-25 23:32:54 +01:00
Carsten Brandt
5164a1671c finalized Query interface + general cleanup 2013-11-25 20:12:45 +01:00
Paul Klimov
c929268b25 Mongo classes created as blank. 2013-11-25 17:06:31 +02:00
Carsten Brandt
025d36cbec even more on random test failure 2013-11-25 16:05:49 +01:00
Carsten Brandt
d56e020109 more random test fixes 2013-11-25 14:07:30 +01:00
Paul Klimov
c61ebcc5b7 Mongo connection advanced. 2013-11-25 14:34:22 +02:00
Carsten Brandt
c1febb74ff reduce randomness in test results 2013-11-25 13:29:54 +01:00
Carsten Brandt
613758dda5 refactored elasticsearch COnnection and Command 2013-11-25 13:09:38 +01:00
Paul Klimov
ae0f04be99 Mongo extension created as blank. 2013-11-25 14:05:22 +02:00
Carsten Brandt
b081cf5e46 moved elasticsearch to extensions 2013-11-25 03:23:12 +01:00
Carsten Brandt
f6811002ca Merge branch 'master' into elasticsearch
* master: (59 commits)
  updated ext composer.json for issue labels
  moved redis to extensions
  fixed whitespaces
  update composer to include sphinx
  Added initial steps about configuring DB-based RBAC
  Fixes #1297: CSRF not generated on error pages
  fixes #1158 mentioned @web alias in docs
  Merged RBAC draft into authorization
  "yii\sphinx\ActiveQuery" updated to throw exception on conflict between "asArray" and "snippetByModel" options.
  Code style and docs at "yii\sphinx\*" fixed.
  Docs for Sphinx extension updated.
  Redundant typecast removed from yii\sphinx\ActiveRecord::create()
  yii\sphinx\Command reworked to extend yii\db\Command. yii\sphinx\DataReader removed.
  Sphinx Active Record updated to be compatible with ActiveDataProvider.
  Sphinx documentation updated.
  Sphinx documentation updated.
  Sphinx has many relation test prepared.
  Sphinx Query refactored.
  Create relation methods added to Sphinx Active Record.
  Sphinx Query Builder updated to respect column types for where statements
  ...
2013-11-25 03:21:08 +01:00
Carsten Brandt
8ac2b7364d moved redis to extensions 2013-11-25 02:27:04 +01:00
Qiang Xue
13f6a11277 Merge pull request #1259 from klimov-paul/sphinx
Sphinx fulltext search engine integration
2013-11-24 14:42:43 -08:00
Carsten Brandt
325fc28182 several fixes and cleanup 2013-11-24 22:46:13 +01:00
Carsten Brandt
47705f0bc9 corrected assertations for test on #1310 2013-11-24 20:58:28 +01:00
Carsten Brandt
b6b2689853 Merge branch 'master' into elasticsearch
* master:
  Fixes #1253
  Fixes #1310: ActiveRelation does not preserve order of items on find via() and viaTable()
  fixed limit/offset for sqlite,mysql and cubrid
  fixed test break.
  Fixed test break.
  Fixes #1301: fixed scenario generation when there are "except" scenarios.
  support for batch insert in sqlite older than 3.7.11
  Fixes #1298: supporting route with trailing slash.
  Fixes #1296: stricter check of dashes in route.
  Fixes #1307: move batchInsert() to base class.
  Update apps-advanced.md
2013-11-24 20:51:26 +01:00