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
Carsten Brandt
0f30b0843b
added test for SORT_DESC
...
for #8348 and #10607
9 years ago
Andrew Nester
78de315794
Fixed processing nested objects multisort in BaseArrayHelper
...
fixes #8348
close #10607
9 years ago
Carsten Brandt
273bd9ba6d
add test for ActionFilter::isActive
9 years ago
mdmunir
2505e7ef63
Fixes #9785 : Added ability to invoke callback with dependency resolution to DI container
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
08ce8c0718
EmailValidatorTest - spelling typo fixed
9 years ago
SilverFire - Dmitry Naumenko
4c31c26628
EmailValidator - the name of the mailbox is no longer limited with the length
9 years ago
Alexander Makarov
12761bf677
MSSQL does not support explicit value for an IDENTITY column #9773
9 years ago
Alexander Makarov
e6f1179b62
Fixed MSSQL expected test result: we're adding ORDER BY (SELECT NULL) to limit and order queries and query params are empty array by default
9 years ago
Alexander Makarov
c36e679519
MSSQL doesn't have SUBSTR and isn't able to use expressions in ORDER BY and GROUP BY
9 years ago
Carsten Brandt
4c6ecbe79c
fixed wrong assertation in test
9 years ago
Carsten Brandt
261b3fd39b
added a test for QueryBuilder PK
9 years ago
Carsten Brandt
f0a62cdbd3
allow expressions in GROUP BY
9 years ago
Carsten Brandt
5a462dc5d2
added tests and documentation for #8824
9 years ago
Vit S
bdddcc54ad
code review fixes
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
githubjeka
dabbb81e07
Added test for check the invalid attribute
9 years ago
githubjeka
3ebe092828
Reproduce bug
9 years ago
Andrew Nester
6acab778da
10629 - BaseStringHelper::truncateHtml fix - should not add suffix if words count less than needed #10629
9 years ago
Andrew Nester
d282d5fe7f
Updated doc block for SessionTest
9 years ago
Andrew Nester
ab25b8a358
10218 - Fix for session regenerate id issue that occured after user logged out #10218
9 years ago
SilverFire - Dmitry Naumenko
6eb9830d64
UniqueValidatorTest, CHANGELOG - fixed spelling
9 years ago
SilverFire - Dmitry Naumenko
652a5ec492
Added assets dir
9 years ago
SilverFire - Dmitry Naumenko
4207088290
fixed checkboxColumn unit test
9 years ago
Andrew Nester
ed23b97baf
#10574 - Fix for BaseArrayHelper to work with invalid characters in proper way
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
Carsten Brandt
cdb7d84fea
added support for non-gregorian calendar to formatter
...
fixes #8687
close #10517
9 years ago
Carsten Brandt
8897723c2a
added test to verify #10486
9 years ago
LAV45
fcf25e8fa1
Fixed `\yii\di\Instance::ensure()` to work with minimum settings
9 years ago
quantum
cdc5fc8156
mistake in test
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
469206d8d0
HtmlTest - added tests to checkboxList and listBox
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
Tom Worster
e7a888ad11
use file_get_contents and not magic numbers
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
Alexander Makarov
ddf1a91ae9
Removed old security test
9 years ago
Tom Worster
1f41a2c9af
Fixes #9878,9879,9880: Make `\base\Security` use `random_bytes()`, LibreSSL, mcrypt, limit OpenSSL to Windows, and to prefer `password_hash()` over `crypt()`
9 years ago
Carsten Brandt
d9f8933737
added prettyPrint option to JsonResponseFormatter
...
fixes #9762
close #10412
9 years ago
Revin Roman
229f9a8364
Support wildcard category name in export messages config #10359
9 years ago
Alexander Makarov
cc4849a3ae
Renamed getUserIDsByRole → getUserIdsByRole for consistency
...
See 0e0079bcae (commitcomment-14953758)
9 years ago
Carsten Brandt
5ffcd7b577
added nested array test to vardumper
...
issue #10376
9 years ago
Alexander Makarov
615a29f04e
More fixes for MSSQL tests
9 years ago
Alexander Makarov
619c50d933
Fixed MSSQL initial schema for tests
9 years ago