1460 Commits

Author SHA1 Message Date
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
de1b533a08 fixed cubrid limit 2013-11-25 14:52:36 +01:00
3cb366020a added redis Session
as suggested in issue #1316
2013-11-25 14:39:21 +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
8ac2b7364d moved redis to extensions 2013-11-25 02:27:04 +01:00
2cd0a2cdba docs
[ci skip]
2013-11-25 00:47:10 +01:00
4b353c7bce Fixes #1297: CSRF not generated on error pages 2013-11-24 17:41:09 -05:00
325fc28182 several fixes and cleanup 2013-11-24 22:46:13 +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
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
0b43aa4f81 Fixes #1310: ActiveRelation does not preserve order of items on find via() and viaTable() 2013-11-24 13:47:40 -05:00
6920da4a80 fixed limit/offset for sqlite,mysql and cubrid
tests for this are on elasticsearch branch (due to huge refactoring
there) and will come later by merge
2013-11-24 19:22:51 +01:00
f017ba357f refactored unit tests. put common AR tests in trait 2013-11-24 19:18:16 +01:00
e4e376ba28 fixed test break. 2013-11-24 11:52:50 -05:00
858326c074 Fixed test break. 2013-11-24 11:51:55 -05: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
337b1b08b5 Fixes #1298: supporting route with trailing slash. 2013-11-23 23:22:58 -05:00
210cbda732 Fixes #1296: stricter check of dashes in route. 2013-11-23 23:05:06 -05:00
983b2286ba elasticsearch AR relations + null values 2013-11-24 04:07:25 +01:00
69fa7bab6b Fixes #1307: move batchInsert() to base class. 2013-11-23 20:44:36 -05:00
58b1538b39 refactored elasticsearch Querybuilder build conditions 2013-11-24 02:00:27 +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
7b0ba10d31 Fixes #1248: url manager didn't handle array parameters well. 2013-11-23 13:13:12 -05:00
04739a0876 Merge pull request #1304 from pmoust/revokeAll
implements #563 - revokeAll()
2013-11-23 10:06:28 -08:00
1ae4103b9d fixed Sort::params to be retrieved from Request instead of $_GET
for consistency with paginiation
2013-11-23 18:08:14 +01:00
679da53390 polished Query API 2013-11-23 18:07:19 +01:00
ec37003a9a revokeAll() implementation for PhpManager 2013-11-23 18:36:40 +02:00
234feabaac revokeAll() implementation for DbManager 2013-11-23 18:36:19 +02:00
8eb3b53f2a added abstract function revokeAll() 2013-11-23 18:35:28 +02:00
454a9ee52e fixes #1303: Security::decrypt now returns null w/o error when null is passed as $data 2013-11-23 19:44:03 +04:00
c6347d6d01 polished elasticsearch AR api, added mget and fixed AR::equals() 2013-11-23 15:26:00 +01:00
426223af1d more query methods and fixes 2013-11-23 07:41:12 +01:00
779d6b6e96 fixed count and asArray() 2013-11-23 07:40:40 +01:00
39ff11a374 first draft of elasticsearch AR 2013-11-23 06:30:36 +01:00
9f12185362 elasticsearch ActiveRelation and activeQuery 2013-11-23 03:26:52 +01:00
d8feaeb93b refactored redis AR Query::scalar() 2013-11-23 03:20:49 +01:00
bd589620d8 Merge branch 'master' into elasticsearch
* master: (59 commits)
  Refactored hasMany and hasOne so that they support cross-DBMS relationship.
  removed unused asset.php files
  fixed composer.json autoload pathes
  fixed c&p error
  allow installing yii2-dev and get the Yii.php file in the same place
  updated dev composer.json dependencies
  added composer.json for yii2-dev package
  fixed broken UniqueValidator
  removed call to nonexistsend property
  cleanup redis AR
  refactored Model and redis AR to allow drop of RecordSchema
  refactored redis AR to relect the latest changes
  "yii\swiftmailer\Mailer::createSwiftObject()" simplified.
  fixed empty result in findByPk list
  fixed problem with not closed transaction in deleteAll()
  fixed broken test
  apply changes to db\AR -> redis\AR
  added dependency in db\AR -> redis\AR needs to be refactored later
  redis AR cleanup
  ensure atomicity of operations
  ...

Conflicts:
	tests/unit/data/config.php
2013-11-23 03:02:35 +01:00
a07facf434 Refactored hasMany and hasOne so that they support cross-DBMS relationship. 2013-11-22 20:47:39 -05:00
e0fcecf222 implemented base index and data manipulation api 2013-11-23 02:27:00 +01:00
a95d54ccb7 Merge pull request #905 from yiisoft/redis
[WIP] Redis ActiveRecord
2013-11-22 17:26:19 -08:00
863f523896 removed unused asset.php files 2013-11-23 02:16:19 +01:00
8341a59717 Merge branch 'master' into elasticsearch
* master: (587 commits)
  fixed typo
  Fixes #1222: refactored jui/Widget, intorduced jui/Slider and jui/SliderInput
  Correct Nav.php comments/PHP doc to reflect BS3 dropdown support.
  Correct Nav.php comments/PHP doc to reflect BS3 dropdown support.
  Correct Nav.php comments/PHP doc to reflect BS3 dropdown support.
  Added example for dividers to bootstrap Nav
  Checkboxlist documentation fix
  Added "Using controller action to render errors"
  Fix doc
  Renamed DetailView attribute type to format
  encode email in Formatter
  Added default status code setting.
  "yii\swiftmailer\Mailer" transport setup has been advanced to support constructor arguments and plugins.
  fix rbac select statement
  Comments cleanup.
  Reverted closeButton
  Nomenclature and code realignment.
  better nginx config
  guide about using bootstrap less files
  Include Schema in new migrations by default
  ...

Conflicts:
	framework/composer.json
	tests/unit/data/config.php
2013-11-22 20:19:49 +01:00
ed98df5cd8 fixed broken UniqueValidator 2013-11-22 19:20:46 +01:00
6995e8ddd0 removed call to nonexistsend property 2013-11-22 19:02:27 +01:00
4459cb4f2b cleanup redis AR 2013-11-22 19:01:33 +01:00