Commit Graph

7547 Commits

Author SHA1 Message Date
Carsten Brandt
a0a3c36c39 make travis work 2013-11-23 18:38:06 +01:00
Carsten Brandt
c10e8af824 fixed array helper test 2013-11-23 18:36:26 +01:00
Carsten Brandt
9288efb924 fixed Sort test 2013-11-23 18:27:58 +01:00
Carsten Brandt
3c1596c9ca some clarification on model docs 2013-11-23 18:17:39 +01:00
Carsten Brandt
1ae4103b9d fixed Sort::params to be retrieved from Request instead of $_GET
for consistency with paginiation
2013-11-23 18:08:14 +01:00
Carsten Brandt
679da53390 polished Query API 2013-11-23 18:07:19 +01: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
Panagiotis Moustafellos
ec37003a9a revokeAll() implementation for PhpManager 2013-11-23 18:36:40 +02:00
Panagiotis Moustafellos
234feabaac revokeAll() implementation for DbManager 2013-11-23 18:36:19 +02:00
Panagiotis Moustafellos
8eb3b53f2a added abstract function revokeAll() 2013-11-23 18:35:28 +02:00
Klimov Paul
2c22fe3f25 Code style and docs at "yii\sphinx\*" fixed. 2013-11-23 18:22:54 +02:00
Panagiotis Moustafellos
e16fb9596b indentation fix 2013-11-23 18:21:26 +02:00
Alexander Makarov
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
Alexander Makarov
5e1154217a Merge pull request #1302 from docsolver/patch-1
Added link to new RBAC page
2013-11-23 07:16:47 -08:00
Vincent
d32813f38d Added link to new RBAC page 2013-11-23 16:04:03 +01:00
Carsten Brandt
c6347d6d01 polished elasticsearch AR api, added mget and fixed AR::equals() 2013-11-23 15:26:00 +01:00
Carsten Brandt
5727855227 added link to forum thread 2013-11-23 15:23:00 +01:00
Carsten Brandt
3a73277c93 Merge pull request #1300 from docsolver/master
Basic documentation about RBAC
2013-11-23 06:21:55 -08:00
Vincent
5b785bf778 Basic information about RBAC 2013-11-23 14:44:38 +01:00
Vincent De Munck
dc8670c98e RBAC documentation 2013-11-23 14:39:55 +01:00
Panagiotis Moustafellos
820f840ce3 added revokeAll() test 2013-11-23 15:30:15 +02:00
Carsten Brandt
426223af1d more query methods and fixes 2013-11-23 07:41:12 +01:00
Carsten Brandt
779d6b6e96 fixed count and asArray() 2013-11-23 07:40:40 +01:00
Carsten Brandt
39ff11a374 first draft of elasticsearch AR 2013-11-23 06:30:36 +01:00
Carsten Brandt
9f12185362 elasticsearch ActiveRelation and activeQuery 2013-11-23 03:26:52 +01:00
Carsten Brandt
d8feaeb93b refactored redis AR Query::scalar() 2013-11-23 03:20:49 +01:00
Carsten Brandt
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
Qiang Xue
a07facf434 Refactored hasMany and hasOne so that they support cross-DBMS relationship. 2013-11-22 20:47:39 -05:00
Carsten Brandt
e0fcecf222 implemented base index and data manipulation api 2013-11-23 02:27:00 +01:00
Qiang Xue
a95d54ccb7 Merge pull request #905 from yiisoft/redis
[WIP] Redis ActiveRecord
2013-11-22 17:26:19 -08:00
Carsten Brandt
863f523896 removed unused asset.php files 2013-11-23 02:16:19 +01:00
Carsten Brandt
0d0f1c2b5d fixed composer.json autoload pathes 2013-11-23 01:49:53 +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
Carsten Brandt
898bbf3311 updated dev composer.json dependencies
also removed composer plugin and added it to requirements
this way the plugin is recognized by composer. would not work otherwise.

setting the repo type to yii2-extension also allows us to run composer
plugin and let it handle the extensions in this package
2013-11-22 21:28:58 +01:00
Carsten Brandt
29d02d623c added composer.json for yii2-dev package 2013-11-22 20:53:39 +01:00
Carsten Brandt
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
Carsten Brandt
ed98df5cd8 fixed broken UniqueValidator 2013-11-22 19:20:46 +01:00
Carsten Brandt
6995e8ddd0 removed call to nonexistsend property 2013-11-22 19:02:27 +01:00
Carsten Brandt
4459cb4f2b cleanup redis AR 2013-11-22 19:01:33 +01:00
Carsten Brandt
cb4504a10f refactored Model and redis AR to allow drop of RecordSchema 2013-11-22 18:44:22 +01:00
Carsten Brandt
8542448f20 refactored redis AR to relect the latest changes
- make use of traits
- short array
- better implementation of query findByPk
2013-11-22 17:29:05 +01:00
Paul Klimov
b20e57688a "yii\swiftmailer\Mailer::createSwiftObject()" simplified. 2013-11-22 16:46:31 +02:00
Carsten Brandt
bc4324c041 Merge branch 'master' into redis
* master: (613 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/yii/db/ActiveRecord.php
	framework/yii/db/ActiveRelation.php
	tests/unit/data/config.php
2013-11-22 15:04:08 +01:00
Alexander Makarov
704f9105f4 fixed typo 2013-11-22 16:19:51 +04:00
Alexander Makarov
75aa665930 Fixes #1222: refactored jui/Widget, intorduced jui/Slider and jui/SliderInput 2013-11-22 16:08:24 +04:00
Paul Klimov
400b5310ca Docs for Sphinx extension updated. 2013-11-22 14:06:32 +02:00
Paul Klimov
01c269a912 Redundant typecast removed from yii\sphinx\ActiveRecord::create() 2013-11-22 13:37:43 +02:00
Paul Klimov
c1b5946d40 yii\sphinx\Command reworked to extend yii\db\Command.
yii\sphinx\DataReader removed.
2013-11-22 13:26:42 +02:00
Paul Klimov
433ffb2e48 Merge branch 'master' of github.com:yiisoft/yii2 into sphinx 2013-11-22 13:02:06 +02:00