Commit Graph

1441 Commits

Author SHA1 Message Date
Carsten Brandt
8176a392bb Changed version constratints to be semantic versioning again
- in composer the `~` operator is just a shortcut for `~1.0` = `>=1.0.0,<2.0.0`
  it does not prevent dev versions to be installed but neither does `1.*`
- dev versions are constrolled via `minimum-stability` setting and the
  `@dev`, `@beta`, `@stable`,... settings.
- setting bower packages that ship compiled files only with the stable
  release to use `@stable` in composer.json of the applictaions. This
  setting can be removed when we remove the `minimum-stability=dev`
  setting after GA.
2014-09-22 13:15:43 +02:00
Qiang Xue
889d3bc942 using stable versions. 2014-09-18 23:44:36 -04:00
Qiang Xue
ad4f652ca9 Removed unused bower.json files. Adjusted version dependencies. 2014-09-18 23:25:38 -04:00
Qiang Xue
a81969950d Adjusted dependency versions to stable ones. 2014-09-18 23:09:45 -04:00
Carsten Brandt
45a748a2d4 added asset path info to apidoc composer.json
fixes #5104, fixes #5101
2014-09-18 23:13:01 +02:00
Qiang Xue
93496bf8fd Fixes #5058: yii\helpers\Html::activeCheckbox() and activeRadio() will generate labels by default using the corresponding attribute labels 2014-09-18 12:15:54 -04:00
Qiang Xue
3905c419f0 Merge pull request #5084 from yiisoft/asset-improvements
Asset improvements
2014-09-18 09:17:37 -04:00
Qiang Xue
4a31628b01 Fixes #5089: Added asset debugger panel 2014-09-18 00:07:30 -04:00
artur
4b32837455 Improvements for debug toolbar (#838) - add panel to display used asset bundles 2014-09-17 22:57:15 -04:00
Carsten Brandt
32c122178e avoid publishing dev files of js packages 2014-09-17 19:13:29 +02:00
Carsten Brandt
ef2f6a0887 Merge pull request #5027 from yiisoft/date-format-convert
[WIP] extracted date format converting to a helper class
2014-09-17 18:42:35 +02:00
Revin Roman
538bd65a73 Fix alias in bundle 2014-09-17 18:24:52 +04:00
Klimov Paul
ec19536047 Fixed yii\mongodb\Collection::buildInCondition() handles non-sequent key arrays 2014-09-17 11:49:27 +03:00
Qiang Xue
70591e59d8 Fixes #5057. 2014-09-16 23:01:49 -04:00
Qiang Xue
074c1f6c53 Merge branch 'master' into new-asset
Conflicts:
	apps/basic/composer.json
	composer.json
2014-09-16 20:03:53 -04:00
Carsten Brandt
3ff548a442 Refactored DateValidator to support ICU format 2014-09-16 22:53:12 +02:00
Qiang Xue
b6a53e3046 WIP 2014-09-16 13:31:32 -04:00
Qiang Xue
583c660c80 Fixes #5047. 2014-09-16 11:47:40 -04:00
Qiang Xue
cebc25679b updated README.md for gii extension [skip ci] 2014-09-15 16:39:19 -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
Qiang Xue
bfb9aa84f7 WIP 2014-09-14 11:29:26 -04: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
Qiang Xue
d1bfc01f72 reverted a previous change . 2014-09-12 06:42:54 -04:00
Qiang Xue
6db5126515 send accept header for debug toolbar. [skip ci] 2014-09-11 12:43:52 -04:00
Paul Klimov
e060f3ad96 Merge pull request #4982 from diiimonn/feature
fix authchoice.js
2014-09-11 11:07:47 +03:00
Carsten Brandt
9655e3bd94 CHANGELOG 2014-09-11 02:09:21 +02:00
tvdavid
cc10725c2b Add support for elasticsearch delete by query
close #4487
2014-09-11 02:04:42 +02:00
tvdavid
259b8c901f Add support for elasticsearch suggestions
close #4505
2014-09-11 01:48:25 +02:00
Carsten Brandt
3fb680964c add aggregation, stats and suggester to elasticsearch
fixes #4452, close #4452
2014-09-11 01:26:15 +02:00
dima
97b4c505ad fix authchoice.js 2014-09-10 20:36:35 +03:00
Stephen Seliuk
3847630994 Fixes #4971: Fixed hardcoded table names in viaTable expression in model generator 2014-09-10 14:15:59 +04:00
Anton Andersen
8e66325fa1 Return a fixtures cleanup in case of a failing test 2014-09-08 15:04:42 +04:00
Anton Andersen
09ae5fb595 Make unit tests cleanup a DB after finish 2014-09-08 13:52:11 +04:00
Qiang Xue
11a4d6dedc console gii WIP 2014-09-07 11:29:32 -04:00
Alexander Makarov
9885aac0ae Removed unused "use" statements 2014-09-07 15:56:06 +04:00
Alexander Makarov
66aab86b9d Fixed array syntax 2014-09-07 15:47:21 +04:00
Qiang Xue
ef4d5e48ad Fixes #4936 [skip ci] 2014-09-05 20:26:02 -04:00
Qiang Xue
e3ca5a8168 Reverted/fixed some incorrect changes. 2014-09-05 20:23:11 -04:00
Qiang Xue
dd6f4442a5 gii command line WIP 2014-09-05 20:16:00 -04:00
Alexander Makarov
9d6202ea2e Removed unused variable initialization 2014-09-06 01:40:17 +04:00
Alexander Makarov
9ec740eaf8 Better alias check 2014-09-06 01:38:46 +04:00
Qiang Xue
4ad022c372 Fixes #3240: Added support for assigning an anonymous function to yii\widgets\ActiveForm::fieldConfig 2014-09-05 13:37:52 -04:00
Carsten Brandt
22d247ba70 Update README.md 2014-09-05 15:12:13 +02:00
Carsten Brandt
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
Qiang Xue
61284ed405 Fixes #3910: Removed the container option from Html::checkbox() and Html::radio() 2014-09-04 14:36:30 -04:00
Alexander Makarov
00ca1cb4b3 Fixes #4914 2014-09-04 03:27:13 +04:00
Qiang Xue
212c5ee3ef Fixes #4254: SqlDataProvider does not work with Oracle and SQL Server 2014-09-03 14:42:09 -04:00
Christopher Stebe
aedfd7fc7f fix link to extension guidlines 2014-09-03 20:09:30 +02:00