Commit Graph

1044 Commits

Author SHA1 Message Date
Qiang Xue
f6f02102ca typo fix. 2013-10-16 20:28:18 -04:00
Qiang Xue
8293e4d9d7 Refactored getModule and hasModule. 2013-10-16 20:27:18 -04:00
Qiang Xue
71222c1f1f Merge pull request #992 from lucianobaraglia/master
GII sub-modules support [skip ci]
2013-10-16 17:12:43 -07:00
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
Alexander Makarov
bf7a084224 removed needFix method 2013-10-17 01:04:42 +04:00
Alexander Makarov
da8f17955f Removed intl version check since it's very inconsistent and it seems bundled versions are always the same ones for the same PHP versions 2013-10-17 00:41:40 +04:00
Alexander Makarov
cdb9fbf679 Fixes PHP 5.5 weird placeholder replacememt in case no arguments are provided at all (https://bugs.php.net/bug.php?id=65920). 2013-10-17 00:36:57 +04:00
Carsten Brandt
677893eb79 changed plural format for BaseListView 2013-10-16 22:13:28 +02:00
Carsten Brandt
61fe888780 Merge branch 'master' into i18n-icu
* master: (103 commits)
  fixed broken test after whitespace changes in view
  Removed the extra EOLs.
  I add new line in methods that render code in the head and for body
  GII update button style
  GII create object button style [skip ci]
  Fixes #980: Changed the default way of generating action URLs for ActionColumn.
  View default value for $params
  adjusted cubrid version in schema quote
  removed cubrid env from tavis.yml
  simplified cubrid db install on travis
  fixed cubrid schema test for pdo type
  fixed validator test break
  added cubrid specific pdo type casting
  Updated FileValidator tests
  Better AR connection init in tests
  Removed @codeCoverageIgnore
  no xss for attribute error messages that contain {value}
  Clientvalidation {value} was not what has been validated
  moved getPdoType() to Schema.
  optimized datepick js code.
  ...
2013-10-16 22:04:17 +02:00
Carsten Brandt
6507e2e316 applied new style of Yii::t params to all occurences 2013-10-16 22:03:26 +02:00
Carsten Brandt
5d6bad5faa fixed I18N handling of special param values and broken message tags 2013-10-16 20:59:54 +02:00
Qiang Xue
3e159c9969 Removed the extra EOLs. 2013-10-16 12:07:09 -04:00
Carsten Brandt
bbcee326be adjusted I18N to be consistent with intl message formatting 2013-10-16 15:59:39 +02:00
Carsten Brandt
2eb5abbfcb improved unit tests for ICU message formatter 2013-10-16 05:54:10 +02:00
Carsten Brandt
150b9366fc fixed regex for multiline patterns 2013-10-16 05:24:02 +02:00
Carsten Brandt
fa9a975dbb intl message parser now handles too many or too less args 2013-10-16 04:41:03 +02:00
Carsten Brandt
b8099cbf28 a parser that is able to deal with the right number of args 2013-10-16 04:14:58 +02: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
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