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
Alexander Makarov
6949992246
Simplified tests directory structure a bit
10 years ago
Kirsa Denis
cafd135022
Fixes #8064 : Added ability to remove containing menu tag by setting `yii\widgets\Menu::$options['tag']` to `false`
10 years ago
Klimov Paul
bb4bed4833
Fixed `yii\data\ArrayDataProvider::getKeys()` return wrong when `yii\data\ArrayDataProvider::$allModels` contain integer key
10 years ago
Klimov Paul
a8f4e8bee4
`yiiunit\framework\db\QueryTest::testCount()` fixed to be more generic
10 years ago
Klimov Paul
6bbdb36fac
Unit test for `yii\data\ArrayDataProvider` added
10 years ago
Klimov Paul
2ebe355e8d
`yiiunit\framework\db\QueryTest` fixed to be run for 'mysql' only
10 years ago
Klimov Paul
b8081b59b3
Fixed `yii\db\Query::count()` fails for query containing 'having' without 'group by'
10 years ago
Carsten Brandt
bfb38c9938
added test group
10 years ago
Carsten Brandt
17011e48b4
added unit test for #8066
10 years ago
Paul Klimov
4e8ee7b001
Use RETURNING for inserts for pgsql and oci to support PKs with a custom default value expression
10 years ago
Alexander Makarov
b806fc7108
Corrected fix for #8032
10 years ago
Carsten Brandt
5306cac4b9
added support for subqueries to simple conditions
...
fixes #8027
10 years ago
Jan Waś
9e6b7dea24
add an unit test, which fails for postgresql and oracle
10 years ago
Alexander Makarov
183c4c9496
Silenced migrate command non-error output in DbManagerTestCase
10 years ago
ChristopheBrun
82033125c4
Fixes #8032 : `yii\rbac\PhpManager::updateItem()` was unable to rename item updated
10 years ago
Klimov Paul
35eb833a2b
Added `yii\validators\EachValidator`
10 years ago
Qiang Xue
aead65f2d2
Fixes #7515 : Added support to use `indexBy()` together with `column()` in query builder
10 years ago
Ezekiel Fernandez
ee4cdfe87c
unit test for issue yiisoft/yii2#/7409 testing for CompositeAuth when an action is forwarding to another action in the same controller
10 years ago
Paul Klimov
378937f8d5
`yii\console\controllers\AssetController` provides dependency trace in case bundle circular dependency detected
10 years ago
John Was
901d640b55
Fixes #7973 : Added `Schema::getSchemaNames` method
10 years ago
John Was
29304a185a
Fixes #7833 : Support (materialized) views and foreign tables along normal tables when fetching table schema
10 years ago
John Was
4f49feee8d
fixes #7757 : in oci schema fix query results row keys case when PDO::ATTR_CASE is set to PDO::CASE_LOWER
...
added test to check support for setting PDO::ATTR_CASE and fetching table schemas
fixed fetching table schemas for mysql when PDO::ATTR_CASE is set
added tests for oci
fixed fetching composite fks for oci
improvements in oci schema parsing
removed autoIncrement detection fro oci and added test to verify that
implement batchInsert for oci
fix detecting IntegrityException for oci
fixed creating raw sql by skipping object and resource params
fix command test failing for sqlite
10 years ago
Qiang Xue
72c34cda1e
Fixes #6871 : Fixed the bug that using defaults and hostnames in URL rules may cause an out-of-range index issue
10 years ago
Carsten Brandt
800391f67a
fixed test braek
10 years ago
DaSourcerer
bdb4a999d3
Testcases for RFC7232, sec 3.2
10 years ago
Carsten Brandt
d33e75a7fd
possible fix for gridview checkall name
...
https://github.com/yiisoft/yii/issues/3810
10 years ago
Carsten Brandt
0a6715bd0b
enhanced default value for ListView Sort attribute labels
...
fixes #7530
close #7561
10 years ago
Alexander Makarov
0e567bdd9c
Fixed tests
10 years ago
Alexander Makarov
b7a29e38d9
Fixes #6895 : Added `ignoreCategories` config option for message command to ignore categories specified
10 years ago
Carsten Brandt
65a2c54974
fixed unicode in FormatConverter escaping
...
fixes #7603
10 years ago
pana1990
db8a6104b9
Deleted spaces [skip ci]
10 years ago
SilverFire
12fe0c7b85
Fixes #7488 : Added `StringHelper::explode` to perform explode with trimming and skipping of empty elements
10 years ago
Alexander Makarov
0eecb6ab1e
Fixes #7529 : Fixed `yii\web\Response::sendContentAsFile()` that was broken in 2.0.3
10 years ago
Brandon Kelly
7a37c47bb2
Fixed #7150 - support ICU single quote syntaxes
...
- When converting an ICU date/time format to PHP, text within single quotes will be replaced with backslashes in front of each character (the PHP date() method for escaping text), and double-single quotes will be replaced with single quotes.
- When converting an ICU date/time format to jQuery UI, text within single quotes, and double-single quotes, will each be preserved (rather than parsed for date/time format symbols), as jQuery UI uses the same text escaping and single quote syntax as ICU.
- Add support for '' within 'escaped text' E.g. 'o''clock'
close #7151
10 years ago
Carsten Brandt
ba6bce4e2d
fixed DateValidator to work with multibyte strings
...
fixes #6835
10 years ago
Yoyon Cahyono
8b5e16ed56
compare position at which date value parsing ended with its string length to ensure validation when using php intl extension to parse date value
...
- fixes #6553
- Add additional testValidateAttributeICUFormat() test case using "2012-12-12foo" for "yyyy-MM-dd" date format
- close #6835
10 years ago
Nikolay Bogolubov
2e414632be
fix EmailValidator - added unit tests
...
close #7183
fixes #7172
10 years ago
Qiang Xue
f57a517f6d
Fixes #7449 : Added `encode` option to allow not encoding select options for `Html::dropDownList()` and `Html::listBox()`
10 years ago
Anton Ivanov
36aa65287a
Enh #7449 : HtmlTest improvements
10 years ago
Alexander Makarov
187322052d
Fixed converting double to PHP type
10 years ago
Alexander Makarov
384607832f
Added failing test for #7384
10 years ago
Alexander Makarov
5870a74672
Added Schema::DOUBLE to represent ANSI SQL Double Precision
10 years ago
Carsten Brandt
db37d03e32
added more tests for russian plurals
10 years ago
tom--
4512833fac
Fixes #7215 : Uses OpenSSL crypto lib instead of Mcrypt. Added testing of encrypted data compatibility, both backward and forward
10 years ago
Qiang Xue
a3ea7b774d
Fixes #7350 : Added `yii\helpers\Html::$dataAttributes` to support customizing data attributes.
10 years ago
Qiang Xue
e56bf03130
Fixed test break.
10 years ago
Alexander Makarov
00aafc82ef
Fixes #7258 : Response was sending HTML content type when formatter was set to JSON or XML, nulls were handled wrong
10 years ago
Alexander Makarov
106d6d5e4c
Added JsonResponseFormatterTest
10 years ago