Alexey Rogachev
e8c16a09fa
Fixed some typos ( #12847 )
2016-10-26 14:02:38 +03:00
Alexey Rogachev
70752b0fc1
Fixes #11037 : yii.js and yii.validation.js should use Regexp.test instead of String.match ( #12839 )
2016-10-26 10:44:08 +03:00
Robert Korulczyk
5308aa1eee
Fixes #12619 : Added catch Throwable in yii\base\ErrorHandler::handleException()
2016-10-25 21:38:48 +03:00
Paul Klimov
8d05bd9479
yii\base\Application::$version converted to yii\base\Module::$version virtual property, allowing to specify version as a PHP callback
...
`yii\base\Application::$version` converted to `yii\base\Module::$version` virtual property, allowing to specify version as a PHP callback
2016-10-25 17:10:56 +03:00
Davidson Alencar
2716093eda
Fixes #12824 : Enabled use of yii\mutex\FileMutex on Windows systems
2016-10-24 19:16:24 +03:00
nanodesu88
71d083d499
Fixes #12816 : Added columnSchemaClass option for yii\db\Schema which adds ability to specify custom \yii\db\ColumnSchema class
2016-10-24 14:36:42 +03:00
Pavel Dovlatov
73a30780b3
Fixes #12810 : getChildRoles() throws an exception when role has no children
2016-10-24 14:11:09 +03:00
Carsten Brandt
1433d8a017
added example for relation name to AR phpdoc
...
fixes #12802
2016-10-24 02:16:54 +02:00
Carsten Brandt
31595827b1
fixed link in PhpMessageSource docs
...
https://github.com/yiisoft/yii2/pull/12409#r84586089
2016-10-24 02:03:17 +02:00
Tobias Munk
02e0ac7034
Fixes #12807 : Added console controller checks for yii\console\controllers\HelpController
2016-10-23 14:02:59 +03:00
Roman Grinyov
bbdf5186d2
Cosmetic changes in DocBlocks ( #12815 ) [skip ci]
2016-10-23 11:44:23 +03:00
Basil
3a2b4e445a
Update UPGRADE.md ( #12800 ) [skip ci]
...
The newest composer version should be part of the upgrade guide.
2016-10-21 17:48:52 +03:00
Klimov Paul
d4df72a2a4
Fixed yii\behaviors\AttributeTypecastBehavior unable to automatically detect attributeTypes
2016-10-21 12:49:22 +03:00
Māris Graudiņš
8f5b1fb3eb
Fixes #12790 : Added scrollToErrorOffset option for ActiveForm which adds ability to specify offset in pixels when scrolling to error
2016-10-21 01:06:37 +03:00
Bizley
15a6a9d3ba
Polish message translations ( #12796 ) [skip ci]
2016-10-20 22:38:41 +03:00
Vasilis Lourdas
d388fa65e8
Updated Greek translation of core framework. ( #12793 )
2016-10-20 20:43:41 +02:00
Carsten Brandt
40394b8abf
Update CHANGELOG.md
...
removed reference for #9101 because the fix has been reverted.
2016-10-20 20:20:05 +02:00
Carsten Brandt
2233d75927
prepare for next release
2016-10-20 14:04:19 +02:00
Carsten Brandt
11fe407ad0
release version 2.0.10
2016-10-20 14:02:50 +02:00
Carsten Brandt
ff871bdf48
adjuste PHPdoc controller to use short form types
2016-10-20 13:53:06 +02:00
LAV45
04848a6c3b
Fix yii\rest\Serializer serialize ArrayDataProvider with pagination bug
...
fixes #11987
close #12683
2016-10-20 13:17:10 +02:00
Carsten Brandt
35dd698f30
added missing @since annotations
2016-10-20 12:46:02 +02:00
Carsten Brandt
fb72b8801f
fixed indentation and code style
2016-10-20 12:37:02 +02:00
Carsten Brandt
69e23f9d12
fixed UPGRADE.md duplicate headline
2016-10-20 12:27:38 +02:00
Roman Grinyov
6bffb78391
Added public keyword to example ( #12789 ) [skip ci]
2016-10-20 00:39:57 +03:00
Roman Grinyov
088f15ee67
Cosmetic changes in DocBlocks ( #12788 ) [skip ci]
2016-10-20 00:31:25 +03:00
Alexander Makarov
8a452bcc2e
Fixes #10587 : Latest used controller instance was not available in Response::EVENT_AFTER_SEND handler
2016-10-19 12:02:55 +03:00
Roman Grinyov
a42fd9aed7
Replaced " to ` in DocBlocks for readability
2016-10-18 23:18:05 +03:00
Alexander Makarov
4290263e21
Fixes #12761 : Added exact command to upgrade framework via Composer to UPGRADE
2016-10-18 14:38:21 +03:00
PowerGamer1
3c1eb55f55
PHPDoc @return fix for insert() ( #12757 ) [skip ci]
2016-10-17 16:36:25 +03:00
SilverFire - Dmitry Naumenko
6fa828805a
Force AJAX validation on form submit
...
When AJAX validation in enabled, `yii.activeForm.js` will run it forcefully on form submit to display all possible errors
Fixes #12499
2016-10-16 12:37:59 +03:00
SilverFire - Dmitry Naumenko
17df7577a5
Fixed URI component decoding with + (plus) sign
...
Fixes #11921
2016-10-16 10:05:45 +03:00
Dmitry Naumenko
9d98d03ec5
Update CHANGELOG.md
2016-10-14 18:00:03 +03:00
werew01f
1bd13e233b
afterInit event for yiiActiveForm
...
https://github.com/yiisoft/yii2/issues/12744
2016-10-14 17:17:56 +03:00
François Gannaz
7669d60df6
Document and test ListView.showOnEmpty
...
This addresses #11627 by completing the documentation without changing
the behavior. Some basic unit tests are added on ListView to ensure this
won't change unintentionnally.
That means a ListView widget with an empty provider and
`showOnEmpty=true` will still display an empty element (by default, an
empty "div.list-view").
2016-10-14 15:40:23 +02:00
SilverFire - Dmitry Naumenko
1ab204e481
Fixed race condition in yii.js ajax prefilter
...
Closes #10358
2016-10-14 15:37:28 +03:00
p.chapl
3e1588b5b9
Added unit tests for #9561
...
canGetProperty and canSetProperty on ActiveRecord checks attributes
close #11087
2016-10-13 13:18:37 +02:00
Carsten Brandt
64ed8c9112
added note about timezone conversion to DateValidator
...
fixes #11692
2016-10-13 13:06:50 +02:00
Nikola Kovacs
1414b18835
Add short validator names time and datetime.
...
These map to `DateValidator` with `$type` set to
TYPE_TIME and TYPE_DATETIME.
close #12198
2016-10-13 12:30:54 +02:00
Carsten Brandt
8d5daef88e
more direct link in DbSession comment
2016-10-13 12:28:52 +02:00
SilverFire - Dmitry Naumenko
e23a419732
PHPDocs updated
2016-10-12 20:29:32 +03:00
Luke Holder
beaf63ec41
Fix documentation grammar ( #12728 ) [skip ci]
2016-10-12 16:21:55 +03:00
Alexander Makarov
4b43183df7
Fixes #10563 : Fixed forming Content-Disposition header for file downloads ( #12721 )
2016-10-12 11:41:21 +03:00
Alexander Makarov
677b55475b
Reverted accidental commit
2016-10-12 00:38:54 +03:00
Alexander Makarov
75e43ccc3a
Fixes regression introduced by #12576 . Closes #12576
2016-10-12 00:38:04 +03:00
Konstantin Tsukur
2ffa670885
add functions for filtering
2016-10-12 00:07:45 +03:00
Angel Guevara
6100849e2f
Documentation ActiveQueryInterface::one() ( #12682 )
...
* Documentation ActiveQueryInterface::one()
Currently there is an issue when using `BaseActiveRecord::findOne()` because it uses the return type for `ActiveQueryInterface::one()` which is inherited from `QueryInterface::one()` which returns `array|false`
https://scrutinizer-ci.com/g/yiisoft/yii2/issues/master/files/framework/db/BaseActiveRecord.php?selectedAuthors%5B0%5D=angeldelcaos%40gmail.com&orderField=path&order=asc&honorSelectedPaths=0
* null -> `null`
2016-10-11 15:00:45 +02:00
Klimov Paul
2a9a997277
Added support for wildcards for optional at yii\filters\auth\AuthMethod
2016-10-10 12:24:04 +03:00
Robert Korulczyk
63f95fa3ad
Fixes #11309 : Added yii\web\Request::getHostName() method that returns hostname of current request
2016-10-07 01:00:14 +03:00
Carsten Brandt
89bc2918d3
Make 'safe' validator work on write-only properties
...
fixes #12605
2016-10-06 14:44:11 +02:00