Carsten Brandt
45e472ccb0
added unit tests for #5249
10 years ago
Qiang Xue
aa8c013ebf
Fixes #3197 : Using `ActiveQuery::indexBy()` may cause relational AR queries to generate incorrect relational results
10 years ago
Carsten Brandt
3b0f561480
format timestamps with invalid date input
...
fixes #4989
10 years ago
Kartik Visweswaran
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
10 years ago
Qiang Xue
aeaf0511d2
Fixes #3725 : Fixed the bug that the filtering condition used in relation definition was ignored when calling `ActiveRecord::unlinkAll()`
10 years ago
Qiang Xue
d49957fe35
Fixes #5079 : added test case.
10 years ago
Carsten Brandt
82b2f795b8
test case for #5084
10 years ago
Klimov Paul
684365e8c9
Fixed `yii\console\controllers\CacheController` does not check if cache component instance of 'yii\caching\Cache'
...
close #5055
10 years ago
Carsten Brandt
01600bf611
added test case for menu widget
...
fixes #5080
10 years ago
Klimov Paul
db26e65c62
Fixed `yii\console\controllers\MessageController` handles category name containing dot incorrectly
10 years ago
Qiang Xue
0157964f5f
Fixed test breaks.
10 years ago
Carsten Brandt
9ee76322d9
Added failing test cases for #3725
10 years ago
Carsten Brandt
3ff548a442
Refactored DateValidator to support ICU format
10 years ago
Carsten Brandt
9edf938bf1
Added tests for empty values
...
use "just now" for empty time difference in Formatter.
fixed wrong language name definition
10 years ago
Carsten Brandt
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
10 years ago
Qiang Xue
b9c97ff2aa
Fixes #4938 : When `yii\db\ActiveQuery` is used to build sub-queries, its WHERE clause is not correctly generated
10 years ago
Carsten Brandt
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
10 years ago
Qiang Xue
2150fa3239
Fixes #4970 : `joinWith()` called by a relation was ignored by `yii\db\ActiveQuery`
10 years ago
Stephen Seliuk
70ed5d5c01
Test for fix
10 years ago
Carsten Brandt
c8f8f654ce
fixed paragraph formatting
10 years ago
Qiang Xue
00e4d63e57
Fixed test break.
10 years ago
Qiang Xue
f50f840a55
Fixes #4955 : Replaced callbacks with events for `ActiveForm`
10 years ago
Carsten Brandt
47648a4b9f
final cleanup
10 years ago
Carsten Brandt
3f75728083
refactored size format
10 years ago
Carsten Brandt
916d2c182d
ensure some BC
...
ensure some features that were recently added to formatter keep working after refactoring
10 years ago
Carsten Brandt
9418c9d236
unit tests and some locale depended fixes
10 years ago
Carsten Brandt
8d397e7f0e
finished currency formatter
10 years ago
Qiang Xue
c4141f94f6
Fixed test break.
10 years ago
Qiang Xue
0a95c49149
Fixed test case.
10 years ago
Ragazzo
a5245ad048
added array fixture class
10 years ago
Carsten Brandt
f8f0ff5445
moved formatter to i18n namespace
10 years ago
Carsten Brandt
065db64db3
finsihed formatter implementation
...
neads cleanup
10 years ago
Carsten Brandt
2a15ae12e6
refactored number formatting
10 years ago
Carsten Brandt
a4e86c02de
date formatter iteration
10 years ago
Carsten Brandt
7f1f759472
small doc adjustments
10 years ago
Qiang Xue
a5b06b3468
Mark tests with problematic DBMS as skipped.
10 years ago
Qiang Xue
1cd42222fd
Fixed test break.
10 years ago
Qiang Xue
61284ed405
Fixes #3910 : Removed the `container` option from `Html::checkbox()` and `Html::radio()`
10 years ago
Alexander Makarov
00ca1cb4b3
Fixes #4914
10 years ago
Qiang Xue
f34b138aab
Fixes #4225 : Added `ActiveForm::validateOnBlur` and `ActiveField::validateOnBlur`
10 years ago
Mark
2410766f9f
tests added for faker fixture controller
10 years ago
Mark
ff80968387
cache controller adjustments and improvements
...
related to #4792 , close #4874
10 years ago
Carsten Brandt
92b958cd33
fixed return value of yii\web\Request::getPrefferedLanguage
...
ensure it is one of the input values
fixes #4880
10 years ago
Qiang Xue
fa0418f8a1
Fixes #4424 : Added `inline` and `mimeType` options to all file downloading methods provided in `yii\web\Response`
10 years ago
Carsten Brandt
78b5c7db66
fixed boolean handling for PostgreSQL
...
- do not allow boolean values for integer columns
- use native boolean type with boolean values
- removed workaround that turned out to be wrong when schema and values
are used correctly. Workaround resulted from wrong usage of boolean
values before.
fixes #4672
10 years ago
Qiang Xue
3786440288
Fixes #4762 : Reverted automatic ID fix.
10 years ago
Mark
033d66deac
changed format of applying command to all
10 years ago
Mark
c7887b666c
Added missed case in tests about append option
10 years ago
Mark
461576dc85
added other syntax for and tests for fixture controller
10 years ago
Klimov Paul
0bf16497af
Convert 'caseless' option into 'caseSensitive' option at `yii\helpers\BaseFileHelper::findFiles()`
10 years ago