Commit Graph

1071 Commits

Author SHA1 Message Date
Alexander Makarov
32e3634838 Fixed ActiveForm 2013-10-19 01:04:24 +04:00
Alexander Makarov
6b15768a3f Better handling of trying to configure already instantiated component 2013-10-19 01:02:13 +04:00
Alexander Makarov
1f6a823073 Short array syntax 2013-10-18 20:52:38 +04:00
Qiang Xue
f4e3edb1e0 Fixes #1004. 2013-10-18 12:30:57 -04:00
Qiang Xue
3cd897e583 Fixed asset file registration with extra leading slashes. 2013-10-18 11:55:58 -04:00
Qiang Xue
602592411d Fixes #996. 2013-10-18 10:33:56 -04:00
Qiang Xue
86ceee5293 Fixes #1017. 2013-10-18 10:19:37 -04:00
resurtm
ffbd10638f Remove unnecessary $this.
Related to b3b5e36d42.
2013-10-18 19:36:16 +06:00
Alexander Makarov
24bc980da4 Replaced "<?php echo" with "<?=" that is always available for PHP 5.4 2013-10-18 14:09:11 +04:00
Alexander Makarov
e115b0c860 Updated docs, composer.json and other things to mention and use PHP 5.4 2013-10-18 13:01:13 +04:00
resurtm
b3b5e36d42 Remove use ($this). Related to 9e1b498fb5. 2013-10-18 09:46:52 +06:00
resurtm
9e1b498fb5 PHP 5.4 supports $this with closures. 2013-10-18 09:31:37 +06:00
Qiang Xue
89394db017 Fixes #999. 2013-10-17 17:12:29 -04:00
Qiang Xue
5af1e524e3 Merge pull request #999 from iJackUA/debug-panel-serialisation-fix
Debug panel : change json_encode/decode to serialise/unserialise
2013-10-17 14:09:38 -07:00
Qiang Xue
802a89f005 Merge pull request #808 from callmez/master
Modal::clientOptions disable support.
2013-10-17 14:02:33 -07:00
Alexander Makarov
645ec3645c Merge pull request #1006 from chelishchev/basic-support-pgsql-in-query-builder
Support PostgreSQL in QueryBuilder
2013-10-17 13:00:54 -07:00
chelishchev
8f8c705309 Just simple support PostgreSQL in QueryBuilder 2013-10-17 22:54:09 +03:00
Eugene Kuzminov
5b86ec973e debug panel : changed .json to .php 2013-10-17 16:37:31 +03:00
Eugene Kuzminov
b9de474cce debug panel : change json_encode/decode to serialise/unserialise to prevent non-UTF characters error 2013-10-17 15:24:52 +03:00
Carsten Brandt
eacfe0d004 Merge pull request #993 from lucianobaraglia/master
More on GII buttons [skip ci]
2013-10-17 04:08:22 -07:00
Carsten Brandt
f273e0542c Merge branch 'master' of github.com:yiisoft/yii2
* 'master' of github.com:yiisoft/yii2: (27 commits)
  Fixed typos
  fixes #995
  Fixed option merging in Console::prompt()
  changed default button style
  typo fix.
  Refactored getModule and hasModule.
  Added intl check to tests, better error reporting, credited Aura.Intl for the most complex test pattern
  Better MessageFormatter tests
  GII sub-modules support - see #871
  Module::getModule and Module::hasModule support for sub-modules - see #983
  removed needFix method
  Removed intl version check since it's very inconsistent and it seems bundled versions are always the same ones for the same PHP versions
  Fixes PHP 5.5 weird placeholder replacememt in case no arguments are provided at all (https://bugs.php.net/bug.php?id=65920).
  changed plural format for BaseListView
  applied new style of Yii::t params to all occurences
  fixed I18N handling of special param values and broken message tags
  adjusted I18N to be consistent with intl message formatting
  improved unit tests for ICU message formatter
  fixed regex for multiline patterns
  intl message parser now handles too many or too less args
  ...
2013-10-17 12:56:39 +02:00
Carsten Brandt
0ddd52c09a commented private property
fixes #997
2013-10-17 12:56:14 +02:00
Alexander Makarov
6f9785a293 fixes #995 2013-10-17 12:30:41 +04:00
Luciano Baraglia
3e451455d9 More on GII buttons 2013-10-17 01:42:27 -03:00
Carsten Brandt
f716bdd70d Fixed option merging in Console::prompt()
defaults overided settings
2013-10-17 04:19:42 +02:00
Qiang Xue
6eb9785dd8 changed default button style 2013-10-16 20:34:31 -04:00
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