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
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
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
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
Qiang Xue
359ae98f9c
Fixes #4622 : Simplified the way of creating a Faker fixture template file
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
dee0382c1f
Added `yii\base\InvalidValueException`.
...
Refactored `yii\web\User`.
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
Alex-Code
594b57836d
Added validation js callbacks
...
- `beforeValidateAll`
- `afterValidateAll`
fixes #4234 , close #4559
10 years ago
Tadas Z
f010fb57b4
Enh #4581 : Added ability to disable url encoding in `UrlRule`.
10 years ago
Qiang Xue
6dd2203a5c
Fixes #4566 : Added client validation support for image validator
10 years ago
Alexander Makarov
c1cf48cf5b
Fixes #2315 : Any operator now could be used with `yii\db\Query::->where()` operand format
10 years ago
RichWeber
92cd13a913
pull origin
10 years ago
Qiang Xue
b19fa0c3db
minor fixes [skip ci]
10 years ago
xjflyttp
c5fbf89b44
- Enh #4520 : yii\caching/MemCache.php add sasl support (xjflyttp)
10 years ago
Alex-Code
6d2bc729c0
Update CHANGELOG.md
10 years ago
Alex-Code
4d337c3068
Update CHANGELOG.md
10 years ago
Carsten Brandt
7af92173b1
length arg of byteSubstr is now optional
10 years ago
mbman
94dc27a30e
Fixes #4497 : Bad Request, Unable to verify your data submission
10 years ago
Qiang Xue
da544b2676
Fixes #4519 : `yii\base\Model::isAttributeRequired()` should check if the `when` option of the validator is set
10 years ago
Carsten Brandt
08a480c6e6
make Request more robust against invalid CSRF data
...
fixes #4514
10 years ago
Carsten Brandt
1e9350abe1
guide on ajax validation
...
fixes #4482
10 years ago
tom--
c6a8b418ef
compareString(): timing depends only on length of `$actual` input, unit test
10 years ago
tom--
2c5c2c101b
Fixes #4131 : Security adjustments
10 years ago
Alexander Makarov
8f81e231da
Fixes #4453 : `yii message/extract` wasn't properly writing to po files in case of multiple categories
10 years ago
Thiago Talma
88191bbe5c
New callback functions for form validation using Ajax.
...
close #4436
10 years ago
Qiang Xue
368bf3dc65
Fixes #1388 : Added mapping from physical types to abstract types for OCI DB driver [skip ci]
10 years ago
Kai Mindermann
46b553f012
fixes formatter doing one division too much, fixes #4427
10 years ago
Kai Mindermann
f3520187d6
formatter: adds unit tests for base 1000, fixes #4412
10 years ago
Qiang Xue
db0c8b3781
Fixes #3957 : Added more straightforward configurable properties to `BlameableBehavior`, `SluggableBehavior` and `TimestampBehavior`
10 years ago
Qiang Xue
95460f92b2
Fixes #4360 : Added client validation support for file validator
10 years ago
Qiang Xue
390a6c782e
Fixes #4409 : Upper case letters in subdirectory prefixes of controller IDs were not properly handled
10 years ago
miramir
67bd4972ba
Check availabilty field in BaseActiveRecord::populateRecord
...
check with Object::canSetProperty()
fixes #4305 , close #4211
10 years ago
Carsten Brandt
5ad178a653
Update CHANGELOG.md
10 years ago
tof06
06bbf017a0
Fixes #4342
10 years ago
Alexander Makarov
c8a5012610
#4310 : Removed `$data` from signature of `yii\rbac\ManagerInterface`
10 years ago
Qiang Xue
a3e2b94adf
Fixes #3611 : Refactored query caching.
10 years ago
Klimov Paul
1a07485e27
Added support for relation by array attributes
...
fixes #1249
10 years ago
Misbahul D Munir
6a6caf717b
dropDownList encodeSpaces for subgroups
...
fixes #4105 , close #4376
10 years ago
Qiang Xue
e8c6bb516f
Fixes #4048 : Added `init` event to `ActiveQuery` classes
10 years ago
Qiang Xue
4e4e76e883
Request::cookieValidationKey must be explicitly specified now.
10 years ago
Qiang Xue
8633d0f91c
`yii\web\Request::cookieValidationKey` is now automatically generated by the installation script for the basic and advanced application templates
10 years ago
OmgDef
697a85dd26
Check for UPLOAD_ERR_NO_FILE in UploadedFile
...
fixes #4276 , close #4358
10 years ago