Carsten Brandt
e305f0842c
skip unsupported things on 32bit system
2014-09-30 02:21:17 +02:00
Carsten Brandt
6267b9ee1a
Fixed issue with timezone conversion in formatter
...
related to #5128
2014-09-30 02:15:45 +02:00
Carsten Brandt
45e472ccb0
added unit tests for #5249
2014-09-29 23:54:38 +02:00
Qiang Xue
aa8c013ebf
Fixes #3197 : Using ActiveQuery::indexBy() may cause relational AR queries to generate incorrect relational results
2014-09-23 10:29:11 -04:00
Carsten Brandt
982a27db83
removed support for unlinkAll() from elasticsearch
...
feature is not reliable
fixes #5136
2014-09-23 12:56:05 +02:00
Carsten Brandt
3b0f561480
format timestamps with invalid date input
...
fixes #4989
2014-09-23 12:13:00 +02:00
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
2014-09-23 11:59:19 +02:00
Qiang Xue
1b509ccc37
Mark failed tests as skipped.
2014-09-22 20:47:02 -04:00
Qiang Xue
9c375d6538
Fixed test break.
2014-09-22 17:55:04 -04:00
Qiang Xue
d9f897ca56
Merge branch 'unlink-tests'
2014-09-22 16:37:34 -04:00
Qiang Xue
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
Carsten Brandt
1fe5b53f39
Merge pull request #4944 from yiisoft/redis-fixes
...
Fixed storing and loading nulls and booleans in Redis
2014-09-22 18:59:59 +02:00
Carsten Brandt
ece300ac30
removed null value adjustment in redis ActiveQuery
...
asArray will not include null valued keys
2014-09-22 18:54:00 +02:00
Carsten Brandt
df22616c76
finished fix for redis null and boolean value storage
...
fixes #1311
2014-09-22 18:45:37 +02:00
Qiang Xue
3905c419f0
Merge pull request #5084 from yiisoft/asset-improvements
...
Asset improvements
2014-09-18 09:17:37 -04:00
Qiang Xue
d49957fe35
Fixes #5079 : added test case.
2014-09-18 08:44:44 -04:00
Carsten Brandt
82b2f795b8
test case for #5084
2014-09-17 20:08:12 +02:00
Carsten Brandt
4f0d10c641
fixed test break
2014-09-17 19:34:00 +02:00
Klimov Paul
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
Carsten Brandt
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
Carsten Brandt
01600bf611
added test case for menu widget
...
fixes #5080
2014-09-17 17:48:16 +02:00
Klimov Paul
db26e65c62
Fixed yii\console\controllers\MessageController handles category name containing dot incorrectly
2014-09-17 15:48:12 +03:00
Klimov Paul
ec19536047
Fixed yii\mongodb\Collection::buildInCondition() handles non-sequent key arrays
2014-09-17 11:49:27 +03:00
Qiang Xue
0157964f5f
Fixed test breaks.
2014-09-16 22:49:29 -04:00
Carsten Brandt
9ee76322d9
Added failing test cases for #3725
2014-09-16 23:50:22 +02:00
Carsten Brandt
3ff548a442
Refactored DateValidator to support ICU format
2014-09-16 22:53:12 +02:00
Carsten Brandt
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
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
2014-09-16 19:48:52 +02:00
Qiang Xue
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
Carsten Brandt
e4446ccf51
removed old test
2014-09-11 16:28:32 +02:00
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
2014-09-10 21:53:29 +02:00
Qiang Xue
2150fa3239
Fixes #4970 : joinWith() called by a relation was ignored by yii\db\ActiveQuery
2014-09-10 15:00:15 -04:00
Stephen Seliuk
70ed5d5c01
Test for fix
2014-09-10 14:49:12 -04:00
Carsten Brandt
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
Carsten Brandt
c8f8f654ce
fixed paragraph formatting
2014-09-10 18:41:25 +02:00
Qiang Xue
00e4d63e57
Fixed test break.
2014-09-09 22:51:26 -04:00
Qiang Xue
f50f840a55
Fixes #4955 : Replaced callbacks with events for ActiveForm
2014-09-09 22:37:27 -04:00
Carsten Brandt
47648a4b9f
final cleanup
2014-09-09 00:00:45 +02:00
Carsten Brandt
3f75728083
refactored size format
2014-09-08 23:34:51 +02:00
Carsten Brandt
916d2c182d
ensure some BC
...
ensure some features that were recently added to formatter keep working after refactoring
2014-09-08 20:46:02 +02:00
Carsten Brandt
9418c9d236
unit tests and some locale depended fixes
2014-09-08 19:56:01 +02:00
Carsten Brandt
8d397e7f0e
finished currency formatter
2014-09-08 18:03:13 +02:00
Qiang Xue
c4141f94f6
Fixed test break.
2014-09-08 08:19:43 -04:00
Qiang Xue
0a95c49149
Fixed test case.
2014-09-08 08:01:53 -04:00
Carsten Brandt
383b9d32ab
skip fixture controller test on HHVM
2014-09-08 12:39:28 +02:00
Ragazzo
a5245ad048
added array fixture class
2014-09-07 18:29:16 -04:00
Carsten Brandt
98079b84a2
Merge branch 'master' into Erik-r-2359-formatter-refactored
...
* master: (1112 commits)
Removed unused "use" statements
Fixed array syntax
Removed unused "use" statements
Перевод runtime-handling-errors.md на русский язык
Mark tests with problematic DBMS as skipped.
Fixes #3511 : Dropped `yii.allowAction()` and modified `yii.confirm()` in `yii.js` to support callbacks
Update runtime-url-handling.md
Update runtime-url-handling.md
Update runtime-url-handling.md
Update runtime-url-handling.md
Update runtime-url-handling.md
Create runtime-url-handling.md
Fixed test break.
Fixes #3410 : yii.activeForm.js now supports adding/removing fields dynamically
Fixes #2914 : `ActiveForm::fieldConfig` will be merged recursively with the `$options` parameter in `ActiveForm::field()`
Fixes #4936 [skip ci]
Reverted/fixed some incorrect changes.
missing "." sign
Fixed formatting, initialized options array
Fixed phpdoc
...
Conflicts:
framework/CHANGELOG.md
framework/base/Formatter.php
framework/i18n/Formatter.php
tests/unit/framework/base/FormatterTest.php
tests/unit/framework/i18n/FormatterTest.php
2014-09-07 20:44:48 +02:00
Carsten Brandt
f8f0ff5445
moved formatter to i18n namespace
2014-09-07 20:40:34 +02:00
Carsten Brandt
065db64db3
finsihed formatter implementation
...
neads cleanup
2014-09-07 20:35:15 +02:00
Carsten Brandt
2a15ae12e6
refactored number formatting
2014-09-07 18:34:47 +02:00