1074 Commits

Author SHA1 Message Date
1e5f159f78 override only mssql and sqlite QueryBuilder; throw an exception for composite in condition with a subquery 2015-01-31 22:20:41 -05:00
f58d096920 fixes #6792, use a simpler composite in condition implementation on dbs other than pgsql 2015-01-31 22:20:41 -05:00
51ace2861c Added test for using source language for missing translation formatting 2015-01-31 01:32:20 +03:00
7e868555c5 Closes #7093 2015-01-31 00:58:56 +03:00
754660ef7b added urlmanager test for default action 2015-01-30 21:58:39 +01:00
e5e48cd484 added test for Json::encode() and JsonSerializable
close #7084
2015-01-29 19:52:53 +01:00
5bda2fe073 yii\console\controllers\AssetController now correctly handles relative image URLs if source and target CSS are under same directory 2015-01-29 15:44:05 +02:00
5ab1d1a0d1 Fixes #6992. 2015-01-24 08:57:53 -05:00
fe19243da1 Fixes #6969: yii\helpers\ArrayHelper::htmlEncode() and htmlDecode() should not remove non-string data 2015-01-22 21:09:46 -05:00
52f4006c11 Fixed Url::current() implementation. 2015-01-11 10:43:06 -05:00
9c7e4e514d Fixes #6697: Added yii\helpers\Url::current() method that allows adding or removing parameters from current URL 2015-01-11 15:38:13 +08:00
440eeea8cc Fixes #6106: Added ability to specify encode for each item of yii\widgets\Breadcrumbs 2015-01-11 15:13:34 +08:00
aa9fe57fd7 removed date that is not well defined from tests 2015-01-10 23:02:17 +01:00
6f889e12ac Merge PR #6763 branch 'creocoder-incorrect-checking-sqlite-version'
* creocoder-incorrect-checking-sqlite-version:
  improved db test, avoid error by accessing db directlry
  fixed failure on sqlite version check
  Correct SQLite version checking
2015-01-10 22:10:10 +01:00
0300683bfc improved db test, avoid error by accessing db directlry
always use getConnection()
2015-01-10 22:08:42 +01:00
f177f1701a fixed failure on sqlite version check
ensure PDO instance has been created at this point
2015-01-10 22:06:43 +01:00
08531312ef fixed HHVM test break
always use unique directory for each test
2015-01-10 20:47:17 +01:00
03351ccba3 added explicit test for the Y2K38 problem
http://en.wikipedia.org/wiki/Year_2038_problem
2015-01-10 18:37:43 +01:00
2a19b3caa0 fixed whitespace in tests 2015-01-10 18:37:43 +01:00
9415c7921d date formatter fall back to PHP impl. to solve Y2K38 issue
formatting date and time values for years >=2038 or <=1901 is now possible also with intl extension is
installed. 32bit systems will fall back to the PHP implementation because intl uses a 32bit UNIX timestamp internally.
On a 64bit system the intl formatter is used in all cases if installed.

fixes #5577
2015-01-10 18:27:35 +01:00
05cc9ae405 improved HTML to Text fallback in BaseMailer
fixes #6748
2015-01-10 15:07:12 +01:00
b3c6d70cda Unit test for yii\console\controllers\AssetController advanced 2015-01-06 17:54:20 +02:00
94f702fe6e yii\console\controllers\AssetController now handles bundle files from external resources properly 2015-01-06 17:03:39 +02:00
b7c315f3d6 skip requirements checker test on HHVM 2015-01-06 01:35:08 +01:00
d341bf02b4 Fixes #6398: Added support for specifying dependent component in terms of a configuration array for classes such as DbCache 2015-01-04 19:28:05 -05:00
792746883e urlManager: ensure route is trimmed by / on empty pattern
fixes #6717
2015-01-01 17:06:12 +01:00
cc3209cf26 Fixes #4502: Added alias support to URL route when calling Url::toRoute() and Url::to() 2014-12-29 19:26:44 -05:00
7aae667e28 Fixes #6618: Added Model::addErrors() 2014-12-26 23:05:59 +03:00
166cb99be0 Fixes #6632: yii\di\Container::get() did not handle config parameter correctly when it is passed as a constructor parameter 2014-12-24 10:19:34 -05:00
ca5b874561 Fixes #5494: Added support for specifying a menu header as a configuration array in yii\bootstrap\Dropdown 2014-12-06 09:36:42 -05:00
8632882312 Plain echo replaced by stdout() at yii\console\MessageController 2014-12-04 18:37:52 +02:00
19e79ad4b4 Plain echo replaced by stdout() at yii\console\AssetController 2014-12-04 18:27:45 +02:00
70ca76d4a3 Added yii\web\AssetConverter::$forceConvert 2014-12-04 17:47:21 +02:00
6e7dc26b38 added support for DateTimeImmutable to Formatter
fixes #5503
2014-12-02 04:23:26 +01:00
ae1bd39377 adjusted missing return for fix #6263 2014-11-28 06:30:11 +01:00
7325fdd7ed better fix for #5448 not using customized DateTime class
fixes #6263 and has no problem with PHP Bug:

> it is a PHP bug: https://bugs.php.net/bug.php?id=45543
> Fixed in this commit: php/php-src@22dba2f#diff-7b738accc3d60f74c259da18588ddc5dL2996
>
> Fixed in PHP >5.4.26 and >5.5.10. http://3v4l.org/mlZX7
2014-11-27 21:55:33 +01:00
41fca90cce split formatter test 2014-11-27 18:25:48 +01:00
338b334254 Improved console controller tests 2014-11-27 03:39:00 +03:00
eaf8ece568 Fixes #5627: Added yii cache/flush-schema console command to flush DB schema cache of a given database connection 2014-11-27 03:06:24 +03:00
8ca18e4c43 Merge pull request #6178 from yiisoft/date-timezone-issue
[WIP] first draft of a fix for #5448
2014-11-26 03:05:39 +01:00
6a8f4b0e50 fixed date formatter to display date-only values correctly
fixes #5448
2014-11-26 01:54:58 +01:00
b2797b0370 truncate $asHtml tests 2014-11-25 07:19:43 -05:00
cc8ffe364e added support for yii\db\Expression to querybuilder BETWEEN and LIKE
fixes #6164
2014-11-23 01:41:15 +01:00
e88a5d9cc4 Fixes #4823 and #6005: yii message accuracy and error handling were improved by using PHP tokenizer instead of regular expressions. Removed eval() as well. 2014-11-22 02:33:02 +03:00
8039026ae2 added Formatter::defaultTimeZone to allow non UTC-values in DB
fixes #5683
2014-11-20 13:18:34 +01:00
2782adcca4 Fixes #4643: Extra options specified in yii\widgets\Breadcrumbs::links will be treated as HTML attributes for the generated hyperlinks 2014-11-16 12:49:47 -05:00
ab1f32ef76 Fixes #4492: Support PostgreSQL-specific syntax for QueryBuilder::alterColumn() 2014-11-16 10:47:46 -05:00
63e434b473 Safe real path resolving added to yii\console\controllers\AssetController::combineCssFiles() 2014-11-11 16:33:16 +02:00
112ad80d6e Fixed yii\console\controllers\AssetController breaks CSS URLs, which start from '/' 2014-11-11 14:49:20 +02:00
cf0c8c37dd Fixes #5983: Added Inflector::sentence() 2014-11-10 15:07:36 -05:00