Commit Graph

885 Commits

Author SHA1 Message Date
Alexander Makarov
c127171efb Fixes #1003: DateValidator returned true for invalid dates 2013-10-24 02:31:05 +04:00
Carsten Brandt
3631890cba fixed failing validator tests 2013-10-24 00:00:32 +02:00
Carsten Brandt
cfc57c20f0 Allow ITU message format in validator messages
fixes #991
2013-10-23 20:25:38 +02:00
Alexander Makarov
2a4a5256fe Merge pull request #1044 from cebe/intl-message-fallback
Intl message fallback
2013-10-23 10:36:06 -07:00
Carsten Brandt
750267a821 fix tests when intl is not installed 2013-10-23 19:32:43 +02:00
Carsten Brandt
5b9b97276e implemented plural and select for fallback intl message formatter 2013-10-23 19:13:04 +02:00
Paul Klimov
b611c4241f Email message interface extracted. 2013-10-23 17:12:33 +03:00
Paul Klimov
e5e0de8c8f '\yii\email\ViewResolver' added.
Email message render functionality added.
2013-10-23 16:33:25 +03:00
Paul Klimov
88126bc4d3 Unit tests for \yii\email\swift have been improved.
Methods 'addText' and 'addHtml' added to \yii\email\BaseMessage.
2013-10-23 12:19:01 +03:00
Paul Klimov
492f35621c Email components hierarchy created.
SwiftMailer applied as email solution.
2013-10-22 17:22:08 +03:00
Qiang Xue
fb8e818204 Dropped support for supporting default namespace for classes of related models. 2013-10-21 23:55:20 -04:00
Alexander Makarov
c2dabfa78e Adjusted short tags 2013-10-20 00:59:56 +04:00
Qiang Xue
f130dca199 Fixed test break. 2013-10-18 22:02:28 -04:00
Alexander Makarov
005c006b69 typo fix 2013-10-18 21:01:34 +04:00
Alexander Makarov
1f6a823073 Short array syntax 2013-10-18 20:52:38 +04: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
6b65ef5882 Added intl check to tests, better error reporting, credited Aura.Intl for the most complex test pattern 2013-10-17 02:15:46 +04:00
Alexander Makarov
71e2dcc6d5 Better MessageFormatter tests 2013-10-17 01:53:32 +04: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
5d6bad5faa fixed I18N handling of special param values and broken message tags 2013-10-16 20:59:54 +02:00
Carsten Brandt
e574f10c8c fixed broken test after whitespace changes in view 2013-10-16 20:28:07 +02: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
fa9a975dbb intl message parser now handles too many or too less args 2013-10-16 04:41:03 +02:00
Carsten Brandt
28d9ee7c31 adjusted cubrid version in schema quote 2013-10-15 05:47:55 +02:00
Carsten Brandt
c1b6521d31 simplified cubrid db install on travis 2013-10-15 05:12:50 +02:00
Carsten Brandt
a1e5fa356e fixed cubrid schema test for pdo type 2013-10-15 04:53:33 +02:00
Carsten Brandt
f974e1a59f fixed validator test break 2013-10-15 04:43:52 +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
32865c7ddc Updated FileValidator tests 2013-10-15 01:48:05 +04:00
Alexander Makarov
8c1c3c59d9 Better AR connection init in tests 2013-10-15 01:39:19 +04: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
Qiang Xue
8899aaeb5b moved getPdoType() to Schema. 2013-10-14 08:28:56 -04: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
0c113faf62 added unit test for asset bundles 2013-10-11 01:13:32 +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
Qiang Xue
fceb2d6e21 Fixes #957: Json::encode() doesn't handle empty object correctly. 2013-10-09 20:33:06 -04:00
Carsten Brandt
d442f05631 elasticsearch find by simple condition 2013-10-07 17:57:39 +02:00
Carsten Brandt
3f88320595 second try to fix random memcache failure on travis
issue #877
2013-10-02 12:27:04 +02:00
Qiang Xue
0035f23781 refactored data providers. 2013-10-01 21:35:35 -04:00
Carsten Brandt
955bf7daaf basic CRUD for elastic search WIP 2013-09-30 18:47:31 +02:00
Carsten Brandt
179618c6e9 fixed empty result in findByPk list 2013-09-30 15:39:04 +02:00
Carsten Brandt
a94886fafd elasticsearch AR WIP copied parts from redis implementation 2013-09-30 15:12:20 +02:00
Jin Hu
5d7c37bd7e Incorrect array representation when has previous 2013-09-29 23:27:14 +08:00
Alexander Makarov
b45b16d845 Renamed test to match class name 2013-09-29 05:05:57 +04:00
Alexander Makarov
dafbeda301 More i18n tests, docs, added check to skip fixes where possible 2013-09-28 22:30:16 +04:00
Alexander Makarov
bf722c0423 Used intl ICU for message translation 2013-09-28 16:30:29 +04:00
Jin Hu
d9b256d734 Fixed pagination not working before data loaded 2013-09-26 20:29:59 +08:00