disem
a83d441534
typo fix
10 years ago
Damian Dennis
aec7dca2cd
added source map generation so that styling can be debugged easily.
10 years ago
Qiang Xue
7cf358af03
Fixes #4607 : AR model will throw an exception if it does not have a primary key to avoid updating/deleting data massively
10 years ago
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
10 years ago
Carsten Brandt
f099616967
improved IDE autocompletion for AR::find()
...
[ci skip]
10 years ago
Carsten Brandt
25bf486b7f
save some function calls on AR insert
10 years ago
Klimov Paul
0a709b10a0
Model parameter added to `yii\behaviors\Sluggable::uniqueSlugGenerator` callback
10 years ago
Klimov Paul
c072cc2eaf
`yii\behaviors\Sluggable` adjusted
10 years ago
Klimov Paul
ce18373221
CHANGELOG updated
10 years ago
Klimov Paul
101d771ecf
`yii\behaviors\Sluggable::validateSlug()` fixed to respect updating record
10 years ago
Klimov Paul
f27254b9aa
`yii\behaviors\Sluggable` simplified
10 years ago
Klimov Paul
d362af6ede
`yii\behaviors\Sluggable` optimized
10 years ago
Qiang Xue
9f155de82d
removed the key from the array in the fix for #4371
10 years ago
Qiang Xue
5fe6c55d6b
Fixes #4586 : Signed bigint and unsigned int will be converted into integers when they are loaded from DB by AR
10 years ago
Carsten Brandt
c6274acf6c
ensure postgres boolean values are handled correctly
...
also fixed an issue with default value loading of bool columns.
fixes #3489 , fixes #4085 , fixes #3920
related to #4672
10 years ago
Carsten Brandt
92d65ab78b
fix issue with postgreSQL and batch inserting boolean values
...
fixes #4654
10 years ago
Carsten Brandt
70e0115d5a
changelog for #4656
10 years ago
Alex-Code
9b6f84ca58
BaseHtmlPurifier config can now be a closure
...
`$config` can now be a closure that will have the `$configInstance` passed as the first param.
updated docs.
close #4656
10 years ago
Alexander Makarov
7728274ce6
Fixes #4122 : `Html::error()` and `Html::errorSummary()` are now accepting `encode` option. If set to false it prevents encoding of error messages
10 years ago
Carsten Brandt
c43b7ee8b5
console help WIP
10 years ago
Carsten Brandt
a2e8083beb
Created ArrayCache class
...
- can be used to enable caching in a request without the need for any storage
- useful for example in complex console tasks that should still be independed
10 years ago
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.
10 years ago
mcd.php
20774165bc
Fixes #4644 : Added `\yii\db\Schema::createColumnSchema()` to be able to customize column schema used
10 years ago
Klimov Paul
b062a6601d
Default event for `yii\behaviors\Sluggable` with `unique` enabled changed to 'insert'.
10 years ago
Klimov Paul
327914e452
Added automatic generating of unique slug value to `yii\behaviors\Sluggable`
10 years ago
Qiang Xue
3b01f48c6a
Fixes #4597 : `yii\composer\Installer::setPermission()` supports setting permission for both directories and files now (qiangxue)
10 years ago
Henry Abbott
00aab7c379
Fixed typo in comments for generatePasswordHash
10 years ago
Qiang Xue
359ae98f9c
Fixes #4622 : Simplified the way of creating a Faker fixture template file
10 years ago
Alexander Makarov
fb67f958a9
More cases for #4595
10 years ago
Alexander Makarov
b1e2090083
Fixes #4595 : more consistend use of "false" in "don't use" case
10 years ago
Alexander Makarov
84af0ad1f7
Fixes #4592 : Fixed `yii help` command was listing incorrect action names for methods like `actionSayNO`
10 years ago
disem
5c79ab202c
Added key param to ActionColumn button Closure
...
fixes #4602 , close #4624
10 years ago
Qiang Xue
0cdf2f5171
Fixed code break.
10 years ago
Qiang Xue
dee0382c1f
Added `yii\base\InvalidValueException`.
...
Refactored `yii\web\User`.
10 years ago
Qiang Xue
2ef7eda249
Fixes #4611 .
10 years ago
Qiang Xue
1c3e61ec26
Fixes #4591 : `yii\helpers\Url::to()` will no longer prefix relative URLs with the base URL
10 years ago
Tomek Romik
24d0314928
Update docs for clientValidateAttribute()
10 years ago
Qiang Xue
7a55aea247
Fixes #4600
10 years ago
Alex-Code
594b57836d
Added validation js callbacks
...
- `beforeValidateAll`
- `afterValidateAll`
fixes #4234 , close #4559
10 years ago
Thiago Talma
d635ab857b
Upgrade jquery.inputmask to v3.0.59
10 years ago
Tadas Z
f010fb57b4
Enh #4581 : Added ability to disable url encoding in `UrlRule`.
10 years ago
verysimplenick
91e0a3c8ee
fix typo in define $flavors['gfm-comment']
...
fix typo Markdown->GithubMarkdown in $flavors['gfm-comment']
10 years ago
Qiang Xue
3f9d590dbe
minor fix [skip ci]
10 years ago
Qiang Xue
f0fefbb609
renamed function name [skip ci]
10 years ago
Qiang Xue
6dd2203a5c
Fixes #4566 : Added client validation support for image validator
10 years ago
Tomek Romik
87f58e4859
Abort further validation if there are no files to validate
10 years ago
Tomek Romik
8c5c4c503b
Fix lines
10 years ago
Tomek Romik
ed3564c1cf
Added client-side image validation
10 years ago
Qiang Xue
378b765e48
Fixes #4571 : ignore non-string attribute names for AttributeBehavior.
10 years ago
Alexander Makarov
2a8ca600c5
Simplified parameter check for buildSimpleCondition()
10 years ago