SilverFire - Dima Naumenko
b5d95f845e
Formatter::asDuration() PHPDoc and PHPUnit test enhanced
2015-10-26 23:57:05 +02:00
John Was
928a02c3bc
Added Formatter::asDuration() method
2015-10-26 20:48:39 +02:00
Alexander Makarov
5242765257
Fixes #3506 : Added \yii\validators\IpValidator to perform validation of IP addresses and subnets
2015-10-22 14:21:31 +03:00
Edgard Lorraine Messias
2d8106a39c
Fixed testCreateTable and testAlterTable in CommandTest for MSSQL and OCI
2015-10-21 00:19:48 +03:00
SilverFire - Dima Naumenko
f38bb6ced4
Chg #9953 : TimestampBehavior::getValue() value processing is consistent with AttributeBehavior::getValue()
2015-10-18 16:14:19 +03:00
Vadim
c00b97a12c
Fixes #9915 : yii\helpers\ArrayHelper::getValue() was erroring instead of returning null for non-existing object properties
2015-10-14 12:56:59 +03:00
SilverFire - Dima Naumenko
c128d008d3
Added more tests for StringHelper::explode
2015-10-14 12:50:14 +03:00
SilverFire - Dima Naumenko
a46ae82f6a
Fixes #9906 , #9907 FormatConverterTest updated to pass on different ICU data versions
2015-10-14 00:54:43 +03:00
SilverFire - Dima Naumenko
ccd20793d4
Fixed #9911 - StringHelper::explode with skip_empty option removed item eq to 0
2015-10-14 00:15:22 +03:00
kidol
4bc2eb7945
Fixes controller DI
2015-10-12 15:52:19 +02:00
Carsten Brandt
decd45201c
allow passing a single Expression object to select() and addSelect()
...
fixes #9883
2015-10-11 09:58:42 +02:00
Carsten Brandt
3826b6f4a3
added test for #9869
2015-10-09 16:30:18 +02:00
Vit S
88612a49b4
Merge branches '9198-buttons-visible-in-action-column' and 'master' of github.com:fornit1917/yii2 into 9198-buttons-visible-in-action-column
...
Conflicts:
framework/CHANGELOG.md
2015-10-05 22:16:21 +03:00
mdmunir
3accf52ddb
fix #9823
2015-10-03 23:00:46 +07:00
mdmunir
b7020065c8
Fixes #9476 : Added DI injection via controller action method signature
2015-09-27 19:35:43 +03:00
Alexander Makarov
ed17ba31d0
Merge pull request #9722 from rezident1307/9714-fix-add-save-assignments-to-phpmanager
...
Bug #9714 : Fixed unable to save users assignments
2015-09-24 16:22:48 +03:00
Alexander Makarov
00f432ab65
Fixes #9747 : added tests for Url::isRelative()
2015-09-23 15:47:51 +03:00
John Was
ac8d185539
cache ResourceBundle and created messages; fix unit divisor
2015-09-21 18:20:23 +02:00
John Was
4d3c211e24
use unit translations from ResourceBundle
2015-09-21 17:34:24 +02:00
Carsten Brandt
989699614f
fixed test break
2015-09-19 18:29:41 +02:00
Carsten Brandt
4e7adc13ea
adjusted docs about Query::from() and subqueries
...
also added a test to verify behavior
close #9720
close #9266
2015-09-19 17:41:45 +02:00
Yuri Nazarenko
0d4d54c3c7
Bug #9714 : Fixed unable to save users assignments
2015-09-18 12:31:27 +03:00
Alexander Makarov
ab06e9c8dc
Fixes #9605
2015-09-08 02:24:56 +03:00
Alexander Makarov
80d377ea57
Adjusted test for #9596
2015-09-05 11:41:03 +03:00
Hesam Khaki
5569eaae06
Fixes #9314 : Fixed yii\rbac\DbManager::getPermissionsByUser() not returning permissions directly assigned to a user
2015-09-05 01:31:10 +03:00
Alexander Makarov
6f0bb29e7a
Added test for #9596
2015-09-05 01:04:35 +03:00
Matvey Vasenin
a8ec3ebe14
add oracle support (need tested)
2015-08-19 17:10:10 +03:00
Matvey Vasenin
d801ca3c90
add mssql support (need test)
2015-08-19 16:42:44 +03:00
Matvey Vasenin
341e16645a
add cubrid support
2015-08-19 14:49:40 +03:00
AIZAWA, Hina
0f2a77ed36
Fixes #9442 : Fixed yii\db\Migration::renameTable() caused fatal error when using SQLite driver
2015-08-18 11:52:48 +03:00
Matvey Vasenin
afda00d434
add sqllite dummy
2015-08-17 14:44:53 +03:00
Matvey Vasenin
3cc8c09898
some test case added
2015-08-17 10:17:51 +03:00
Carsten Brandt
73a9c48058
added tests for #9108
2015-08-16 22:39:09 +02:00
Matvey Vasenin
ce6e92b736
add comment control methods
2015-08-14 12:27:21 +03:00
Klimov Paul
f48f63ecf5
VarDumperTest fixed
2015-08-09 17:53:24 +03:00
Klimov Paul
16e1e8fe28
Fallback for objects at yii\helpers\VarDumper::export() advanced
2015-08-09 15:02:48 +03:00
Nikola Kovacs
316e95b81d
Remove length from SchemaBuilderTrait::text.
...
close #9307
2015-08-05 22:50:46 +02:00
Carsten Brandt
56902298b4
fixed wrong expectation in QueryBuilder test
2015-08-04 12:58:03 +02:00
Carsten Brandt
0d778d0570
adjusted querybuilder tests to match implementation
2015-08-04 12:15:00 +02:00
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(),
]);
```
2015-08-03 23:25:50 +02:00
Carsten Brandt
7150e830d9
do not use reserved php words as function in schemabuilder
...
there is a reason for them to be reserved, we should not add such workarounds to still use them.
close #9283
2015-08-03 11:21:58 +02:00
Carsten Brandt
854e186210
fixed caching issue with UrlManager::createUrl
...
this fix will skip the cache in case we encounter a situation which can
not easily be cached.
fixes #9091
2015-08-03 00:31:59 +02:00
Lorenzo Milesi
a6fc02345e
FileValidator->getSizeLimit: check also php's post_max_size
...
- return the lowerest of `post_max_size` or `upload_max_filesize`
- Raised warning for misconfigured PHP
close #8373
2015-08-02 23:37:46 +02:00
Alexander Makarov
310f9152e1
Fixes #9268 : Improved display of boolean parameters in logged SQL queries
2015-08-01 00:30:16 +03:00
Alexander Makarov
357bce51bb
Tests for #9006
2015-07-30 19:25:52 +03:00
Vit S
6698b8154b
add tests for buttonsVisible suggestion (issue #9198 )
2015-07-24 23:19:11 +04:00
freezy
6a4436f95b
[ Fixes #9177 ] Password Hash Cost setting for Security component
2015-07-23 09:09:55 +02:00
zetamen
df6f270a0e
Fixes #9161 : Fixed yii\web\Request ignore queryParams when resolve request
2015-07-21 10:40:31 +03:00
Alexander Makarov
8e1d982da4
Cleanup, added ->unique(), changelog
2015-07-08 15:55:09 +03:00
Matvey Vasenin
da941a7675
Improved SchemaBuilder implementation
2015-07-08 15:40:09 +03:00