35e7f27d43
Fixes test break.
2014-10-23 09:49:31 -04:00
1feb09b6ff
refactored querybuilder test to reuse quote replacement
...
fixes #5652
2014-10-19 23:34:59 +02:00
5829020eff
Fixes #5223 : Query builder now supports selecting sub-queries as columns
2014-10-19 10:58:49 -04:00
292a9ff55b
Add support for yii\db\Expression to QueryBuiler simple conditions
...
fixes #5601
2014-10-17 13:32:54 +02:00
c7a7a312e6
Fixed schema cache test
2014-10-15 12:22:44 +04:00
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
13bc95ae52
Fixed yii\console\controllers\AssetController
breaks CSS URLs on Windows
2014-10-10 13:55:29 +03:00
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
ce4bf84452
#5467 Allow pass options to Html:a in Formatter:asUrl
2014-10-10 11:47:12 +04:00
280f499ae1
skip test on travis
2014-10-06 22:05:39 +02:00
52c315e6a3
added test for web\User authTimeout
2014-10-06 16:01:46 +02:00
7592dcc7f1
Added test for #5361
2014-10-05 20:49:29 +04:00
6d8aa2d4d4
Fixed tests
2014-10-05 20:46:08 +04:00
d06f849a85
Another test attempt for #5356
2014-10-05 20:42:22 +04:00
1bea489f98
Added test for #5356
2014-10-05 14:11:09 +04:00
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
1b4d894c9d
created test for #5341
2014-10-03 23:16:58 +02:00
dfc4de877f
ensure integer is formatted without fraction digits
...
fixes #5179
2014-10-03 19:39:04 +02:00
b9fdf60acb
Merge branch 'master' of git://github.com/yiisoft/yii2
2014-10-03 09:30:41 -04:00
d6b797e236
Fixes #5252 : Null values are not properly handled by RangeValidator
2014-10-03 09:30:26 -04:00
0df9a82a7f
updated documentation and tests
...
fixes #5331
2014-10-03 15:25:55 +02:00
76ade0f6b0
Changed order of attributes setting in Formatter
...
close #5261
2014-10-01 00:58:15 +02:00
2fbce2fa25
improved formatter test coverage
2014-09-30 22:57:03 +02:00
e305f0842c
skip unsupported things on 32bit system
2014-09-30 02:21:17 +02:00
6267b9ee1a
Fixed issue with timezone conversion in formatter
...
related to #5128
2014-09-30 02:15:45 +02:00
45e472ccb0
added unit tests for #5249
2014-09-29 23:54:38 +02:00
aa8c013ebf
Fixes #3197 : Using ActiveQuery::indexBy()
may cause relational AR queries to generate incorrect relational results
2014-09-23 10:29:11 -04:00
3b0f561480
format timestamps with invalid date input
...
fixes #4989
2014-09-23 12:13:00 +02:00
18b57af5ac
Better date parsing and formatting including 32 bit support
...
Enhances `normalizeDateTimeValue` to return a DateTime object instead of a converted double value, that fails. The DateTime object input is supported by 32 bit, 64 bit, as well as the `IntlDateFormatter` to format all years. (including fixing of the Y2K38 bug). Fixes issue in #4989 .
close #5000
2014-09-23 11:59:19 +02:00
d9f897ca56
Merge branch 'unlink-tests'
2014-09-22 16:37:34 -04:00
aeaf0511d2
Fixes #3725 : Fixed the bug that the filtering condition used in relation definition was ignored when calling ActiveRecord::unlinkAll()
2014-09-22 16:36:55 -04:00
d49957fe35
Fixes #5079 : added test case.
2014-09-18 08:44:44 -04:00
82b2f795b8
test case for #5084
2014-09-17 20:08:12 +02:00
684365e8c9
Fixed yii\console\controllers\CacheController
does not check if cache component instance of 'yii\caching\Cache'
...
close #5055
2014-09-17 18:49:32 +02:00
ef2f6a0887
Merge pull request #5027 from yiisoft/date-format-convert
...
[WIP] extracted date format converting to a helper class
2014-09-17 18:42:35 +02:00
01600bf611
added test case for menu widget
...
fixes #5080
2014-09-17 17:48:16 +02:00
db26e65c62
Fixed yii\console\controllers\MessageController
handles category name containing dot incorrectly
2014-09-17 15:48:12 +03:00
0157964f5f
Fixed test breaks.
2014-09-16 22:49:29 -04:00
9ee76322d9
Added failing test cases for #3725
2014-09-16 23:50:22 +02:00
3ff548a442
Refactored DateValidator to support ICU format
2014-09-16 22:53:12 +02:00
9edf938bf1
Added tests for empty values
...
use "just now" for empty time difference in Formatter.
fixed wrong language name definition
2014-09-16 19:48:52 +02:00
be655d4f39
extracted date format converting to a helper class
...
adding and reworking the conversion of:
- ICU to PHP
- PHP to ICU
- ICU to JUI
- PHP to JUI
2014-09-16 19:48:52 +02:00
b9c97ff2aa
Fixes #4938 : When yii\db\ActiveQuery
is used to build sub-queries, its WHERE clause is not correctly generated
2014-09-12 16:46:12 -04:00
b5af2f6ab3
fixed size format plural rule to not format number itself
...
This fix ensures the format configured in the formatter class is used in the message instead
of the default ICU format.
fixes #4960
2014-09-10 21:53:29 +02:00
2150fa3239
Fixes #4970 : joinWith()
called by a relation was ignored by yii\db\ActiveQuery
2014-09-10 15:00:15 -04:00
70ed5d5c01
Test for fix
2014-09-10 14:49:12 -04:00
2b38d6ab33
Merge branch 'master' into Erik-r-2359-formatter-refactored
...
* master: (22 commits)
Fixes #4971 : Fixed hardcoded table names in `viaTable` expression in model generator
Fixed test break.
Fixes #4955 : Replaced callbacks with events for `ActiveForm`
Fix brackets
Rename `\yii\web\User` component param for consistency
Html::button() type is `button` by default
Fix bug in Estonian translation
Typo fixed inside \yii\rest\CreateAction
Fixed test break.
Fixed test case.
note about validation rules order
Return a fixtures cleanup in case of a failing test
Update finnish translation
skip fixture controller test on HHVM
Make unit tests cleanup a DB after finish
Fixes #4945 : Added `yii\test\ArrayFixture`
added array fixture class
minor doc adjustment [skip ci]
Fixes #4948 . Thanks, @johan162
Fixes #4947
...
Conflicts:
framework/UPGRADE.md
2014-09-10 19:26:04 +02:00
c8f8f654ce
fixed paragraph formatting
2014-09-10 18:41:25 +02:00
00e4d63e57
Fixed test break.
2014-09-09 22:51:26 -04:00
f50f840a55
Fixes #4955 : Replaced callbacks with events for ActiveForm
2014-09-09 22:37:27 -04:00