gagatust
6397791513
Fixed whitespaces to match code style [skip ci]
8 years ago
Dmitry Klyukin
ecd2dc0d1b
Model loadMultiple test ( #13585 )
8 years ago
Carsten Brandt
25b78aa615
Fixes #13508 : Fixed duplicate attachment of behavior BC break
...
Fixes BC break introduced in
954c771fdb
?diff=split#diff-d45d5e14cbb9739c2e1c63b53ba5e363L669
8 years ago
Klimov Paul
194577c55e
Code style fix
8 years ago
Carsten Brandt
65e4a28800
consistent behavior for Yii::$app->controller and ->action ( #13167 )
...
Fixed inconsistency, `Yii::$app->controller` is available
after handling the request since 2.0.10, this is now also the case for
`Yii::$app->controller->action`.
fixes #12795
8 years ago
Carsten Brandt
48c806fe1c
added unit test for DynamicModel::load()
...
issue #12116
8 years ago
SilverFire - Dmitry Naumenko
437825be70
Implemented Container::setDependencies(), Container::setDefinitions
...
Closes #11758
Closes #13029
8 years ago
Alexey Rogachev
d50a06e4e7
Fixed typo in comment ( #12945 ) [skip ci]
8 years ago
Robert Korulczyk
4aa935e69e
Fixes #12055 : Changed `boolean` to `bool` and `integer` to `int` in phpdoc
8 years ago
Paul Klimov
8d05bd9479
`yii\base\Application::$version` converted to `yii\base\Module::$version` virtual property, allowing to specify version as a PHP callback
...
`yii\base\Application::$version` converted to `yii\base\Module::$version` virtual property, allowing to specify version as a PHP callback
8 years ago
Carsten Brandt
89bc2918d3
Make 'safe' validator work on write-only properties
...
fixes #12605
8 years ago
Boudewijn Vahrmeijer
41e2e244fc
fix failing test in Windows env
8 years ago
Carsten Brandt
b13d6fb13a
make version_compare() match everything starting from alpha
...
to include PHP 7.1-rc1
8 years ago
Carsten Brandt
9524672cd1
skip memcache extension on PHP 7 but keep memcacheD
8 years ago
Carsten Brandt
2bd301d1fe
fix test for PHP 7.1, expect deprecation message for mcrypt_create_iv()
8 years ago
Klimov Paul
48b0b962b8
Added `yii\base\Event::offAll()` method allowing clear all registered class-level event handlers
8 years ago
Carsten Brandt
857da0e102
added test for Module class
...
issue #12422
8 years ago
Klimov Paul
8de6a5117c
Fixed `yii\base\Model::offsetExists()` throws an exception on un-existing field
8 years ago
Paul Klimov
7e7db38011
Fix #11591 `ActionFilter` wildcard ( #11594 )
...
* Added support for wildcards for `only` and `except` at `yii\base\ActionFilter`
8 years ago
Carsten Brandt
5bc2f3a851
avoid random test failure
9 years ago
Alexander Makarov
e00c9d904e
Fixed tests to run properly on Windows
9 years ago
Carsten Brandt
e94b68436d
complete test coverage for reading /dev/urandom
...
fixes an issue with buffered reading
9 years ago
Carsten Brandt
49028af437
skip testing /dev/urandom on windows
...
also removed redundant test
9 years ago
Carsten Brandt
2aeb479341
better unit test for generateRandomBytes()
9 years ago
Alexander Makarov
5f7cd1cbc4
Skipped RNG performance tests
9 years ago
Tom Worster
c455a3c54b
Security component enhancements
...
- Added tests for random key generation speed.
- Better generateRandomKey() performance for small reads because of using fopen + buffered read and local caching of source detection.
- Use /dev/random on FreeBSD.
9 years ago
SilverFire - Dmitry Naumenko
5db2afbaeb
Code style fixed, PHPDoc updated
9 years ago
mdmunir
67b5f4ea19
fix for unsafe validator
...
Closes #8145 #8139 #11153
9 years ago
Carsten Brandt
273bd9ba6d
add test for ActionFilter::isActive
9 years ago
Pavel
b68613b746
Added support for events declared in interfaces #10108
...
Added guide in russian for events in interfaces
9 years ago
Tom Worster
e7a888ad11
use file_get_contents and not magic numbers
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
939b3a9283
added scenario test while reproducing #10034
9 years ago
freezy
6a4436f95b
[ Fixes #9177 ] Password Hash Cost setting for Security component
9 years ago
Alexander Makarov
6949992246
Simplified tests directory structure a bit
10 years ago