Commit Graph

9918 Commits

Author SHA1 Message Date
Qiang Xue
443779d693 Merge commit '81c3c48c53d5087be681fc5472a837bc4660ca12' into console-gii
Conflicts:
	framework/console/controllers/HelpController.php
2014-09-14 14:22:43 -04:00
Qiang Xue
6a9b3c7774 Finished console Gii. 2014-09-14 14:15:16 -04:00
Alexander Makarov
81c3c48c53 Edited Russian translation of REST Quick Start guide 2014-09-14 22:09:49 +04:00
Alexander Makarov
5331514896 Edited Russian translation of REST Controllers guide 2014-09-14 21:37:04 +04:00
Alexander Makarov
84e02efb5a Edited Russian translation of REST Authentication guide 2014-09-14 21:25:10 +04:00
Alexander Makarov
fa1a69959b Edited Russian translation of intro to Yii 2014-09-14 21:15:26 +04:00
Alexander Makarov
a6813325fb Edited Russian translation of Upgrading from Version 1.1 guide 2014-09-14 20:15:21 +04:00
Qiang Xue
063a4ebfc0 Merge pull request #5014 from yii2-chinesization/master
Chinese Translation for last month
2014-09-14 11:56:39 -04:00
Qiang Xue
7ce6a8a456 Fixed typo [skip ci] 2014-09-14 11:54:33 -04:00
Qiang Xue
bfb9aa84f7 WIP 2014-09-14 11:29:26 -04:00
Alexander Makarov
53a0b58812 Merge pull request #5022 from errogaht/patch-1
[skip ci] ncessary -> necessary
2014-09-14 18:59:05 +04:00
errogaht
510a16c9bd ncessary -> necessary 2014-09-14 18:54:50 +04:00
Carsten Brandt
3561e11244 Merge pull request #5017 from GuidoBR/start-gii.md-pt-br
Translate guide/start-gii into pt-BR
2014-09-14 15:22:07 +02:00
Guido
620f75907d Translate guide/start-gii into pt-BR 2014-09-14 08:16:49 -03:00
Yuan Chong
baee44c97b OAuth API Response with 20x status should be in normal
Hello,

I used **Yii2 authclient** to build a Github OAuth (2.0) client, and performed a POST call to create a Github repository hook. But I got this exception:

```
exception 'yii\authclient\InvalidResponseException' with message '
Request failed with code: 201, message:
{
	"url": "https://api.github.com/repos/ychongsaytc/example/hooks/1000000",
	"test_url": "https://api.github.com/repos/ychongsaytc/example/hooks/1000000/test",
	"id": 1000000,
	"name": "web",
	"active": true,
	"events": ["push"],
	"config": {
		"url": "https://example.com/payload",
		"content_type": "form",
		"secret": null
	},
	"last_response": {
		"code": null,
		"status": "unused",
		"message": null
	},
	"updated_at": "2014-09-14T03:02:55Z",
	"created_at": "2014-09-14T03:02:55Z"
}
' in /home/ubuntu/public_html/live/vendor/yiisoft/yii2-authclient/BaseOAuth.php:206
```

I think a successful API call is not always exactly return **200** status, like **Create a hook** API of Github: https://developer.github.com/v3/repos/hooks/

It will return `201 Created` if hook was successfully created.

In my opinion, is status code starts with **20** in normal scenario?

