Commit Graph

3198 Commits

Author SHA1 Message Date
Qiang Xue
52f4006c11 Fixed Url::current() implementation. 2015-01-11 10:43:06 -05:00
Alexander Makarov
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
Alexander Makarov
440eeea8cc Fixes #6106: Added ability to specify encode for each item of yii\widgets\Breadcrumbs 2015-01-11 15:13:34 +08:00
Carsten Brandt
aa9fe57fd7 removed date that is not well defined from tests 2015-01-10 23:02:17 +01:00
Carsten Brandt
ec1e8e94ee Updated travis 2015-01-10 22:50:47 +01:00
Carsten Brandt
802c384551 let travis show some information on versions 2015-01-10 22:40:21 +01:00
Carsten Brandt
9ff9cab67f ensure gii tests fail on error and not just print_r 2015-01-10 22:31:19 +01:00
Carsten Brandt
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
Carsten Brandt
0300683bfc improved db test, avoid error by accessing db directlry
always use getConnection()
2015-01-10 22:08:42 +01:00
Carsten Brandt
f177f1701a fixed failure on sqlite version check
ensure PDO instance has been created at this point
2015-01-10 22:06:43 +01:00
Carsten Brandt
08531312ef fixed HHVM test break
always use unique directory for each test
2015-01-10 20:47:17 +01:00
Carsten Brandt
03351ccba3 added explicit test for the Y2K38 problem
http://en.wikipedia.org/wiki/Year_2038_problem
2015-01-10 18:37:43 +01:00
Carsten Brandt
2a19b3caa0 fixed whitespace in tests 2015-01-10 18:37:43 +01:00
Carsten Brandt
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
Carsten Brandt
05cc9ae405 improved HTML to Text fallback in BaseMailer
fixes #6748
2015-01-10 15:07:12 +01:00
Klimov Paul
b3c6d70cda Unit test for yii\console\controllers\AssetController advanced 2015-01-06 17:54:20 +02:00
Klimov Paul
94f702fe6e yii\console\controllers\AssetController now handles bundle files from external resources properly 2015-01-06 17:03:39 +02:00
Carsten Brandt
b7c315f3d6 skip requirements checker test on HHVM 2015-01-06 01:35:08 +01:00
Qiang Xue
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
Carsten Brandt
792746883e urlManager: ensure route is trimmed by / on empty pattern
fixes #6717
2015-01-01 17:06:12 +01:00
Qiang Xue
cc3209cf26 Fixes #4502: Added alias support to URL route when calling Url::toRoute() and Url::to() 2014-12-29 19:26:44 -05:00
pana1990
7aae667e28 Fixes #6618: Added Model::addErrors() 2014-12-26 23:05:59 +03:00
Qiang Xue
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
Paul Klimov
0adcd06ca2 Fixed lazy load of relations to yii\mongodb\file\ActiveRecord 2014-12-23 20:58:58 +02:00
Carsten Brandt
3250586c0c added failing test for #6547 2014-12-17 09:57:07 +01:00
Carsten Brandt
983fadf400 Update mongodb-setup.sh
fixed hhvm build.
2014-12-12 16:27:30 +01:00
Qiang Xue
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
Paul Klimov
8632882312 Plain echo replaced by stdout() at yii\console\MessageController 2014-12-04 18:37:52 +02:00
Paul Klimov
19e79ad4b4 Plain echo replaced by stdout() at yii\console\AssetController 2014-12-04 18:27:45 +02:00
Paul Klimov
70ca76d4a3 Added yii\web\AssetConverter::$forceConvert 2014-12-04 17:47:21 +02:00
Qiang Xue
97e4813929 Fixes #5070: Gii controller generator should use controller class name instead of controller ID to specify new controller 2014-12-03 09:52:56 -05:00
Carsten Brandt
0633cb0957 Update mongodb-setup.sh
show PHP extension version
2014-12-02 13:12:04 +01:00
Carsten Brandt
6e7dc26b38 added support for DateTimeImmutable to Formatter
fixes #5503
2014-12-02 04:23:26 +01:00
Klimov Paul
6fbd710d6c Extra unit test for yii\mongodb\Query::modify() added 2014-12-01 15:49:47 +02:00
Carsten Brandt
ae1bd39377 adjusted missing return for fix #6263 2014-11-28 06:30:11 +01:00
Carsten Brandt
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
Carsten Brandt
41fca90cce split formatter test 2014-11-27 18:25:48 +01:00
Alexander Makarov
338b334254 Improved console controller tests 2014-11-27 03:39:00 +03:00
Alexander Makarov
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
Alexander Makarov
c2ef433ef9 Fixes #4146: Added yii\bootstrap\ButtonDropdown::$containerOptions 2014-11-26 23:41:36 +03:00
Alexander Makarov
e6450be665 Fixes #6150: yii\bootstrap\Tabs dropdown IDs were generated incorrectly 2014-11-26 22:22:53 +03:00
Carsten Brandt
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
Carsten Brandt
6a8f4b0e50 fixed date formatter to display date-only values correctly
fixes #5448
2014-11-26 01:54:58 +01:00
Alex-Code
b2797b0370 truncate $asHtml tests 2014-11-25 07:19:43 -05:00
Carsten Brandt
cc8ffe364e added support for yii\db\Expression to querybuilder BETWEEN and LIKE
fixes #6164
2014-11-23 01:41:15 +01:00
Alexander Makarov
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
Carsten Brandt
8039026ae2 added Formatter::defaultTimeZone to allow non UTC-values in DB
fixes #5683
2014-11-20 13:18:34 +01:00
Klimov Paul
df023545c9 Fixed yii\mongodb\ActiveRecord saves null as _id, if attributes are empty 2014-11-17 17:53:48 +02:00
Qiang Xue
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
Qiang Xue
ab1f32ef76 Fixes #4492: Support PostgreSQL-specific syntax for QueryBuilder::alterColumn() 2014-11-16 10:47:46 -05:00