5160 Commits

Author SHA1 Message Date
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
801de52db7 Adjusted changelog 2015-01-11 22:52:36 +08:00
9c7e4e514d Fixes #6697: Added yii\helpers\Url::current() method that allows adding or removing parameters from current URL 2015-01-11 15:38:13 +08:00
e4cf948c0b Better code for #6106 2015-01-11 15:16:05 +08:00
440eeea8cc Fixes #6106: Added ability to specify encode for each item of yii\widgets\Breadcrumbs 2015-01-11 15:13:34 +08:00
174843a971 Fixes #5690: adjusted paths in message config generated by yii message/config to reflect directory structure better 2015-01-11 14:56:11 +08:00
201043244d doc fixes [skip ci] 2015-01-10 23:23:36 -05:00
b750cf662d prepare for the next release. 2015-01-10 22:59:50 -05:00
d7462656f7 2.0.2 release 2015-01-10 22:57:55 -05:00
9f78a926d4 Add mimeTypes Arabic validation message
Add mimeTypes Arabic validation message
2015-01-11 00:29:28 +02:00
6f889e12ac Merge PR #6763 branch 'creocoder-incorrect-checking-sqlite-version'
* creocoder-incorrect-checking-sqlite-version:
  improved db test, avoid error by accessing db directlry
  fixed failure on sqlite version check
  Correct SQLite version checking
2015-01-10 22:10:10 +01:00
f177f1701a fixed failure on sqlite version check
ensure PDO instance has been created at this point
2015-01-10 22:06:43 +01:00
9415c7921d date formatter fall back to PHP impl. to solve Y2K38 issue
formatting date and time values for years >=2038 or <=1901 is now possible also with intl extension is
installed. 32bit systems will fall back to the PHP implementation because intl uses a 32bit UNIX timestamp internally.
On a 64bit system the intl formatter is used in all cases if installed.

fixes #5577
2015-01-10 18:27:35 +01:00
7e2e035262 Fix Arabic File Type Validation Message 2015-01-10 17:11:49 +02:00
f83ad4a05e Update ActionColumn.php
Added content to give a clear example to those that don't intuitively know how to set the template property using array notation.

close #6811
2015-01-10 15:20:40 +01:00
05cc9ae405 improved HTML to Text fallback in BaseMailer
fixes #6748
2015-01-10 15:07:12 +01:00
b05e6c2286 Fix typo in spanish translation 2015-01-10 10:49:28 -03:00
f42cd49833 yii\db\ActiveQuery phpDoc fix 2015-01-08 02:05:37 +03:00
b33824044f added check for undefined application to log Target
allows using logger without a Yii application now.

close #6739
2015-01-07 23:15:38 +01:00
ee85dba92e yii\db\ActiveQuery phpDoc fix
close #6779
2015-01-07 22:57:54 +01:00
fd332d02dd Merge pull request #6736 from DaSourcerer/patch-1
Remove Content-Transfer-Encoding from the list of default download headers
2015-01-06 18:35:57 -08:00
9b9b361aff Doc comments for yii\console\controllers\AssetController extended 2015-01-06 17:14:23 +02:00
94f702fe6e yii\console\controllers\AssetController now handles bundle files from external resources properly 2015-01-06 17:03:39 +02:00