SilverFire - Dmitry Naumenko
a23cbda185
Code style fixed
2016-05-22 13:13:24 +03:00
SilverFire - Dmitry Naumenko
e6c01ab081
Updated CHANGELOG
2016-05-22 13:13:12 +03:00
SilverFire - Dmitry Naumenko
e5bad89c34
Merge branch '11484-oci-schema' of https://github.com/SSiwek/yii2 into SSiwek-11484-oci-schema
2016-05-22 12:57:14 +03:00
SilverFire - Dmitry Naumenko
38be74446e
Update PHPDoc, CHANGELOG, UPGRADE.md
2016-05-22 12:54:29 +03:00
maine-mike
7249a6c99e
Move Identity Cookie code into separate functions
2016-05-22 12:12:04 +03:00
SilverFire - Dmitry Naumenko
36be16c865
Updated CHANGELOG
2016-05-22 12:03:44 +03:00
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.
2016-05-22 12:03:44 +03:00
mshutov
bb35fda6e9
Update Migration.php ( #11605 )
...
Typo in doc for safeDown
2016-05-21 15:32:34 +03:00
Carsten Brandt
e49bc29aa8
Update ActionFilter.php
2016-05-20 13:13:42 +02:00
Dmitry Naumenko
623b738d47
Merge pull request #11580 from DrDeath72/patch-12
...
YUI Compressor fix
2016-05-20 13:40:19 +03:00
Paul Klimov
7e7db38011
Fix #11591 ActionFilter wildcard ( #11594 )
...
* Added support for wildcards for `only` and `except` at `yii\base\ActionFilter`
2016-05-20 11:04:17 +02:00
DrDeath72
fd6f536eaf
YUI Compressor fix
2016-05-18 10:35:00 +05:00
SilverFire - Dmitry Naumenko
0ff6eeba7d
Enhanced 9f499eb: yii\web\User::checkRedirectAcceptable() removed check for "*" type (invalid in accept header)
2016-05-16 01:11:47 +03:00
SilverFire - Dmitry Naumenko
9f499eb51e
Fixed yii\web\User::checkRedirectAcceptable() to treat acceptable content type */* as *
...
Closes #11523
2016-05-15 22:27:40 +03:00
Dmitry Naumenko
c3c0d04f5b
Merge pull request #11547 from yiisoft/11429-message-source
...
Fixed `yii\i18n\PhpMessageSource::loadFallbackMessages()`
2016-05-15 21:59:50 +03:00
TonisOrmisson
6bd9881eaf
Minor changes in Estonian translation - more fluent. ( #11568 ) [skip ci]
2016-05-15 13:30:14 +03:00
Alexander Makarov
4d809af0ff
Fixed @since tag
2016-05-13 17:29:25 +03:00
Alexander Makarov
94d0bd9ae7
Fixed method name
2016-05-13 16:05:38 +03:00
Alexander Makarov
27866bf9d6
Changed name to append(), fixed phpdoc, added changelog
2016-05-13 15:58:06 +03:00
Chris Harris
66eabda770
Fixes #11195 : Added ability to append custom string to schema builder column definition
2016-05-13 15:57:54 +03:00
Alexander Makarov
5210fc8e42
Fixes #11532 : Fixed casting of empty char value to null resulting in integrity constraint violation for not null columns
2016-05-13 15:34:35 +03:00
Evgeniy Tkachenko
d0a68883c7
phpDoc of $layout updated
2016-05-13 14:18:19 +03:00
SilverFire - Dmitry Naumenko
bc63b7607f
Fixed PHPDoc for BaseArrayHelper::index()
...
Closes #11556
2016-05-12 16:33:23 +03:00
SilverFire - Dmitry Naumenko
f7ff153fce
Fixed yii\i18n\PhpMessageSource::loadFallbackMessages() not to log error when source and language is same, but locales are different
2016-05-12 01:30:17 +03:00
Klimov Paul
b5ff914d80
issue #11507 added to CHANGLOG
2016-05-11 15:14:36 +03:00
Sergey Smirnov
1ed6fc09f6
#10825 Fixed EachValidator does not respect skipOnEmpty when using model ( #11507 )
2016-05-11 14:11:32 +02:00
Salem Ouerdani
2eb90f82fe
removes nonexistent yii/web/rawCsrfToken from docs ( #11521 )
...
* removes nonexistent yii/web/rawCsrfToken from docs
* maj
2016-05-07 18:38:07 +02:00
Klimov Paul
abb408fc1d
pgsql migrations fixed
2016-05-06 12:18:03 +03:00
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
2016-05-06 11:04:27 +02:00
Giorgio Giudetti
622676b9f9
Updated translation ( #11510 )
2016-05-05 15:32:46 +03:00
SilverFire - Dmitry Naumenko
53e1018648
Updated yii\grid\DataColumn::getHeaderCellLabel() to extract attribute label from the filterModel of Grid
...
Closes #9950
2016-05-03 15:01:33 +03:00
SilverFire - Dmitry Naumenko
030913e7f0
Fixed code style and indentations
2016-05-03 14:51:25 +03:00
PowerGamer1
7f3511a908
Update ArrayDataProvider.php
...
Update DataColumn.php
Update CHANGELOG.md
2016-05-03 14:51:22 +03:00
mdmunir
7dc9d07bcd
Changable default flavor for Markdown helper
...
close #11438
2016-05-03 11:14:05 +02:00
SSiwek
5fc46d900b
Moved setting of isPrimaryKey #11484
2016-05-03 08:03:33 +02:00
SilverFire - Dmitry Naumenko
37380f785d
Updated CHANGELOG
2016-05-01 15:52:32 +03:00
SilverFire - Dmitry Naumenko
da355e8e4e
Merge branch '#11428-oci-findcolumns-speedup' of https://github.com/SSiwek/yii2 into SSiwek-11428-oci-findcolumns-speedup
2016-05-01 15:51:41 +03:00
Carsten Brandt
e0fd874992
cleanup CHANGELOG
2016-05-01 04:42:29 +02:00
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
2016-05-01 01:09:37 +03:00
Alexander Makarov
73803ff28b
Fixes #8422 : added note to behaviors explaining that there's no sense in validating attributes there are set automatically
2016-04-30 21:05:33 +03:00
cartmanchen
fc987f48de
Fixes #11459 : Fixed flash messages not destroyed when session.auto_start = 1 set in php.ini
2016-04-30 19:17:31 +03:00
Razzwan
0a10d6e265
Fixes #11414 : Files specified as null in yii\web\AssetBundle won't be registered
2016-04-30 16:29:11 +03:00
Anatoly Rugalev
b14758d423
Removed extra changelog line ( #11451 )
2016-04-28 23:02:23 +02:00
Carsten Brandt
be7ad4366c
prepare for next release
2016-04-28 16:54:21 +02:00
Carsten Brandt
731769241b
release version 2.0.8
2016-04-28 16:50:20 +02:00
Carsten Brandt
b41c3e8528
Merge pull request #11439 from yiisoft/better-test-security
...
better unit test for generateRandomBytes()
2016-04-28 12:54:33 +02:00
Evgeniy Tkachenko
7615a39e4d
Add note about purge DB ( #11445 )
2016-04-28 12:00:14 +02:00
Carsten Brandt
e94b68436d
complete test coverage for reading /dev/urandom
...
fixes an issue with buffered reading
2016-04-28 11:45:37 +02:00
SSiwek
5f8881cfbd
#11428 (oci) speedup SQL SELECT in findColumns
2016-04-28 08:23:20 +02:00
Carsten Brandt
f2f082dbab
moved checks before random_bytes() to have consistent behavior accross php versions
2016-04-28 04:16:22 +02:00