Commit Graph

8965 Commits

Author SHA1 Message Date
Jan Waś
698bfddeed Fixes #7847: yii\db\ColumnSchema was typecasting numerics to strings with incorrect decimal separator for some locales 2015-04-13 00:35:17 +03:00
Alexander Makarov
b806fc7108 Corrected fix for #8032 2015-04-12 12:17:35 +03:00
Alexander Makarov
8ac5776a0d Changed back usage of attr() to usage of prop() for checkboxes 2015-04-12 11:46:37 +03:00
Carsten Brandt
5306cac4b9 added support for subqueries to simple conditions
fixes #8027
2015-04-12 01:45:21 +02:00
Paul Klimov
52407aed53 CHANGELOG entry about #7918 restored 2015-04-11 23:30:06 +03:00
John Was
67799ad092 fix typos 2015-04-11 16:41:33 +02:00
Paul Klimov
3a90be06d6 Merge branch '3376-each-validator'
Conflicts:
	framework/CHANGELOG.md
2015-04-11 14:13:55 +03:00
Paul Klimov
d594ab0b03 yii\validators\EachValidator uses single generic error message 2015-04-11 13:59:02 +03:00
mohammad hosain
f704f41630 Update yii.php 2015-04-11 14:38:20 +04:30
Qiang Xue
fdb730a12a syntax fix [skip ci] 2015-04-10 21:51:33 -04:00
Jan Waś
edf400df96 add missing space 2015-04-11 02:25:26 +02:00
Jan Waś
6e48ed05c7 allow calling Command::insert() without any columns 2015-04-11 02:20:13 +02:00
ChristopheBrun
82033125c4 Fixes #8032: yii\rbac\PhpManager::updateItem() was unable to rename item updated 2015-04-11 01:24:32 +03:00
Alexander Makarov
36a0e8384a Fixes #7918: yii\widgets\Pjax got ability to avoid registering link/form handler via setting false to $linkSelector/$formSelector 2015-04-09 23:16:38 +03:00
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. 2015-04-09 23:06:47 +03:00
Klimov Paul
e29fcc8ea2 Docs about yii\validators\EachValidator adjusted 2015-04-09 18:14:35 +03:00
Klimov Paul
9fedb978f6 Docs for yii\validators\EachValidator adjusted 2015-04-09 18:13:50 +03:00
Klimov Paul
35eb833a2b Added yii\validators\EachValidator 2015-04-09 16:48:15 +03:00
Qiang Xue
aead65f2d2 Fixes #7515: Added support to use indexBy() together with column() in query builder 2015-04-08 22:54:30 -04:00
Jan Waś
ced423b601 Fixes #8012: Fixed fetching multiple relations between two tables for pgsql 2015-04-09 00:59:56 +03:00
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" 2015-04-08 03:17:42 +03:00
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     <----
```
2015-04-07 12:01:09 +05:00
Qiang Xue
92664b4b11 code optimization [skip ci] 2015-04-06 08:14:01 -04:00
Qiang Xue
23d8cede64 Fixes #7409: Allow yii\filters\auth\CompositeAuth::authMethods to take authentication objects 2015-04-05 18:19:41 -04:00
Qiang Xue
739f6358cd Fixes #7637: Allow yii\web\Request::validateCsrfToken() to validate a manually provided token 2015-04-05 17:34:29 -04:00
Qiang Xue
bf609cf327 Fixes #7957: Removed extra parseFloat() call for the compare js validator 2015-04-04 22:30:22 -04:00
CthulhuDen
dad47b433e do not extra convert to floats in CompareValidator client code 2015-04-04 22:29:08 -04:00
Paul Klimov
378937f8d5 yii\console\controllers\AssetController provides dependency trace in case bundle circular dependency detected 2015-04-03 19:22:42 +03:00
Klimov Paul
97c0ffc836 Creating target dir at yii\console\controllers\AssetController::buildTarget() refactored 2015-04-03 12:45:44 +03:00
Klimov Paul
e9ecdf88f9 Fixed yii\console\controllers\AssetController does not create missing folders for the target bundles 2015-04-03 12:04:57 +03:00
John Was
901d640b55 Fixes #7973: Added Schema::getSchemaNames method 2015-04-03 01:03:49 +03:00
Alexander Makarov
9f8ca6b3db Removed join according to https://github.com/yiisoft/yii2/issues/7958#issuecomment-88872600 2015-04-02 16:17:19 +03:00
Alexander Makarov
87a824515f Renamed application template into project template in docs 2015-04-02 14:46:34 +03:00
Jan Was
356d1b98a7 fix fetching pgsql indexes for older server versions 2015-04-02 12:35:24 +02:00
Jan Was
ec7bbe1914 fix fetching pgsql constraints for older server versions 2015-04-02 07:25:38 +02:00
Steven Michaels
5fc927c959 AttributeBehavior documentation cleanup [ci skip]
Removed a rogue 'For example' and split a long line

close #7940
2015-04-01 02:17:49 +02:00
Yasser Hassan
daab0e9aef Fixing typo.
close #7941
2015-04-01 02:16:08 +02:00
Carsten Brandt
14c003acab improved error message on createDirectory
ensure the directory name is included in the error message.

fixes #6442
2015-04-01 00:53:03 +02:00
tom--
4089c29a09 old C-prefix class name 2015-03-31 12:57:17 -04:00
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 2015-03-31 16:56:49 +03:00
Steven Michaels
748e68f98d Fixing broken doc links to ContentNegotiator 2015-03-30 23:23:38 -05:00
Qiang Xue
19ca5a1584 Fixes #7637. 2015-03-30 22:36:45 -04:00
John Was
664958548f fix oci\Schema::findConstraints() and pgsql\Schema::findTableNames(); added missing view to oci tests 2015-03-30 23:51:53 +02:00
John Was
4d1ca9ff17 Fixes #7831: Add order when fetching database table names and constraints 2015-03-30 22:18:56 +03:00
Aleksey Loban
af202f1ad8 Fixes #7912: Added aria-label to ActionColumn buttons 2015-03-30 19:08:44 +03:00
John Was
29304a185a Fixes #7833: Support (materialized) views and foreign tables along normal tables when fetching table schema 2015-03-30 19:01:12 +03:00
Alexander Makarov
d1b724c818 Reordered changelog, added references to issue/pull request numbers 2015-03-30 18:03:41 +03:00
Jan Was
48255a446d Fixes #7867: Fixes findUniqueIndexes not to perform any processing on unique index on function for pgsql, Implemented findUniqueIndexes for oci and mssql 2015-03-30 18:01:30 +03:00
Jan Was
18b107ddf7 updated CHANGELOG.md 2015-03-30 10:32:00 +02:00
John Was
4f49feee8d fixes #7757: in oci schema fix query results row keys case when PDO::ATTR_CASE is set to PDO::CASE_LOWER
added test to check support for setting PDO::ATTR_CASE and fetching table schemas
fixed fetching table schemas for mysql when PDO::ATTR_CASE is set
added tests for oci
fixed fetching composite fks for oci
improvements in oci schema parsing
removed autoIncrement detection fro oci and added test to verify that
implement batchInsert for oci
fix detecting IntegrityException for oci
fixed creating raw sql by skipping object and resource params
fix command test failing for sqlite
2015-03-29 21:57:13 +02:00