- 14 Sep, 2014 3 commits
-
-
Yuan Chong authored
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
-
Alexander Makarov authored
-
Alexander Makarov authored
-
- 13 Sep, 2014 6 commits
-
-
Alexander Makarov authored
-
Alexander Makarov authored
-
Alexander Makarov authored
-
Alexander Makarov authored
-
Qiang Xue authored
Update structure-views.md
-
Vasiliy Baukin authored
Above/below code reference fix
-
- 12 Sep, 2014 13 commits
-
-
Qiang Xue authored
Fixes #4938: When `yii\db\ActiveQuery` is used to build sub-queries, its WHERE clause is not correctly generated
-
Qiang Xue authored
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
-
Qiang Xue authored
Typo in concept-behaviors.md
-
William Austin authored
The method 'bar()' does not exist in this context. I believe it should be 'foo().'
-
Alexander Makarov authored
Additional fixes for #4993
-
Alexander Kochetov authored
-
Qiang Xue authored
-
Alexander Makarov authored
[ci skip] Update docs for CheckboxColumn::$checkboxOptions
-
Michael Härtl authored
-
Alexander Makarov authored
Adv template `aliases.php` => `bootstrap.php` (common + specific for apps)
-
Alexander Makarov authored
Update polish translation [skip ci]
-
Alexander Kochetov authored
-
Tomek Romik authored
-
- 11 Sep, 2014 12 commits
-
-
Alexander Makarov authored
-
Alexander Makarov authored
-
Alexander Makarov authored
-
Tomek Romik authored
-
Qiang Xue authored
-
Qiang Xue authored
-
Carsten Brandt authored
-
Paul Klimov authored
fix authchoice.js
-
Qiang Xue authored
-
Qiang Xue authored
-
Carsten Brandt authored
-
tvdavid authored
close #4487
-
- 10 Sep, 2014 6 commits
-
-
tvdavid authored
close #4505
-
Carsten Brandt authored
fixes #4452, close #4452
-
Carsten Brandt authored
-
Carsten Brandt authored
This fix ensures the format configured in the formatter class is used in the message instead of the default ICU format. fixes #4960
-
Qiang Xue authored
-
Stephen Seliuk authored
-