2843 Commits

Author SHA1 Message Date
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
c7e55450dd Reverted #14593
(reverted from commit a42bbd8f01de340d9f4964aad8c9d3297b4eabcd)
2018-02-05 14:12:20 +03:00
b9fc1f3ca6 Build image in dockerized tests with BUILD_ARG (#15559)
* added build argument for Yii 2.0 PHP base image version
- streamlined build
- dropped network config for CI
- updated local test script

* added default for PHP (7.2) image on GitLab CI

* use PHP 7.1 as a default on GitLab CI, see https://github.com/yiisoft/yii2/issues/15512
2018-02-05 17:57:06 +07: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
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
17186b24c1 Fixed test 2018-02-03 20:43:16 +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
8a155701c2 Fixed test class name 2018-02-03 18:29:23 +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
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
67f67e3a69 SCA with Php Inspections (EA Extended) (#15571) 2018-01-29 17:08:57 +07:00
e07219c812 Fixes #13996: Added yii\web\View::registerJsVar() method that allows registering JavaScript variables 2018-01-26 15:31:27 +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
d0c2ba43d7 Fixes #14806: Added $placeFooterAfterBody option for GridView 2018-01-22 16:32:45 +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
940377ce56 Added empty HHVM config to fix HHVM tests (#15533) 2018-01-21 23:49:01 +03:00
3763542dc4 Fixes #15494: Fixed missing WWW-Authenticate header 2018-01-21 22:17:17 +03:00
248415422f Fixed #15140 DateValidator tests for specific ICU versions (#15518) 2018-01-19 21:35:33 +03:00
8d50844024 #15426: Added ability to create and drop database views 2018-01-19 11:21:07 +03:00
1bc17a3d22 improved dockerized tests (#15516)
- added ENV variable for using custom runtime folder
- create assets directory before using asset-manager
2018-01-18 13:21:40 +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
acce1db53b Fixes #14135: Fixed yii\web\Request::getBodyParam() crashes on object type body params 2018-01-18 00:33:41 +03:00
00afe6a4b8 Fix: Query::each() without indexBy() zero based keys 2018-01-16 17:13:19 +02:00
07fc770730 Improve email validator test coverage (#15504) 2018-01-16 11:05:06 +03:00
5ce0e06cd7 Refactor email validator tests (#15503) 2018-01-16 11:04:29 +03:00
f1277d6d21 Fixes #6844: yii\base\ArrayableTrait::toArray() now allows recursive $fields and $expand 2018-01-15 18:15:32 +03:00
f8990ac97a Fixes #15353: Remove side effect of ActiveQuery::getTablesUsedInFrom() introduced in 2.0.13 2018-01-15 13:02:28 +03:00
6c0540aa2d Fixes #15496: CSRF token is now regenerated on changing identity 2018-01-14 02:13:24 +03:00
7adf3152cb Fixed PHP 5.4 compatibility 2018-01-13 22:29:45 +03:00
e516d64d1e Fixes #15422: Added default roles dynamic definition support via closure for yii\rbac\BaseManager 2018-01-13 21:02:34 +03:00
3c017b6b61 Fixes #15462: Fixed accessChecker configuration error 2018-01-13 20:49:33 +03:00
af83e59406 Fixes #14355: Added ability to pass an empty array as a parameter in console command 2018-01-10 02:51:41 +04:00
a559b9fa76 Fixes #14903: Fixed route with extra dashes is executed controller while it should not 2018-01-09 18:59:07 +04:00
72b69e359a Fixes #15417: Added yii\validators\FileValidator::$minFiles 2018-01-08 02:12:27 +04:00
2dc4e8e6b2 Fixed translating a string when NULL parameter is passed [#15169] 2018-01-04 10:46:56 +05:00