5222 Commits

Author SHA1 Message Date
07403d3f9d Fixes #3723: yii\filters\PageCache now supports caching response headers as well as non-HTML response content 2015-02-21 19:45:44 -05:00
56dbd4cefa Fixes #7357: Refactored yii\db\ColumnSchema by adding typecast() method to decouple phpTypecast() from dbTypecast() 2015-02-20 22:03:39 -05:00
00aafc82ef Fixes #7258: Response was sending HTML content type when formatter was set to JSON or XML, nulls were handled wrong 2015-02-21 02:32:09 +03:00
9028bc5aa7 Fixed header Content-Type when response is empty 2015-02-21 02:05:03 +03:00
1088fd496d Added support to yii\di\Container to instantiate and configure an object that implements yii\base\Configurable. 2015-02-19 22:46:49 -05:00
86891f9f82 Fixes #7358: Fix trimming PHPDoc prefix with TAB indent in yii\console\Controller::parseDocCommentSummary() 2015-02-19 22:26:30 +03:00
2b6de9665e adjusted docs about #7347 2015-02-19 13:44:05 +01:00
84052d15df Used yii\di\Instance::ensure() in MigrateController instead of doing the same without it 2015-02-19 02:28:09 +03:00
a71423cf2a Fixes #7269: yii\console\controllers\BaseMigrateController now throws exception if directory specified doesn't exist and action isn't create 2015-02-19 02:23:45 +03:00
690b6f7e6c 'Dividing asset bundles into group' docs added 2015-02-17 12:01:06 +02:00
7b5cdf041d Fixes #7255: Added support to allow widgets that use text input to specify input types 2015-02-15 22:26:33 -05:00
4e6b1fd5c6 Local loop variable added to fix #7271 bug 2015-02-15 17:25:43 -05:00
98759201ac Fixed bug #7271. Classes that call '*::populateRecord()' after retrieving data from ddbb call now the method on the class of the model returned by '*::instantiate()'. Tests for mysql, elasticsearch and mongodb attached. 2015-02-15 17:25:43 -05:00
d9117a67b1 Fixes #7227: Query builder should respect column alias setting when yii\db\Expression is being selected 2015-02-14 10:36:19 -05:00
6e33bef238 Fixes #7266 2015-02-13 14:02:54 -05:00
d188dd10c0 Fixes #3168: Improved the performance of yii\rbac\DbManager::checkAccess() by caching mechanism 2015-02-12 21:29:00 -05:00
ba7ccf2a0b fixed example with wrong namespace at 'yii2/framework/widgets/MaskedInput.php' documentation 2015-02-12 15:12:09 -02:00
de6185811a Fixes #5457: yii\web\Cors should handle Access-Control-Request-Headers in a case-insensitive manner 2015-02-11 21:40:52 -05:00
ae305bb907 Fixes #7226: yii\web\Request::getEtag() should strip off -gzip which may be added by Apache 2015-02-10 13:36:05 -05:00
21b87b67af Fixes #7218: yii\captcha\CaptchaAction should send response in JSON format 2015-02-09 20:33:05 -05:00
ada9abe6b1 Fix documentation of PhpMessageSource::$basePath 2015-02-09 16:11:39 +01:00
1a764e202a Fixes #4710: Added yii\web\AssetManager::appendTimestamp to support cache busting for assets 2015-02-08 22:29:40 -05:00
a6608ba334 Merge branch 'master' of git://github.com/yiisoft/yii2 2015-02-08 22:28:09 -05:00
0068a94af1 Fixes #4710: added cache busting support for assets 2015-02-08 22:28:03 -05:00
40c232df92 enhanced widget documentation 2015-02-08 18:02:31 +01:00
2ba573bfb5 Fixes #6883: yii\base\ErrorHandler::logException() is now public 2015-02-08 18:36:55 +03:00
6481d13494 Optimized checks order in conditions 2015-02-08 17:56:36 +03:00
af7ae33d5b Use (array) cast instead of !is_array check for both readability and performance 2015-02-08 17:56:14 +03:00
4efb36d309 Make Cors more robust. 2015-02-07 22:02:24 -05:00
c2eabe3145 Merge pull request #7156 from apaoww/master
Bahasa Melayu translations
2015-02-06 21:46:05 -05:00
46372bb4f0 Change ms-MY to ms 2015-02-06 09:28:45 +08:00
208b3a23c2 Fix missing end of string 2015-02-05 15:24:17 +01:00
9e1e3ff512 Create yii.php
Translate into Bahasa Melayu
2015-02-04 10:07:05 +08:00
6fdb1baef1 Update config.php
Add ms-MY code in config
2015-02-04 10:01:47 +08:00
667169c044 Fixes #7130: Changed the signature of ActiveRecord::findByCondition() to simplify the implementation and usage 2015-02-03 16:33:44 -05:00
ffe940180c simplify findByCondition 2015-02-03 16:31:00 -05:00
8c3dce88dd fixed phpdoc 2015-02-03 00:03:13 +01:00
770d65a052 Fixes #6361 2015-02-02 12:27:27 -05:00
233388fdd6 Remove non-necessary leading slash in use operator. 2015-02-02 11:55:32 +06:00
4dcbe83aa6 Fixes #6361: Added validateAttribute() to yii.activeForm.js to support manually triggering data validation of an input 2015-02-01 22:46:16 -05:00
a43833544b Attach forceValidate event to attributes
Allow attributes to have their validation triggered by a custom event.
`validateAttribute` is called with `forceValidate` set to true.
2015-02-01 22:33:16 -05:00
84b20d57e4 Fixes #7055: composite IN condition was not generated correctly for certain DBMS 2015-01-31 22:26:51 -05:00
1e5f159f78 override only mssql and sqlite QueryBuilder; throw an exception for composite in condition with a subquery 2015-01-31 22:20:41 -05:00
f58d096920 fixes #6792, use a simpler composite in condition implementation on dbs other than pgsql 2015-01-31 22:20:41 -05:00
11dc0fdbf3 Fixed typo 2015-01-31 13:10:51 +03:00
02d1fefa8c Removed obsolete requirement from HtmlPurifier phpdoc 2015-01-31 01:23:04 +03:00
dec4a4f239 Fixes #7008: Removed extra white space in GridView filter cell 2015-01-31 00:31:14 +03:00
c997e0d02e Fixes #7094: Console confirmation must be answered correctly. To return true: y or yes. To return false: n or not. Any other input the question will be asked again 2015-01-30 23:51:42 +03:00
54e35baa1b Fixes #7074: yii\data\ArrayDataProvider did not correctly handle the case Pagination::pageSize = 0 2015-01-29 13:27:47 -05:00
5bda2fe073 yii\console\controllers\AssetController now correctly handles relative image URLs if source and target CSS are under same directory 2015-01-29 15:44:05 +02:00