Qiang Xue
8d082c11a1
Fixes #5050 .
2014-09-16 14:15: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
Qiang Xue
09395ed2ec
Merge pull request #4974 from creocoder/html-button-type-fix
...
Html::button() type is `button` by default
2014-09-09 15:35:26 -04:00
Alexander Kochetov
ed251d8993
Html::button() type is button by default
2014-09-09 23:32:00 +04:00
Steve
d90fc6ced5
Fix bug in Estonian translation
2014-09-09 11:25:35 +03:00
Alexander Kochetov
1bd738243c
Typo fixed inside \yii\rest\CreateAction
2014-09-09 04:18:53 +04:00
Carsten Brandt
47648a4b9f
final cleanup
2014-09-09 00:00:45 +02:00
Carsten Brandt
3f75728083
refactored size format
2014-09-08 23:34:51 +02:00
Carsten Brandt
916d2c182d
ensure some BC
...
ensure some features that were recently added to formatter keep working after refactoring
2014-09-08 20:46:02 +02:00
Carsten Brandt
9418c9d236
unit tests and some locale depended fixes
2014-09-08 19:56:01 +02:00
Carsten Brandt
8d397e7f0e
finished currency formatter
2014-09-08 18:03:13 +02:00
Jani Mikkonen
77091123e6
Update finnish translation
2014-09-08 14:01:14 +03:00
Qiang Xue
377cb09aa8
Fixes #4945 : Added yii\test\ArrayFixture
2014-09-07 18:33:30 -04:00
Ragazzo
a5245ad048
added array fixture class
2014-09-07 18:29:16 -04:00
Carsten Brandt
98079b84a2
Merge branch 'master' into Erik-r-2359-formatter-refactored
...
* master: (1112 commits)
Removed unused "use" statements
Fixed array syntax
Removed unused "use" statements
Перевод runtime-handling-errors.md на русский язык
Mark tests with problematic DBMS as skipped.
Fixes #3511 : Dropped `yii.allowAction()` and modified `yii.confirm()` in `yii.js` to support callbacks
Update runtime-url-handling.md
Update runtime-url-handling.md
Update runtime-url-handling.md
Update runtime-url-handling.md
Update runtime-url-handling.md
Create runtime-url-handling.md
Fixed test break.
Fixes #3410 : yii.activeForm.js now supports adding/removing fields dynamically
Fixes #2914 : `ActiveForm::fieldConfig` will be merged recursively with the `$options` parameter in `ActiveForm::field()`
Fixes #4936 [skip ci]
Reverted/fixed some incorrect changes.
missing "." sign
Fixed formatting, initialized options array
Fixed phpdoc
...
Conflicts:
framework/CHANGELOG.md
framework/base/Formatter.php
framework/i18n/Formatter.php
tests/unit/framework/base/FormatterTest.php
tests/unit/framework/i18n/FormatterTest.php
2014-09-07 20:44:48 +02:00
Carsten Brandt
f8f0ff5445
moved formatter to i18n namespace
2014-09-07 20:40:34 +02:00
Carsten Brandt
065db64db3
finsihed formatter implementation
...
neads cleanup
2014-09-07 20:35:15 +02:00
Qiang Xue
b1e7c753ae
Fixes #2702 : added doc about customizing error response format [skip ci]
2014-09-07 12:40:50 -04:00