close #5011
2014-09-14 12:59:11 +02:00
东方孤思子(Paris·QianSen)
82fc436547 complete the translation of concept-aliases.md 2014-09-14 17:42:04 +08:00
东方孤思子(Paris·QianSen)
3ba820b694 Fix Typo for concept-aliases 2014-09-14 17:40:45 +08:00
Alexander Makarov
e6aad90840 Edited Russian translation of Service Locator guide 2014-09-14 13:30:40 +04:00
Alexander Makarov
7357d4db43 Edited Russian translation of Properties guide 2014-09-14 12:52:50 +04:00
Alexander Makarov
806cb1ecf1 Edited Russian translation of Configurations guide 2014-09-14 02:32:02 +04:00
Alexander Makarov
254e37042c Edited Russian translation of Components guide 2014-09-14 02:08:15 +04:00
Alexander Makarov
0675590c04 Fixed errata 2014-09-14 01:50:04 +04:00
Alexander Makarov
ece8f64196 Edited Russian translation of Behaviors 2014-09-14 01:49:04 +04:00
东方孤思子(Paris·QianSen)
7634701fbf Complete translation of input-validation.md 2014-09-14 01:13:33 +08:00
Qiang Xue
9bf4bcbfbb Merge pull request #5009 from tebazil/patch-1
Update structure-views.md
2014-09-13 13:02:05 -04:00
Vasiliy Baukin
9079179f50 Update structure-views.md
Above/below code reference fix
2014-09-13 16:02:48 +04:00
Qiang Xue
b9c97ff2aa Fixes #4938: When yii\db\ActiveQuery is used to build sub-queries, its WHERE clause is not correctly generated 2014-09-12 16:46:12 -04:00
Tomek Romik
ab4fdc07b6 Added polish guide 2014-09-12 21:55:40 +02:00
Tomek Romik
1f8f011f24 Added polish guide 2014-09-12 20:46:59 +02:00
Qiang Xue
91e41b0470 Fixes #5001: yii\rest\CreateAction, yii\rest\UpdateAction and yii\rest\DeleteAction should throw 500 error if the model operation returns false without validation errors 2014-09-12 13:49:34 -04:00
Qiang Xue
af4a4d9276 Merge pull request #5002 from willaustin/patch-1
Typo in concept-behaviors.md
2014-09-12 12:49:59 -04:00
William Austin
2635efd7be Typo in concept-behaviors.md
The method 'bar()' does not exist in this context. I believe it should be 'foo().'
2014-09-12 10:37:03 -06:00
Alexander Makarov
9414953f21 Merge pull request #4998 from creocoder/aliases-to-bootstrap
Additional fixes for #4993
2014-09-12 15:18:56 +04:00
Alexander Kochetov
f362f5b25b Additional fixes 2014-09-12 15:16:25 +04:00
Qiang Xue
d1bfc01f72 reverted a previous change . 2014-09-12 06:42:54 -04:00
Alexander Makarov
46af48e598 Merge pull request #4995 from mikehaertl/master
[ci skip] Update docs for CheckboxColumn::$checkboxOptions
2014-09-12 13:06:49 +04:00
Michael Härtl
e28edb3ed1 Improve docs for CheckboxColumn::$checkboxOptions 2014-09-12 11:01:00 +02:00
Alexander Makarov
2938cf727e Merge pull request #4993 from creocoder/aliases-to-bootstrap
Adv template `aliases.php` => `bootstrap.php` (common + specific for apps)
2014-09-12 12:47:23 +04:00
Alexander Makarov
24b74e2b18 Merge pull request #4992 from Skysplit/pl-messages
Update polish translation [skip ci]
2014-09-12 12:17:20 +04:00
Klimov Paul
4ce785ef76 DbPanel summary view fixed 2014-09-12 10:40:32 +03:00
Alexander Kochetov
5190fbfe37 aliases.php renamed to bootstrap.php (introduced to specific applications too) 2014-09-12 11:29:48 +04:00
Tomek Romik
4b940c5b41 Added "other" rules to polish translations 2014-09-12 07:12:28 +02:00
Alexander Makarov
fe71bc38af Edited Russian guide sections about caching and autoloading 2014-09-12 02:34:33 +04:00
Alexander Makarov
229b7581ee Renamed translations → translation-workflow.md 2014-09-12 00:41:58 +04:00
Alexander Makarov
d752ca1849 Updated Russian framework messages 2014-09-12 00:34:28 +04:00
Tomek Romik
dbf63a45af Update polish translation 2014-09-11 22:22:25 +02:00
quot;brussens
057feca510 update
update
2014-09-11 23:53:56 +04:00
quot;brussens
e0963665a4 update
update translate
2014-09-11 23:52:04 +04:00
quot;brussens
8864e0cc63 Translate started
to be continued
2014-09-11 23:00:10 +04:00
Qiang Xue
6db5126515 send accept header for debug toolbar. [skip ci] 2014-09-11 12:43:52 -04:00