Carsten Brandt
f99f333218
added note to docs about #8085
10 years ago
Klimov Paul
bb4bed4833
Fixed `yii\data\ArrayDataProvider::getKeys()` return wrong when `yii\data\ArrayDataProvider::$allModels` contain integer key
10 years ago
Klimov Paul
b8081b59b3
Fixed `yii\db\Query::count()` fails for query containing 'having' without 'group by'
10 years ago
Klimov Paul
767276362d
Redundant typecast at `yii\db\Schema::insert()` removed
10 years ago
Klimov Paul
b05ea3d69e
PK typecast at `yii\db\ActiveRecord` restored
10 years ago
Klimov Paul
60aa5f3eb9
Redundant checks at `yii\db\oci\Schema::insert()` and `yii\db\pgsql\Schema::insert()` removed
10 years ago
Paul Klimov
31ef4c4504
Command execution at `yii\db\oci\Schema::insert()` fixed
10 years ago
Paul Klimov
4e8ee7b001
Use RETURNING for inserts for pgsql and oci to support PKs with a custom default value expression
10 years ago
Qiang Xue
d8848ebf25
Doc improvement [skip ci]
10 years ago
Carsten Brandt
ba0fd22c66
Update ColumnSchema.php
...
added comment
10 years ago
Jan Waś
698bfddeed
Fixes #7847 : `yii\db\ColumnSchema` was typecasting numerics to strings with incorrect decimal separator for some locales
10 years ago
Alexander Makarov
b806fc7108
Corrected fix for #8032
10 years ago
Alexander Makarov
8ac5776a0d
Changed back usage of attr() to usage of prop() for checkboxes
10 years ago
Carsten Brandt
5306cac4b9
added support for subqueries to simple conditions
...
fixes #8027
10 years ago
Paul Klimov
52407aed53
CHANGELOG entry about #7918 restored
10 years ago
John Was
67799ad092
fix typos
10 years ago
Paul Klimov
d594ab0b03
`yii\validators\EachValidator` uses single generic error message
10 years ago
mohammad hosain
f704f41630
Update yii.php
10 years ago
Qiang Xue
fdb730a12a
syntax fix [skip ci]
10 years ago
Jan Waś
edf400df96
add missing space
10 years ago
Jan Waś
6e48ed05c7
allow calling Command::insert() without any columns
10 years ago
ChristopheBrun
82033125c4
Fixes #8032 : `yii\rbac\PhpManager::updateItem()` was unable to rename item updated
10 years ago
Alexander Makarov
36a0e8384a
Fixes #7918 : `yii\widgets\Pjax` got ability to avoid registering link/form handler via setting `false` to `$linkSelector`/`$formSelector`
10 years ago
Alexander Makarov
926770b7d9
Changed usage of .prop() to .attr() in order to avoid issues when working with forms having input with names matching form properties. Related to #8014 .
10 years ago
Klimov Paul
e29fcc8ea2
Docs about `yii\validators\EachValidator` adjusted
10 years ago
Klimov Paul
9fedb978f6
Docs for `yii\validators\EachValidator` adjusted
10 years ago
Klimov Paul
35eb833a2b
Added `yii\validators\EachValidator`
10 years ago
Qiang Xue
aead65f2d2
Fixes #7515 : Added support to use `indexBy()` together with `column()` in query builder
10 years ago
Jan Waś
ced423b601
Fixes #8012 : Fixed fetching multiple relations between two tables for pgsql
10 years ago
Alexander Makarov
e224568b49
Fixes #8014 : Fixed setting incorrect form "action" property after submitting a form using a link with "data-method" and containing "action" among "data-params"
10 years ago
Sergey Gonimar
3872c6c565
Fix migrate/down order
...
Migrations were applied at the same time. This cause invalid sort order while downgrade.
Command `yii migrate `
Output:
```
Yii Migration Tool (based on Yii v2.0.4-dev)
Total 2 new migrations to be applied:
m150402_075534_initial
m150402_075544_feedback
```
Command `yii migrate/down 2`
```
Yii Migration Tool (based on Yii v2.0.4-dev)
Total 2 migrations to be reverted:
m150402_075534_initial
m150402_075544_feedback
```
In databasse
```
"m000000_000000_base";1428382302
"m150402_075534_initial";1428388855 <----
"m150402_075544_feedback";1428388855 <----
```
10 years ago
Qiang Xue
92664b4b11
code optimization [skip ci]
10 years ago
Qiang Xue
23d8cede64
Fixes #7409 : Allow `yii\filters\auth\CompositeAuth::authMethods` to take authentication objects
10 years ago
Qiang Xue
739f6358cd
Fixes #7637 : Allow `yii\web\Request::validateCsrfToken()` to validate a manually provided token
10 years ago
Qiang Xue
bf609cf327
Fixes #7957 : Removed extra `parseFloat()` call for the `compare` js validator
10 years ago
CthulhuDen
dad47b433e
do not extra convert to floats in CompareValidator client code
10 years ago
Paul Klimov
378937f8d5
`yii\console\controllers\AssetController` provides dependency trace in case bundle circular dependency detected
10 years ago
Klimov Paul
97c0ffc836
Creating target dir at `yii\console\controllers\AssetController::buildTarget()` refactored
10 years ago
Klimov Paul
e9ecdf88f9
Fixed `yii\console\controllers\AssetController` does not create missing folders for the target bundles
10 years ago
John Was
901d640b55
Fixes #7973 : Added `Schema::getSchemaNames` method
10 years ago
Alexander Makarov
9f8ca6b3db
Removed join according to https://github.com/yiisoft/yii2/issues/7958#issuecomment-88872600
10 years ago
Alexander Makarov
87a824515f
Renamed application template into project template in docs
10 years ago
Jan Was
356d1b98a7
fix fetching pgsql indexes for older server versions
10 years ago
Jan Was
ec7bbe1914
fix fetching pgsql constraints for older server versions
10 years ago
Steven Michaels
5fc927c959
AttributeBehavior documentation cleanup [ci skip]
...
Removed a rogue 'For example' and split a long line
close #7940
10 years ago
Yasser Hassan
daab0e9aef
Fixing typo.
...
close #7941
10 years ago
Carsten Brandt
14c003acab
improved error message on createDirectory
...
ensure the directory name is included in the error message.
fixes #6442
10 years ago
tom--
4089c29a09
old C-prefix class name
10 years ago
Alexander Makarov
1713a99c79
Fixes #7924 : Migrations in history are now ordered by time applied allowing to roll back in reverse order no matter how these were applied
10 years ago
Steven Michaels
748e68f98d
Fixing broken doc links to ContentNegotiator
10 years ago