Commit Graph

1617 Commits

Author SHA1 Message Date
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
Alexander Makarov
f7fc1faa97 Fixed condition building for booleans 2014-09-07 20:26:55 +04:00
Carsten Brandt
a4e86c02de date formatter iteration 2014-09-07 15:54:57 +02:00
Carsten Brandt
7f1f759472 small doc adjustments 2014-09-07 14:54:47 +02:00
Qiang Xue
a5b06b3468 Mark tests with problematic DBMS as skipped. 2014-09-06 20:22:28 -04:00
Qiang Xue
1cd42222fd Fixed test break. 2014-09-05 23:34:23 -04:00
Qiang Xue
f21c2c2964 Fixed test breaks. 2014-09-05 16:39:18 -04:00
Qiang Xue
61284ed405 Fixes #3910: Removed the container option from Html::checkbox() and Html::radio() 2014-09-04 14:36:30 -04:00
Alexander Makarov
00ca1cb4b3 Fixes #4914 2014-09-04 03:27:13 +04:00
Qiang Xue
f34b138aab Fixes #4225: Added ActiveForm::validateOnBlur and ActiveField::validateOnBlur 2014-09-03 16:14:54 -04:00
Mark
b8ce6ff6a0 removed unneeded comment 2014-09-01 18:03:33 +04:00
Mark
2410766f9f tests added for faker fixture controller 2014-09-01 17:33:15 +04:00
Mark
ff80968387 cache controller adjustments and improvements
related to #4792, close #4874
2014-09-01 13:07:56 +02:00
Carsten Brandt
92b958cd33 fixed return value of yii\web\Request::getPrefferedLanguage
ensure it is one of the input values

fixes #4880
2014-09-01 12:46:38 +02:00
Qiang Xue
fa0418f8a1 Fixes #4424: Added inline and mimeType options to all file downloading methods provided in yii\web\Response 2014-08-30 22:13:42 -04:00
Carsten Brandt
2007777170 Update sphinx-setup.sh 2014-08-30 00:22:21 +02:00
Carsten Brandt
c4dffa0f1f simplified travis installation 2014-08-28 15:08:37 +02:00
Carsten Brandt
63543c0a81 enable mongo text search 2014-08-28 15:01:55 +02:00
Carsten Brandt
68323f6428 fixed cubrid PDO 2014-08-28 14:49:32 +02:00
Carsten Brandt
e648aef799 sphinx setup without sudo 2014-08-28 14:43:49 +02:00
Carsten Brandt
9174358f7e fixed sphinx setup 2014-08-28 14:17:15 +02:00
Carsten Brandt
83f5f49469 try mongodb without sudo 2014-08-28 14:01:29 +02:00
Carsten Brandt
326d26af06 install cubrid DB not using sudo and use travis cache 2014-08-28 13:49:36 +02:00
Carsten Brandt
c27c9de5b8 check if sphinx is installed 2014-08-28 12:14:05 +02:00
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
2014-08-28 11:20:17 +02:00
Klimov Paul
5b0d6f885c yii\sphinx\ActiveQuery fixed to be resuable with 'match' condition. 2014-08-27 14:51:30 +03:00
Klimov Paul
10edf5c929 yii\sphinx\ActiveQuery fixed to be resuable. 2014-08-27 14:01:29 +03:00
Klimov Paul
981fbaddba Sphinx test skipping code fixed 2014-08-27 13:41:31 +03:00
Klimov Paul
7a418ae9e2 yii\mongodb\Collection::buildLikeCondition() fixed to be case insensitive. 2014-08-26 14:03:02 +03:00
Qiang Xue
3786440288 Fixes #4762: Reverted automatic ID fix. 2014-08-25 17:05:14 -04:00
Alexander Makarov
b82d32c1ef Used a single database and a single CLI entry point for all test types. Added faker to basic app dev requirements. 2014-08-25 02:01:05 +04:00
Mark
033d66deac changed format of applying command to all 2014-08-20 20:48:58 -04:00