Qiang Xue
595ac6d0be
Fixes #833 : added charset to json response.
2013-08-30 17:07:55 -04:00
Carsten Brandt
4d84e09479
typo in query builder, fixes #832
2013-08-30 16:57:11 +02:00
Carsten Brandt
0d91021f02
Merge branch 'master' of github.com:yiisoft/yii2
...
* 'master' of github.com:yiisoft/yii2:
Fixes #829 : loginRequired now responds with HTTP 403 in case of AJAX or loginUrl is not set (reverted from commit c2c12a9049 )
add missing return to module template
Update module.php
Fixes #829 : loginRequired now responds with HTTP 403 in case of AJAX or loginUrl is not set
gii form width adjustment.
Make sure query cloning works as expected.
Fixed test break.
Fixes #828 : refactored QueryBuilder::build()
2013-08-30 16:54:32 +02:00
Carsten Brandt
4b7f5a728a
improved control over and handling of file and dir permissions
...
- rename FileHelper::mkdir for API consistency
- changed default permission for directories to 775 instead of 777
- added some properties to classes that deal with files to allow control
over directory permissions.
2013-08-30 16:52:33 +02:00
Alexander Makarov
e1a6aacba8
Fixes #829 : loginRequired now responds with HTTP 403 in case of AJAX or loginUrl is not set (reverted from commit c2c12a9049)
2013-08-30 18:23:09 +04:00
Philipp Frenzel
e94b455535
add missing return to module template
...
I think according to the framework it should return the render and otherwise the browser will stay blank...
2013-08-30 15:05:00 +02:00
Philipp Frenzel
70d263d66e
Update module.php
...
module should extend \yii\base\Module as \yii\web\Module doesn't exist...
If this is outdated, then pls just ignore it!
2013-08-30 12:23:10 +02:00
Alexander Makarov
c2c12a9049
Fixes #829 : loginRequired now responds with HTTP 403 in case of AJAX or loginUrl is not set
2013-08-30 13:44:22 +04:00
Qiang Xue
2ecdfd6225
gii form width adjustment.
2013-08-29 17:20:04 -04:00
Qiang Xue
cb60fa5ddd
Make sure query cloning works as expected.
2013-08-29 17:19:22 -04:00
Qiang Xue
6dba4da3ed
Fixes #828 : refactored QueryBuilder::build()
2013-08-29 16:47:48 -04:00
Carsten Brandt
147558ea19
added some class documentation
2013-08-28 19:33:06 +02:00
Carsten Brandt
91c16782ef
finalized PhpDocController
...
- cleanup API and usage, add documetation link
- introduced @property feature in getter or setter which has precedence
over @return or @param tag if present
2013-08-28 18:58:59 +02:00
Carsten Brandt
1d622b65c3
fixed docs about error methods in Model
2013-08-28 15:26:00 +02:00
Carsten Brandt
c582e589d2
added note about differing property types
2013-08-28 15:18:13 +02:00
Carsten Brandt
ca69ef09d4
update of @property annotations
2013-08-28 14:59:52 +02:00
Carsten Brandt
c5b42910a9
Merge branch 'master' of github.com:yiisoft/yii2
...
* 'master' of github.com:yiisoft/yii2:
refactored code.
2013-08-28 14:16:37 +02:00
Carsten Brandt
bdb77f33ba
updated @property annotations of many classes
2013-08-28 14:16:13 +02:00
Qiang Xue
172d92958f
refactored code.
2013-08-28 06:46:43 -04:00
Carsten Brandt
14181b2be0
Update PHPDoc command to update classfiles automatically
2013-08-28 11:36:25 +02:00
Carsten Brandt
427c373ba6
implement Cache::exists() for various cache backends
...
fixes #811
2013-08-27 17:54:38 +02:00
Carsten Brandt
3b91801a35
cherry picked RedisCache and redis\Connection from redis WIP branch
...
commit in redis branch was:
0cd65e7496
2013-08-27 17:29:38 +02:00
Carsten Brandt
0e2ac86566
added Cache::exists() to check key existance in cache
2013-08-27 17:24:09 +02:00
Qiang Xue
d34f8486ab
Fixes #811 .
2013-08-27 08:13:20 -04:00
Qiang Xue
f941bfee60
Fixes #820 .
2013-08-27 08:09:15 -04:00
Qiang Xue
62b4a645f1
crud generator WIP
2013-08-27 08:08:57 -04:00
Qiang Xue
f48508e341
Merge pull request #809 from cebe/autoconfig-sorting
...
Gridview and DataProviders: Autoconfig sorting
2013-08-26 10:32:08 -07:00
MaximAL
3b8aff5a44
Blowfish cost must be in range 4…31, not 4…30
...
`generateSalt` parameter validation fix.
2013-08-26 20:49:23 +04:00
Carsten Brandt
53b4ed3d7f
Moved label for Sort::link() to html options
2013-08-26 18:02:44 +02:00
Carsten Brandt
39c002e83c
Refactored DataColumn::renderHeaderCellContent()
2013-08-26 15:23:49 +02:00
Carsten Brandt
155749e18d
typos in doc
2013-08-26 15:23:22 +02:00
Carsten Brandt
9847472144
introduced DataColumn::label property
2013-08-26 15:13:16 +02:00
Qiang Xue
c86d597077
css fix.
2013-08-26 08:39:27 -04:00
Carsten Brandt
b147760c7b
added label option to Sort::link()
2013-08-26 14:06:48 +02:00
Qiang Xue
7150524e33
Finished model generator.
2013-08-25 23:15:13 -04:00
Alexander Makarov
6c1ef346aa
fixed typos in ArrayHelperBase phpdoc
2013-08-26 03:21:37 +04:00
Alexander Makarov
8f2ce5dab7
Fixed typo and code style
2013-08-26 02:06:41 +04:00
Alexander Makarov
8a1bf04599
Fixes #790 : added visible for Nav and Dropdown
2013-08-26 01:23:27 +04:00
Qiang Xue
c835f17d1f
finished rule generation for model generator.
2013-08-25 12:51:33 -04:00
Qiang Xue
6978a6803f
bug fix of form generator.
2013-08-25 12:51:01 -04:00
Qiang Xue
89c61c9cb4
minor fixes of debugger.
2013-08-25 12:50:43 -04:00
Qiang Xue
c037b481e8
Added SafeValidator.
2013-08-25 09:14:11 -04:00
Carsten Brandt
a2eb49cd3e
use @inheritdoc for ActiveDataProvider::setSort
2013-08-25 11:54:17 +02:00
Carsten Brandt
381216595d
DataColumn: Allow setting label of sort link via short syntax
...
attribute:type:Header should also affect sort link
2013-08-25 00:37:29 +02:00
Carsten Brandt
c5d65e09af
Refactor DataColum to use model label for sorting link
2013-08-25 00:16:12 +02:00
Carsten Brandt
f9fab5d40d
Lazy fallback of label creation for Sort class
2013-08-25 00:01:26 +02:00
Carsten Brandt
713a987a9d
auto fill sorting colums in ActiveDataProvider if none are configured
2013-08-25 00:00:14 +02:00
Carsten Brandt
ac4b87579c
Merge branch 'master' of github.com:yiisoft/yii2
...
* 'master' of github.com:yiisoft/yii2:
set default format for gridview to text
2013-08-24 23:44:53 +02:00
Carsten Brandt
c23725aca0
fix dataProvider getSort()
...
correct creation of new Sort object if none is there
2013-08-24 23:43:17 +02:00
Qiang Xue
11ef65812b
Merge pull request #805 from cebe/datacolumn-default-format
...
set default format for gridview to text
2013-08-24 13:42:47 -07:00