Mehdi Achour
5619e98eda
Allow setting css options per CSS file in AssetBundle::, fixes #10158
9 years ago
SilverFire - Dima Naumenko
d7bb1be296
EmailValidator - specified encoding for mb_strlen
9 years ago
SilverFire - Dima Naumenko
bf6b50f58e
#10142 Fixed EmailValidator to check email length properly
9 years ago
romeOz
9ed8b80493
Added tests for #9790
9 years ago
SilverFire - Dima Naumenko
6f6e54686b
Skip IpValidatorTest fully, when IPv6 support is not enabled
9 years ago
SilverFire - Dima Naumenko
c1b0d1263b
FromatterDateTest - fixed tests on PHP7
9 years ago
SilverFire - Dima Naumenko
ebee1d04ce
ComposerValidatorTest - Fixed PHP7 error
9 years ago
rezident1307
be407391ce
Fixes #10101 : Fixed assignments saving on role removing in `\yii\rbac\PhpManager`
9 years ago
Sidney Lins (slinstj, former sidtj)
c33574bc0a
Fixes #7566 : Improved `\yii\validators\CompareValidator` default messages
9 years ago
SilverFire - Dima Naumenko
a7f102fa94
Enh #10061 : `yii\helpers\BaseInflector::transliterate()` is now public
9 years ago
freezy
7bea7b65fd
Fixes #9282 : Improved JSON error handling to support PHP 5.5 error codes
9 years ago
SilverFire - Dima Naumenko
8d80616cb6
Bug #9999 : added PHPUnit test case to `UrlRuleTest`
9 years ago
Carsten Brandt
939b3a9283
added scenario test while reproducing #10034
9 years ago
Alexander Makarov
fe4cbd30d6
Fixes #9803 : Added option to register asset with scheme (reverted from commit 57dc8540fd
)
9 years ago
Nikita Verkhovin
57dc8540fd
Fixes #9803 : Added option to register asset with scheme
9 years ago
SilverFire - Dima Naumenko
b5d95f845e
`Formatter::asDuration()` PHPDoc and PHPUnit test enhanced
9 years ago
John Was
928a02c3bc
Added `Formatter::asDuration()` method
9 years ago
Alexander Makarov
5242765257
Fixes #3506 : Added `\yii\validators\IpValidator` to perform validation of IP addresses and subnets
9 years ago
Edgard Lorraine Messias
2d8106a39c
Fixed testCreateTable and testAlterTable in CommandTest for MSSQL and OCI
9 years ago
SilverFire - Dima Naumenko
f38bb6ced4
Chg #9953 : `TimestampBehavior::getValue()` value processing is consistent with `AttributeBehavior::getValue()`
9 years ago
Vadim
c00b97a12c
Fixes #9915 : `yii\helpers\ArrayHelper::getValue()` was erroring instead of returning `null` for non-existing object properties
9 years ago
SilverFire - Dima Naumenko
c128d008d3
Added more tests for StringHelper::explode
9 years ago
SilverFire - Dima Naumenko
a46ae82f6a
Fixes #9906 , #9907 FormatConverterTest updated to pass on different ICU data versions
9 years ago
SilverFire - Dima Naumenko
ccd20793d4
Fixed #9911 - StringHelper::explode with skip_empty option removed item eq to 0
9 years ago
kidol
4bc2eb7945
Fixes controller DI
9 years ago
Carsten Brandt
decd45201c
allow passing a single Expression object to select() and addSelect()
...
fixes #9883
9 years ago
Carsten Brandt
3826b6f4a3
added test for #9869
9 years ago
mdmunir
3accf52ddb
fix #9823
9 years ago
mdmunir
b7020065c8
Fixes #9476 : Added DI injection via controller action method signature
9 years ago
Alexander Makarov
00f432ab65
Fixes #9747 : added tests for Url::isRelative()
9 years ago
Carsten Brandt
989699614f
fixed test break
9 years ago
Carsten Brandt
4e7adc13ea
adjusted docs about Query::from() and subqueries
...
also added a test to verify behavior
close #9720
close #9266
9 years ago
Yuri Nazarenko
0d4d54c3c7
Bug #9714 : Fixed unable to save users assignments
9 years ago
Alexander Makarov
80d377ea57
Adjusted test for #9596
9 years ago
Hesam Khaki
5569eaae06
Fixes #9314 : Fixed `yii\rbac\DbManager::getPermissionsByUser()` not returning permissions directly assigned to a user
9 years ago
Alexander Makarov
6f0bb29e7a
Added test for #9596
9 years ago
Matvey Vasenin
a8ec3ebe14
add oracle support (need tested)
9 years ago
Matvey Vasenin
d801ca3c90
add mssql support (need test)
9 years ago
Matvey Vasenin
341e16645a
add cubrid support
9 years ago
AIZAWA, Hina
0f2a77ed36
Fixes #9442 : Fixed `yii\db\Migration::renameTable()` caused fatal error when using SQLite driver
9 years ago
Matvey Vasenin
afda00d434
add sqllite dummy
9 years ago
Matvey Vasenin
3cc8c09898
some test case added
9 years ago
Carsten Brandt
73a9c48058
added tests for #9108
9 years ago
Matvey Vasenin
ce6e92b736
add comment control methods
9 years ago
Klimov Paul
f48f63ecf5
`VarDumperTest` fixed
9 years ago
Klimov Paul
16e1e8fe28
Fallback for objects at `yii\helpers\VarDumper::export()` advanced
9 years ago
Nikola Kovacs
316e95b81d
Remove length from SchemaBuilderTrait::text.
...
close #9307
9 years ago
Carsten Brandt
56902298b4
fixed wrong expectation in QueryBuilder test
9 years ago
Carsten Brandt
0d778d0570
adjusted querybuilder tests to match implementation
9 years ago
Carsten Brandt
681db52ba6
refactored SchemaBuilder
...
- rename class to ColumnSchemaBuilder as this is more appropriate
- changed internal organisation to match how the rest of schema related classes work
- the ColumnSchemaBuilder is now created the same way as QueryBuilder is
- removed static call magic and method annotations, now real methods are called as they are
- the whole code works on objects in a db context now instead of setting database connection in global state
- trait is now used by Migration by default but can be used in other contexts as well
Migration usage is now as follows:
```php
$this->createTable('example_table', [
'id' => $this->primaryKey(),
'name' => $this->string(64)->notNull(),
'type' => $this->integer()->notNull()->defaultValue(10),
'description' => $this->text(),
'rule_name' => $this->string(64),
'data' => $this->text(),
'created_at' => $this->datetime()->notNull(),
'updated_at' => $this->datetime(),
]);
```
9 years ago