Commit Graph

6117 Commits

Author SHA1 Message Date
Paul Melekhov
86891f9f82 Fixes #7358: Fix trimming PHPDoc prefix with TAB indent in yii\console\Controller::parseDocCommentSummary() 2015-02-19 22:26:30 +03:00
Carsten Brandt
2b6de9665e adjusted docs about #7347 2015-02-19 13:44:05 +01:00
lynicidn
84052d15df Used yii\di\Instance::ensure() in MigrateController instead of doing the same without it 2015-02-19 02:28:09 +03:00
lynicidn
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
Klimov Paul
690b6f7e6c 'Dividing asset bundles into group' docs added 2015-02-17 12:01:06 +02:00
Qiang Xue
7b5cdf041d Fixes #7255: Added support to allow widgets that use text input to specify input types 2015-02-15 22:26:33 -05:00
Jose
4e6b1fd5c6 Local loop variable added to fix #7271 bug 2015-02-15 17:25:43 -05:00
Jose Lorente
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
Qiang Xue
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
Qiang Xue
6e33bef238 Fixes #7266 2015-02-13 14:02:54 -05:00
Qiang Xue
d188dd10c0 Fixes #3168: Improved the performance of yii\rbac\DbManager::checkAccess() by caching mechanism 2015-02-12 21:29:00 -05:00
Gabriel Homsi
ba7ccf2a0b fixed example with wrong namespace at 'yii2/framework/widgets/MaskedInput.php' documentation 2015-02-12 15:12:09 -02:00
Qiang Xue
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
Qiang Xue
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
Qiang Xue
21b87b67af Fixes #7218: yii\captcha\CaptchaAction should send response in JSON format 2015-02-09 20:33:05 -05:00
nkovacs
ada9abe6b1 Fix documentation of PhpMessageSource::$basePath 2015-02-09 16:11:39 +01:00
Qiang Xue
1a764e202a Fixes #4710: Added yii\web\AssetManager::appendTimestamp to support cache busting for assets 2015-02-08 22:29:40 -05:00
Qiang Xue
a6608ba334 Merge branch 'master' of git://github.com/yiisoft/yii2 2015-02-08 22:28:09 -05:00
Qiang Xue
0068a94af1 Fixes #4710: added cache busting support for assets 2015-02-08 22:28:03 -05:00
Carsten Brandt
40c232df92 enhanced widget documentation 2015-02-08 18:02:31 +01:00
Alexander Makarov
2ba573bfb5 Fixes #6883: yii\base\ErrorHandler::logException() is now public 2015-02-08 18:36:55 +03:00
Alexander Makarov
6481d13494 Optimized checks order in conditions 2015-02-08 17:56:36 +03:00
Alexander Makarov
af7ae33d5b Use (array) cast instead of !is_array check for both readability and performance 2015-02-08 17:56:14 +03:00
Qiang Xue
4efb36d309 Make Cors more robust. 2015-02-07 22:02:24 -05:00
Qiang Xue
c2eabe3145 Merge pull request #7156 from apaoww/master
Bahasa Melayu translations
2015-02-06 21:46:05 -05:00
Apa Oww
46372bb4f0 Change ms-MY to ms 2015-02-06 09:28:45 +08:00
nkovacs
208b3a23c2 Fix missing end of string 2015-02-05 15:24:17 +01:00
apaoww
9e1e3ff512 Create yii.php
Translate into Bahasa Melayu
2015-02-04 10:07:05 +08:00
apaoww
6fdb1baef1 Update config.php
Add ms-MY code in config
2015-02-04 10:01:47 +08:00
Qiang Xue
667169c044 Fixes #7130: Changed the signature of ActiveRecord::findByCondition() to simplify the implementation and usage 2015-02-03 16:33:44 -05:00
Angel Faryshta Guevara
ffe940180c simplify findByCondition 2015-02-03 16:31:00 -05:00
Carsten Brandt
8c3dce88dd fixed phpdoc 2015-02-03 00:03:13 +01:00
Qiang Xue
770d65a052 Fixes #6361 2015-02-02 12:27:27 -05:00
resurtm
233388fdd6 Remove non-necessary leading slash in use operator. 2015-02-02 11:55:32 +06:00
Qiang Xue
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
Alex-Code
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
Qiang Xue
84b20d57e4 Fixes #7055: composite IN condition was not generated correctly for certain DBMS 2015-01-31 22:26:51 -05:00
Jan Waś
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
Jan Waś
f58d096920 fixes #6792, use a simpler composite in condition implementation on dbs other than pgsql 2015-01-31 22:20:41 -05:00
Alexander Makarov
11dc0fdbf3 Fixed typo 2015-01-31 13:10:51 +03:00
Alexander Makarov
02d1fefa8c Removed obsolete requirement from HtmlPurifier phpdoc 2015-01-31 01:23:04 +03:00
Ivan Yakovlev
dec4a4f239 Fixes #7008: Removed extra white space in GridView filter cell 2015-01-31 00:31:14 +03:00
Thiago Talma
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
Qiang Xue
54e35baa1b Fixes #7074: yii\data\ArrayDataProvider did not correctly handle the case Pagination::pageSize = 0 2015-01-29 13:27:47 -05:00
Klimov Paul
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
Qiang Xue
0a6cd6190b Fixes #7051: Added support for preventing swapping values between different cookies 2015-01-28 22:29:37 -05:00
李某某
1fb842ef5e annotation typo 2015-01-28 10:46:23 +08:00
Alexander Makarov
9db19914ca Used (float) instead of floatval() 2015-01-28 00:25:50 +03:00
Alexander Makarov
e606617a8e Better checks for empty string in MessageController 2015-01-28 00:23:27 +03:00
Carsten Brandt
7dd3eea6ef Merge pull request #7038 from creocoder/yii-class-include-to-require
Yii class `include` cass replaced to `require` + CS fix
2015-01-27 10:37:36 +01:00