1413 Commits

Author SHA1 Message Date
cebc25679b updated README.md for gii extension [skip ci] 2014-09-15 16:39:19 -04:00
00cfe93b20 Finished console Gii feature. 2014-09-14 14:25:11 -04:00
443779d693 Merge commit '81c3c48c53d5087be681fc5472a837bc4660ca12' into console-gii
Conflicts:
	framework/console/controllers/HelpController.php
2014-09-14 14:22:43 -04:00
6a9b3c7774 Finished console Gii. 2014-09-14 14:15:16 -04:00
bfb9aa84f7 WIP 2014-09-14 11:29:26 -04:00
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
d1bfc01f72 reverted a previous change . 2014-09-12 06:42:54 -04:00
6db5126515 send accept header for debug toolbar. [skip ci] 2014-09-11 12:43:52 -04:00
e060f3ad96 Merge pull request #4982 from diiimonn/feature
fix authchoice.js
2014-09-11 11:07:47 +03:00
9655e3bd94 CHANGELOG 2014-09-11 02:09:21 +02:00
cc10725c2b Add support for elasticsearch delete by query
close #4487
2014-09-11 02:04:42 +02:00
259b8c901f Add support for elasticsearch suggestions
close #4505
2014-09-11 01:48:25 +02:00
3fb680964c add aggregation, stats and suggester to elasticsearch
fixes #4452, close #4452
2014-09-11 01:26:15 +02:00
97b4c505ad fix authchoice.js 2014-09-10 20:36:35 +03:00
3847630994 Fixes #4971: Fixed hardcoded table names in viaTable expression in model generator 2014-09-10 14:15:59 +04:00
8e66325fa1 Return a fixtures cleanup in case of a failing test 2014-09-08 15:04:42 +04:00
09ae5fb595 Make unit tests cleanup a DB after finish 2014-09-08 13:52:11 +04:00
11a4d6dedc console gii WIP 2014-09-07 11:29:32 -04:00
9885aac0ae Removed unused "use" statements 2014-09-07 15:56:06 +04:00
66aab86b9d Fixed array syntax 2014-09-07 15:47:21 +04:00
ef4d5e48ad Fixes #4936 [skip ci] 2014-09-05 20:26:02 -04:00
e3ca5a8168 Reverted/fixed some incorrect changes. 2014-09-05 20:23:11 -04:00
dd6f4442a5 gii command line WIP 2014-09-05 20:16:00 -04:00
9d6202ea2e Removed unused variable initialization 2014-09-06 01:40:17 +04:00
9ec740eaf8 Better alias check 2014-09-06 01:38:46 +04:00
4ad022c372 Fixes #3240: Added support for assigning an anonymous function to yii\widgets\ActiveForm::fieldConfig 2014-09-05 13:37:52 -04:00
22d247ba70 Update README.md 2014-09-05 15:12:13 +02:00
73cb5f8aac changed syntax for referencing the guide in apidoc
New syntax:

```
[link to guide](guide:file-name.md)
[link to guide](guide:file-name.md#subsection)
```

fixes #4719
2014-09-05 14:59:22 +02:00
61284ed405 Fixes #3910: Removed the container option from Html::checkbox() and Html::radio() 2014-09-04 14:36:30 -04:00
00ca1cb4b3 Fixes #4914 2014-09-04 03:27:13 +04:00
212c5ee3ef Fixes #4254: SqlDataProvider does not work with Oracle and SQL Server 2014-09-03 14:42:09 -04:00
aedfd7fc7f fix link to extension guidlines 2014-09-03 20:09:30 +02:00
754ad63403 Merge pull request #4759 from mickgeek/apidoc-focus
Remove the focus on the search field
2014-09-03 10:46:47 -04:00
62b08a0959 Fixes #4755: yii\test\BaseActiveFixture::unload() does not clean up the internal cached data 2014-09-03 10:21:00 -04:00
f417f4353c Added yii\composer\Installer::postCreateProject() and modified the syntax of calling installer methods in composer.json [skip ci] 2014-09-02 23:17:50 -04:00
da261afd9f docs fix 2014-09-01 18:28:17 +04:00
18524631d9 fixed docs 2014-09-01 18:26:44 +04:00
615e1030e6 fixed docs 2014-09-01 18:01:57 +04:00
ff3506aeab fixed docs 2014-09-01 17:36:06 +04:00
2271297d92 adjusted faker fixture controller 2014-09-01 17:32:39 +04:00
6879db3f3b typo fixes [skip ci] 2014-08-31 10:19:29 -04:00
d64fa3e88a using jquery-ui dependency to have prebuilt files. [skip ci] 2014-08-29 15:48:17 -04:00
5a1cf0f3a5 Adjusted the location of AuthChoice assets. [skip ci] 2014-08-29 11:33:47 -04:00
6c123c9556 Fixes ignores in bower.json [skip ci] 2014-08-28 16:28:03 -04:00
e0035e257c typo fix [skip ci] 2014-08-28 15:37:52 -04:00
f04970ec07 typo fix [skip ci] 2014-08-28 15:27:39 -04:00
1954810531 adjusted dependencies. [skip ci] 2014-08-28 15:14:57 -04:00
1336cff31a Added bower.json to bootstrap and jui extensions. 2014-08-28 14:27:35 -04:00
5b0d6f885c yii\sphinx\ActiveQuery fixed to be resuable with 'match' condition. 2014-08-27 14:51:30 +03:00
10edf5c929 yii\sphinx\ActiveQuery fixed to be resuable. 2014-08-27 14:01:29 +03:00