Commit Graph

9307 Commits

Author SHA1 Message Date
Qiang Xue
8d082c11a1 Fixes #5050. 2014-09-16 14:15:32 -04:00
Qiang Xue
583c660c80 Fixes #5047. 2014-09-16 11:47:40 -04:00
Qiang Xue
72a81b8e31 Fixes #3581: Added yii\validators\CompareValidator::type to support type conversion before comparing values 2014-09-16 11:41:54 -04:00
Qiang Xue
0fc46760b0 Fixes #4905: ActiveForm::$validationDelay doesn't delay after keyrelease when $validateOnType=true 2014-09-15 23:24:12 -04:00
Qiang Xue
11132cee1a Fixes #5006. 2014-09-15 23:03:10 -04:00
Qiang Xue
b9b6fbc94b Fixes #5039: UniqueValidator and ExistValidator did not respect query conditions added by default scope 2014-09-15 21:19:55 -04:00
Qiang Xue
cebc25679b updated README.md for gii extension [skip ci] 2014-09-15 16:39:19 -04:00
Alexander Makarov
b72aa50079 Fixed advanced app fixture data path 2014-09-15 02:53:58 +04:00
Alexander Makarov
dfcd887e8d Replaced tabs with spaces 2014-09-15 01:32:31 +04:00
Qiang Xue
017942f79e updated gii doc. [skip ci] 2014-09-14 16:57:32 -04:00
Alexander Makarov
a4b6c02f86 Fixes #5020: Fixed fixture path in advanced app tests console entry script 2014-09-15 00:55:13 +04:00
Alexander Makarov
0377571a94 Merge pull request #5024 from Skysplit/pl-docs
[skip ci] Added polish guide - README.md
2014-09-14 23:13:58 +04:00
Qiang Xue
00cfe93b20 Finished console Gii feature. 2014-09-14 14:25:11 -04:00
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
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