8282 Commits

Author SHA1 Message Date
7cafa65ad2 Fixes #15216: Added yii\web\ErrorHandler::$traceLine to allow opening file at line clicked in IDE 2018-02-07 22:36:29 +03:00
e9bec0d246 Reordered property to top [skip ci] 2018-02-07 11:55:43 +03:00
7bafb7bf09 Fixes #14488: Added support for X-Forwarded-Host to yii\web\Request, fixed getServerPort() usage 2018-02-07 00:01:50 +03:00
40b038379f Fixes #13019: Support JSON in SchemaBuilderTrait 2018-02-06 16:35:49 +03:00
846444d17e Refactor cacheable widget behavior (#15608) 2018-02-06 13:30:37 +03:00
37bd97ad9a Fixes #13679: Added yii\behaviors\CacheableWidgetBehavior 2018-02-06 01:33:49 +03:00
5550ad2021 Fixes #15595: yii\data\DataFilter can now handle lt,gt,lte and gte on yii\validators\DateValidator 2018-02-05 22:54:45 +07:00
786a733502 Moved ExpressionBuilder creation logic out of QueryBuilder::buildExpression() to a separate method 2018-02-05 17:18:32 +02:00
b139e865b7 Fixed PHPDocs. Resolves discussion d16586334d (commitcomment-27343531) 2018-02-05 16:40:50 +02:00
c7e55450dd Reverted #14593
(reverted from commit a42bbd8f01de340d9f4964aad8c9d3297b4eabcd)
2018-02-05 14:12:20 +03:00
a42bbd8f01 Fixes #14593: Added yii\db\Command::EVENT_AFTER_EXECUTE event that is triggered after command is executed 2018-02-05 15:49:18 +07:00
5a6c48db3d Fixed typo [skip ci] 2018-02-05 01:31:28 +03:00
d16586334d Fixes #7640: Implemented custom data types support. Added JSON support for MySQL and PostgreSQL, array support for PostgreSQL 2018-02-05 04:59:14 +07:00
5afe0a0d36 Fixes #15047: yii\db\Query::select() and yii\db\Query::addSelect() now check for duplicate column names 2018-02-04 23:41:33 +03:00
8b74e29663 Fixes #14296: Fixed log targets to throw exception in case log can not be properly exported 2018-02-04 01:20:09 +07:00
61b47014a2 Fixes #14643: Added yii\web\ErrorAction::$layout property to conveniently set layout from error action config
Co-authored-by: Stas So <etc@swods.ru>
Co-authored-by: Carsten Brandt <mail@cebe.cc>
2018-02-03 21:18:47 +03:00
b979b2aa88 Fixes #15355: Additional test and fix 2018-02-03 20:10:13 +03:00
16e63f6de2 Fixes #13465: Added yii\helpers\FileHelper::findDirectory() method 2018-02-03 23:00:59 +07:00
10eac963d3 Fixed typo [skip ci] 2018-02-03 18:55:27 +03:00
63fdd26b7e Fixes #8527: Added yii\i18n\Locale component having getCurrencySymbol() method
Co-authored-by: Anton Gubarev <a.p.gubarev@gmail.com>
2018-02-03 18:01:54 +03:00
810e9e5337 Fixes #14546: Added dataDirectory property into BaseActiveFixture 2018-02-03 19:11:11 +07:00
5483a2ef6c Fixes #15076: Perfect yii\db\QueryBuilder buildColumns function 2018-02-03 18:19:07 +07:00
1a1fb49426 Fixes #15522: Fixed yii\db\ActiveRecord::refresh() method does not use an alias in the condition 2018-02-01 16:13:19 +07:00
b3130be7ba Fixes #15476: Added \yii\widgets\ActiveForm::$validationStateOn to be able to specify where to add class for invalid fields 2018-01-31 03:03:21 +07:00
06ebd3faa7 Fixes #13034: Fixed normalizePath for windows network shares that start with two backslashes 2018-01-30 17:57:13 +07:00
e07219c812 Fixes #13996: Added yii\web\View::registerJsVar() method that allows registering JavaScript variables 2018-01-26 15:31:27 +03:00
9aac304220 Add some @see references near HTML class attribute handling [ci skip] (#15558) 2018-01-25 15:08:40 +03:00
eb57d4191c Fixes #15553: Fixed yii\validators\NumberValidator incorrectly validate resource 2018-01-25 14:28:41 +03:00
4f7b410230 Fixes #9771: Assign hidden input with its own set of HTML options via $hiddenOptions in activeFileInput $options 2018-01-24 17:02:03 +03:00
08eccb612f Fixes #15536: Fixed yii\widgets\ActiveForm::init() for call parent::init() 2018-01-24 11:15:10 +03:00
71c541773f PHPDoc fix 2018-01-23 13:17:25 +02:00
65f6b59b35 @inheritdoc notation changed 2018-01-23 13:11:24 +02:00
b9cbc56330 Fixed yii\db\ActiveRecord::with() unable to use relation defined via attached behavior in case asArray is enabled 2018-01-23 12:46:56 +02:00
77bdcda5c5 removed excessive whitespace in CHANGELOG (#15539)
- makes ChangeLogTest pass
2018-01-22 17:07:23 +03:00
d0c2ba43d7 Fixes #14806: Added $placeFooterAfterBody option for GridView 2018-01-22 16:32:45 +03:00
38f66e9c6d IsIndexed() @return wrong description fixed (#15538) [skip ci] 2018-01-22 15:44:54 +03:00
6b0be47e0f Fixes #14711: Fixed yii\web\ErrorHandler displaying exception message in non-debug mode 2018-01-22 11:41:24 +03:00
a2a79a70eb Fixes #13814: MySQL unique index names can now contain spaces 2018-01-22 00:27:58 +03:00
9823345a74 Fixes #6391: Added note clarifying config for ListView pager and sorter [skip ci] 2018-01-21 23:08:53 +03:00
847e224d6f Fixed #14612: Added note about session's logVars [skip ci] 2018-01-21 22:47:44 +03:00
8b0702d386 Fixed #14840: improved Console::select() phpdoc [skip ci] 2018-01-21 22:41:22 +03:00
c1323c84ba Fixes #15300: Fixed "Cannot read property 'style' of undefined" error at the error screen 2018-01-21 22:37:30 +03:00
3763542dc4 Fixes #15494: Fixed missing WWW-Authenticate header 2018-01-21 22:17:17 +03:00
8d50844024 #15426: Added ability to create and drop database views 2018-01-19 11:21:07 +03:00
eaca9c4202 Moved time() statement right before usages in \yii\filters\RateLimiter (#14713) 2018-01-18 11:33:29 +03:00
d7be512fa0 Fixes #10186: Use native hash_equals in yii\base\Security::compareString() if available, throw exception if non-strings are compared 2018-01-18 01:58:32 +03:00
ebd3d61a1b Fixes #14980: Fix looping in yii\i18n\MessageFormatter tokenize pattern if pattern is invalid 2018-01-18 01:38:41 +03:00
18281c2156 Added test and adjusted changelog for #15112 2018-01-18 01:34:08 +03:00
d32b80eec9 Fixes #15122: Fixed yii\db\Command::getRawSql() to properly replace expressions 2018-01-18 01:34:07 +03:00
acce1db53b Fixes #14135: Fixed yii\web\Request::getBodyParam() crashes on object type body params 2018-01-18 00:33:41 +03:00