1465 Commits

Author SHA1 Message Date
5205eabe3e prepare for next release. 2014-09-28 01:44:31 -04:00
d2b864da84 prepare for 2.0.0-rc release. 2014-09-27 21:59:54 -04:00
c93bbee1d0 adjusted composer.json to follow more stable versioning policy for assets
as discussed before, better do this change before RC to avoid breaking BC in GA.
2014-09-28 00:43:19 +02:00
6b353bb5df added documentation about #5175 2014-09-27 22:09:33 +02:00
b2040b8e35 Fixes #5178: undefined getGlobal('_viewRenderer') error if compile cache is used 2014-09-27 12:24:10 +04:00
679c85a1f5 Fixes #5191: Sandbox was ignored for models and AR relations 2014-09-27 12:17:12 +04:00
205400f118 Fixes #5176: ActiveFixture will reset table in its load() method instead of unload() 2014-09-25 12:27:09 -04:00
15b60174b4 fixes for sphinx. 2014-09-24 08:49:34 -04:00
68714cc805 ignore invalid date format and just display value as is
fixes #5155
2014-09-24 13:19:35 +02:00
222f9ddfad added missing documentation about the NOT operator in Query
fixes #5147
2014-09-24 12:53:33 +02:00
39c796e42b chanded jui DatePicker widget to use ICU date format
- use default application formatting for the date value
- auto adjust to application language and format setting changes
- be consistent with formatter and date validator

fixes #1551
2014-09-23 18:59:07 +02:00
6c0dde6f5e Fixes #5143: yii\bootstrap\ActiveField::label() should not encode label if it is explicitly specified. [skip ci] 2014-09-23 08:05:45 -04:00
982a27db83 removed support for unlinkAll() from elasticsearch
feature is not reliable

fixes #5136
2014-09-23 12:56:05 +02:00
1fe5b53f39 Merge pull request #4944 from yiisoft/redis-fixes
Fixed storing and loading nulls and booleans in Redis
2014-09-22 18:59:59 +02:00
7e0c6353f7 optimized redis AR insert 2014-09-22 18:57:21 +02:00
ece300ac30 removed null value adjustment in redis ActiveQuery
asArray will not include null valued keys
2014-09-22 18:54:00 +02:00
df22616c76 finished fix for redis null and boolean value storage
fixes #1311
2014-09-22 18:45:37 +02:00
f82519b1c3 Use text/plain part of multipart message for text body and charset in debug mail panel.
Fixes #5126
2014-09-22 11:41:30 -04:00
1e5c48957d composer.json tabs -> spaces 2014-09-22 17:37:19 +02:00
46488e674a improved version constraints for bower asset packages 2014-09-22 17:34:18 +02:00
e40fd9d623 added branch alias to composer.json 2014-09-22 17:26:21 +02:00
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
889d3bc942 using stable versions. 2014-09-18 23:44:36 -04:00
ad4f652ca9 Removed unused bower.json files. Adjusted version dependencies. 2014-09-18 23:25:38 -04:00
a81969950d Adjusted dependency versions to stable ones. 2014-09-18 23:09:45 -04:00
45a748a2d4 added asset path info to apidoc composer.json
fixes #5104, fixes #5101
2014-09-18 23:13:01 +02:00
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
3905c419f0 Merge pull request #5084 from yiisoft/asset-improvements
Asset improvements
2014-09-18 09:17:37 -04:00
4a31628b01 Fixes #5089: Added asset debugger panel 2014-09-18 00:07:30 -04:00
4b32837455 Improvements for debug toolbar (#838) - add panel to display used asset bundles 2014-09-17 22:57:15 -04:00
32c122178e avoid publishing dev files of js packages 2014-09-17 19:13:29 +02:00
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
538bd65a73 Fix alias in bundle 2014-09-17 18:24:52 +04:00
ec19536047 Fixed yii\mongodb\Collection::buildInCondition() handles non-sequent key arrays 2014-09-17 11:49:27 +03:00
70591e59d8 Fixes #5057. 2014-09-16 23:01:49 -04:00
074c1f6c53 Merge branch 'master' into new-asset
Conflicts:
	apps/basic/composer.json
	composer.json
2014-09-16 20:03:53 -04:00
3ff548a442 Refactored DateValidator to support ICU format 2014-09-16 22:53:12 +02:00
b6a53e3046 WIP 2014-09-16 13:31:32 -04:00
583c660c80 Fixes #5047. 2014-09-16 11:47:40 -04:00
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