16841 Commits

Author SHA1 Message Date
37bd0229ad fixed migration example in guide
do not register the `app\migrations` path twice when using namespaces.

fixes #14536
2017-07-28 12:35:44 +02:00
203e3d3441 Updates Czech translations (#14547) [skip ci] 2017-07-27 21:28:13 +03:00
20c0e9391a Updated a slip of a pen on db-dao.md in guide-zh-CN (#14541) [skip ci] 2017-07-27 13:54:22 +03:00
e472b4e29c Fixes #14525: Fixed 2.0.12 regression of loading of global fixtures trough yii fixture/load 2017-07-26 14:35:20 +03:00
2ada766d83 Restored part of original Yii::trace documentation (#14534) [skip ci]
Restored original warning in the Yii::trace documentation that this method will only log a message when the application is in debug mode.
2017-07-25 16:36:14 +03:00
2466d397ae Fixed yii\validators\ExistValidator and yii\validators\UniqueValidator throw exception in case they are set for yii\db\ActiveRecord with $targetClass pointing to NOSQL ActiveRecord 2017-07-25 16:17:37 +03:00
a731fd4142 Fixes #14318: Trigger yiiActiveForm.events.afterValidateAttribute after updating attribute 2017-07-24 23:25:47 +03:00
d4ded67f69 Fixes #14513: Updated phpdoc and added tests for yii\rbac\ManagerInterface::assign and yii\rbac\ManagerInterface::revoke functions (#14528) 2017-07-24 23:20:03 +03:00
f24d29a46f Added guide about Client side Javascript of ActiveForm (#12541) [skip ci] 2017-07-24 23:12:40 +03:00
1ee29c630d Fixes #14493: Fixed getting permissions in yii\rbac\Dbmanger::getPermissionsByUser by user with id equals 0 2017-07-24 18:42:40 +03:00
e2ba94abd6 Fixes #7823: Added yii\filters\AjaxFilter filter 2017-07-24 17:25:16 +03:00
578b2caf42 Added yii\web\MultipartFormDataParser::$force option allowing to enforce parsing even on 'POST' request 2017-07-24 15:28:22 +03:00
915c78facd Fixed ExitCode::getReason() 2017-07-24 01:06:18 +03:00
8a6f5829d4 Fix for invalid example in Request phpdoc [skip ci] 2017-07-23 23:28:54 +03:00
8ae2223c6a Fixes #14370: Fixed creating built-in validator in model with same function name 2017-07-23 17:17:20 +03:00
a55de109aa Update input-validation.md (#14514) 2017-07-22 23:54:58 +02:00
f9121fc2e0 Removed HHVM status from readme since service providing it seems to be down for a while [skip ci] 2017-07-22 00:08:43 +03:00
b1a49a18a7 Fixes #14509: clarified on when AJAX validation is triggered 2017-07-21 23:38:40 +03:00
6782ad96f0 Reduce Segmentation fault errors for PHP 5.4 tests on travis. (#14092) 2017-07-21 21:29:40 +03:00
462b5f5b50 Use new trusty images on travis (#14508)
This should fix "Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'" errors.
2017-07-21 19:05:57 +03:00
1f26db9fb7 Applied code style fixes 2017-07-21 15:42:06 +03:00
acf29e0001 Fixes #14492: Fixed error handler not escaping error info debug mode 2017-07-21 12:49:33 +03:00
21d2d72534 Fixes #14487: Changed i18n message error to warning 2017-07-21 12:21:46 +03:00
92d2245ca6 Add support for an older SQLite in constraints (fixes #14483) (#14497) 2017-07-21 00:03:16 +03:00
6d2e0aff82 Fixes #14406: Fixed caching rules in yii\web\UrlManager with different ruleConfig configuration 2017-07-19 23:45:03 +03:00
393fc2744a Added yii\base\Object for backwards compatibility
fixes #7936
close #14478
2017-07-19 10:53:33 +02:00
758f01934f Make PHPUnit run on PHP 7.2
fix PHPUnit at 4.8.34 as the next version breaks our compatibility
Layer:
a55235c033
2017-07-19 10:51:46 +02:00
69673c0c94 Rename Object -> BaseObject for PHP 7.2 compatibility
issue #7936
2017-07-19 10:51:46 +02:00
5b2101f14c Update guide: Object -> BaseObject
issue #7936
2017-07-19 10:51:46 +02:00
d4e584f7a7 UPGRADE notes for Object -> BaseObject for PHP 7.2 compatibility
issue #7936
2017-07-19 10:51:46 +02:00
000192522b Fixes #14482: fixed tests incompatibility with PHP 5.4 2017-07-19 00:42:41 +03:00
40e242b562 Fixes #14469: updated RFC links [skip ci] 2017-07-18 22:59:25 +03:00
ea33bbd369 Fix docs of a base file helper (#14477) [skip ci] 2017-07-18 13:45:22 +03:00
d38908fc13 Fixed #14469: updated RFC links 2017-07-17 16:21:49 +03:00
062e1c7e67 Uppercased HTTP methods as required by RFC [skip ci] 2017-07-16 18:06:25 +03:00
aba0b4a59a added test that fails #14413
See #13979

close #14413
2017-07-16 01:47:49 +02:00
59002a9e1e Fixes #6644: Added yii\helpers\ArrayHelper::setValue() 2017-07-16 00:25:44 +03:00
2f9f15bf92 Fixes #14188: Add constants and function for sysexits(3) to ConsoleHelper 2017-07-15 23:26:15 +03:00
0adae899ce Additional fix for SluggableBehavior immutability after merge of #13449 2017-07-15 22:07:43 +03:00
03d53b785d Fixes #14449: Fix PHP 7.2 compatibility bugs and add explicit closure support in yii\base\Application 2017-07-14 12:23:03 +03:00
b0162d3a48 Revert "Fixes #14294: Added InputWidget::renderInput() to move behavior described in InputWidget class docs to the class itself"
This reverts commit a5b393a3c101bebeb0c60aac4e11d5a7c6dd8244.

See https://github.com/yiisoft/yii2/pull/14441#issuecomment-315127527 for reasons
2017-07-13 21:40:29 +03:00
a5b393a3c1 Fixes #14294: Added InputWidget::renderInput() to move behavior described in InputWidget class docs to the class itself 2017-07-13 17:04:43 +03:00
2fa4ccc1da Fix phpdoc for $_master and $_slave properties in yii\db\Connection (#14447) 2017-07-13 12:24:14 +02:00
6fa48eab38 Update CHANGELOG for #14206 2017-07-13 12:12:10 +02:00
6e223e6db2 Fixes #14423: Fixed ArrayHelper::merge behavior with null values for integer-keyed elements 2017-07-13 10:36:59 +03:00
fe607b83d2 Fixes #14434: fixed metadata cache regression 2017-07-13 09:54:36 +03:00
445019779f Fixes #14206: MySqlMutex, PgsqlMutex and OracleMutex now use useMaster() to ensure lock is aquired on the same DB server 2017-07-13 09:52:38 +03:00
f5e8a89319 Fix slave usage disabled after Connection::close, set _slave to false instead of nulll
fixes #14165
close #14168
2017-07-12 15:03:48 +02:00
c9347b0a57 Fixed ambiguous column error on indexBy with JOIN
fixes #13859
close #14431
2017-07-12 12:26:30 +02:00
173108b5b0 Move getTablesUsedInFrom() from ActiveQuery to Query
enable this feature on the Query level

close #14431
2017-07-12 12:26:20 +02:00