Commit Graph

7188 Commits

Author SHA1 Message Date
voroks
25f08afc96 Fixes #8293: yii\db\Query can be passed to insert method in yii\db\QueryBuilder 2017-01-28 23:47:26 +03:00
Elvira Sheina
240bca515a Use low-level query in UniqueValidator (#13461)
Fixes #13453, relates to #13098
2017-01-28 18:38:06 +03:00
Alexander Makarov
920877c815 Fixed WidgetEvent construction 2017-01-28 11:55:24 +03:00
user57376
7c1693479f Fixes #12000: Added EVENT_INIT to widget 2017-01-28 01:27:05 +03:00
Alexander Makarov
767400da19 Fixes for #13457 as commented by @cebe 2017-01-28 01:22:48 +03:00
Alexander Makarov
bede9feba5 Fixes #13453: Reverted #10896 commit 729ddc5b76
It was causing side effects: https://github.com/yiisoft/yii2/issues/13453
2017-01-28 01:16:14 +03:00
Dmitriy Bashkarev
be4ebdd049 Fixes #13134: Added logging URL rules (bashkarev) 2017-01-27 19:03:45 +03:00
Alexander Makarov
f20c0177af Fixes #7435: Added EVENT_BEFORE_RUN, EVENT_AFTER_RUN and corresponding methods to yii\base\Widget 2017-01-27 18:56:22 +03:00
Alexey Rogachev
37f19a0256 Fixes #13300, #13307, #13310, #13312
- Bug #13300: Allow pjax with "data-pjax" with no value in `yii.js`.
- Bug #13307: Preventing of race conditions in script filter in `yii.js` works incorrectly.
- Bug #13310: Handle relative and absolute URLs coincidence in CSS filter in `yii.js`.
- Bug #13312: `skipOuterContainers` option was incorrectly passed to pjax in `handleAction` in `yii.js`.
- Partially fixes #13299.

Adds tests for #8014, #11921, #10974, #11494, #10358, #10097.
2017-01-25 11:00:13 +03:00
Revin Roman
d3bde96852 Fix Russian messages (#13438) [skip ci] 2017-01-24 15:03:31 +03:00
Alexander Makarov
c8e467f919 Removed changelog entry for reverted #13393 2017-01-24 14:03:41 +03:00
Alexander Makarov
eab3489ec7 Reverted #13393: Removed redundant call to yii\helpers\Url::to() in yii\web\Controller::redirect() (reverted from commit e5d169beb8) 2017-01-24 13:09:57 +03:00
Carsten Brandt
73f61b4f6b Update UPGRADE.md 2017-01-23 18:56:32 +01:00
Klimov Paul
c73de31a90 Fixed yii\web\MultipartFormDataParser adds an extra newline to every value 2017-01-23 13:18:31 +02:00
Alexander Makarov
3f4771b1de Phpdoc adjustments [skip ci] 2017-01-23 12:42:35 +03:00
Alexander Makarov
cc37cd626f Fixes #12599: Fixed MSSQL fail to work with nvarbinary. Enhanced SQL scripts compatibility with older versions 2017-01-23 10:31:52 +03:00
Robert Korulczyk
507cc52658 Allow omit default params on URL creation
Fixes #10970
2017-01-22 22:19:13 +02:00
Andrew Nester
21faee5504 Fixes #13212: Fixed DbSession::regenerateID() failure when session_regenerate_id() fails 2017-01-22 20:15:36 +03:00
Elvira Sheina
b82caa97e8 Fixes #7820: Add or relation for targetAttribute in yii\validators\UniqueValidator 2017-01-22 19:45:18 +03:00
Vladimir Kuprienko
e5d169beb8 Fixes #13393: Removed redundant call to yii\helpers\Url::to() in yii\web\Controller::redirect() 2017-01-22 11:56:52 +03:00
Leandro Gehlen
736cd7bc80 Fixes #13417: Allow customizing yii\data\ActiveDataProvider in yii\rest\IndexAction 2017-01-22 11:46:47 +03:00
Dmitry Naumenko
28325f2e0d Update BaseYii.php 2017-01-21 12:30:07 +02:00
Maksim Pestov
e6424b190e Append phpdoc for log methods 2017-01-21 12:15:21 +04:00
Alexander Makarov
97171a0db7 Fixes #13401: Fixed lack of escaping of request dump at exception screens 2017-01-18 01:05:50 +03:00
Klimov Paul
862a5dd6b7 Added support for field yii\console\controllers\BaseMigrateController::$migrationNamespaces setup from CLI 2017-01-16 16:48:44 +02:00
Alexander Makarov
913b51b0b9 Adjusted changelog
See 3692941ead (commitcomment-20490835)
2017-01-16 17:40:41 +03:00
Carsten Brandt
c1c11d06ae Revert "Fixed some comment issues (#13392) [skip ci]"
This reverts commit 652d05f0b8.

`@property` comments are used to document the property that is
defined by a getter/setter if the method description does not fit.
2017-01-16 00:00:29 +01:00
João Pedro Pereira
3692941ead Fixes #11464: Foreign key name is not provided by schema 2017-01-16 00:27:20 +03:00
Alexander Makarov
3f66f1907f Removed unused method 2017-01-16 00:08:28 +03:00
Alexander Makarov
ebe30bd5ee Exposed number normalization as StringHelper::normalizeNumber() 2017-01-15 22:46:25 +03:00
Alexander Makarov
eee7b9663c Merge branch 'master' into fix-numbervalidator-comma-decimal-separator 2017-01-15 22:41:09 +03:00
Tetyuev Pavel
3a1cd7f3aa Fixes #13287: Fixed translating "and" separator in UniqueValidator error message 2017-01-15 22:05:45 +03:00
Sergei Malmygin
3ea671454c Fixes #12133: Fixed getDbTargets() function in yii\log\migrations\m141106_185632_log_init that would create a log table correctly 2017-01-15 21:53:36 +03:00
Hao
652d05f0b8 Fixed some comment issues (#13392) [skip ci] 2017-01-15 21:39:12 +03:00
Alexander Makarov
442ac040cc Used is_subclass_of() as suggested by @SamMousa
3946ac0dab (commitcomment-20466575)
2017-01-14 13:22:13 +03:00
SilverFire - Dmitry Naumenko
43de339a72 Reordered CHANGELOG 2017-01-14 11:53:02 +02:00
Sergey
fc00e60ade Incorrect console width/height detecting with using Stty on Mac
Fixes #13309
2017-01-14 11:49:13 +02:00
SilverFire - Dmitry Naumenko
0efed3f2b0 Fixed wrong background color generation in BaseConsole::renderColoredString()
Fixes #13326
2017-01-14 11:42:33 +02:00
Klimov Paul
d4ac47abe7 Added yii\validators\EachValidator::$stopOnFirstError allowing addition of more than one error 2017-01-13 17:59:10 +02:00
Klimov Paul
b93856cdfd Unit test for yii\caching\DbDependency added 2017-01-13 12:16:37 +02:00
Klimov Paul
3946ac0dab Added yii\widgets\InputWidget::$field field, allowing access to the related yii\widget\ActiveField instance 2017-01-13 11:36:33 +02:00
Klimov Paul
25a7ed60e7 Docs about namespaced migrations fixed 2017-01-10 14:22:50 +02:00
Carsten Brandt
7c98000391 Update Controller.php 2017-01-07 21:15:30 +01:00
Carsten Brandt
3050dedded Update BaseConsole.php 2017-01-07 21:13:02 +01:00
Klimov Paul
0a978f9d1e Fix fetching schema information for pgsql when PDO::ATTR_CASE is set 2017-01-05 17:54:37 +02:00
Nobuo Kihara
e05a883fdf ja message file updated (#13325) [skip ci] 2017-01-04 17:25:59 +03:00
lubosdz
6aa80cc9f5 Slovak translation updated (#13324) [skip ci] 2017-01-04 17:25:34 +03:00
d3artagnan
a2dc34d84d Update id (Indonesian) messages, add translation (#13322) [skip ci] 2017-01-04 12:31:54 +08:00
a.kompaniets
50f3012f68 fixed currency format with custom decimal fraction
fixes #12345
close #12648
2017-01-03 00:03:40 +01:00
Alexey Rogachev
bd9947a681 Removed redundant colon (#13317) 2017-01-02 23:18:31 +01:00