Commit Graph

1262 Commits

Author SHA1 Message Date
Carsten Brandt
d0fc987f0b fixed test break 2013-11-30 03:15:35 +01:00
Carsten Brandt
ff52f28d0a adjusted elasticsearch and redis AR to use BaseAR 2013-11-30 01:30:31 +01:00
Klimov Paul
27a1c63e26 Mongo "_id" processing advanced. 2013-11-29 20:55:41 +02:00
Qiang Xue
a5e3c00d75 replaced inheritdoc tags. 2013-11-29 12:49:07 -05:00
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
Paul Klimov
0f7ded8f53 Mongo query unit test fixed. 2013-11-29 12:27:22 +02:00
Klimov Paul
37664fff9b Mongo Active Record created as draft. 2013-11-28 21:25:17 +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
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
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
be583a7a22 fixed problem with sorting by id in elasticsearch
issue #1317
2013-11-27 23:27:47 +01:00
Carsten Brandt
16239c2395 reverted wrong change in sphinx 2013-11-27 22:31:44 +01:00
Alexander Makarov
8995c0b0ca Code style fixes for layouts 2013-11-28 01:19:43 +04: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
Klimov Paul
529af8edc4 Mongo "Database" and "Collection" classes introduced. 2013-11-26 21:16:55 +02:00
Carsten Brandt
91998d03a7 fixed typo in README 2013-11-26 16:58:20 +01:00
Paul Klimov
3b5ee4fbe9 Mongo Command created. 2013-11-26 17:03:08 +02:00
Panagiotis Moustafellos
21014b4064 swapped docs and Exception to type InvalidParamException 2013-11-26 04:56:07 +02:00
Qiang Xue
16739ec3f0 Merge pull request #1321 from pmoust/inheritdoc-fix
fixed PhpDoc by swapping to {@inheritdoc}
2013-11-25 18:29:59 -08:00
Carsten Brandt
80de4e6e65 more docs on elasticsearch 2013-11-26 03:27:32 +01:00
Panagiotis Moustafellos
2ff8ac3d61 fixed PhpDoc by swapping to {@inheritdoc} 2013-11-26 04:24:20 +02:00
Carsten Brandt
324e10694d updated sphinx active record with changes from DB AR 2013-11-26 01:48:52 +01:00
Qiang Xue
25fb11e93f Merge pull request #1295 from yiisoft/elasticsearch
[WIP] Elasticsearch
2013-11-25 16:28:11 -08:00
Carsten Brandt
143addab4d improved logging and error handling 2013-11-25 23:59:27 +01:00
Carsten Brandt
ee538faff7 added profile and logging to connection 2013-11-25 23:43:22 +01: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
752261e9ec fixed redis session init() call
fixes #1319
2013-11-25 20:45:33 +01:00
Carsten Brandt
a2aa4ff858 cleanup Command interface, alpha ready 2013-11-25 20:40:21 +01:00
Carsten Brandt
40fc84b342 cleanup & docs 2013-11-25 20:29:35 +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
084f6666f1 Merge branch 'master' into elasticsearch
* master:
  fixed broken sphinx AR::attributes() declaration
  updated properties of extensions
  fixed cubrid limit
  added redis Session
  allow redis connection to be configure directly in cache
  removed unneeded setting.
  refactored redis cache.

Conflicts:
	extensions/redis/README.md
2013-11-25 15:49:06 +01:00
Carsten Brandt
e2ff98ab53 fixed broken sphinx AR::attributes() declaration
Model::attributes() has been made static
2013-11-25 15:34:26 +01:00
Carsten Brandt
8be4f3778a updated properties of extensions 2013-11-25 15:33:59 +01:00
Carsten Brandt
3cb366020a added redis Session
as suggested in issue #1316
2013-11-25 14:39:21 +01:00
Paul Klimov
c61ebcc5b7 Mongo connection advanced. 2013-11-25 14:34:22 +02:00
Carsten Brandt
b5c73a3724 allow redis connection to be configure directly in cache
fixes #1316
2013-11-25 13:21:54 +01:00
Carsten Brandt
38e5788e5c Merge branch 'master' of github.com:yiisoft/yii2
* 'master' of github.com:yiisoft/yii2:
  removed unneeded setting.
  refactored redis cache.
2013-11-25 13:10:27 +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
8792f21f57 more docs
[ci skip]
2013-11-25 03:33:37 +01: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
Qiang Xue
0b13c43466 refactored redis cache. 2013-11-24 20:48:40 -05:00