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
SilverFire - Dmitry Naumenko
5714ae576d
Updated CHANGELOG, UPGRADE.md
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
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
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
Alexander Makarov
4cd7f37103
Changelog for #10797
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
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
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
SilverFire - Dmitry Naumenko
8b92b08306
db/Connection - update PHPDocs, update CHANGELOG
9 years ago
Carsten Brandt
5a462dc5d2
added tests and documentation for #8824
9 years ago
Daniel Gomez Pan
36de283411
Fix grammar in chage log [skip ci]
9 years ago
SilverFire - Dmitry Naumenko
96a50bcc35
Updated CHANGELOG.md
9 years ago
Vit S
bdddcc54ad
code review fixes
9 years ago
SilverFire - Dmitry Naumenko
011c1c65cc
Updated CHANGELOG, UPGRADE guide
9 years ago
Andrew Nester
61df727eaf
Expression objects for orderBy should be handled in QueryBuilder
...
fixes #10535
close #10637
- Added test to prove orderBy accepts \yii\db\Expression
9 years ago
Andrew Nester
6acab778da
10629 - BaseStringHelper::truncateHtml fix - should not add suffix if words count less than needed #10629
9 years ago
SilverFire - Dmitry Naumenko
969469b55a
Updated CHANGELOG
9 years ago
Andrew Nester
bdea6d30d0
Updated Changelog.md
9 years ago
SilverFire - Dmitry Naumenko
0cae7fc654
Added CHANGELOG line for #10052
9 years ago
SilverFire - Dmitry Naumenko
6eb9830d64
UniqueValidatorTest, CHANGELOG - fixed spelling
9 years ago
Daniel Gomez Pan
b88eeb6392
Fix change log [skip ci]
9 years ago
SilverFire - Dmitry Naumenko
5a1c88f1df
Updated CHANGELOG
9 years ago
SilverFire - Dmitry Naumenko
3624e6bf7e
Updated CHANGELOG
9 years ago
SilverFire - Dmitry Naumenko
5f8435bba7
Added CHANGELOG line
9 years ago
Carsten Brandt
f6dcb290ed
reverted c00b97a/#9915, this is expected behavior
...
When accessing non-existing properties it is expected behavior to throw an error.
This is the case in all other places.
It is also not reliably possible to determine whether a property exists beforehand.
it is not sufficient to call `property_exists()` as it may be available via `__get()`.
Instead of `property_exists()` or `isset()` it should call `$object->canGetProperty()` but this is not
guaranteed to be implemented and therefor doing such a check will not work in 2.0.x.
calling isset() may break code that works through __get() but has not implemented __isset() properly.
We may discuss this for 2.1 again but I am in favor of keeping it as is.
9 years ago
SilverFire - Dmitry Naumenko
eda1e7b027
Fixed `yii\grid\GridView::guessColumns()` to work with numeric column names
...
Closes #10580
9 years ago
Carsten Brandt
dbf1b9f492
Update CHANGELOG.md
9 years ago
youmad
77b0d30bf8
Divide by zero prevention in console progress bar
...
close #10541
9 years ago
Carsten Brandt
cdb7d84fea
added support for non-gregorian calendar to formatter
...
fixes #8687
close #10517
9 years ago
Alexander Makarov
56f77a9070
Fixed typo
9 years ago
LAV45
fcf25e8fa1
Fixed `\yii\di\Instance::ensure()` to work with minimum settings
9 years ago
Pavel
b68613b746
Added support for events declared in interfaces #10108
...
Added guide in russian for events in interfaces
9 years ago
Alexander Makarov
5cecb09c1b
Fixes #9443 : Added `unsigned()` to `ColumnSchemaBuilder`
9 years ago
AnatolyRugalev
3b31aa771a
#10363 : Fixed i18n fallback float and integer formatting
9 years ago
SilverFire - Dmitry Naumenko
dc93ec3812
Bug #9670 : Fixed PJAX redirect in IE
9 years ago
Sam Mousa
18fc8db32f
Fixes #10372 : Fixed console controller including DI arguments in help
9 years ago
cohen
85c6a903dc
Enh #10390 : Added ability to disable outer tag for `\yii\helpers\BaseHtml::radiolist()`, `::checkboxList`
9 years ago
SilverFire - Dmitry Naumenko
01a6235059
#9333 : Fixed AssetManager to publish bundles using symlink with nested directories in `hash`
...
Closes #9333
9 years ago