29 Commits

Author SHA1 Message Date
4a201c7ad5 Removed unused variables 2014-02-07 13:39:35 +04:00
dd26d39dd8 Removed unused namespace imports 2014-02-07 13:26:00 +04:00
16e1aff41b renamed ActiveRecord::create() to populateRecord()
- refactored elasticsearch AR to make type and index available in
  instantiate(), issue #1313

fixes #2281
2014-02-03 14:07:12 +01:00
f6dd6fa2e9 Renamed ActiveRecordInterface::createActiveRelation() to createRelation() 2014-01-24 14:46:53 -05:00
b312b853dc added redis version req to readme
fixes #1875
2014-01-17 17:36:22 +01:00
796284cba1 reworked fix for #1993 2014-01-16 11:05:26 +01:00
81d23332df afterFind event in AR is now called after relations have been populated
fixes #1993
2014-01-16 10:28:58 +01:00
32d82f59bc Code style at redis readme fixed. 2014-01-14 12:02:46 +02:00
da9d544c54 psr-4 change. 2014-01-10 21:06:25 -05:00
41685a2409 moved extensions under yii. 2013-12-09 23:51:49 -05:00
e2b4708bbd added support for updateCounters to elasticsearch
issue #1313
2013-12-09 14:42:28 +01:00
26767735dc Renamed byte methods, moved path methods back to StringHelper 2013-12-04 14:26:47 +01:00
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
48199cfc00 renamed redis tableName() to keyPrefix() 2013-11-30 15:30:05 +01:00
d0fc987f0b fixed test break 2013-11-30 03:15:35 +01:00
ff52f28d0a adjusted elasticsearch and redis AR to use BaseAR 2013-11-30 01:30:31 +01:00
a5e3c00d75 replaced inheritdoc tags. 2013-11-29 12:49:07 -05:00
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
2ff8ac3d61 fixed PhpDoc by swapping to {@inheritdoc} 2013-11-26 04:24:20 +02:00
25fb11e93f Merge pull request #1295 from yiisoft/elasticsearch
[WIP] Elasticsearch
2013-11-25 16:28:11 -08:00
752261e9ec fixed redis session init() call
fixes #1319
2013-11-25 20:45:33 +01:00
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
8be4f3778a updated properties of extensions 2013-11-25 15:33:59 +01:00
3cb366020a added redis Session
as suggested in issue #1316
2013-11-25 14:39:21 +01:00
b5c73a3724 allow redis connection to be configure directly in cache
fixes #1316
2013-11-25 13:21:54 +01:00
b081cf5e46 moved elasticsearch to extensions 2013-11-25 03:23:12 +01:00
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
0b13c43466 refactored redis cache. 2013-11-24 20:48:40 -05:00
8ac2b7364d moved redis to extensions 2013-11-25 02:27:04 +01:00