SilverFire - Dmitry Naumenko
438e5cfb5d
BaseArrayHelper::isTraversable() PHPDoc update
2016-02-24 23:51:19 +02:00
Sam Mousa
16a6af5fa8
Add helper function for checking if an object is an array-like object.
...
Added support for traversable objects in `BaseHtml` and `ArrayHelper`
2016-02-24 23:49:05 +02:00
Alexander Makarov
80e9331fe0
Spelling fixes, BaseArrayHelper::index() parameter groupBy renamed to groups
2016-02-24 23:43:09 +02:00
SilverFire - Dmitry Naumenko
367fddc1f3
ArrayHelper::index() - updated CHANGELOG, UPGRADE, guide
2016-02-24 23:10:07 +02:00
SilverFire - Dmitry Naumenko
d56d2d7a31
BaseArrayHelper::index() - 3rd parameter renamed from dimensions to groupBy
...
PHPDoc updated
2016-02-24 23:07:37 +02:00
SilverFire - Dmitry Naumenko
54c0d9a31c
Merge branch 'helper_indexbydimensions' of https://github.com/quantum13/yii2 into quantum13-helper_indexbydimensions
2016-02-24 21:35:51 +02:00
SilverFire - Dmitry Naumenko
66c6268e5f
FileValidator: updated guide-ru,en, PHP; updated tests
2016-02-24 09:05:29 +02:00
SilverFire - Dmitry Naumenko
2201bf14e2
Fixed parameters binding to the SQL query in yii\db\mysqlSchema::findConstraints()
...
Closes #10946
2016-02-24 08:31:24 +02:00
SilverFire - Dmitry Naumenko
7aef671872
Refactored FileHelper::validateMimeType, js validaton, PHPDocs
2016-02-24 00:40:34 +02:00
kirSeNN
a4c68b5278
#5469 added mimetype mask validation feature
2016-02-24 00:40:34 +02:00
Carsten Brandt
762b9207ea
Avoid some calls to new $this->modelClass in ActiveQuery
...
this fixes some cases of the problem described in #8639 and is fully BC.
Fixing other places may need BC breaks.
2016-02-23 13:24:01 +01:00
Carsten Brandt
cdf01f357a
fixed changelog for HTMLPurifier
2016-02-21 18:08:31 +01:00
Carsten Brandt
15eb280d2d
changed HTMLPurifier dependency to allow loading new minor versions
...
see d7f6f11193
2016-02-21 18:07:10 +01:00
Evgeniy Tkachenko
d804950d09
Update phpDoc BaseMailer::compose()
2016-02-20 18:44:29 +03:00
Evgeniy Tkachenko
8f26e93b20
Update phpDoc MailerInterface::compose()
2016-02-20 16:58:13 +03:00
Alexander Makarov
d7f6f11193
HTMLPurifier dependency updated to ~4.7.0
2016-02-20 02:57:45 +03:00
Alexander Makarov
bf3d8fe40f
Use $arr[] = 'x' instead of array_push
2016-02-16 14:35:15 +03:00
Alexander Makarov
4bc7c51180
Removed unnecessary if
2016-02-16 14:13:43 +03:00
Alexander Makarov
5c4e2d4372
Removed unnecessary parentheses
2016-02-16 14:08:43 +03:00
Alexander Makarov
1f7134634b
Use static:: instead of $this for static method calls
2016-02-16 14:06:23 +03:00
Alexander Makarov
97bc4e0567
Fixed wrong case in method calls
2016-02-16 13:53:53 +03:00
Alexander Makarov
608479dc53
Use actual cache methods instead of deprecated ones, fixed static method call in non-static context
2016-02-16 13:50:42 +03:00
Alexander Makarov
b6caff1952
Removed unused imports
2016-02-16 13:48:09 +03:00
Alexander Makarov
1af5980b35
Removed unused use statement, replaced preg_split with explode
2016-02-16 13:46:13 +03:00
Alexander Makarov
69d8f2296f
Merge pull request #10860 from pana1990/patch
...
Add @since [skip ci]
2016-02-16 01:42:14 +03:00
Alexander Makarov
386aacae5c
Fixes #10422 : yii\db\ColumnSchemaBuilder::buildNotNullString now returns NULL instead of empty string to properly work with MSSQL (reverted from commit 2498a9b3bb)
2016-02-16 01:39:42 +03:00
Daniel Gomez Pan
8b0f28f780
Add @since [skip ci]
2016-02-15 23:06:58 +01:00
nevermnd
2498a9b3bb
Fixes #10422 : yii\db\ColumnSchemaBuilder::buildNotNullString now returns NULL instead of empty string to properly work with MSSQL
2016-02-15 23:55:34 +03:00
Sam Mousa
af5f5d0e3e
Fixes #9851 : Fixed partial commit / rollback in nested transactions
2016-02-15 23:32:32 +03:00
quantum
7b46bd1f7c
Fixes #10451 : Check of existence of $_SERVER in \yii\web\Request before using it
2016-02-15 23:22:45 +03:00
Alexander Makarov
1ec972fbf7
Fixes #10610 : Added BaseUrl::$urlManager to be able to set URL manager used for creating URLs
2016-02-15 22:35:58 +03:00
Dmitry Naumenko
a41208b37f
Merge pull request #10777 from pana1990/10764-enh-options-tag
...
WIP #10764
2016-02-15 21:01:14 +02:00
Daniel Gomez Pan
3bf3c20710
Merge remote-tracking branch 'upstream/master' into 10764-enh-options-tag
...
# Conflicts:
# framework/CHANGELOG.md
2016-02-15 17:37:40 +01:00
Daniel Gomez Pan
2825e06451
Update changelog [skip ci]
2016-02-15 15:15:18 +01:00
githubjeka
f0c666cd6f
Update FileValidator phpDoc: see link added to maxSize
2016-02-15 15:14:39 +03:00
githubjeka
07c3403f27
Update FileValidator phpDoc: see link added to maxSize
2016-02-15 15:12:36 +03:00
githubjeka
e23f47f49a
Update phpDoc maxSize of FileValidator
2016-02-15 14:51:39 +03:00
Dmitry Naumenko
1d43bb5421
Merge pull request #10852 from githubjeka/uploadfile_doc
...
phpDoc: return of UploadedFile::getInstance()
2016-02-15 13:29:38 +02:00
githubjeka
984c51ab1a
Update phpDoc: return of UploadedFile::getInstance() / getInstanceByName()
2016-02-15 14:18:16 +03:00
Vladimir Khramov
ef8b0a2be0
parameter dimensions in ArrayHelper::index
2016-02-15 17:47:44 +10:00
Carsten Brandt
c04f068439
prepare for next release
2016-02-14 15:51:30 +01:00
Carsten Brandt
9b5f6cb188
prepare for 2.0.7 release
...
- adjust version
- build classmap
- build phpdoc @property annotations
- build mime-type file
2016-02-14 15:45:55 +01:00
Alexander Makarov
a1846cd57c
Fixed issue number
2016-02-14 01:04:18 +03:00
Carsten Brandt
4359f4665b
docs adjustement for blameable behavior
2016-02-13 14:44:10 +01:00
SilverFire - Dmitry Naumenko
5714ae576d
Updated CHANGELOG, UPGRADE.md
2016-02-13 12:39:29 +02:00
SilverFire - Dmitry Naumenko
4f75bd70b9
BlameableBehavior::getValue() changed to make value processing consistent with AttributeBehavior::getValue()
2016-02-13 12:37:35 +02:00
SilverFire - Dmitry Naumenko
2e13136ca8
AttributeBehavior::getValue() now respects the callable in array format
2016-02-13 12:33:18 +02:00
Sam Mousa
8ea4c660da
Several improvements to DI container
...
- Refactored invoke into separate resolve method (reusability)
- Added support for associative params array
- Added PHPUnit group doc to DI tests.
- Improved the tests for better coverage, and fixed a bug discovered by the new tests.
close #10811
2016-02-12 17:29:18 +01:00
Carsten Brandt
3d719d057e
review yii\web namespaces docs
2016-02-12 16:21:32 +01:00
Carsten Brandt
997dfa3e11
review guide and UPGRADE file
2016-02-12 15:56:54 +01:00