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
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
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
0e0079bcae
Fixes #9573 : Added `yii\rbac\ManagerInterface::getUserIDsByRole()` and implementations
9 years ago
SilverFire - Dmitry Naumenko
2be8a716b1
#8995 , #8996 - added unit test, changelog line
9 years ago
Klimov Paul
bea90e1228
Fixed `yii\db\Query::where()` does not add params from directly passed `yii\db\Expression`
9 years ago
Klimov Paul
170c376648
`yii\helpers\VarDumper::dump()` now respects PHP magic method `__debugInfo()`
9 years ago
LAV45
a2bf2598ce
Release fix from SilverFire
9 years ago
LAV45
1028152aac
Unexpected behavior for \SimpleXMLElement and Json::encode() #10278
9 years ago
Carsten Brandt
d6c45d36ce
added test to verify #10204
9 years ago
githubjeka
a215013f68
Missing phpDoc properties has been added
9 years ago
githubjeka
0fc744598d
optimized imports & add phpDoc
9 years ago
githubjeka
fd6e33ccf3
Semantics of the test has been improved
9 years ago
githubjeka
e5e67ebed5
Add testValidateTargetClass for reproduce the bug.
...
When IDs targetClass & model(not new) is same then unique validator passed
9 years ago
Daniel Gomez Pan
c5eebe1a00
Fix test for migration
9 years ago
Alexander Makarov
8765cae71c
Reverted #9656 because of BC break (reverted from commit 4a464afe9b
)
9 years ago
Alexander Makarov
45432cc653
#9528 : added missing data provider for JSON formatter test, added changelog and upgrade note, added `@since` tag to new property
9 years ago
MaXL
4f81b4a99d
Fixes #9528 : Traversable objects are now formatted as arrays in `yii\web\XmlResponseFormatter` to support SPL objects and Generators
9 years ago
Daniel Gomez Pan
0b950f4039
Fix phpdocs and small bug
9 years ago
Daniel Gomez Pan
2a1764f97a
Enhancements for #9465
9 years ago
Carsten Brandt
d1812d2081
fixed arrayhelper test, renamed test methods according to FW change
9 years ago