octicon-git-branch(16/) Commit Graph

99 Commits

Author SHA1 Message Date
Klimov Paul
2abeb01388 Merge branch 'master' of github.com:yiisoft/yii2 into 7754-google-auth 2015-03-19 11:55:08 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Klimov Paul
4f8d60d79b Icon for google auth choice changed 2015-03-19 11:54:10 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Klimov Paul
f65ca1649a yii\authclient\clients\GoogleOpenId restored 2015-03-18 13:22:24 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Paul Klimov
d1e7c22506 yii\authclient\clients\GoogleOpenId removed 2015-03-17 18:34:16 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Klimov Paul
4c2690613e yii\authclient\AuthChoiceItem extracted 2015-03-17 17:04:42 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Klimov Paul
b199a71509 yii\authclient\clients\GooglePlus extracted 2015-03-17 16:45:05 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Klimov Paul
09985e121d yii\authclient\GoogleSignInButton created 2015-03-17 14:22:00 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Klimov Paul
0b84ba0eb0 yii\authclient\AuthChoice advanced allowing rendering of widgets for the client 2015-03-17 14:21:30 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
82c1136613 prepare for next release. 2015-03-01 01:24:14 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
985119350b 2.0.3 release. 2015-03-01 01:22:44 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Makarov
aa0ebc7f5f Reverted #7459, #7469, #7470 2015-02-27 02:27:06 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Makarov
cbda88a01c Merge pull request #7459 from creocoder/fix-applications
Fix application templates and official extensions `composer.json`
2015-02-26 13:03:31 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Kochetov
42ee8c1c4f Fixed authclient extension composer.json 2015-02-26 04:19:46 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
da26cfe8ac improved extensions readme 2015-02-22 21:59:30 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
Klimov Paul
275d87d0fb Default value of yii\authclient\clients\Twitter::$authUrl changed to 'authenticate' 2015-02-11 16:30:38 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Makarov
f7cf3b50fa Guide on auth clients 2015-01-16 00:01:28 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
b750cf662d prepare for the next release. 2015-01-10 22:59:50 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
d7462656f7 2.0.2 release 2015-01-10 22:57:55 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
Klimov Paul
9faf50443e Fixed \yii\authclient\OAuth2::refreshAccessToken() does not save fetched token 2015-01-05 15:55:57 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Klimov Paul
e0b206a305 \yii\authclient\AuthAction::defaultCancelUrl() changed to use yii\web\User::loginUrl 2015-01-05 15:40:45 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
7881bba26c prepare for next release. 2014-12-07 11:46:05 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
84b42abad0 prepare for 2.0.1 release 2014-12-07 11:42:41 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
Дмитрий
97b1de1060 Error in documentation
Method clientLink no returns data. In the example of the use of manual output clients in the loop you need to use <?php instead of <?=
2014-12-02 02:21:27 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Klimov Paul
1605905fc1 Fixed CCS for yii\authclient\widgets\AuthChoice does not loaded if popupMode disabled 2014-11-11 13:37:39 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Klimov Paul
b5ddde0246 Code style fix 2014-11-07 17:17:42 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Mohorev
64b4d6dca1 Correct order of property declaration 2014-10-25 16:28:36 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
Iyed
bef4685795 Update OAuth1.php 2014-10-15 01:12:52 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
47f2272652 prepare for next release. 2014-10-12 16:44:45 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
ae8d978270 2.0.0 release. 2014-10-12 13:09:06 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Klimov Paul
6ba7b52322 'authclient' docs adjusted 2014-10-10 16:37:21 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
Klimov Paul
165e9ede6d Added ability to operate nested and complex attributes via yii\authclient\BaseClient::normalizeUserAttributeMap 2014-10-08 17:14:52 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
5205eabe3e prepare for next release. 2014-09-28 01:44:31 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
d2b864da84 prepare for 2.0.0-rc release. 2014-09-27 21:59:54 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
1e5c48957d composer.json tabs -> spaces 2014-09-22 17:37:19 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
e40fd9d623 added branch alias to composer.json 2014-09-22 17:26:21 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
ad4f652ca9 Removed unused bower.json files. Adjusted version dependencies. 2014-09-18 23:25:38 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Revin Roman
538bd65a73 Fix alias in bundle 2014-09-17 18:24:52 +04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
074c1f6c53 Merge branch 'master' into new-asset
Conflicts:
	apps/basic/composer.json
	composer.json
2014-09-16 20:03:53 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
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 octicon-file-diff(16/) octicon-file-code(16/)
dima
97b4c505ad fix authchoice.js 2014-09-10 20:36:35 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Makarov
9885aac0ae Removed unused "use" statements 2014-09-07 15:56:06 +04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
60e07e0d2a new asset WIP: renabled asset publishing 2014-09-02 14:51:44 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
d184fbb8ed new asset WIP [skip ci] 2014-08-29 14:54:49 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
5a1cf0f3a5 Adjusted the location of AuthChoice assets. [skip ci] 2014-08-29 11:33:47 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
7736853837 property code style extensions 2014-07-30 00:40:46 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Makarov
100ba6c3ab Replaced substr_compare with strncmp where possible 2014-07-30 02:32:47 +04:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
1f31f27787 phpdoc 2014-07-29 22:19:14 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Klimov Paul
fedf8eccd9 yii\authclient\widgets\AuthChoice now preserves initial settings while opening popup 2014-07-28 17:56:03 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Makarov
07f01bcf2b Used substr_compare instead of substr when we don't care about result 2014-07-23 16:37:49 +04:00 octicon-file-diff(16/) octicon-file-code(16/)
Klimov Paul
c9dff5305e Redundant yii\authclient\OpenId::sendStreamRequest() removed. 2014-07-16 16:42:15 +03:00 octicon-file-diff(16/) octicon-file-code(16/)