Commit Graph

5329 Commits

Author SHA1 Message Date
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
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
Qiang Xue
3abc07d16c Fixes #6642: Fixed the bug that using confirmation dialog via data-confirm in an ActiveForm may cause the dialog to appear twice 2015-03-29 12:01:24 -04:00
Steven Michaels
3cddd3bab4 Include ruleTable in list of customizable tables [ci skip]
With the addition of ruleTable in 2.0, including it in the list of customizable tables in the class-level doc makes it easier to spot the difference from 1.1.
2015-03-29 10:14:37 -05:00
Qiang Xue
72c34cda1e Fixes #6871: Fixed the bug that using defaults and hostnames in URL rules may cause an out-of-range index issue 2015-03-27 22:52:01 -04:00
Qiang Xue
8e33fbfbff Fixes #7636: yii\web\Session::getHasSessionId() uses a more lenient way to check if session ID is provided in URL 2015-03-26 22:57:27 -04:00
Carsten Brandt
92b1ba77db improved phpdoc of ActiveForm 2015-03-27 00:36:05 +01:00
Carsten Brandt
16c94efaf5 improved error messages in FileHelper 2015-03-26 13:24:59 +01:00
Qiang Xue
c01804d7c9 Fixes #7775: Added more strict check on controller IDs when they are being used to create controller instances on Windows 2015-03-25 21:54:06 -04:00
Qiang Xue
ac623ab8f6 Fixes #7850: Added and to allow selectively caching cookies and HTTP headers 2015-03-24 21:18:59 -04:00
Alexander Makarov
371fa3f241 Fixes #7856: Fixed comments order in messageConfig 2015-03-25 00:25:07 +03:00
Qiang Xue
04e1da1a7d Added to allow caching cookies selectively and turn off cookie caching by default 2015-03-23 14:08:27 -04:00
Sidney Lins (slinstj, former sidtj)
41e5a8a83b Fixes #6975: Pressing arrows while focused in inputs of Active Form with validateOnType enabled no longer triggers validation 2015-03-21 15:52:44 +03:00
Carsten Brandt
2f5345b63c improved beforeAction docs 2015-03-21 12:13:03 +01:00
tom--
70fa53a20f Update Controller.php and Module.php
beforeAction() code style:

1. Return early on error
2. Don't else-after-return

close #7804
2015-03-21 12:10:25 +01:00
Carsten Brandt
2a23520618 added documentation about handling date values
fixes #6530
fixes #5857
relates to #3973
2015-03-20 16:06:12 +01:00
Carsten Brandt
0a6715bd0b enhanced default value for ListView Sort attribute labels
fixes #7530
close #7561
2015-03-20 14:18:52 +01:00
Carsten Brandt
817bd4279a fixed AR phpdoc
fixes #7787
2015-03-19 12:59:05 +01:00
Qiang Xue
99a612e1a6 Finished AR guide [skip ci] 2015-03-15 01:26:06 -04:00
Amir Basiri
3349c06690 fixed a typo in fa, he and tj messages files. Solved #7695 2015-03-13 10:43:24 +03:30
Lorenzo Milesi
4007363ae5 Updated italian framework messages 2015-03-12 15:45:21 +01:00
nkovacs
45a0b67531 fix typo in hungarian translation 2015-03-11 17:04:27 +01:00
Qiang Xue
bd20b30b89 AR guide WIP [skip ci] 2015-03-09 22:43:24 -04:00
Carsten Brandt
26392372c0 added ActionColumn::$buttonOptions
allows for configuration of the default buttons like this:

```php
[
	'class' => ActionColumn::className(),
	'template' => '<div class="btn-group text-center">{view} {update} {delete}</div>',
	'buttonOptions' => [
		'class' => 'btn btn-default btn-xs',
	],
],
```

close #7633
2015-03-08 23:23:39 +01:00
Ezekiel Fernandez
d0c01dc9ba CodeStyle fix
close #7614
2015-03-07 00:41:20 +01:00
Alexander Makarov
52df3466f4 Reverted #7450: Don't add empty parameters to URL when filtering a grid (reverted from commit aba7710699) 2015-03-06 23:40:30 +03:00
Yurii K
aba7710699 Fixes #7450: Don't add empty parameters to URL when filtering a grid 2015-03-06 23:14:24 +03:00
Alexander Makarov
b7a29e38d9 Fixes #6895: Added ignoreCategories config option for message command to ignore categories specified 2015-03-06 21:51:42 +03:00
Alexander Makarov
b6a591c720 Fixes #7571: HTTP status 500 and "An internal server error occurred." are now returned in case there was an exception in layout and YII_DEBUG is false 2015-03-06 20:10:54 +03:00
Carsten Brandt
65a2c54974 fixed unicode in FormatConverter escaping
fixes #7603
2015-03-06 16:01:05 +01:00
Carsten Brandt
cd0093f7bd rework grid/list/detail view guide and docs 2015-03-06 07:43:00 +01:00
Carsten Brandt
fc0d322e12 Updated dependency to cebe/markdown to version 1.0.x. 2015-03-06 06:50:07 +01:00
Carsten Brandt
08e0143c16 created Console::wrapText() to imrove console help output on small screens 2015-03-05 21:19:42 +01:00
callmez
f60da03e07 Fixes #7562, fixes #6841: yii help now lists all sub-commands by default 2015-03-05 19:17:22 +03:00
SilverFire
12fe0c7b85 Fixes #7488: Added StringHelper::explode to perform explode with trimming and skipping of empty elements 2015-03-05 19:10:38 +03:00
Carsten Brandt
624db0e678 updated Component::__isset() docs
close #7587
2015-03-05 14:57:29 +01:00