16153 Commits

Author SHA1 Message Date
d388fa65e8 Updated Greek translation of core framework. (#12793) 2016-10-20 20:43:41 +02:00
40394b8abf Update CHANGELOG.md
removed reference for #9101 because the fix has been reverted.
2016-10-20 20:20:05 +02:00
dc7c3779a0 fixed phpdoc controller to not crash on non-instantiable classes
this happens with codeception classes that are auto generated, they
shoud not be changed by phpdoc controller anyway.
2016-10-20 14:39:57 +02:00
2233d75927 prepare for next release 2016-10-20 14:04:19 +02:00
11fe407ad0 release version 2.0.10 2.0.10 2016-10-20 14:02:50 +02:00
ff871bdf48 adjuste PHPdoc controller to use short form types 2016-10-20 13:53:06 +02:00
04848a6c3b Fix yii\rest\Serializer serialize ArrayDataProvider with pagination bug
fixes #11987
close #12683
2016-10-20 13:17:10 +02:00
35dd698f30 added missing @since annotations 2016-10-20 12:46:02 +02:00
fb72b8801f fixed indentation and code style 2016-10-20 12:37:02 +02:00
69e23f9d12 fixed UPGRADE.md duplicate headline 2016-10-20 12:27:38 +02:00
6bffb78391 Added public keyword to example (#12789) [skip ci] 2016-10-20 00:39:57 +03:00
088f15ee67 Cosmetic changes in DocBlocks (#12788) [skip ci] 2016-10-20 00:31:25 +03:00
15c665974d (Not set) to (not set) (#12786) [skip ci] 2016-10-19 23:49:16 +03:00
8a452bcc2e Fixes #10587: Latest used controller instance was not available in Response::EVENT_AFTER_SEND handler 2016-10-19 12:02:55 +03:00
a057c64a6c Merge pull request #12774 from w3lifer/patch-1
Replaced " to ` (code) in DocBlocks for readability
2016-10-18 23:33:43 +03:00
a42fd9aed7 Replaced " to ` in DocBlocks for readability 2016-10-18 23:18:05 +03:00
4290263e21 Fixes #12761: Added exact command to upgrade framework via Composer to UPGRADE 2016-10-18 14:38:21 +03:00
3c1eb55f55 PHPDoc @return fix for insert() (#12757) [skip ci] 2016-10-17 16:36:25 +03:00
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
17df7577a5 Fixed URI component decoding with + (plus) sign
Fixes #11921
2016-10-16 10:05:45 +03:00
b172d1757f Merge pull request #12747 from werew01f/master
afterInit event for yiiActiveForm
2016-10-14 18:00:27 +03:00
9d98d03ec5 Update CHANGELOG.md 2016-10-14 18:00:03 +03:00
1bd13e233b afterInit event for yiiActiveForm
https://github.com/yiisoft/yii2/issues/12744
2016-10-14 17:17:56 +03:00
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
fa9675636b fixed broken test in ActiveRecordTestTrait
use generic class names that work for all db backends

fixes #12745
close #12746
2016-10-14 14:41:38 +02:00
ff15100eab Merge branch '10358-js-race-condition' 2016-10-14 15:38:12 +03:00
1ab204e481 Fixed race condition in yii.js ajax prefilter
Closes #10358
2016-10-14 15:37:28 +03:00
3e1588b5b9 Added unit tests for #9561
canGetProperty and canSetProperty on ActiveRecord checks attributes

close #11087
2016-10-13 13:18:37 +02:00
64ed8c9112 added note about timezone conversion to DateValidator
fixes #11692
2016-10-13 13:06:50 +02:00
45d1041cfb adjusted guide for #12198 2016-10-13 12:36:35 +02:00
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
8d5daef88e more direct link in DbSession comment 2016-10-13 12:28:52 +02:00
e23a419732 PHPDocs updated 2016-10-12 20:29:32 +03:00
f9177d20a2 Updated code style recommendataions - PHPDoc blocks 2016-10-12 20:18:40 +03:00
eacf50fe1f Updated code style recommendataions - PHPDoc blocks
Closes #17712
2016-10-12 19:55:20 +03:00
beaf63ec41 Fix documentation grammar (#12728) [skip ci] 2016-10-12 16:21:55 +03:00
9da97f676d Duplicate hash link [skip ci] (#12724) 2016-10-12 12:44:23 +03:00
4b43183df7 Fixes #10563: Fixed forming Content-Disposition header for file downloads (#12721) 2016-10-12 11:41:21 +03:00
677b55475b Reverted accidental commit 2016-10-12 00:38:54 +03:00
75e43ccc3a Fixes regression introduced by #12576. Closes #12576 2016-10-12 00:38:04 +03:00
2ffa670885 add functions for filtering 2016-10-12 00:07:45 +03:00
f14dccd18c Update input-forms.md (#12720) [skip ci] 2016-10-11 16:49:51 +03:00
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
2a9a997277 Added support for wildcards for optional at yii\filters\auth\AuthMethod 2016-10-10 12:24:04 +03:00
e32f2f4c09 [docs][PL] guide Autoloading (#12698) [skip ci] 2016-10-07 21:31:51 +03:00
621e1c3428 Merge pull request #12695 from bbldzr/patch-1
Fix spelling
2016-10-07 12:03:17 +03:00
fbc20c6bae Fix spellin 2016-10-07 12:51:32 +05:00
63f95fa3ad Fixes #11309: Added yii\web\Request::getHostName() method that returns hostname of current request 2016-10-07 01:00:14 +03:00
e53cc5e938 Update documentation_style_guide.md
added style for referencing code objects.
2016-10-06 15:59:40 +02:00
89bc2918d3 Make 'safe' validator work on write-only properties
fixes #12605
2016-10-06 14:44:11 +02:00