Carsten Brandt
e368671636
changed magic property to getter call in Pagination
...
issue #1228
2013-11-19 09:43:05 +01:00
Qiang Xue
cffb55a260
Fixes #1227 : help command displays invalid module command list
2013-11-18 22:52:30 -05:00
Qiang Xue
b6cc8c0066
Fixes #1149 : Filter out already included javascript files requested via ajax.
2013-11-18 20:38:04 -05:00
Qiang Xue
49da1b4aad
Fixes #1225 : doc fix.
2013-11-18 12:27:58 -05:00
Qiang Xue
8d4bf893e1
Fixes #1221 : make it easier to subclass BaseDataProvider with custom pagination.
2013-11-18 11:23:11 -05:00
Carsten Brandt
09a3300b7c
refactored redis cache, added mset()
2013-11-17 21:09:13 +01:00
Carsten Brandt
a0824422b2
removed duplicate assignment of primaryKey in cubrid
2013-11-17 15:43:05 +01:00
egorpromo
4d720389c3
It is more obviouse what to pass in trigger() method
2013-11-17 19:48:27 +07:00
Qiang Xue
a2fe128455
refactored query and relation.
2013-11-17 00:02:27 -05:00
Qiang Xue
684ee633f7
removed unneeded check.
2013-11-16 23:38:04 -05:00
Qiang Xue
c7ff329e3c
doc fix.
2013-11-16 21:30:34 -05:00
Qiang Xue
1c24b3e0d8
removed TestCase and WebTestCase.
2013-11-16 21:30:20 -05:00
Qiang Xue
8106cdedbf
Implemented DB fixture manager.
2013-11-16 21:19:34 -05:00
Alexander Makarov
1a7a15a3ef
Implemented mset, madd for cache. Added tests.
2013-11-17 04:00:43 +04:00
Carsten Brandt
6a4ed5a1e8
fixed cubrid schema primary key detection
2013-11-17 00:42:39 +01:00
Alexander Makarov
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
Qiang Xue
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
Qiang Xue
a6cb556e21
Fixes #1204 : the length of primary key for migration table is too long.
2013-11-16 16:42:03 -05:00
Qiang Xue
effc41c1cf
minor refactoring.
2013-11-16 12:41:56 -05:00
Qiang Xue
256ceee7fe
Merge pull request #1208 from cebe/ar-pk-public
...
Made ActiveRecord::isPrimaryKey() public
2013-11-16 09:36:12 -08:00
Carsten Brandt
4e80dc54c2
removed hard dependency of Pagination -> web\Request
...
issue #1207
2013-11-16 17:26:29 +01:00
egorpromo
c16c181247
Must be one method to get _GET. getGet() is just duplication
2013-11-16 23:25:44 +07:00
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
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