SilverFire - Dmitry Naumenko
36be16c865
Updated CHANGELOG
8 years ago
andrey-mokhov
bde00be202
ColumnSchemaBuilder can not work with custom types
...
In our project we use trait with custom types, example:
```php
trait MigrationToolTrait
{
protected function dateTimeWithTZ ($precision = null)
{
if ('pgsql' === $this->db->driverName) {
return $this->getDb()->getSchema()->createColumnSchemaBuilder(sprintf('timestamp(%d) with time zone', $precision));
}
return $this->dateTime($precision);
}
}
```
usage:
```php
class m160516_161900_init
{
use MigrationToolTrait;
public function safeUp ()
{
$this->createTable('testing', [
'id' => $this->primaryKey(),
'startDate' => $this->dateTimeWithTZ()->notNull()->defaultExpression('now()'),
]);
}
public function safeDown ()
{
$this->dropTable('testing');
}
}
```
In version 2.0.8 MigrateController generate notice:
PHP Notice 'yii\base\ErrorException' with message 'Undefined index: timestamp(0) with time zone' in vendor/yiisoft/yii2/db/ColumnSchemaBuilder.php:366
We offer our change to fix it.
8 years ago
mshutov
bb35fda6e9
Update Migration.php ( #11605 )
...
Typo in doc for safeDown
8 years ago
Carsten Brandt
e49bc29aa8
Update ActionFilter.php
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
DrDeath72
fd6f536eaf
YUI Compressor fix
8 years ago
SilverFire - Dmitry Naumenko
0ff6eeba7d
Enhanced 9f499eb: `yii\web\User::checkRedirectAcceptable()` removed check for "*" type (invalid in accept header)
8 years ago
SilverFire - Dmitry Naumenko
9f499eb51e
Fixed `yii\web\User::checkRedirectAcceptable()` to treat acceptable content type `*/*` as `*`
...
Closes #11523
8 years ago
TonisOrmisson
6bd9881eaf
Minor changes in Estonian translation - more fluent. ( #11568 ) [skip ci]
8 years ago
Alexander Makarov
4d809af0ff
Fixed `@since` tag
8 years ago
Alexander Makarov
94d0bd9ae7
Fixed method name
8 years ago
Alexander Makarov
27866bf9d6
Changed name to append(), fixed phpdoc, added changelog
8 years ago
Chris Harris
66eabda770
Fixes #11195 : Added ability to append custom string to schema builder column definition
8 years ago
Alexander Makarov
5210fc8e42
Fixes #11532 : Fixed casting of empty char value to `null` resulting in integrity constraint violation for not null columns
8 years ago
Evgeniy Tkachenko
d0a68883c7
phpDoc of $layout updated
8 years ago
SilverFire - Dmitry Naumenko
bc63b7607f
Fixed PHPDoc for BaseArrayHelper::index()
...
Closes #11556
9 years ago
SilverFire - Dmitry Naumenko
f7ff153fce
Fixed `yii\i18n\PhpMessageSource::loadFallbackMessages()` not to log error when source and language is same, but locales are different
9 years ago
Klimov Paul
b5ff914d80
issue #11507 added to CHANGLOG
9 years ago
Sergey Smirnov
1ed6fc09f6
#10825 Fixed EachValidator does not respect skipOnEmpty when using model ( #11507 )
9 years ago
Salem Ouerdani
2eb90f82fe
removes nonexistent yii/web/rawCsrfToken from docs ( #11521 )
...
* removes nonexistent yii/web/rawCsrfToken from docs
* maj
9 years ago
Klimov Paul
abb408fc1d
pgsql migrations fixed
9 years ago
Paul Klimov
6b607d078f
#11498 : Fixed unable to saved serialized object into PostgreSQL binary column ( #11499 )
...
#11498 : Fixed unable to saved serialized object into PostgreSQL binary column
9 years ago
Giorgio Giudetti
622676b9f9
Updated translation ( #11510 )
9 years ago
SilverFire - Dmitry Naumenko
53e1018648
Updated `yii\grid\DataColumn::getHeaderCellLabel()` to extract attribute label from the `filterModel` of Grid
...
Closes #9950
9 years ago
SilverFire - Dmitry Naumenko
030913e7f0
Fixed code style and indentations
9 years ago
PowerGamer1
7f3511a908
Update ArrayDataProvider.php
...
Update DataColumn.php
Update CHANGELOG.md
9 years ago
mdmunir
7dc9d07bcd
Changable default flavor for Markdown helper
...
close #11438
9 years ago
SSiwek
5fc46d900b
Moved setting of isPrimaryKey #11484
9 years ago
SilverFire - Dmitry Naumenko
37380f785d
Updated CHANGELOG
9 years ago
Carsten Brandt
e0fd874992
cleanup CHANGELOG
9 years ago
dasmfm
91734ae83b
Fixes #11432 : Added HTTP status 421 "Misdirected Request" to list of statuses in `yii\web\Response`
...
Source: http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml
9 years ago
Alexander Makarov
73803ff28b
Fixes #8422 : added note to behaviors explaining that there's no sense in validating attributes there are set automatically
9 years ago
cartmanchen
fc987f48de
Fixes #11459 : Fixed flash messages not destroyed when `session.auto_start = 1` set in php.ini
9 years ago
Razzwan
0a10d6e265
Fixes #11414 : Files specified as `null` in `yii\web\AssetBundle` won't be registered
9 years ago
Anatoly Rugalev
b14758d423
Removed extra changelog line ( #11451 )
9 years ago
Carsten Brandt
be7ad4366c
prepare for next release
9 years ago
Carsten Brandt
731769241b
release version 2.0.8
9 years ago
Evgeniy Tkachenko
7615a39e4d
Add note about purge DB ( #11445 )
9 years ago
Carsten Brandt
e94b68436d
complete test coverage for reading /dev/urandom
...
fixes an issue with buffered reading
9 years ago
SSiwek
5f8881cfbd
#11428 (oci) speedup SQL SELECT in findColumns
9 years ago
Carsten Brandt
f2f082dbab
moved checks before random_bytes() to have consistent behavior accross php versions
9 years ago
Carsten Brandt
edd6e719bb
added missing since annotations and removed duplicate line
9 years ago
Carsten Brandt
55b858df6d
use already existing error string
...
this one is already available and translated to some languages.
9 years ago
Carsten Brandt
c86f78cb55
german translatoin update
9 years ago
Vladimir Khramov
c6d04644d3
passing properties to recursive call if properties of top object are not specified
...
fixes #7717
close #10960
9 years ago
Carsten Brandt
627233715b
proper `@since` annotations
9 years ago
Carsten Brandt
4411a74ebd
proper fix for #9425 , adjust changes from #11363
...
includes tests and fix that works in all cases.
9 years ago
Carsten Brandt
9ea5d46140
added missing `@since` annotations
9 years ago
Carsten Brandt
9f044b269f
update Upgrade notes
9 years ago
Evgeniy Tkachenko
72eca59399
[ci skip] add note about create_xxx drop_xxx ( #11435 )
9 years ago