5182 Commits

Author SHA1 Message Date
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
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
9db19914ca Used (float) instead of floatval() 2015-01-28 00:25:50 +03:00
e606617a8e Better checks for empty string in MessageController 2015-01-28 00:23:27 +03:00
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
8794cd9269 Yii class code style fix 2015-01-27 06:20:34 +03:00
e4c1656cbc Yii class include cass replaced to require 2015-01-27 06:15:12 +03:00
6cfbd8d548 Fixed ActiveRecordInterface phpDoc 2015-01-27 01:57:45 +03:00
08e54c522c Fixed ActiveRecordInterface phpDoc 2015-01-27 01:44:35 +03:00
c0de03dfac updated composer asset plugin in travis.yml 2015-01-26 13:43:20 +01:00
6a4dc8a4e8 adjust version composer-asset-plugin to 1.0.0 [ci skip]
close #7024
2015-01-26 13:40:15 +01:00
d0d884c39d Fixes #6940: yii\web\Response::sendContentAsFile() may not send correct content-length header 2015-01-25 20:09:31 -05:00
0b4896929b Fixed content-length in sendContentAsFile()
Fixed wrong Content-Length header when sending file using Response::sendContentAsFile().
2015-01-25 20:07:11 -05:00
07aca1c712 Renamed config() to configure() in BaseHtmlPurifier as suggested by @qiang 2015-01-24 17:36:42 +03:00
5ab1d1a0d1 Fixes #6992. 2015-01-24 08:57:53 -05:00
d862222304 Fixes #6852: Added yii\helpers\BaseHtmlPurifier::helpers() in order to be able to configure HtmlPurifier helper globally via subclassing 2015-01-24 12:08:08 +03:00
06564db627 Changelog for #6882 2015-01-24 12:00:23 +03:00
cf0d582a0b Added yii\web\ErrorHandler::getTypeUrl()
Makes it possible for classes that extend yii\web\ErrorHandler to provide their own informational URLs for types/classes/methods.
2015-01-24 11:56:09 +03:00
fe19243da1 Fixes #6969: yii\helpers\ArrayHelper::htmlEncode() and htmlDecode() should not remove non-string data 2015-01-22 21:09:46 -05:00
7c609ad8fb allow disabling log rotation
fixes #6896

close #6913
2015-01-22 16:57:23 +01:00
5eba1403ff removed requirements checker from classmap
fixes #6936
2015-01-21 15:59:29 +01:00
211a090427 Update yii.php [skip ci]
Translated messages in [[i18n\Formatter.php]]
2015-01-20 14:36:25 +08:00
131b8ad430 Changed order of readme entries (bug should go first) 2015-01-19 12:43:45 +02:00
b622983acc Fixed: Wrong namespace in advanced app backend unit test classes #6919 2015-01-19 12:38:07 +02:00
aef8fdffde fixed indentation in Cache Controller 2015-01-18 14:09:26 +01:00
96c4ec88ca Fixes #6889 doc fix [skip ci] 2015-01-17 19:12:48 -05:00
7031020c63 Fixes #6661: Hyperlinks that are enclosed within an exist form will use the same form for submission if they specify both of the href and data-method attributes 2015-01-16 22:09:28 -05:00
98571fb3b9 More correct usage of TimeStamp touch method
TimeStampBehavior PHPDoc update for the `touch()` method
2015-01-16 16:46:29 +05:30
4dd4e59370 Fixes #6493: Added support for the Access-Control-Expose-Headers header by yii\filters\Cors 2015-01-15 22:05:18 -05:00
649ff9d319 Allow to set Access-Control-Expose-Headers in Cors filter 2015-01-15 22:02:29 -05:00
9c287cb651 Fixes #5663 and #5671: Added support for using data-params to specify additional form data to be submitted via the data-method approach 2015-01-14 22:18:05 -05:00
80cc9cc16f Basic implementation of the data-params attributes 2015-01-14 21:52:02 -05:00
4267b53d43 added doc about count() return value
fixes #yiisoft/yii#3712
2015-01-14 18:33:41 +01:00
4ae7eb1819 Fixes #6697. 2015-01-13 21:28:13 -05:00
3aed7b5082 Merge pull request #6846 from yiiframework-ua/uk_translate
[Uk] Guide corrections [skip ci]
2015-01-13 07:53:07 +01:00
7a9f1a0ce7 getQueryParam() and getBodyParam() doc edits
- Made yii\web\Request::getQueryParam() and getBodyParam()'s doc blocks more consistent with each other
- getQueryParam() was incorrectly stating that if $name was omitted, all of $_GET would be returned (but $name is required)
2015-01-12 17:12:57 -08:00
3619a8d276 [Uk] Messages update [skip ci] 2015-01-13 00:50:37 +01:00
e7f9b30456 fixed version information in Breadcrumb widget 2015-01-11 17:09:06 +01:00
59cc605ddd Fixed version [skip ci] 2015-01-11 11:00:27 -05:00
52f4006c11 Fixed Url::current() implementation. 2015-01-11 10:43:06 -05:00