Commit Graph

253 Commits

Author SHA1 Message Date
Carsten Brandt
d52cf5a222 Fixed sphinx composer.json 2013-12-01 05:43:40 +01:00
Carsten Brandt
d650ca3a08 updated gii crud to work with non SQL AR 2013-12-01 02:47:41 +01:00
Carsten Brandt
5425dc92c6 fixed composer targetdir 2013-12-01 01:17:59 +01:00
Qiang Xue
73442fb12a doc fix. 2013-11-30 15:51:20 -05:00
Qiang Xue
f5f443abbd Merge pull request #1359 from yiisoft/activerecord-interface
ActiveRecord Interface and BaseAR
2013-11-30 11:01:33 -08:00
Carsten Brandt
48199cfc00 renamed redis tableName() to keyPrefix() 2013-11-30 15:30:05 +01:00
Qiang Xue
8245e574d9 fixed readme 2013-11-29 23:59:09 -05:00
Qiang Xue
c7c13a6693 Added concrete http exception classes. 2013-11-29 21:22:08 -05:00
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
Qiang Xue
a5e3c00d75 replaced inheritdoc tags. 2013-11-29 12:49:07 -05:00
Paul Klimov
3dbb3d40dd Sphinx unit tests fixed. 2013-11-28 11:34:13 +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
Carsten Brandt
91998d03a7 fixed typo in README 2013-11-26 16:58:20 +01: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
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
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
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
Carsten Brandt
e837e44ac1 updated ext composer.json for issue labels 2013-11-25 02:31:23 +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
Klimov Paul
5a8afcf720 "yii\sphinx\ActiveQuery" updated to throw exception on conflict between "asArray" and "snippetByModel" options. 2013-11-23 18:42:43 +02:00
Klimov Paul
2c22fe3f25 Code style and docs at "yii\sphinx\*" fixed. 2013-11-23 18:22:54 +02:00
Carsten Brandt
863f523896 removed unused asset.php files 2013-11-23 02:16:19 +01:00
Carsten Brandt
d8dbe5a4d3 fixed c&p error 2013-11-23 00:31:12 +01:00
Carsten Brandt
999b42555d allow installing yii2-dev and get the Yii.php file in the same place 2013-11-22 22:48:37 +01:00
Paul Klimov
b20e57688a "yii\swiftmailer\Mailer::createSwiftObject()" simplified. 2013-11-22 16:46:31 +02:00