Commit Graph

13503 Commits

Author SHA1 Message Date
Carsten Brandt
5a069d1a3c Fixed inappropriate error response on invalid JSON request
Current API responds to invalid JSON with:

```json
HTTP/1.1 400 Bad Request
Content-Type: application/json; charset=UTF-8
...

{"name":"Bad Request","message":"Invalid JSON data in request body: Syntax error.","code":0,"status":400,"previous":{"name":"Internal Server Error","message":"There was an error at the server.","code":0,"status":500}}
```

While it should be

```json
HTTP/1.1 400 Bad Request
Content-Type: application/json; charset=UTF-8
...

{"name":"Bad Request","message":"Invalid JSON data in request body: Syntax error.","code":0,"status":400}
```
2015-09-02 23:10:38 +02:00
Alexander Makarov
f470326110 Merge pull request #9577 from df2/patch-3
Update installation docs to latest version of composer-asset-plugin [skip ci]
2015-09-03 00:00:06 +03:00
Alexander Makarov
a5ac9ea5f7 Merge pull request #9576 from yiijan/docs-ja-db-migrations
docs/guide-ja/db-migrations.md updated [ci skip]
2015-09-02 23:58:50 +03:00
Chris Harris
8c51baa88f Update installation docs to latest version of composer-asset-plugin [ci skip]
Anyone stuck on 1.0.0 will be riddled with deprecation notices.
2015-09-02 07:55:02 -07:00
Nobuo Kihara
240fa73bdd docs/guide-ja/db-migrations.md updated 2015-09-02 23:51:32 +09:00
Nobuo Kihara
3915df20b8 docs/guide/db-migrations.md small fixes [ci skip] 2015-09-02 23:48:37 +09:00
Alexander Makarov
2085dda183 Fixed typo 2015-09-01 12:25:03 +03:00
Alexander Makarov
ae2dea6b20 More details for input-validation.md 2015-09-01 01:42:02 +03:00
scorchsoft
2e65d0ce28 More details for input-validation.md 2015-09-01 01:41:57 +03:00
Carsten Brandt
dfc8991eae Merge pull request #9557 from yiijan/docs-guide-ja-small-updates
docs/guide-ja/* small updates
2015-08-31 13:37:44 +02:00
Nobuo Kihara
205e3f5ed9 docs/guide-ja/* small updates 2015-08-31 20:32:15 +09:00
Alexander Makarov
12280b360c Merge pull request #9554 from yiijan/docs-internal-ja-150831
docs/internals-ja/git-workflow.md updated [skip ci]
2015-08-31 10:23:36 +03:00
Nobuo Kihara
3cfdbc97a9 docs/internals-ja/git-workflow.md updated 2015-08-31 07:38:04 +09:00
Bizley
ec9e8b244f db-active-record [PL]
close #9552
2015-08-30 22:26:35 +02:00
Bizley
df2f6ceba9 Merge branch 'master' of git://github.com/yiisoft/yii2 into guide-pl 2015-08-30 15:28:40 +02:00
Bizley
415c1d0573 Merge remote-tracking branch 'yiisoft/master' into guide-pl 2015-08-30 15:26:30 +02:00
Carsten Brandt
5a5df19f0c fixed broken markdown in application guide
fixes #9549
2015-08-29 21:24:06 +02:00
Carsten Brandt
1706a9ee4f updated DbMessageSource PHPdoc
fixes #9532
for deprecation see #9533
2015-08-28 15:36:29 +02:00
Alexander Makarov
71b728225b Fixes #9532: improved DbMessageSource::$cache phpdoc 2015-08-27 17:57:10 +03:00
Carsten Brandt
cd84f6c4c5 typo in DateValidator docs 2015-08-27 16:36:59 +02:00
Alexander Makarov
064ee87b08 Merge pull request #9518 from pana1990/patch
Fix code style and delete declaration of yii\db\Schema [skip ci]
2015-08-26 01:17:18 +03:00
pana1990
9c930e34c0 Fix code style and delete declaration of yii\db\Schema [skip ci] 2015-08-26 00:07:21 +02:00
Alexander Makarov
2991908ea3 Merge pull request #9512 from arogachev/patch-2
Removed extra line break
2015-08-25 11:11:45 +03:00
Alexey Rogachev
760cc03194 Removed extra line break
Caused by #9440
2015-08-25 09:54:18 +06:00
Alexander Makarov
3ef5eeaf23 Added link to compliementary article at SitePoint 2015-08-24 14:01:19 +03:00
Alexander Makarov
ce0d0723c0 Merge pull request #9498 from Panoptik/master
Update Query doc return type
2015-08-21 18:56:31 +03:00
Aleksandr Golovko
dba7df3abc Merge pull request #1 from Panoptik/Panoptik-patch-1
Update Query doc return type
2015-08-21 17:19:36 +03:00
Aleksandr Golovko
a2f70f6484 Update Query doc return type
When used ActiveQuery chain call after call any of join type IDE cannot resolve ActiveQuery methods such an asArray
Example:
SomeActiveRecordModel::find()
            ->select('...') // return ActiveQuery
            ->leftJoin('...', '...') // return Query
            ->asArray() // it's become undefined
            ->column();
2015-08-21 17:14:00 +03:00
Davide Della Casa Venturelli
329fe129fe Fixed #9454: changed sqlsrv pdo class selection 2015-08-21 13:25:02 +02:00
Bizley
be48c7861b db-active-record [PL] 2015-08-19 14:40:45 +02:00
Alexander Makarov
bdcbb06f42 Merge pull request #9462 from nukkumatti/fix-codeception-links
Fixed Codeception links [skip ci]
2015-08-19 10:20:39 +03:00
Taras Gudz
769c8f736e Tidied up the links to Codeception docs 2015-08-19 06:41:30 +03:00
Taras Gudz
d77a533449 Fixed CodeCeption to Codeception [ci skip] 2015-08-19 06:36:11 +03:00
Taras Gudz
2004fe67d0 Fixed broken links to codeception.com [ci skip] 2015-08-19 06:32:26 +03:00
Bizley
646c640c16 db-active-record 50%
EN formatting fixed
2015-08-18 15:49:58 +02: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
Davidson Alencar
0d5265fbc7 docs/guide-pt-BR typos [skip ci] 2015-08-18 11:08:12 +03:00
Bizley
787da2e5a0 db-active-record 33% 2015-08-18 09:51:14 +02:00
Bizley
087703d225 db-active-record 25% 2015-08-17 14:41:13 +02:00
Alexander Makarov
b8c0dd30e2 Merge pull request #9440 from arogachev/patch-1
Removed yii\db\Schema from use section
2015-08-17 12:49:00 +03:00
Alexey Rogachev
777c45a653 Removed yii\db\Schema from use section
Declaration of yii\db\Schema is not needed by default. Migration can be related with changing data or renaming column, so user should explicitly add it when it's needed.
2015-08-17 15:42:06 +06:00
Carsten Brandt
60af9d07fb proper fix and changelog for #9108
close #9437
fixes #9108
2015-08-16 23:16:29 +02:00
nxnx
b562b50658 fix #9108 ( Negative number results in no formatting when using asSize or asShortSize ) 2015-08-16 22:39:50 +02:00
Carsten Brandt
73a9c48058 added tests for #9108 2015-08-16 22:39:09 +02:00
Carsten Brandt
96a92bc2e0 added a note about formatter usage
fixes #9435
2015-08-16 16:21:57 +02:00
Carsten Brandt
620ec4d132 added missing namespace on Exception in transaction docs
fixes #9429
2015-08-16 14:13:51 +02:00
Carsten Brandt
e120b407bf fixed composer-asset-plugin version 2015-08-16 13:24:06 +02:00
Alexander Makarov
af5c1ee5a8 Merge pull request #9430 from ravshanium/upstream
According to: Composer installation guide [skip ci]
2015-08-15 23:10:46 +03:00
ravshanium
9f44dcc098 According to: https://github.com/huebs/composer-asset-plugin/blob/master/Resources/doc/index.md#installation 2015-08-15 22:21:40 +03:00
Alexander Makarov
52a010b7b2 Merge pull request #9422 from sblaut/patch-1
Fixed link in REST doc to point to correct page [skip ci]
2015-08-15 15:57:15 +03:00