Carsten Brandt
9b5f6cb188
prepare for 2.0.7 release
...
- adjust version
- build classmap
- build phpdoc @property annotations
- build mime-type file
9 years ago
Alexander Makarov
a1846cd57c
Fixed issue number
9 years ago
Carsten Brandt
4359f4665b
docs adjustement for blameable behavior
9 years ago
SilverFire - Dmitry Naumenko
5714ae576d
Updated CHANGELOG, UPGRADE.md
9 years ago
SilverFire - Dmitry Naumenko
4f75bd70b9
`BlameableBehavior::getValue()` changed to make value processing consistent with `AttributeBehavior::getValue()`
9 years ago
SilverFire - Dmitry Naumenko
2e13136ca8
`AttributeBehavior::getValue()` now respects the callable in array format
9 years ago
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
9 years ago
Carsten Brandt
3d719d057e
review `yii\web` namespaces docs
9 years ago
Carsten Brandt
997dfa3e11
review guide and UPGRADE file
9 years ago
Carsten Brandt
ce35739469
joinWith implementation cleanup
9 years ago
Carsten Brandt
3f8df39f45
more tests for joinWith alias
...
also test on joining the same relation twice
9 years ago
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.
9 years ago
Carsten Brandt
157d6c79cc
fixes #4972 by adding and `alias()` to `ActiveQuery`
...
allows defining an alias without knowing the model table name.
9 years ago
Klimov Paul
d22a3a0a07
Fixed `yii\validators\EachValidator` does not respect `skipOnEmpty` rule parameter
9 years ago
Klimov Paul
17ab05651c
uk translation fix
9 years ago
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
9 years ago
SilverFire - Dmitry Naumenko
3a3fdd9665
Updated UPGRADE.md ( closes #9953 )
9 years ago
Evgeniy Tkachenko
af9462bd31
Update return phpDoc queryOne & queryScalar.
9 years ago
Alexander Makarov
4cd7f37103
Changelog for #10797
9 years ago
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
9 years ago
muhammadcahya
d0e285ea3a
Change to semantic html 5 elements/tags
9 years ago
SilverFire - Dmitry Naumenko
b5c52ecbae
PHPDoc updates
9 years ago
SilverFire - Dmitry Naumenko
4f3adc2cb8
Added i18n/migration static migrations
9 years ago
SilverFire - Dmitry Naumenko
63eb47fb39
IpValidator - added examples to class PHPDoc
9 years ago
SilverFire - Dmitry Naumenko
b804dbb98f
IpValidator JS validation: wrongIp->message renamed
9 years ago
Alexander Makarov
9edd26eef7
Updated composer.json dependency versions. Fixes #10785
9 years ago
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
9 years ago
Andrew Nester
78de315794
Fixed processing nested objects multisort in BaseArrayHelper
...
fixes #8348
close #10607
9 years ago
Jan Siqueira
f9473ebc61
Fix default value parsing in pgsql\Schema for null values
...
Fixes #10692
close #10694
9 years ago
Carsten Brandt
f620f4de90
phpdoc fixes
9 years ago
Carsten Brandt
93ed683502
IpValidator: use message property for default error
...
its better to use already existing `message` property for the default error message.
9 years ago
Carsten Brandt
e41c2e3946
validators PHPdoc
9 years ago
Carsten Brandt
effe3b0b94
phpdoc adjustments
9 years ago
Carsten Brandt
ef5ce2d4c1
missing `@since` annotations in helpers
9 years ago
Carsten Brandt
ddade3fc6e
fixed behavior of AuthMethod::isActive
...
this is an adjustment of #10188 fixing #7405
isActive() should not be affected in any way by specifying "optional" property.
isActive() should be determined from only and except.
If it is active it can then be checked if optional or not.
Currently this changes the behavior that except will always have precedence.
9 years ago
Carsten Brandt
e43c41c9ea
db layer phpdoc fixes
9 years ago
mdmunir
2505e7ef63
Fixes #9785 : Added ability to invoke callback with dependency resolution to DI container
9 years ago
Alexander Makarov
26a1e098ff
Removed controller action injection-related changelog line
9 years ago
lubosdz
c2214af969
[SK] Updated locale strings
9 years ago
Carsten Brandt
5db772ef7b
cleanup console namespace changes
9 years ago
Carsten Brandt
3f828d9599
alphabetical order for console core commands
9 years ago
Carsten Brandt
e8d309dddb
documentation fixes for 2.0.7
9 years ago
Carsten Brandt
364eb39eae
moved wrongly added CHANGELOG entry
9 years ago
Carsten Brandt
42b8569846
Revert DI injection via controller action method signature
...
reverts b7020065c
and related commits.
reverts implementation of #9476
For reasons, see discussion https://github.com/yiisoft/yii2/issues/9476#issuecomment-179749039
9 years ago
Andrew Nester
fecd4dcfa5
10739 - Multiple slashes at the end of route should not be accepted as valid url
9 years ago
SilverFire - Dmitry Naumenko
d12af259e0
Fixed UrlValidator pattern to improve matching
9 years ago
Andrew Nester
a0ca37ed6a
10545 - Fix for XMLResponseFormatter to format models in a proper way
9 years ago
SilverFire - Dmitry Naumenko
b43ebcc368
yii\db\Connection::createCommand() removed DI usage for performance reasons
9 years ago
Carsten Brandt
49c15fa304
better documentation for Command in db Connection
9 years ago
SilverFire - Dmitry Naumenko
8b92b08306
db/Connection - update PHPDocs, update CHANGELOG
9 years ago