260 Commits

Author SHA1 Message Date
f473abe17f Fixes #1405: fixed disambiguation of relation names generated by gii. 2013-12-02 21:00:58 -05:00
7d1443e4b3 Gii crud generator broken 2013-12-02 10:29:42 -03:00
62ef37219d Merge pull request #1382 from cebe/elastic-debug-toolbar
Elasticsearch debug toolbar
2013-12-01 16:23:18 -08:00
b68c9f1d40 added image to readme 2013-12-01 22:30:04 +01:00
5a3dba60be created debug panel for elasticsearch
this panel shows all logged elasticsearch queries and allows to execute
them to see the results.
2013-12-01 22:21:22 +01:00
d605864ae2 reverted 5425dc92c6ce3eea5953a9bced79af02856f1e94 2013-12-01 09:25:14 -05:00
4565df9313 added debug panel for elasticsearch 2013-12-01 14:17:56 +01:00
d52cf5a222 Fixed sphinx composer.json 2013-12-01 05:43:40 +01:00
d650ca3a08 updated gii crud to work with non SQL AR 2013-12-01 02:47:41 +01:00
5425dc92c6 fixed composer targetdir 2013-12-01 01:17:59 +01:00
73442fb12a doc fix. 2013-11-30 15:51:20 -05:00
f5f443abbd Merge pull request #1359 from yiisoft/activerecord-interface
ActiveRecord Interface and BaseAR
2013-11-30 11:01:33 -08:00
48199cfc00 renamed redis tableName() to keyPrefix() 2013-11-30 15:30:05 +01:00
8245e574d9 fixed readme 2013-11-29 23:59:09 -05:00
c7c13a6693 Added concrete http exception classes. 2013-11-29 21:22:08 -05: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
3dbb3d40dd Sphinx unit tests fixed. 2013-11-28 11:34:13 +02: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
be583a7a22 fixed problem with sorting by id in elasticsearch
issue #1317
2013-11-27 23:27:47 +01:00
16239c2395 reverted wrong change in sphinx 2013-11-27 22:31:44 +01:00
8995c0b0ca Code style fixes for layouts 2013-11-28 01:19:43 +04:00
91998d03a7 fixed typo in README 2013-11-26 16:58:20 +01:00
21014b4064 swapped docs and Exception to type InvalidParamException 2013-11-26 04:56:07 +02:00
16739ec3f0 Merge pull request #1321 from pmoust/inheritdoc-fix
fixed PhpDoc by swapping to {@inheritdoc}
2013-11-25 18:29:59 -08:00
80de4e6e65 more docs on elasticsearch 2013-11-26 03:27:32 +01:00
2ff8ac3d61 fixed PhpDoc by swapping to {@inheritdoc} 2013-11-26 04:24:20 +02:00
324e10694d updated sphinx active record with changes from DB AR 2013-11-26 01:48:52 +01:00
25fb11e93f Merge pull request #1295 from yiisoft/elasticsearch
[WIP] Elasticsearch
2013-11-25 16:28:11 -08:00
143addab4d improved logging and error handling 2013-11-25 23:59:27 +01:00
ee538faff7 added profile and logging to connection 2013-11-25 23:43:22 +01:00
1c08c06da8 implemented connection based on CUrl
far better than depending on fat guzzle
2013-11-25 23:32:54 +01:00
752261e9ec fixed redis session init() call
fixes #1319
2013-11-25 20:45:33 +01:00
a2aa4ff858 cleanup Command interface, alpha ready 2013-11-25 20:40:21 +01:00
40fc84b342 cleanup & docs 2013-11-25 20:29:35 +01:00
5164a1671c finalized Query interface + general cleanup 2013-11-25 20:12:45 +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
e2ff98ab53 fixed broken sphinx AR::attributes() declaration
Model::attributes() has been made static
2013-11-25 15:34:26 +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
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
613758dda5 refactored elasticsearch COnnection and Command 2013-11-25 13:09:38 +01:00
8792f21f57 more docs
[ci skip]
2013-11-25 03:33:37 +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
e837e44ac1 updated ext composer.json for issue labels 2013-11-25 02:31:23 +01:00
8ac2b7364d moved redis to extensions 2013-11-25 02:27:04 +01:00