Dmitry Naumenko
9d9b63c05a
Merge pull request #11664 from lucianobaraglia/spanish-docs
...
More Spanish Docs [skip ci]
8 years ago
Luciano Baraglia
52bd5790f1
More Spanish Docs [skip ci]
8 years ago
Luciano Baraglia
0a7514eac8
Spanish docs [skip ci] ( #11649 )
8 years ago
Luciano Baraglia
42db3687cb
More spanish docs [skip ci] ( #11640 )
8 years ago
Carsten Brandt
418de14730
Merge pull request #11632 from nkovacs/psr2-fixes
...
Coding style fixes
8 years ago
Dmitry Naumenko
eca3a70fbb
Merge pull request #11626 from githubjeka/patch-1
...
Updated phpDoc of scalar
8 years ago
Nikola Kovacs
f538878142
remove superfluous whitespace
8 years ago
Nikola Kovacs
9d327baa8b
coding style fixes
8 years ago
Luciano Baraglia
af6df229e8
Output client spanish docs [skip ci] ( #11622 )
8 years ago
Klimov Paul
c9fa71e5ca
added missing `@since` tag
8 years ago
Klimov Paul
b7b8348c73
`yii\rbac\PhpManager` now invalidates script file cache performed by 'OPCache' or 'APC' on file saving
8 years ago
Evgeniy Tkachenko
dbb54f986c
Updated phpDoc of scalar
8 years ago
Luciano Baraglia
04835e5a33
Some spanish docs updates [skip ci] ( #11621 )
8 years ago
Angel Guevara
fdbf7d85a1
Simple tests ( #11606 )
...
* method to simplify migrate/create tests
* use new assertion for all migration/create tests
* move the expected files to test/data/console
8 years ago
Luciano Baraglia
bd2e78c1db
Some spanish docs [skip ci] ( #11617 )
8 years ago
SilverFire - Dmitry Naumenko
ae1fbdd737
Updated output-data-widgets article. Fixed broken links
...
Closes #11609
8 years ago
Dmitry Naumenko
e07bb61d71
Merge pull request #11610 from Faryshta/patch-4
...
fix #11609 [skip-ci]
8 years ago
Angel Guevara
10b5a3a819
fix #11609
8 years ago
SilverFire - Dmitry Naumenko
41097bb19b
Merge branch 'SSiwek-11484-oci-schema'
8 years ago
SilverFire - Dmitry Naumenko
a23cbda185
Code style fixed
8 years ago
SilverFire - Dmitry Naumenko
e6c01ab081
Updated CHANGELOG
8 years ago
SilverFire - Dmitry Naumenko
e5bad89c34
Merge branch '11484-oci-schema' of https://github.com/SSiwek/yii2 into SSiwek-11484-oci-schema
8 years ago
SilverFire - Dmitry Naumenko
38be74446e
Update PHPDoc, CHANGELOG, UPGRADE.md
8 years ago
maine-mike
7249a6c99e
Move Identity Cookie code into separate functions
8 years ago
SilverFire - Dmitry Naumenko
7284f238a0
Merge branch 'andrey-mokhov-patch-2'
8 years ago
SilverFire - Dmitry Naumenko
36be16c865
Updated CHANGELOG
8 years ago
SilverFire - Dmitry Naumenko
77b29bf927
Added tests to ColumnSchemaBuilderTest in order to verify custom column types work OK
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
Dmitry Naumenko
77747fc50f
Merge pull request #11604 from lucianobaraglia/doc-es
...
Some spanish docs [ci skip]
8 years ago
mshutov
bb35fda6e9
Update Migration.php ( #11605 )
...
Typo in doc for safeDown
8 years ago
Luciano Baraglia
3eb70a724b
Test fixtures spanish docs [skip ci]
8 years ago
Luciano Baraglia
b4ed34558f
Some spanish doc translations [skip ci]
8 years ago
Carsten Brandt
e49bc29aa8
Update ActionFilter.php
8 years ago
Dmitry Naumenko
623b738d47
Merge pull request #11580 from DrDeath72/patch-12
...
YUI Compressor fix
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
Luciano Baraglia
48bcee6fc3
Doc translation es ( #11597 )
...
* Added glossary to Spanish translation
* Some spanish translation updates
* DB Migrations Spanish Docs [skip ci]
* Fix line break in english doc [skip ci]
8 years ago
Luciano Baraglia
f1c1505808
Added glossary to Spanish translation ( #11587 )
...
* Added glossary to Spanish translation
* Some spanish translation updates
8 years ago
DrDeath72
fd6f536eaf
YUI Compressor fix
8 years ago
Alexander Makarov
0c4a16fc89
Fixes #11572 : updated Codeception version in the guide
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
b976f638d8
Added test for PgSQL BIGINT column to ensure typecasting works OK
...
Closes #11286
8 years ago
SilverFire - Dmitry Naumenko
9f499eb51e
Fixed `yii\web\User::checkRedirectAcceptable()` to treat acceptable content type `*/*` as `*`
...
Closes #11523
8 years ago
Dmitry Naumenko
c3c0d04f5b
Merge pull request #11547 from yiisoft/11429-message-source
...
Fixed `yii\i18n\PhpMessageSource::loadFallbackMessages()`
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
Oleg Balykin
515732c7b8
Test for bug dbTypecast with empty char #11548
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