2083 Commits

Author SHA1 Message Date
a2fe128455 refactored query and relation. 2013-11-17 00:02:27 -05:00
684ee633f7 removed unneeded check. 2013-11-16 23:38:04 -05:00
c7ff329e3c doc fix. 2013-11-16 21:30:34 -05:00
1c24b3e0d8 removed TestCase and WebTestCase. 2013-11-16 21:30:20 -05:00
8106cdedbf Implemented DB fixture manager. 2013-11-16 21:19:34 -05:00
1a7a15a3ef Implemented mset, madd for cache. Added tests. 2013-11-17 04:00:43 +04:00
6a4ed5a1e8 fixed cubrid schema primary key detection 2013-11-17 00:42:39 +01:00
5fc51f1ad9 Merge pull request #1094 from pmoust/cache-mset
[WIP] Caching: mset() method to store multiple items.
2013-11-16 14:24:17 -08:00
c16485663b Merge pull request #1209 from egorpromo/eliminating-get-in-request
Must be one method to get _GET.
2013-11-16 13:55:30 -08:00
a6cb556e21 Fixes #1204: the length of primary key for migration table is too long. 2013-11-16 16:42:03 -05:00
effc41c1cf minor refactoring. 2013-11-16 12:41:56 -05:00
256ceee7fe Merge pull request #1208 from cebe/ar-pk-public
Made ActiveRecord::isPrimaryKey() public
2013-11-16 09:36:12 -08:00
4e80dc54c2 removed hard dependency of Pagination -> web\Request
issue #1207
2013-11-16 17:26:29 +01:00
c16c181247 Must be one method to get _GET. getGet() is just duplication 2013-11-16 23:25:44 +07:00
77840adf65 Made ActiveRecord::isPrimaryKey() public
+ added tests and fixed behavior
2013-11-16 16:53:50 +01:00
a446f3a586 Eliminating 2013-11-16 21:14:53 +07:00
b06caa297b Fixes #1206. 2013-11-16 08:00:39 -05:00
ffded7a1b5 array syntax fix. 2013-11-15 10:15:25 -05:00
42a58870fe moved db interfaces and traits back to yii/db. 2013-11-14 22:01:26 -05:00
b44921126b Merge pull request #1097 from yiisoft/db-traits
Db traits
2013-11-14 05:27:00 -08:00
8250cfbb0f reverted change of count() signature 2013-11-14 08:06:57 +01:00
368dd4b1d4 Allow Validator::except to be either a string or an array. 2013-11-13 19:50:19 -05:00
1acdbb741c moved indexBy() trait -> interface + removed findWith from interface 2013-11-13 19:57:32 +01:00
51faa62eca updated interface and trait php-doc in yii\ar
[ci skip]
2013-11-13 19:52:14 +01:00
ced7ee1b8a dataprovider: reset orderBy when counting
strict sql dbms like postgres would fail otherwise
2013-11-13 19:47:35 +01:00
9448c3d471 added unit tests for active dataprovider and fixed query tests 2013-11-13 19:35:44 +01:00
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
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
b8e31d50bb renamed AR trait classes 2013-11-13 16:50:30 +01:00
5b0886f10b Allow "on" and "attributes" to take either array or string for validators. 2013-11-13 08:45:12 -05:00
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
2d86618644 Merge branch 'master' of github.com:yiisoft/yii2 2013-11-13 08:23:01 -05:00
2f8ee2a8b0 typo fix. 2013-11-13 08:22:55 -05:00
0eaafd74ba updated composer.json to be less restrictive
also removed superflous minimum-stability definition
2013-11-13 01:34:41 +01:00
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
2adcd16e0d Update phpDoc 2013-11-12 19:32:11 +02:00
3ff8f10d11 Add array conversion on creating validator 2013-11-12 19:26:49 +02:00
cbca145e97 Add type hinting 2013-11-12 17:24:52 +02:00
b6424946e4 Little helpful description for Session::cookieParam 2013-11-12 21:12:43 +07:00
8a4dffed9d fixed ActiveRelation::__clone() to work with via relation 2013-11-12 14:22:07 +01:00
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
1c2489a3dc Using only arrays in rules instead comma-separated string 2013-11-12 08:02:48 +02:00
b0b1c27c85 Fix phpDoc var tag format 2013-11-12 06:21:04 +02:00
2617dfbaf3 Removed links to non-existent things phpDocs [skip ci] 2013-11-12 03:18:01 +00:00
9b95a81b0c Fixed the rest phpDocs [skip ci] 2013-11-12 03:13:37 +00:00
f9db4fecb9 Fixed phpDocs [skip ci] 2013-11-12 02:54:54 +00:00
a7175bae31 Refactored Session as suggested in #1172 2013-11-11 20:52:27 -05:00
202664f3a4 Fixes #1176. 2013-11-11 20:33:05 -05:00
342a9a2e1a Added log messages to user login and logout actions. 2013-11-11 20:19:46 -05:00
23573968a6 Changed important log messages to info level 2013-11-11 20:19:25 -05:00