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
Alexander Makarov
76e8556d34
#9465 better naming, code polish, changelog, docs wording
9 years ago
Daniel Gomez Pan
9afd240ab6
Fixes #9465 : ./yii migrate/create now generates code based on migration name and --fields
9 years ago
Edgard Lorraine Messias
7c9b7c77a7
Added tests for dropTable, truncateTable and renameTable
9 years ago
Sam Mousa
4a464afe9b
Fixes #9656 : `yii\db\BaseActiveRecord` refactored in order to getting, setting and unsetring attribute values using the same approach
9 years ago
SilverFire - Dmitry Naumenko
035a9ce0a8
Added `yii\filters\auth\AuthMetod::optional` property
...
Added `yii\base\ActionFilter::getActionId()` - code extracted from `ActionFilter::isActive()`
9 years ago
SilverFire - Dmitry Naumenko
58119c5b11
Fixed testCreateTable, testAlterTable now quotes table name
9 years ago
Sam Mousa
22d9997281
Implemented support of traversable objects in `RangeValidator::ranges`, added `ArrayHelper::in()` and `ArrayHelper::subset()`
9 years ago
Mehdi Achour
cca500083e
Implement #10078 : Allow disabling csrf hidden input generation on a form
9 years ago
Carsten Brandt
6acb76606c
fixed connection serialization test
9 years ago
Mehdi Achour
06d499ab02
#10158 : Accept arrays for 'js' as well
...
Also applied @samdark comments on array testing
9 years ago
SilverFire - Dima Naumenko
a6e1ba2cf6
Fixed mb_ functions calls to use UTF-8 or app charset
9 years ago
Sam Mousa
603a956b8d
Implemented __sleep in yii\db\Connection
...
to support serializing the connection object without exceptions.
- Added test for serializing an open connection.
- Added unserialize test
close #10149
9 years ago
Mehdi Achour
5619e98eda
Allow setting css options per CSS file in AssetBundle::, fixes #10158
9 years ago