Commit Graph

4713 Commits

Author SHA1 Message Date
Klimov Paul
684365e8c9 Fixed yii\console\controllers\CacheController does not check if cache component instance of 'yii\caching\Cache'
close #5055
2014-09-17 18:49:32 +02:00
Carsten Brandt
8c5d175a97 typo 2014-09-17 18:45:38 +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
Qiang Xue
6230aa7523 minor fix. [skip ci] 2014-09-17 11:19:28 -04:00
Qiang Xue
a3cfafc761 Fixes #5058: Added $pageSize parameter to Pagination::createUrl() to allow creating URLs with arbitrary page sizes 2014-09-17 11:14:05 -04:00
Qiang Xue
924e4f97e9 typo fix. 2014-09-17 10:02:37 -04:00
Qiang Xue
ecdb41e046 Fixes #5061: Switched to use jquery composer package. 2014-09-17 09:59:44 -04:00
Klimov Paul
db26e65c62 Fixed yii\console\controllers\MessageController handles category name containing dot incorrectly 2014-09-17 15:48:12 +03:00
Qiang Xue
b1bb796ee0 Fixed wrong instruction. 2014-09-16 20:58:57 -04:00
Qiang Xue
f253817b92 Fixes #4454: Improved asset bundle managed and used composer-asset-plugin to manage the dependencies on 3rd-party JS libraries 2014-09-16 20:09:35 -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
a187d47aec Fixes #5049: ActiveForm::validationDelay should be applied to user types only 2014-09-16 14:40:00 -04:00
Qiang Xue
8d082c11a1 Fixes #5050. 2014-09-16 14:15:32 -04:00
Carsten Brandt
9edf938bf1 Added tests for empty values
use "just now" for empty time difference in Formatter.

fixed wrong language name definition
2014-09-16 19:48:52 +02:00
Carsten Brandt
be655d4f39 extracted date format converting to a helper class
adding and reworking the conversion of:
- ICU to PHP
- PHP to ICU
- ICU to JUI
- PHP to JUI
2014-09-16 19:48:52 +02:00
Qiang Xue
b6a53e3046 WIP 2014-09-16 13:31:32 -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
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
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
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
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
Michael Härtl
e28edb3ed1 Improve docs for CheckboxColumn::$checkboxOptions 2014-09-12 11:01:00 +02:00
Alexander Makarov
24b74e2b18 Merge pull request #4992 from Skysplit/pl-messages
Update polish translation [skip ci]
2014-09-12 12:17:20 +04:00
Tomek Romik
4b940c5b41 Added "other" rules to polish translations 2014-09-12 07:12:28 +02:00
Alexander Makarov
d752ca1849 Updated Russian framework messages 2014-09-12 00:34:28 +04:00
Tomek Romik
dbf63a45af Update polish translation 2014-09-11 22:22:25 +02:00
Qiang Xue
de63a46d82 Fixes #4984. 2014-09-10 21:57:02 -04:00
Qiang Xue
b604bc56ff updated UPGRADE [skip ci] 2014-09-10 21:43:33 -04:00
Carsten Brandt
9dfca990a0 updated german translation 2014-09-10 22:11:43 +02:00
Carsten Brandt
b5af2f6ab3 fixed size format plural rule to not format number itself
This fix ensures the format configured in the formatter class is used in the message instead
of the default ICU format.

fixes #4960
2014-09-10 21:53:29 +02:00
Qiang Xue
2150fa3239 Fixes #4970: joinWith() called by a relation was ignored by yii\db\ActiveQuery 2014-09-10 15:00:15 -04:00
Stephen Seliuk
35b54345b5 Handling $query->joinWith called inside of other $query->joinWith within Closure (called inside Closure). Ex.: ``php $query->joinWith( [ 'rel1' => function($query) { $query->joinWith( [ 'rel2' => function($query) { // ... } ] ); } ] ); `` 2014-09-10 14:49:11 -04:00
Qiang Xue
b835422479 Fixes #4897: Added `yii\helpers\FileHelper::mimeMagicFile 2014-09-10 14:17:16 -04:00
Alexander Makarov
353cf1b345 Merge pull request #4981 from SDKiller/patch-2
Updated phpdoc for \yii\widgets\DetailView [ckip ci]
2014-09-10 22:10:23 +04:00
Qiang Xue
44b5e8ef60 Fixes #4954: MSSQL column comments are not retrieved correctly 2014-09-10 13:44:04 -04:00
Serge Postrash
286e8efe9f Updated phpdoc for \yii\widgets\DetailView [ckip ci]
This widget usage is not only restricted with `Model` or associative array (see its `normalizeAttributes()` method)
2014-09-10 21:39:07 +04:00
Carsten Brandt
2b38d6ab33 Merge branch 'master' into Erik-r-2359-formatter-refactored
* master: (22 commits)
  Fixes #4971: Fixed hardcoded table names in `viaTable` expression in model generator
  Fixed test break.
  Fixes #4955: Replaced callbacks with events for `ActiveForm`
  Fix brackets
  Rename `\yii\web\User` component param for consistency
  Html::button() type is `button` by default
  Fix bug in Estonian translation
  Typo fixed inside \yii\rest\CreateAction
  Fixed test break.
  Fixed test case.
  note about validation rules order
  Return a fixtures cleanup in case of a failing test
  Update finnish translation
  skip fixture controller test on HHVM
  Make unit tests cleanup a DB after finish
  Fixes #4945: Added `yii\test\ArrayFixture`
  added array fixture class
  minor doc adjustment [skip ci]
  Fixes #4948. Thanks, @johan162
  Fixes #4947
  ...

Conflicts:
	framework/UPGRADE.md
2014-09-10 19:26:04 +02:00
Carsten Brandt
0723f409ab finished the first structure of the guide on formatting 2014-09-10 19:24:14 +02:00
Carsten Brandt
c8f8f654ce fixed paragraph formatting 2014-09-10 18:41:25 +02:00
Carsten Brandt
d82195706f UPGRADE and CHANGELOG notes for the Formatter changes 2014-09-10 17:56:25 +02:00
Qiang Xue
f50f840a55 Fixes #4955: Replaced callbacks with events for ActiveForm 2014-09-09 22:37:27 -04:00
Qiang Xue
071c2e55a0 Merge pull request #4977 from creocoder/web-user-param-rename1
Rename `\yii\web\User` component param for consistency
2014-09-09 21:57:47 -04:00
Alexander Kochetov
090e550a3d Rename \yii\web\User component param for consistency 2014-09-10 05:55:07 +04:00