Commit Graph

15402 Commits

Author SHA1 Message Date
Alexander Makarov
38445c6e3e Added blackfire to the list of profilers, added "Prepare application for scaling" section 2016-06-06 23:16:24 +03:00
Jorge Robles
532242041c Fixes #11702: Added yii\rbac\DbManager::$assignmentTablePk to be able to customize RBAC DB schema more 2016-06-06 22:06:36 +03:00
Super Raccoon
b9bff5f681 Correct links for migration database accessing methods. (#11669) [skip ci] 2016-06-06 20:49:28 +02:00
Alexander Makarov
7cea46bcb4 Changed SQLite fix #11652 according to https://github.com/yiisoft/yii2/pull/11653#issuecomment-224016289 2016-06-06 19:57:42 +03:00
Boudewijn Vahrmeijer
0a60466729 Fixes #11527: Fixed bigPrimaryKey() for SQLite 2016-06-06 19:33:22 +03:00
Roman Grinyov
7032b96331 Add missing paragraph (#11678) [skip ci] 2016-06-06 18:21:03 +02:00
Alexander Makarov
1918f271da Changelog for #11662 2016-06-06 19:20:29 +03:00
jonny7
dca4f00030 Update schema-oci.sql (#11662)
- `if exists` is not a recognized oracle expression. To do something like this it needs to be in a package
- `text` is not a valid data type in oracle, adjusted to VARCHAR()
- `on update` does not exist in Oracle
2016-06-06 18:18:45 +02:00
Konstantin Baranov
d7933547f1 Fixed syntax of command (#11703) [skip ci] 2016-06-06 18:06:26 +02:00
DumpOfTheVar
c55b20a3d2 fix misspell (theses -> these) in docs/guide/db-active-record.md (#11688) [skip ci] 2016-06-05 22:01:57 +02:00
Luciano Baraglia
21c2c7a768 Some spanish docs updates [skip ci] (#11695) 2016-06-05 21:58:03 +02:00
Macbenach
ff5f7b5cf1 [docs] [skip-ci] RBAC Spanish Translation (#11675)
* [docs] [skip-ci] RBAC Spanish Translation

* Update security-authorization.md
2016-06-04 21:59:16 +02:00
hableel
f89307655b Update yii.php (#11694)
Add a missing translation [skip ci]
2016-06-04 21:57:15 +02:00
Dmitry Naumenko
9d9b63c05a Merge pull request #11664 from lucianobaraglia/spanish-docs
More Spanish Docs [skip ci]
2016-05-31 15:20:02 +03:00
Luciano Baraglia
52bd5790f1 More Spanish Docs [skip ci] 2016-05-30 15:21:45 -03:00
Luciano Baraglia
0a7514eac8 Spanish docs [skip ci] (#11649) 2016-05-30 17:09:45 +03:00
Luciano Baraglia
42db3687cb More spanish docs [skip ci] (#11640) 2016-05-27 07:15:39 +02:00
Carsten Brandt
418de14730 Merge pull request #11632 from nkovacs/psr2-fixes
Coding style fixes
2016-05-26 23:41:47 +02:00
Dmitry Naumenko
eca3a70fbb Merge pull request #11626 from githubjeka/patch-1
Updated phpDoc of scalar
2016-05-26 15:09:59 +03:00
Nikola Kovacs
f538878142 remove superfluous whitespace 2016-05-26 11:28:42 +02:00
Nikola Kovacs
9d327baa8b coding style fixes 2016-05-26 11:19:32 +02:00
Luciano Baraglia
af6df229e8 Output client spanish docs [skip ci] (#11622) 2016-05-25 23:10:49 +02:00
Klimov Paul
c9fa71e5ca added missing @since tag 2016-05-25 16:34:19 +03:00
Klimov Paul
b7b8348c73 yii\rbac\PhpManager now invalidates script file cache performed by 'OPCache' or 'APC' on file saving 2016-05-25 12:40:40 +03:00
Evgeniy Tkachenko
dbb54f986c Updated phpDoc of scalar 2016-05-25 09:14:31 +03:00
Luciano Baraglia
04835e5a33 Some spanish docs updates [skip ci] (#11621) 2016-05-24 19:51:55 +03:00
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
2016-05-24 09:35:23 +03:00
Luciano Baraglia
bd2e78c1db Some spanish docs [skip ci] (#11617) 2016-05-23 22:34:12 +02:00
SilverFire - Dmitry Naumenko
ae1fbdd737 Updated output-data-widgets article. Fixed broken links
Closes #11609
2016-05-22 18:40:24 +03:00
Dmitry Naumenko
e07bb61d71 Merge pull request #11610 from Faryshta/patch-4
fix #11609 [skip-ci]
2016-05-22 16:20:10 +03:00
Angel Guevara
10b5a3a819 fix #11609 2016-05-22 07:09:37 -05:00
SilverFire - Dmitry Naumenko
41097bb19b Merge branch 'SSiwek-11484-oci-schema' 2016-05-22 13:13:48 +03:00
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
7284f238a0 Merge branch 'andrey-mokhov-patch-2' 2016-05-22 12:04:52 +03:00
SilverFire - Dmitry Naumenko
36be16c865 Updated CHANGELOG 2016-05-22 12:03:44 +03:00
SilverFire - Dmitry Naumenko
77b29bf927 Added tests to ColumnSchemaBuilderTest in order to verify custom column types work OK 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
Dmitry Naumenko
77747fc50f Merge pull request #11604 from lucianobaraglia/doc-es
Some spanish docs [ci skip]
2016-05-22 01:29:15 +03:00
mshutov
bb35fda6e9 Update Migration.php (#11605)
Typo in doc for safeDown
2016-05-21 15:32:34 +03:00
Luciano Baraglia
3eb70a724b Test fixtures spanish docs [skip ci] 2016-05-20 22:39:09 -03:00
Luciano Baraglia
b4ed34558f Some spanish doc translations [skip ci] 2016-05-20 16:27:23 -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
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]
2016-05-19 23:44:45 +03:00
Luciano Baraglia
f1c1505808 Added glossary to Spanish translation (#11587)
* Added glossary to Spanish translation

* Some spanish translation updates
2016-05-19 00:03:03 +03:00