Commit Graph

3198 Commits

Author SHA1 Message Date
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
Carsten Brandt
f6d621d34e skip mongodb on HHVM 2014-10-11 18:05:25 +02:00
Carsten Brandt
6d97ef1374 fixed cubrid build script 2014-10-11 17:47:08 +02:00
Carsten Brandt
50c0449d1a ensure tests are failing when build scripts fail 2014-10-11 17:30:41 +02:00
Carsten Brandt
23918f3ec3 upgrade cubrid PDO version in tests
also enhance test README
2014-10-11 17:23:57 +02:00
Klimov Paul
f5c5c2fd8b Fixed yii\console\controllers\AssetController breaks CSS URLs in case target file localed at yii\web\AssetManager::basePath root 2014-10-10 16:17:31 +03:00
Klimov Paul
13bc95ae52 Fixed yii\console\controllers\AssetController breaks CSS URLs on Windows 2014-10-10 13:55:29 +03:00
Alexander Makarov
327dde72f4 Fixes #5467: Added ability to pass HTML tag options to asEmail(), asImage() and asUrl() methods of yii\i18n\Formatter 2014-10-10 12:00:44 +04:00
Alexey Kolmakov
ce4bf84452 #5467 Allow pass options to Html:a in Formatter:asUrl 2014-10-10 11:47:12 +04:00
Klimov Paul
15c8935db1 Fixed yii\mongodb\ActiveRecord unable to fetch 'hasMany' referred by array of \MongoId 2014-10-09 14:55:43 +03:00
Klimov Paul
4c843671ea Additional check added to yiiunit\extensions\authclient\BaseClientTest::testNormalizeUserAttributes() 2014-10-08 17:16:50 +03:00
Klimov Paul
165e9ede6d Added ability to operate nested and complex attributes via yii\authclient\BaseClient::normalizeUserAttributeMap 2014-10-08 17:14:52 +03:00
Klimov Paul
3abefac692 Fixed yii\mongodb\Collection unable to fetch default database name from DSN with parameters 2014-10-07 17:43:05 +03:00
Klimov Paul
eb1b557827 yii\sphinx\Query updated to be more consistent with yii\db\Query 2014-10-07 13:32:26 +03:00
Carsten Brandt
280f499ae1 skip test on travis 2014-10-06 22:05:39 +02:00
Carsten Brandt
52c315e6a3 added test for web\User authTimeout 2014-10-06 16:01:46 +02:00
Alexander Makarov
7592dcc7f1 Added test for #5361 2014-10-05 20:49:29 +04:00
Alexander Makarov
6d8aa2d4d4 Fixed tests 2014-10-05 20:46:08 +04:00
Alexander Makarov
d06f849a85 Another test attempt for #5356 2014-10-05 20:42:22 +04:00
Alexander Makarov
1bea489f98 Added test for #5356 2014-10-05 14:11:09 +04:00
armab
ef127f6855 Fixes #5316: Added startsWith() and endsWith() to yii\helpers\StringHelper. Methods are binary-safe, multibyte-safe and optionally case-insensitive 2014-10-05 13:58:56 +04:00
Carsten Brandt
1b4d894c9d created test for #5341 2014-10-03 23:16:58 +02:00
Carsten Brandt
dfc4de877f ensure integer is formatted without fraction digits
fixes #5179
2014-10-03 19:39:04 +02:00
Qiang Xue
b9fdf60acb Merge branch 'master' of git://github.com/yiisoft/yii2 2014-10-03 09:30:41 -04:00
Qiang Xue
d6b797e236 Fixes #5252: Null values are not properly handled by RangeValidator 2014-10-03 09:30:26 -04:00
Carsten Brandt
0df9a82a7f updated documentation and tests
fixes #5331
2014-10-03 15:25:55 +02:00
Serge Bezborodov
76ade0f6b0 Changed order of attributes setting in Formatter
close #5261
2014-10-01 00:58:15 +02:00
Carsten Brandt
2fbce2fa25 improved formatter test coverage 2014-09-30 22:57:03 +02:00