octicon-git-branch(16/) Commit Graph

208 Commits

Author SHA1 Message Date
Gabriel Homsi
ba7ccf2a0b fixed example with wrong namespace at 'yii2/framework/widgets/MaskedInput.php' documentation 2015-02-12 15:12:09 -02:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
40c232df92 enhanced widget documentation 2015-02-08 18:02:31 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Makarov
6481d13494 Optimized checks order in conditions 2015-02-08 17:56:36 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
e7f9b30456 fixed version information in Breadcrumb widget 2015-01-11 17:09:06 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Makarov
e4cf948c0b Better code for #6106 2015-01-11 15:16:05 +08:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Makarov
440eeea8cc Fixes #6106: Added ability to specify encode for each item of yii\widgets\Breadcrumbs 2015-01-11 15:13:34 +08:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
d341bf02b4 Fixes #6398: Added support for specifying dependent component in terms of a configuration array for classes such as DbCache 2015-01-04 19:28:05 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
389d9e2fd2 add hint about custom element id and selectors property
to Active Field

fixes #6734
2015-01-04 19:03:46 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Makarov
945961092d Added phpdoc description for BaseListView and ListView classes 2014-12-28 15:56:43 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
03a9ed70b2 Fixes #6557: Link URLs generated by yii\widgets\Menu are not encoded 2014-12-17 22:08:20 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
b16ac9a05a Fixes #6391 2014-12-08 22:36:32 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
544981a41c Fixes #6318: Made widgets more error-tolerant and user-friendly when certain option values are null 2014-11-29 21:29:53 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
9ae538e602 Fixed doc [skip ci] 2014-11-27 22:03:31 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
f509ed2448 Fixes #6236: No JS scripts should be registered when yii\widgets\ActiveForm::enableClientScript is false 2014-11-26 10:52:10 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Mohorev
e92482f554 Typo in word 2014-11-22 02:58:56 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
2782adcca4 Fixes #4643: Extra options specified in yii\widgets\Breadcrumbs::links will be treated as HTML attributes for the generated hyperlinks 2014-11-16 12:49:47 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
9869e67df8 fixed phpdoc
thanks to @pana1990

close #6060
2014-11-14 23:26:49 +01:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
866214e75a Fixes #6018: When setting the encode option via yii\widgets\ActiveRecord::errorOptions, it works the other way around [skip ci] 2014-11-11 21:24:07 -05:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Makarov
1be82dc0f5 Added phpdoc for Block 2014-10-31 16:52:26 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Makarov
497e1fedc5 Added phpdoc for ContentDecorator 2014-10-31 16:40:15 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Mohorev
64b4d6dca1 Correct order of property declaration 2014-10-25 16:28:36 +03:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
cb90f31cbe Fixes #5702: Parenthesis should be automatically added to Validator::whenClient to avoid js error 2014-10-23 09:18:53 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Niek Oost
5684eaf0ed Replaced single quotes with double 2014-10-22 12:40:13 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Makarov
48ec791e4a Fixes #5587: json_encode is now used with JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE where it makes sense, also it is now default for Json::encode() 2014-10-19 18:50:46 +04:00 octicon-file-diff(16/) octicon-file-code(16/)
Sergey
366852647b typo fix
close #5455
2014-10-09 18:00:37 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
169a2a39c0 Fixes #5110. 2014-09-19 11:43:55 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
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 octicon-file-diff(16/) octicon-file-code(16/)
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 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
32c122178e avoid publishing dev files of js packages 2014-09-17 19:13:29 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
074c1f6c53 Merge branch 'master' into new-asset
Conflicts:
	apps/basic/composer.json
	composer.json
2014-09-16 20:03:53 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
a187d47aec Fixes #5049: ActiveForm::validationDelay should be applied to user types only 2014-09-16 14:40:00 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
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 octicon-file-diff(16/) octicon-file-code(16/)
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 octicon-file-diff(16/) octicon-file-code(16/)
Carsten Brandt
d82195706f UPGRADE and CHANGELOG notes for the Formatter changes 2014-09-10 17:56:25 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
f50f840a55 Fixes #4955: Replaced callbacks with events for ActiveForm 2014-09-09 22:37:27 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
ae13b0593f Fixes #3410: yii.activeForm.js now supports adding/removing fields dynamically 2014-09-05 23:10:23 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
08d4d89930 Fixes #2914: ActiveForm::fieldConfig will be merged recursively with the $options parameter in ActiveForm::field() 2014-09-05 20:54:05 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
155f525e0b Fixes #2380: yii\widgets\ActiveForm will register validation js even if there are not fields inside 2014-09-05 15:08:09 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
d5077d70b7 Fixes #3738: ActiveField custom error selector not functioning 2014-09-05 14:50:24 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
4ad022c372 Fixes #3240: Added support for assigning an anonymous function to yii\widgets\ActiveForm::fieldConfig 2014-09-05 13:37:52 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
f34b138aab Fixes #4225: Added ActiveForm::validateOnBlur and ActiveField::validateOnBlur 2014-09-03 16:14:54 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
60e07e0d2a new asset WIP: renabled asset publishing 2014-09-02 14:51:44 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
1a62551691 new asset WIP 2014-08-28 17:02:56 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
c0d771f744 Fixes #4640: Added yii\widgets\ActiveForm::beginField() and endField() 2014-08-17 20:58:34 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
Alex-Code
25c2f9bf85 Made error message encoding configurable for ActiveForm
Updated yii.activeform.js to use the encode option introduced in #4122.
Updated ActiveForm with new option encodeErrorSummary

fixes #4690, close #4691
2014-08-13 00:53:38 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
9f155de82d removed the key from the array in the fix for #4371 2014-08-11 23:30:43 -04:00 octicon-file-diff(16/) octicon-file-code(16/)
abrahamy
b7cad9df3d Fixes #4371: Active form client validation wasn't working in case of two models having same named fields
When rendering multiple models in the same ActiveForm if any of the field names in the two models is the same then the corresponding attribute in the yiiActiveForm object in yiiActiveForm.js (ie $('form').data('yiiActiveForm').attributes) of the first rendered model is overwritten by the attribute of the last model causing the client-side validation for the overwritten field not to run at all. Example: given two models Car and Owner with attributes {make, age} and {name, age} then if the Car is rendered first its age attribute will not have any client validation.
2014-08-12 01:38:05 +04:00 octicon-file-diff(16/) octicon-file-code(16/)
Alexander Makarov
b1e2090083 Fixes #4595: more consistend use of "false" in "don't use" case 2014-08-07 15:58:52 +04:00 octicon-file-diff(16/) octicon-file-code(16/)
Alex-Code
594b57836d Added validation js callbacks
- `beforeValidateAll`
- `afterValidateAll`

fixes #4234, close #4559
2014-08-04 18:06:10 +02:00 octicon-file-diff(16/) octicon-file-code(16/)
Qiang Xue
f74e208103 Merge branch 'deferred-validation' of github.com:Alex-Code/yii2 into Alex-Code-deferred-validation
Conflicts:
	framework/CHANGELOG.md
2014-07-31 11:28:27 -04:00 octicon-file-diff(16/) octicon-file-code(16/)