Luciano Baraglia
c2457f95e9
GII sub-modules support - see #871
2013-10-16 18:16:03 -03:00
Luciano Baraglia
bce3afcca2
Module::getModule and Module::hasModule support for sub-modules - see #983
2013-10-16 18:14:18 -03:00
Qiang Xue
3e159c9969
Removed the extra EOLs.
2013-10-16 12:07:09 -04:00
Qiang Xue
2b2c22eee4
Fixes #980 : Changed the default way of generating action URLs for ActionColumn.
2013-10-15 20:31:43 -04:00
iJackUA
253becaef5
View default value for $params
...
To prevent Warning "Trying to get property of non-object" in case when nothing set to params, but you try to get some key (check is there something)
ArrayHelper::getValue($this->view->params, 'abc');
2013-10-15 09:56:16 +03:00
Carsten Brandt
28d9ee7c31
adjusted cubrid version in schema quote
2013-10-15 05:47:55 +02:00
Carsten Brandt
598d01287b
added cubrid specific pdo type casting
...
cubrid pdo does not support PARAM_BOOL so we cast the value to integer
and store 0 and 1 instead
fixes #964
2013-10-15 03:37:46 +02:00
Alexander Makarov
5cf9992251
Removed @codeCoverageIgnore
2013-10-15 01:32:23 +04:00
Alexander Makarov
d75ad87e06
Merge branch 'add-tests' of github.com:suralc/yii2 into suralc-add-tests
...
Conflicts:
framework/yii/validators/RegularExpressionValidator.php
2013-10-15 01:31:59 +04:00
Carsten Brandt
8e4067ec5e
no xss for attribute error messages that contain {value}
2013-10-14 20:33:42 +02:00
Carsten Brandt
266f4f9843
Clientvalidation {value} was not what has been validated
...
also fixed some inconsistency between client and server validation.
2013-10-14 20:23:34 +02:00
Qiang Xue
8899aaeb5b
moved getPdoType() to Schema.
2013-10-14 08:28:56 -04:00
Carsten Brandt
6544db48dc
consistent summary display for ListView and GridView
...
Total 0 items. when list is empty.
and showing x out of x for n>0 and paging on.
2013-10-13 21:43:51 +02:00
Carsten Brandt
5ad8fe5f45
Filter only active attributes in gridview
...
When we do not want an attribute to be searched we do not define it in
the filter model, or mark it inctive in the scenario when we use the
original model.
GridView should not try to access the attribute then and automatically
not display the filter field.
2013-10-13 19:56:12 +02:00
Carsten Brandt
4050a4b211
Merge branch 'master' of github.com:yiisoft/yii2
...
* 'master' of github.com:yiisoft/yii2:
fixes issue with debugmodule initializing view component too early
2013-10-13 19:50:59 +02:00
Carsten Brandt
1600889f4e
added isAttributeActive to Model
...
consistent api for safe and required
2013-10-13 19:50:14 +02:00
Carsten Brandt
cba8ec7310
fixes issue with debugmodule initializing view component too early
...
fixes #929
2013-10-13 15:41:14 +02:00
Carsten Brandt
3a981e26da
improved errorhandler output
...
when error occurs while handling errors output was not readable in web
context
2013-10-13 15:19:20 +02:00
Carsten Brandt
ee89134ffe
make db\Command::getPdoType() protected
...
fixes #964
2013-10-11 14:51:07 +02:00
Carsten Brandt
300c866be2
adjusted composer.json for smarty and twig
...
not need to suggest packages in core. They are required by extension
composer.json anyway.
2013-10-11 14:02:15 +02:00
Carsten Brandt
5aaa87c32e
Merge branch 'master' of github.com:yiisoft/yii2
...
* 'master' of github.com:yiisoft/yii2:
added comment
better error message
more asset bundle tests and docs
fix issue #700
doc fix
added unit test for asset bundles
2013-10-11 11:59:55 +02:00
Carsten Brandt
982b7fe4ae
better validation of module in gii module generator
...
fixes #963
2013-10-11 11:59:23 +02:00
Qiang Xue
ed85c16ff2
Merge pull request #962 from cebe/700-fix-js-asset-position-conflict
...
fix js asset position conflict
2013-10-10 17:44:28 -07:00
Carsten Brandt
7817514e86
fixed default status code for Response::redirect()
...
fixes #961
2013-10-11 02:42:32 +02:00
Carsten Brandt
72b4f4f717
added comment
2013-10-11 02:20:51 +02:00
Carsten Brandt
80cf9c8be9
better error message
2013-10-11 02:19:32 +02:00
Carsten Brandt
a922c41ee6
more asset bundle tests and docs
2013-10-11 02:14:59 +02:00
Carsten Brandt
abc1e0c2bb
fix issue #700
...
adjust depended asset position or throw exception on conflict
2013-10-11 01:54:05 +02:00
Carsten Brandt
a6784f4ae9
doc fix
2013-10-11 01:14:40 +02:00
Qiang Xue
8bff031fc2
Fixed the issue that dots in URL rules would match any character.
2013-10-10 11:23:20 -04:00
Alexander Makarov
817516adc5
Added missing return
2013-10-10 14:14:30 +04:00
Alexander Makarov
c7d7a3ce36
Fixed missing error page when AccessControl is used with default deny rule
2013-10-10 13:53:12 +04:00
Alexander Makarov
6488fe47ec
Better phpdoc for chained method calls
2013-10-10 13:34:16 +04:00
Qiang Xue
fceb2d6e21
Fixes #957 : Json::encode() doesn't handle empty object correctly.
2013-10-09 20:33:06 -04:00
Qiang Xue
aede3c9f47
Removed duplicated indexBy declaration.
2013-10-09 08:14:57 -04:00
Qiang Xue
cf9104f7fd
make grid view filtering work.
2013-10-05 21:56:06 -04:00
Qiang Xue
293cb9d86f
Fixed search form.
2013-10-04 20:35:58 -04:00
egorpromo
536075c040
Just simple correction of unintelligible description
2013-10-04 21:17:13 +07:00
Aaron Francis
c5a34c534b
Fix Issue #934
...
Fixes issue #934 . Command is created for the selected database, not the default database.
2013-10-03 16:33:28 -05:00
Qiang Xue
38c0b197f9
Fixes #916 : generation of class name from table name has problem.
2013-10-03 11:01:52 -04:00
Qiang Xue
8c9dadf362
Fixed DB validation handling for model generator.
2013-10-02 21:22:25 -04:00
Alexander Makarov
618f981112
Renamed i18n to be all lowecase when accessed as a property
2013-10-03 01:41:38 +04:00
Qiang Xue
bcc0cbeba8
Added doc about BaseDataProvider::getPagination().
2013-10-02 08:29:52 -04:00
Qiang Xue
c1f977cd45
Simplified the default file map for PhpMessageSource.
2013-10-01 22:57:08 -04:00
Qiang Xue
09a9191086
Fixes #927 : doc typo.
2013-10-01 21:56:08 -04:00
Qiang Xue
d798cc791b
Set totalCount.
2013-10-01 21:40:35 -04:00
Qiang Xue
fe58cbd56a
doc update.
2013-10-01 21:35:56 -04:00
Qiang Xue
0035f23781
refactored data providers.
2013-10-01 21:35:35 -04:00
Carsten Brandt
2c30ddfcb0
added web\Controller::goBack() as shortcut
...
goBack() will redirect user to his returnUrl
fixes #925
2013-10-01 20:01:14 +02:00
Qiang Xue
d03d681583
Fixes #928 : client validation should be applied to active attributes only.
2013-09-30 10:14:08 -04:00