Qiang Xue
6461817667
Fixes #2314 : Gii model generator does not generate correct relation type in some special case
10 years ago
MarcioCamello
1bad91bd4e
Update FileValidator.php
10 years ago
MarcioCamello
431915c439
mimeTypes Validator is wrong
...
I'm find error
```php
Wrong
} elseif (!empty($this->mimeTypes) && !in_array(FileHelper::getMimeType($file->tempName), $this->mimeTypes, true)) {
Correct
} elseif (!empty($this->mimeTypes) && !in_array(FileHelper::getMimeType($file), $this->mimeTypes, true)) {
```
Not need call '$file->tempName' because getMimeType get object $_FILE => $file, so use $file and validator works fine
10 years ago
Wanderson Braganca
c271ea81e1
Updated pt-BR translation
10 years ago
Mark
c52c063ca6
file validator added mime - types , image validator fixed
10 years ago
Alexander Kochetov
333f521f1e
\yii\i18n\DbMessageSource code style fixes
10 years ago
Alexander Kochetov
7bce33f1da
Excess \yii\base\Model::resolveFields() method removed
10 years ago
Carsten Brandt
3eae6942e6
improve cache phpdoc
10 years ago
Kartik Visweswaran
516ba30bcc
Fix #3756 : Convert values to float for number formatting
10 years ago
Kartik Visweswaran
7f788e7427
Fix #3756 : Convert values to float for number formatting
...
Convert string values to floating point, so that `number_format` method can properly format values.
10 years ago
Carsten Brandt
886def8571
removed unused argument
10 years ago
Carsten Brandt
9679721e0c
fixes display of array log messages in debug toolbar
...
fixes #3244
10 years ago
Carsten Brandt
efbd23b52e
refactored logger to support array values out of the box.
...
fixes #3245 , #3244
10 years ago
Qiang Xue
ce49416e32
Fixes #3752 : `QueryBuilder::batchInsert()` does not typecast input values
10 years ago
Alexander Makarov
de8ba90019
Revert "Fixes #3744 : `yii\db\Connection` now skips `bindValues` if there are no parameters to bind"
...
This reverts commit ea10ba4938
.
10 years ago
makroxyz
458c4a6623
Fix PostgreSQL enumValues
...
$column->enumValues is set to array[0 =>''] even if $info['enum_values'] is null.
Gii generates always dropDownList in forms.
10 years ago
Alexander Makarov
ea10ba4938
Fixes #3744 : `yii\db\Connection` now skips `bindValues` if there are no parameters to bind
10 years ago
Alexander Makarov
714f27ab22
Fixes #3241
10 years ago
Alexander Makarov
b01e6de9bc
Fixes #3399 : Added support for MS SQL Server older than 2012
10 years ago
Alexander Makarov
20d11ed0e6
Fixed typo
10 years ago
Alexander Makarov
4ad1b6c1d5
Fixes #3640 : All cookies are not httpOnly by default in order to increase overall security
10 years ago
Alexander Makarov
36e4930dcd
Fixes #3669 : added note about using ArrayHelper::getValue with objects
10 years ago
Alexander Makarov
03efbc4ca8
Added getDb() to ActiveRecordInterface in order for BaseActiveRecord to have stricter contract
10 years ago
Alexander Makarov
09e6a13e8f
Fixed tests
10 years ago
Alexander Makarov
f8e05fbf4f
Improved `yii\helpers\Inflector::slug` to support more cases for Russian, Hebrew and special characters
10 years ago
Alexander Makarov
c7d8439072
Fixes #3687 : Default `sourceLanguage` and `language` are now `en-US` in order for i18n formatter to work correctly
10 years ago
Alexander Kochetov
a034fc2659
Additional `Application` property for `$formatter`
10 years ago
Qiang Xue
4d2cf38376
Fixes #3716 : `DynamicModel::validateData()` does not call `validate()` if the `$rules` parameter is empty
10 years ago
Klimov Paul
e67ca1a61c
Issue #3478 added to CHANGELOG
10 years ago
Qiang Xue
91cd62be27
Fixes #3715 : Fixed the bug that using a custom pager/sorter with `GridView` may generate two different pagers/sorters if the layout configures two pagers/sorters
10 years ago
Qiang Xue
01e5ffdceb
guide WIP [skip ci]
10 years ago
Kartik Visweswaran
e90fb534da
Masked input widget upgrade fixing #3196
...
Support contribution credits updated
10 years ago
Qiang Xue
d1e0a54553
guide WIP [skip ci]
10 years ago
Deng Zhi Cheng
47284b4907
fix wrong template for min validation error
10 years ago
Carsten Brandt
3e4ec22004
update changelog
...
[ci skip]
10 years ago
Carsten Brandt
d92281dcda
refactored ActiveRecord::unlinkAll() to work will noSQL
...
issue #3520
10 years ago
Carsten Brandt
274b6e41b4
adjusted apidoc for MaskedInput widget
10 years ago
SonicGD
199bc57780
fix issue number
10 years ago
SonicGD
b2246d19ce
fix align
10 years ago
SonicGD
fa01c003e4
line to changelog
10 years ago
SonicGD
bf73fd81c1
Set expire to null so CookieCollection::has work
10 years ago
Kartik Visweswaran
b5461a7660
Fix #3196 : Masked input widget revamped to use new plugin
...
Edited Asset Bundle PHP doc header information.
10 years ago
Kartik Visweswaran
8331ff018d
Fix #3196 : Masked input widget revamped to use new plugin
10 years ago
Alexander Makarov
a5c4a0ebb4
Adjusted BaseActiveRecord code for better noSQL compatibility
10 years ago
Alexander Kochetov
ce1e469751
ActiveQuery::one() slight refactoring
10 years ago
leandrogehlen
e6f05c6b9a
Adjusted documentation
10 years ago
leandrogehlen
fbb2d940ec
Adjusted changelog
10 years ago
Alexander Makarov
0c02edbfca
Adjusted default validator method phpdoc
10 years ago
Alexander Makarov
44273f0790
Revert "Merge pull request #3445 from Alex-Code/getValue"
...
This reverts commit a5846fa269
, reversing
changes made to 2a6e064aca
.
10 years ago
leandrogehlen
51c162d65e
Fixes typo
10 years ago