Carsten Brandt
77840adf65
Made ActiveRecord::isPrimaryKey() public
...
+ added tests and fixed behavior
2013-11-16 16:53:50 +01:00
egorpromo
a446f3a586
Eliminating
2013-11-16 21:14:53 +07:00
Qiang Xue
b06caa297b
Fixes #1206 .
2013-11-16 08:00:39 -05:00
Qiang Xue
ffded7a1b5
array syntax fix.
2013-11-15 10:15:25 -05:00
Qiang Xue
42a58870fe
moved db interfaces and traits back to yii/db.
2013-11-14 22:01:26 -05:00
Qiang Xue
b44921126b
Merge pull request #1097 from yiisoft/db-traits
...
Db traits
2013-11-14 05:27:00 -08:00
Carsten Brandt
8250cfbb0f
reverted change of count() signature
2013-11-14 08:06:57 +01:00
Qiang Xue
368dd4b1d4
Allow Validator::except to be either a string or an array.
2013-11-13 19:50:19 -05:00
Carsten Brandt
1acdbb741c
moved indexBy() trait -> interface + removed findWith from interface
2013-11-13 19:57:32 +01:00
Carsten Brandt
51faa62eca
updated interface and trait php-doc in yii\ar
...
[ci skip]
2013-11-13 19:52:14 +01:00
Carsten Brandt
ced7ee1b8a
dataprovider: reset orderBy when counting
...
strict sql dbms like postgres would fail otherwise
2013-11-13 19:47:35 +01:00
Carsten Brandt
9448c3d471
added unit tests for active dataprovider and fixed query tests
2013-11-13 19:35:44 +01:00
Carsten Brandt
65338972c7
refactored ActiveRecord classes to use Interfaces and traits
...
this allows us to implement other activerecord implementations based on
NoSQL dbms
2013-11-13 18:42:50 +01:00
Carsten Brandt
c8c7f59d69
Merge branch 'master' into db-traits
...
Updated AR classes with the latest changes from master to go on with
separation of AR query classes in traits.
Conflicts:
framework/yii/db/ActiveQuery.php
framework/yii/db/ActiveRecord.php
framework/yii/db/ActiveRelation.php
2013-11-13 17:00:52 +01:00
Carsten Brandt
b8e31d50bb
renamed AR trait classes
2013-11-13 16:50:30 +01:00
Qiang Xue
5b0886f10b
Allow "on" and "attributes" to take either array or string for validators.
2013-11-13 08:45:12 -05:00
Qiang Xue
447bad5a12
Merge pull request #1184 from slavcodev/only-arrays-in-rules
...
Using only arrays in rules instead comma-separated string
2013-11-13 05:37:43 -08:00
Qiang Xue
2d86618644
Merge branch 'master' of github.com:yiisoft/yii2
2013-11-13 08:23:01 -05:00
Qiang Xue
2f8ee2a8b0
typo fix.
2013-11-13 08:22:55 -05:00
Carsten Brandt
0eaafd74ba
updated composer.json to be less restrictive
...
also removed superflous minimum-stability definition
2013-11-13 01:34:41 +01:00
Carsten Brandt
539e233d9c
massive improvement on class documentation
...
- added example code for application components
- added missing short description
[ci skip]
2013-11-13 01:16:21 +01:00
slavcodev
2adcd16e0d
Update phpDoc
2013-11-12 19:32:11 +02:00
slavcodev
3ff8f10d11
Add array conversion on creating validator
2013-11-12 19:26:49 +02:00
slavcodev
cbca145e97
Add type hinting
2013-11-12 17:24:52 +02:00
egorpromo
b6424946e4
Little helpful description for Session::cookieParam
2013-11-12 21:12:43 +07:00
Carsten Brandt
8a4dffed9d
fixed ActiveRelation::__clone() to work with via relation
2013-11-12 14:22:07 +01:00
Carsten Brandt
5b489aaa49
let base mailer store files as .eml instead of .txt
...
allows opening email for view in mail program directly
2013-11-12 12:45:05 +01:00
slavcodev
1c2489a3dc
Using only arrays in rules instead comma-separated string
2013-11-12 08:02:48 +02:00
slavcodev
b0b1c27c85
Fix phpDoc var tag format
2013-11-12 06:21:04 +02:00
Taras Gudz
2617dfbaf3
Removed links to non-existent things phpDocs [skip ci]
2013-11-12 03:18:01 +00:00
Taras Gudz
9b95a81b0c
Fixed the rest phpDocs [skip ci]
2013-11-12 03:13:37 +00:00
Taras Gudz
f9db4fecb9
Fixed phpDocs [skip ci]
2013-11-12 02:54:54 +00:00
Qiang Xue
a7175bae31
Refactored Session as suggested in #1172
2013-11-11 20:52:27 -05:00
Qiang Xue
202664f3a4
Fixes #1176 .
2013-11-11 20:33:05 -05:00
Qiang Xue
342a9a2e1a
Added log messages to user login and logout actions.
2013-11-11 20:19:46 -05:00
Qiang Xue
23573968a6
Changed important log messages to info level
2013-11-11 20:19:25 -05:00
Qiang Xue
20018b3fd3
Merge pull request #1172 from egorpromo/descript-for-sessionParam2
...
More precise descripton fo Session::cookieParam
2013-11-11 07:10:51 -08:00
egorpromo
7565dec37d
More precise descripton fo Session::cookieParam
2013-11-11 21:35:34 +07:00
mcd-php
365bdcf68a
FIX: Relation names not mangled in \yii\db\ActiveQuery::normalizeRelations
2013-11-11 16:43:50 +03:00
Qiang Xue
baaab4e09f
Fixes #1170
2013-11-11 08:31:52 -05:00
Qiang Xue
a408b75318
Fixes #1169 : anchor doesn't work when enablePrettyUrl is false.
2013-11-11 07:28:55 -05:00
Qiang Xue
183a0bfaef
hide summary when empty.
2013-11-10 21:20:15 -05:00
Qiang Xue
a8d189676f
typo fix.
2013-11-10 21:18:19 -05:00
Qiang Xue
743d31a8e6
Fixes #1075 : separated empty switch and empty display for ListView and GridView.
2013-11-10 21:07:13 -05:00
Qiang Xue
de062c26a4
moved markdown dependency to required.
2013-11-10 18:17:17 -05:00
Qiang Xue
8333a14eb5
Added parameters to fileTransportCallback.
2013-11-09 23:02:56 -05:00
Qiang Xue
b965d4eec7
Implemented file transport for mails.
2013-11-09 22:24:27 -05:00
Qiang Xue
3bda94eeeb
Fixed php-diff version.
2013-11-08 23:59:17 -05:00
Qiang Xue
dbecf848f4
Fixes #1156 : action parameter binding now checks for array type.
2013-11-08 23:21:41 -05:00
Qiang Xue
abb349361b
use json format.
2013-11-08 21:47:54 -05:00