886 Commits

Author SHA1 Message Date
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
e1fe5115cd fixed vendor path in tests 2013-11-28 00:44:37 +01:00
b4fb8abb87 reverted accidentally changed binary files
PR #1340 changed/broke them
2013-11-27 23:36:09 +01:00
be583a7a22 fixed problem with sorting by id in elasticsearch
issue #1317
2013-11-27 23:27:47 +01:00
789f0285b8 adjusted sphinx tests to AR changes 2013-11-27 23:03:33 +01:00
feef1256bd updated travis tests README 2013-11-27 22:54:58 +02:00
0387666c8b added sphinx runtime pid dir 2013-11-27 22:30:31 +02:00
75cc595630 proper db name (comply with yiitest) #2 2013-11-27 22:26:57 +02:00
12fe9292fe proper db name (comply with yiitest) 2013-11-27 22:23:11 +02:00
174574ebed created log and spl dir 2013-11-27 22:14:44 +02:00
79771feab3 Revert "forcing travis build"
This reverts commit 0d8ae877d375a11293da5771e9937684e707aebe.
2013-11-27 22:12:47 +02:00
0d8ae877d3 forcing travis build 2013-11-27 22:10:41 +02:00
5290fdfc81 adding sphinx log dirs etc 2013-11-27 22:06:28 +02:00
5cb2283d89 Travis: Adding sphinx support 2013-11-27 21:52:10 +02:00
f6a3496e8d Removed trailing whitespace.. (OCD really kicking in) 2013-11-27 19:53:11 +02:00
d42a942aed Mongo Command 'update' and 'insertBatch' methods added. 2013-11-27 16:40:29 +02:00
4f5f5bb691 Mongo Query implemented as draft. 2013-11-27 14:29:05 +02:00
ec2df146a8 Mongo Connection updated allowing to fetch default database name from options. 2013-11-27 12:00:32 +02:00
6eeeb6d169 Mongo test config fixed. 2013-11-27 11:54:09 +02:00
38df36840f Mongo test config updated. 2013-11-26 21:19:16 +02:00
529af8edc4 Mongo "Database" and "Collection" classes introduced. 2013-11-26 21:16:55 +02:00
3b5ee4fbe9 Mongo Command created. 2013-11-26 17:03:08 +02:00
1c08c06da8 implemented connection based on CUrl
far better than depending on fat guzzle
2013-11-25 23:32:54 +01:00
5164a1671c finalized Query interface + general cleanup 2013-11-25 20:12:45 +01:00
c929268b25 Mongo classes created as blank. 2013-11-25 17:06:31 +02:00
025d36cbec even more on random test failure 2013-11-25 16:05:49 +01:00
d56e020109 more random test fixes 2013-11-25 14:07:30 +01:00
c61ebcc5b7 Mongo connection advanced. 2013-11-25 14:34:22 +02:00
c1febb74ff reduce randomness in test results 2013-11-25 13:29:54 +01:00
613758dda5 refactored elasticsearch COnnection and Command 2013-11-25 13:09:38 +01:00
ae0f04be99 Mongo extension created as blank. 2013-11-25 14:05:22 +02: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
8ac2b7364d moved redis to extensions 2013-11-25 02:27:04 +01:00
13f6a11277 Merge pull request #1259 from klimov-paul/sphinx
Sphinx fulltext search engine integration
2013-11-24 14:42:43 -08:00
325fc28182 several fixes and cleanup 2013-11-24 22:46:13 +01:00
47705f0bc9 corrected assertations for test on #1310 2013-11-24 20:58:28 +01:00
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
af5d87ac4d renamed elasticsearch PK to id 2013-11-24 20:49:12 +01:00
643593737d added test case for #1310 2013-11-24 20:45:50 +01:00
cf73f40d79 Merge pull request #1309 from nineinchnick/batch-insert
support for batch insert in sqlite older than 3.7.11
2013-11-24 11:36:57 -08:00
1de06faa3b Fixes #1253 2013-11-24 14:18:33 -05:00
f017ba357f refactored unit tests. put common AR tests in trait 2013-11-24 19:18:16 +01:00
039ed688cf Fixes #1301: fixed scenario generation when there are "except" scenarios. 2013-11-24 10:23:22 -05:00
e9fcde3264 support for batch insert in sqlite older than 3.7.11 2013-11-24 11:53:27 +01:00
983b2286ba elasticsearch AR relations + null values 2013-11-24 04:07:25 +01:00
f8b53197ac Merge branch 'master' into elasticsearch
* master:
  Fixes #1248: url manager didn't handle array parameters well.
  travis: speed up composer
  fixes #1306
  fixed travis and composer issue
  fixed array helper test
  fixed Sort test
  some clarification on model docs
  fixed Sort::params to be retrieved from Request instead of $_GET
  revokeAll() implementation for PhpManager
  revokeAll() implementation for DbManager
  added abstract function revokeAll()
  indentation fix
  fixes #1303: Security::decrypt now returns null w/o error when null is passed as $data
  Added link to new RBAC page
  added link to forum thread
  Basic information about RBAC
  RBAC documentation
  added revokeAll() test
  refactored redis AR Query::scalar()

Conflicts:
	.travis.yml
2013-11-24 00:32:43 +01:00
e15860c3fa more on elasticsearch Query interface added facet search 2013-11-24 00:30:36 +01:00
04739a0876 Merge pull request #1304 from pmoust/revokeAll
implements #563 - revokeAll()
2013-11-23 10:06:28 -08:00
c10e8af824 fixed array helper test 2013-11-23 18:36:26 +01:00