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
tsvetann
f8fefb009f
Update Generator.php
...
To comply with the docs RE namespace usage:
https://github.com/yiisoft/yii2/blob/master/docs/guide/extend-creating-extensions.md
2014-05-04 21:11:16 +02:00
Alexander Makarov
150eb6b855
Fixes #2018 : Adjusted changelog
2014-05-04 18:16:14 +04:00
johonunu
c63edd3181
Reformating code. Removed \t signs, using spaces. Edited Changelog.
2014-05-01 10:08:11 +02:00
johonunu
6f9aee90ea
Search model not required anymore in crud generator
2014-05-01 00:15:36 +02:00
suralc
1ad5c4c3fe
Only valid php classes should pass validation
2014-04-29 20:28:57 +02:00
suralc
14e4e836e2
Fixed regex-escaping in crudgenerator
2014-04-29 15:26:13 +02:00
suralc
eac0922f13
Update CHANGELOG.md
2014-04-29 15:01:52 +02:00
suralc
4230f7664d
Fix #3265
...
Adding a new additional validation rule in the gii-crud generator enforcing the expected format.
2014-04-29 14:58:57 +02:00
Qiang Xue
3e3e443544
Refactored the fix for #3222 .
2014-04-23 19:36:56 -04:00
horizons2
b68f5b617f
removed unused code
...
removed unused code $patterns
2014-04-23 16:16:41 +02:00
horizons2
8ff55d1a28
correct typo
...
useTablePefix => useTablePrefix
2014-04-23 15:57:22 +02:00
horizons2
1d9e6b6f8b
use tableprefix on gii model generator
...
use tableprefix on gii model generator
2014-04-23 15:41:25 +02:00
Sorokin Victor
d8652a52ee
Update AutoloadExample.php
...
typo fix
2014-04-23 14:23:07 +03:00
Carsten Brandt
fe14f0c5e3
fixed all the PHPdoc in extensions
2014-04-23 03:25:11 +02:00
Qiang Xue
b55ce76479
Fixes #1263 : Fixed the issue that Gii and Debug modules might be affected by incompatible asset manager configuration
2014-04-22 12:42:51 -04:00
Luciano Baraglia
24e0bfcfed
Gii missing space in crud update template [skip ci]
2014-04-19 04:26:52 -03:00
Qiang Xue
707e4e810e
fixed typo. [skip ci]
2014-04-17 23:33:13 -04:00
Qiang Xue
520011fff6
Fixes #3088 : The debug and gii modules will manage their own URL rules now
2014-04-17 20:42:50 -04:00
Carsten Brandt
f210ec825c
Merge pull request #3134 from joaorjose/dev
...
Typecast model Id so that urls don't break when using MongoDB object Id'...
2014-04-17 16:25:04 +02:00
João José
831be93868
Typecast model id only if using mongodb AR class
2014-04-17 15:07:28 +01:00
João José
21dff54d6b
Typecast model id only if using mongodb AR class
2014-04-17 14:50:29 +01:00
Alexander Makarov
7295540c72
Code style and phpdoc fixes
2014-04-17 15:33:07 +04:00
João José
b1beae71f3
Fixed format
2014-04-17 11:53:51 +01:00
João José
de1df94552
Typecast model id only if using mongodb AR class
2014-04-17 11:52:11 +01:00
João José
377b01d2c1
Typecast model Id so that urls don't break when using MongoDB object Id's
2014-04-16 15:54:55 +01:00
Carsten Brandt
3bc70ac133
do not throw exception if db component is not set
...
without this the form does not allow choosing a different connection id
2014-04-14 10:19:06 +02:00
Carsten Brandt
cd4b3f7827
Gii model generator did not add correct db connection
...
if component id is different from 'db'
2014-04-14 10:17:01 +02:00
Qiang Xue
f4c38faf74
prepare for next release.
2014-04-13 21:22:29 -04:00
Qiang Xue
8bbcff70db
prepare for 2.0.0-beta release.
2014-04-13 17:58:59 -04:00
Qiang Xue
0b29c9607d
fixed broken API links [skip ci]
2014-04-09 22:22:49 -04:00
Alexander Makarov
75154d351d
Refactored AR find
2014-04-07 09:43:03 +04:00
Qiang Xue
02c3c37a00
Fixes #2986 .
2014-04-05 11:55:26 -04:00
Qiang Xue
a15a3835c7
Moved all filter classes to namespace yii\filters
2014-04-05 01:00:14 -04:00
Carsten Brandt
865b71ef5e
cleanup CHANGELOGs
2014-04-03 20:28:08 +02:00
Qiang Xue
3ea6343799
improved search model [skip ci]
2014-04-03 09:48:17 -04:00
Qiang Xue
b23cb17713
fixed search model to use base model class.
2014-04-03 08:27:31 -04:00
Qiang Xue
1e098ebd4b
simplified search model [skip ci]
2014-04-02 21:20:27 -04:00
Qiang Xue
f747768fcf
improved search model generator.
2014-04-02 20:47:01 -04:00
Carsten Brandt
745c20538c
Merge pull request #2885 branch 'query-filter'
...
* query-filter:
added CHANGELOG lines
added tests for redis
added proper tests for elasticsearch
removed unnecessary code duplication
adjusted tests
typo
renamed Query::filter() to Query::filterWhere()
reverted elasticsearch rename of filter
Adjusted search model code generated by Gii CRUD generator
Added support for arbitrary number of parameters for NOT, AND, OR in filter methods of Query
Gii CRUD generator now uses new addFilter method
Query::filter() adjustments
fixes #2002
Added tests for Query::filter()
Conflicts:
framework/db/QueryTrait.php
2014-04-02 19:33:40 +02:00
Carsten Brandt
51eabf527f
typo
2014-04-02 18:50:49 +02:00
Carsten Brandt
96f1c4c10b
renamed Query::filter() to Query::filterWhere()
2014-04-02 18:48:14 +02:00
Alexander Makarov
36c59dce9c
Adjusted search model code generated by Gii CRUD generator
2014-03-31 16:52:40 +04:00
Qiang Xue
338b6aa7d3
Refactored ActiveRecord::find() so that find(null) will also return an ActiveRecord instance instead of ActiveQuery.
2014-03-30 19:01:02 -04:00
Alexander Makarov
94fd4e7e06
Gii CRUD generator now uses new addFilter method
2014-03-31 02:44:30 +04:00