Commit Graph

4731 Commits

Author SHA1 Message Date
Dmitry Kushnikov
3d55ee5af0 Add possibility to customize path to binary using alias.
If you don't want to install command-line utils globally, you have to specify it's paths.

    public $commands = [
        'styl' => ['css', '@app/node_modules/bin/stylus < {from} > {to}'],
    ];

close #5130
2014-09-22 16:37:28 +02:00
Qiang Xue
65edc03b49 Fixes #5127. 2014-09-22 08:27:04 -04:00
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
Carsten Brandt
8fa4899e02 use utf8_unicode_ci instead of utf8_general_ci
fixes #5119
2014-09-22 12:46:22 +02:00
Carsten Brandt
6c51866e36 Update UPGRADE.md 2014-09-22 12:20:05 +02:00
Qiang Xue
169a2a39c0 Fixes #5110. 2014-09-19 11:43:55 -04:00
Qiang Xue
ff17d9608a Switch to 1.0.0-beta1 for the composer asset plugin. 2014-09-19 08:32:47 -04: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
Qiang Xue
deb6ba3cf9 Fixes #5105 [skip ci] 2014-09-18 16:47:43 -04:00
Qiang Xue
108b451805 Fixes #5049. 2014-09-18 15:41:11 -04:00
Qiang Xue
d3f2010e07 Fixes #2380: Added yii\widgets\ActiveForm::enableClientScript to support turning on and off client side script generation 2014-09-18 13:04:46 -04: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
Carsten Brandt
6744228e77 use mb_string to work with non latin characters 2014-09-17 19:29:35 +02:00
Carsten Brandt
32c122178e avoid publishing dev files of js packages 2014-09-17 19:13:29 +02:00
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