4687 Commits

Author SHA1 Message Date
0fc46760b0 Fixes #4905: ActiveForm::$validationDelay doesn't delay after keyrelease when $validateOnType=true 2014-09-15 23:24:12 -04:00
11132cee1a Fixes #5006. 2014-09-15 23:03:10 -04:00
b9b6fbc94b Fixes #5039: UniqueValidator and ExistValidator did not respect query conditions added by default scope 2014-09-15 21:19:55 -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
7ce6a8a456 Fixed typo [skip ci] 2014-09-14 11:54:33 -04:00
bfb9aa84f7 WIP 2014-09-14 11:29:26 -04:00
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
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
e28edb3ed1 Improve docs for CheckboxColumn::$checkboxOptions 2014-09-12 11:01:00 +02:00
24b74e2b18 Merge pull request #4992 from Skysplit/pl-messages
Update polish translation [skip ci]
2014-09-12 12:17:20 +04:00
4b940c5b41 Added "other" rules to polish translations 2014-09-12 07:12:28 +02:00
d752ca1849 Updated Russian framework messages 2014-09-12 00:34:28 +04:00
dbf63a45af Update polish translation 2014-09-11 22:22:25 +02:00
de63a46d82 Fixes #4984. 2014-09-10 21:57:02 -04:00
b604bc56ff updated UPGRADE [skip ci] 2014-09-10 21:43:33 -04:00
9dfca990a0 updated german translation 2014-09-10 22:11:43 +02:00
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
2150fa3239 Fixes #4970: joinWith() called by a relation was ignored by yii\db\ActiveQuery 2014-09-10 15:00:15 -04:00
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
b835422479 Fixes #4897: Added `yii\helpers\FileHelper::mimeMagicFile 2014-09-10 14:17:16 -04:00
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
44b5e8ef60 Fixes #4954: MSSQL column comments are not retrieved correctly 2014-09-10 13:44:04 -04:00
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
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
0723f409ab finished the first structure of the guide on formatting 2014-09-10 19:24:14 +02:00
c8f8f654ce fixed paragraph formatting 2014-09-10 18:41:25 +02:00
d82195706f UPGRADE and CHANGELOG notes for the Formatter changes 2014-09-10 17:56:25 +02:00
f50f840a55 Fixes #4955: Replaced callbacks with events for ActiveForm 2014-09-09 22:37:27 -04:00
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
090e550a3d Rename \yii\web\User component param for consistency 2014-09-10 05:55:07 +04:00
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
ed251d8993 Html::button() type is button by default 2014-09-09 23:32:00 +04:00
d90fc6ced5 Fix bug in Estonian translation 2014-09-09 11:25:35 +03:00
1bd738243c Typo fixed inside \yii\rest\CreateAction 2014-09-09 04:18:53 +04:00
47648a4b9f final cleanup 2014-09-09 00:00:45 +02:00
3f75728083 refactored size format 2014-09-08 23:34:51 +02:00
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
9418c9d236 unit tests and some locale depended fixes 2014-09-08 19:56:01 +02:00
8d397e7f0e finished currency formatter 2014-09-08 18:03:13 +02:00
77091123e6 Update finnish translation 2014-09-08 14:01:14 +03:00
377cb09aa8 Fixes #4945: Added yii\test\ArrayFixture 2014-09-07 18:33:30 -04:00
a5245ad048 added array fixture class 2014-09-07 18:29:16 -04:00
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
f8f0ff5445 moved formatter to i18n namespace 2014-09-07 20:40:34 +02:00
065db64db3 finsihed formatter implementation
neads cleanup
2014-09-07 20:35:15 +02:00
b1e7c753ae Fixes #2702: added doc about customizing error response format [skip ci] 2014-09-07 12:40:50 -04:00
2a15ae12e6 refactored number formatting 2014-09-07 18:34:47 +02:00
a4e86c02de date formatter iteration 2014-09-07 15:54:57 +02:00