Commit Graph

237 Commits

Author SHA1 Message Date
Christopher Stebe
aedfd7fc7f fix link to extension guidlines 2014-09-03 20:09:30 +02:00
Qiang Xue
6c123c9556 Fixes ignores in bower.json [skip ci] 2014-08-28 16:28:03 -04:00
Qiang Xue
e0035e257c typo fix [skip ci] 2014-08-28 15:37:52 -04:00
Qiang Xue
f04970ec07 typo fix [skip ci] 2014-08-28 15:27:39 -04:00
Qiang Xue
1954810531 adjusted dependencies. [skip ci] 2014-08-28 15:14:57 -04:00
Qiang Xue
c36417a831 Added bower.json for gii and debug extensions. 2014-08-15 21:18:37 -04:00
Alexander Makarov
59a52d8876 Fixes #4556: Gii was incorrectly generating labels 2014-08-01 12:48:35 +04:00
Alexander Makarov
d9a23975a5 Relaxed access level for yii\gii\generators\model\Generator 2014-08-01 04:00:34 +04:00
Alexander Makarov
a38ba3ccbf Fixes #4526: fixed error caused by substr_compare length parameter doesn't accept null in PHP 5.4 2014-07-31 19:00:07 +04:00
Carsten Brandt
7736853837 property code style extensions 2014-07-30 00:40:46 +02:00
Alexander Makarov
1c414caace Improved checks where substr_compare is used, replaced more substr + comapre cases with substr_compare 2014-07-30 02:15:08 +04:00
Kai Mindermann
ca752a6408 Fixes #4410: Fixed Gii to preserve database column order in generated _form.php 2014-07-25 15:01:13 +04:00
Alexander Makarov
07f01bcf2b Used substr_compare instead of substr when we don't care about result 2014-07-23 16:37:49 +04:00
Alexander Makarov
92c64994cd Improved strtr calls 2014-07-23 16:19:28 +04:00
Carsten Brandt
96c313d71f gii: fixed wrong composer.json template
reverts 45e4973ac8
2014-07-17 18:31:56 +02:00
Bohdan Shulha
90594138f7 Fixes PHPDoc 2014-07-10 02:54:30 +03:00
Alexander Makarov
492337de2d else if → elseif 2014-07-08 16:59:15 +04:00
Budi Irawan
45e4973ac8 fix json format in gii/generators/extension/default 2014-06-27 23:38:03 +07:00
Qiang Xue
838a79cdae minor doc fixes [skip ci] 2014-06-26 14:17:04 -04:00
Qiang Xue
935ab04225 Merge pull request #3811 from mitalcoi/master
add autocomplete for model class field
2014-06-26 14:14:43 -04:00
Alexander Makarov
a73a2d3fdd Revert "Gii *Search model generator fix" 2014-06-26 17:32:05 +04:00
Alexander Makarov
c8299697d0 Correct fix for #4060 2014-06-25 21:03:58 +04:00
Alexander Makarov
a03d87feb0 Fixes #4060 2014-06-25 20:47:16 +04:00
Alexander Kochetov
73fad8eb75 Gii *Search model generator fix 2014-06-24 19:41:43 +04:00
Alexander Makarov
e2a6acaf6b Fixes #4005: added phpdoc to search model Gii template 2014-06-23 23:43:14 +04:00
Alexander Makarov
0c14f47f9a Fixes #3793: Changed inline autocomplete hints style to get more IDEs support 2014-06-20 17:40:00 +04:00
Qiang Xue
6b799d392d Fixes #3358: Removed automatic CSRF meta tag generation by View. Added Html::csrfMetaTags() and its call to main layout files 2014-06-13 10:04:48 -04:00
mitalcoi
4f57fdb55f fic changelog spaces 2014-06-12 09:17:38 +04:00
mitalcoi
543647371c fixed asterisk bug, update chanelog 2014-06-12 08:42:30 +04:00
mitalcoi
062d78428b remove ajax from controller 2014-06-12 00:46:36 +04:00
mitalcoi
fd43d3e063 ajax removed 2014-06-12 00:44:02 +04:00
mitalcoi
49dd23e404 fix to "You don't want to generate model class name if it is already entered." 2014-06-12 00:25:21 +04:00
mitalcoi
5fdef858ce add autocomplete for model class field 2014-06-12 00:17:16 +04:00
Qiang Xue
6461817667 Fixes #2314: Gii model generator does not generate correct relation type in some special case 2014-06-10 16:22:15 -04:00
Carsten Brandt
9c92600b54 Merge pull request #3728 from umneeq/gii-codestyle-fixes
Gii codestyle fixes
2014-06-08 23:26:19 +02:00
Dmitry Chernikov
c9f79a2cb0 Gii codestyle fixes #2 2014-06-08 17:56:35 +03:00
Dmitry Chernikov
27a9bc759e Gii codestyle fixes 2014-06-06 19:33:08 +03:00
Carsten Brandt
ea6d7bb403 added CHANGELOG for #3693 2014-06-04 17:37:26 +02:00
Carsten Brandt
fd31e08021 fixed breaking Gii preview when file is unchanged
fixes #3693
2014-06-04 17:24:01 +02:00
Carsten Brandt
d8c5595458 refactored gii enum dropdown generator
PR #3676
2014-06-04 09:53:09 +02:00
Carsten Brandt
6da2eebf34 Merge pull request #3676 from enigmatix/master
Added ability to generate dropdown from Enum field
2014-06-04 09:08:12 +02:00
Carsten Brandt
a643bde5d5 improved gii input filter, fixes #3689 2014-06-04 09:03:31 +02:00
Joel Small
25fa2f2df9 Formatting changes to new enum field 2014-06-04 08:45:48 +09:30
Joel Small
e636174992 Added ability to generate dropdown from Enum field
Alternatively, if statement could be: if(substr($column->dbType, 0, 4) === 'enum'), however expected implemented option to be more robust across other database formats.

Created after followup on this issue:  https://github.com/yiisoft/yii/issues/292#issuecomment-44780779
2014-06-03 08:32:40 +09:30
Carsten Brandt
b7e493fca0 Tabs to spaces to be consistent
```
vendor/bin/indent --spaces -r framework/
vendor/bin/indent --tabs -r . --pattern=*.json
vendor/bin/indent --spaces -r . --pattern=*.md
vendor/bin/indent --spaces -r . --pattern=yii.*.js
vendor/bin/indent --spaces -r . --pattern=*.css
```
2014-05-23 16:58:21 +02:00
Klimov Paul
1641e057a9 VarDumper::export() applied over framework. 2014-05-20 16:35:12 +03:00
Thiago Talma
69385ad195 Control checkbox in the preview window. 2014-05-14 20:44:20 -03:00
Qiang Xue
58967f13a2 guide WIP [skip ci] 2014-05-10 19:16:14 -04:00
Qiang Xue
cd162d9b9b added missing hint [skip ci] 2014-05-10 16:00:20 -04:00
Kartik Visweswaran
cb4638883b Better Gii caption english 2014-05-06 12:50:26 +05:30