Commit Graph

2875 Commits

Author SHA1 Message Date
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
Carsten Brandt
38d0570843 fixed unlink() for array valued attributes
return value would not be a valid array when json encoded after unlink().

fixes #6065
2014-11-15 21:42:36 +01:00
Carsten Brandt
cfe874607f fixed return type for redis simple strings
fixes #4745
2014-11-13 16:44:06 +01:00
Carsten Brandt
f9bb1e21cb fixed elasticsearch test break 2014-11-13 15:57:49 +01:00
Klimov Paul
63e434b473 Safe real path resolving added to yii\console\controllers\AssetController::combineCssFiles() 2014-11-11 16:33:16 +02:00
Klimov Paul
112ad80d6e Fixed yii\console\controllers\AssetController breaks CSS URLs, which start from '/' 2014-11-11 14:49:20 +02:00
Qiang Xue
cf0c8c37dd Fixes #5983: Added Inflector::sentence() 2014-11-10 15:07:36 -05:00
pana1990
d86da1d38e add tests for sentence method 2014-11-10 13:51:38 -05:00
Carsten Brandt
b8c12307f1 added test for #5962 2014-11-09 23:15:20 +01:00
Paul Klimov
12f9180b40 Method 'oneWithModify' renamed to 'modify' at yii\mongodb\Query 2014-11-08 14:09:13 +02:00
Klimov Paul
da000165cf Method 'oneWithUpdate' renamed to 'oneWithModify' at yii\mongodb\Query 2014-11-07 12:44:34 +02:00
Klimov Paul
5dffd72c58 Added support for 'findAndModify' operation at yii\mongodb\Query and yii\mongodb\ActiveQuery 2014-11-06 14:40:33 +02:00
Klimov Paul
001d5b1603 Fixed yii\sphinx\QueryBuilder does not support comparison operators (>,<,>= etc) in where specification 2014-11-05 18:24:20 +02:00
Alexander Makarov
b0c88d337e Fixed typo in test class 2014-11-04 13:50:06 +03:00
Qiang Xue
2a6c0b7799 Fixed test break. 2014-10-26 20:55:46 -04:00
Alexander Mohorev
899b778994 Correct type declarations 2014-10-25 16:35:50 +03:00
Alexander Mohorev
bb8550886e PHP type casting 2014-10-25 15:30:03 +03:00
Alexander Makarov
50fd1f586c Bug: yii\web\UrlRule was unable to create URLs for rules containing unicode characters 2014-10-24 05:06:37 +04:00
Qiang Xue
35e7f27d43 Fixes test break. 2014-10-23 09:49:31 -04:00
Ilya Antipenko
0f5f8e27ae Fix faker test. Add ё to regexp 2014-10-20 18:33:24 +03:00
Carsten Brandt
1feb09b6ff refactored querybuilder test to reuse quote replacement
fixes #5652
2014-10-19 23:34:59 +02:00
Qiang Xue
5829020eff Fixes #5223: Query builder now supports selecting sub-queries as columns 2014-10-19 10:58:49 -04:00
Carsten Brandt
292a9ff55b Add support for yii\db\Expression to QueryBuiler simple conditions
fixes #5601
2014-10-17 13:32:54 +02:00
Alexander Makarov
c7a7a312e6 Fixed schema cache test 2014-10-15 12:22:44 +04:00