Commit Graph

6196 Commits

Author SHA1 Message Date
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
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
Carsten Brandt
31bd0e392b Merge pull request #10828 from yiisoft/activequery-alias2
Activequery::joinWith() alias
2016-02-12 14:30:05 +01:00
Carsten Brandt
ce35739469 joinWith implementation cleanup 2016-02-12 12:45:29 +01:00
Carsten Brandt
3f8df39f45 more tests for joinWith alias
also test on joining the same relation twice
2016-02-12 12:35:29 +01:00
Carsten Brandt
5f19e7aa41 Added Alias Syntax for joinWith()
Add alias syntax to joinWith(), e.g. joinWith('author a').
No need to know the table name for defining an alias for the relation.

fixes #2377, alternative to #8788, which allows later implementation of
getting alias and column name ambiguation.

depends on #10813 to be merged first.
2016-02-12 12:35:28 +01:00
Carsten Brandt
157d6c79cc fixes #4972 by adding and alias() to ActiveQuery
allows defining an alias without knowing the model table name.
2016-02-12 12:34:16 +01:00
Klimov Paul
d22a3a0a07 Fixed yii\validators\EachValidator does not respect skipOnEmpty rule parameter 2016-02-12 13:33:36 +02:00
Klimov Paul
17ab05651c uk translation fix 2016-02-11 17:39:25 +02:00
boehsermoe
22dceedabb Fixed DetailView for arrayable models
The toArray() function return [attribute => value] but there is need a list of attribute names.

UnitTest for the DetailView arrayable models

close #10760
2016-02-11 15:58:54 +01:00
SilverFire - Dmitry Naumenko
3a3fdd9665 Updated UPGRADE.md (closes #9953) 2016-02-11 16:52:39 +02:00
Evgeniy Tkachenko
af9462bd31 Update return phpDoc queryOne & queryScalar. 2016-02-11 16:34:40 +03:00
SilverFire - Dmitry Naumenko
6449e1a09f Merge branch 'master' into fix-auth-method 2016-02-11 00:42:43 +02:00
Alexander Makarov
4cd7f37103 Changelog for #10797 2016-02-10 12:07:55 +03:00
muhammadcahya
557b32f1d7 Efficiency CSS on Requirement Checker
I think this is no need a 6807 lines only for css style, 'same' css code, unused code inside core framework. 
Like @samdark say, I think will be better to remove unused stuff.

closed issue : https://github.com/yiisoft/yii2/issues/10791
2016-02-10 10:44:39 +07:00
muhammadcahya
d0e285ea3a Change to semantic html 5 elements/tags 2016-02-10 10:42:03 +07:00
Daniel Gomez Pan
cc7628e5d2 WIP #10764: update docs [skip ci] 2016-02-10 00:50:52 +01:00
Dmitry Naumenko
a5d6bd5c8e Merge pull request #10783 from yiisoft/7964-i18n-fallback
Fixed i18n message sources to load fallback messages in a smarter way
2016-02-10 00:39:55 +02:00
SilverFire - Dmitry Naumenko
b5c52ecbae PHPDoc updates 2016-02-10 00:39:25 +02:00
SilverFire - Dmitry Naumenko
4f3adc2cb8 Added i18n/migration static migrations 2016-02-10 00:38:45 +02:00
Dmitry Naumenko
09990ccc86 Merge pull request #10782 from yiisoft/ip-validator-message
IpValidator: use message property for default error
2016-02-09 23:39:27 +02:00
Daniel Gomez Pan
295bb3e173 WIP #10764: adjusted Html::beginTag and Html::endTag methods to be consistent 2016-02-09 18:13:32 +01:00
SilverFire - Dmitry Naumenko
63eb47fb39 IpValidator - added examples to class PHPDoc 2016-02-09 09:45:32 +02:00
SilverFire - Dmitry Naumenko
b804dbb98f IpValidator JS validation: wrongIp->message renamed 2016-02-08 19:44:44 +02:00
SilverFire - Dmitry Naumenko
15f70ce615 Merge branch 'master' into ip-validator-message 2016-02-08 19:41:42 +02:00
Alexander Makarov
9edd26eef7 Updated composer.json dependency versions. Fixes #10785 2016-02-08 11:33:16 +03:00
SilverFire - Dmitry Naumenko
32c424da10 Fixed i18n message sources to load fallback messages in a smarter way
Added migration and unit-tests for `yii\i18n\DbMessageSource`

Closes #7964
2016-02-07 23:08:52 +02:00
Andrew Nester
78de315794 Fixed processing nested objects multisort in BaseArrayHelper
fixes #8348
close #10607
2016-02-07 20:20:32 +01:00
Jan Siqueira
f9473ebc61 Fix default value parsing in pgsql\Schema for null values
Fixes #10692
close #10694
2016-02-07 20:07:17 +01:00
Carsten Brandt
f620f4de90 phpdoc fixes 2016-02-07 19:48:13 +01:00
Carsten Brandt
93ed683502 IpValidator: use message property for default error
its better to use already existing `message` property for the default error message.
2016-02-07 19:30:29 +01:00
Carsten Brandt
e41c2e3946 validators PHPdoc 2016-02-07 19:16:31 +01:00
Carsten Brandt
effe3b0b94 phpdoc adjustments 2016-02-07 18:12:22 +01:00
Carsten Brandt
ef5ce2d4c1 missing @since annotations in helpers 2016-02-07 17:46:12 +01:00