Commit Graph

839 Commits

Author SHA1 Message Date
Carsten Brandt
cd5bdd90d2 fixed postgres tests 2014-06-25 22:54:39 +02:00
Carsten Brandt
48f6e380df Merge PR #4038 branch 'consistent-after-save'
* consistent-after-save:
  use an AfterSaveEvent class to be consistent
  fixed test break and wrong parameter
  changed updateAttributes to be more simple update
  Ensure consistent behavior in ActiveRecord::afterSave()

Conflicts:
	framework/UPGRADE.md
2014-06-25 20:23:16 +02:00
Carsten Brandt
f46cffb4e4 Implement console color ansi2html
issue #746
2014-06-25 16:39:45 +02:00
Carsten Brandt
1391253a58 fixed postgres default value parsing 2014-06-25 04:09:03 +02:00
Carsten Brandt
651e6a3feb added support for BIT default values
fixes #422
2014-06-25 03:37:39 +02:00
Carsten Brandt
4f95fcd91f added unit tests for schema detection
fixed some issues with schema detection
2014-06-25 03:09:28 +02:00
Carsten Brandt
b0fb04efd4 fixed test break and wrong parameter 2014-06-25 00:48:29 +02:00
Carsten Brandt
0899b8d474 changed updateAttributes to be more simple update
fixes #3233
2014-06-25 00:29:49 +02:00
Carsten Brandt
cb87d7be84 fixed typo and test break 2014-06-24 08:40:36 +02:00
Carsten Brandt
6e0ee4ed2a Merge pull request #4026 from yiisoft/transaction-isolation
Added support for transaction isolation levels
2014-06-24 03:57:27 +02:00
Carsten Brandt
7a87a13f37 unit test for postgres transaction 2014-06-24 03:14:51 +02:00
Carsten Brandt
cc8a8360cb added unit test and notes about dbms specific settings 2014-06-24 03:11:34 +02:00
Alexander Makarov
dde695cda4 Added GridView message check to FallbackMessageFormatterTest 2014-06-24 02:37:49 +04:00
Alexander Makarov
02e3746013 Fixed Inflector::slug to work properly with numbers 2014-06-22 02:03:55 +04:00
njasm
6974e84f18 added more unit tests to widgets\Breadcrumbs and 100% coverage. 2014-06-21 16:20:02 +01:00
Alexander Makarov
0c14f47f9a Fixes #3793: Changed inline autocomplete hints style to get more IDEs support 2014-06-20 17:40:00 +04:00
njasm
517cf3df43 added widget Breadcrumbs unit tests. 2014-06-20 13:37:50 +04:00
Alexander Makarov
c3de3450a7 Fixes #3939: \yii\Inflector::slug() improvements:
- Added protected `\yii\Inflector::transliterate()` that could be replaced with custom translit implementation.
- Added proper tests for both intl-based slug and PHP fallback.
- Removed character maps for non-latin languages.
- Improved overall slug results.
- Added note about the fact that intl is required for non-latin languages to requirements checker.
2014-06-19 20:33:52 +04:00
Alexander Makarov
a8423bbaed Removed commented code 2014-06-18 12:51:52 +04:00
Qiang Xue
24257e76c8 Fixes #3909: Html::to() should not prefix base URL to URLs that already contain scheme 2014-06-17 15:41:01 -04:00
Carsten Brandt
639e52c199 skip tests on HHVM 2014-06-16 11:06:01 +02:00
Carsten Brandt
36fe23dac3 use different file names in different tests to run on HHVM 2014-06-16 10:47:49 +02:00
Carsten Brandt
106a078ab7 use different file names in tests to ensure they can run on HHVM 2014-06-16 10:29:17 +02:00
Mark
a89d574a20 updated FileValidator , CHANGELOG.md , UPGRADE.md guides , tests fixed 2014-06-14 22:11:58 +04:00
Mark
1a3c04e0d2 fixed tests 2014-06-14 13:14:36 +04:00
Klimov Paul
88c25245a2 Test path composition in 'AssetControllerTest' adjusted 2014-06-13 11:51:32 +03:00
Carsten Brandt
1a7b4c5383 added testcase of @UncleCoder
e43c503c2d

issue #3817
2014-06-12 10:52:36 +02:00
Mark
0206e9174c file validator tests added 2014-06-10 14:14:59 +04:00
Alexander Makarov
f8e05fbf4f Improved yii\helpers\Inflector::slug to support more cases for Russian, Hebrew and special characters 2014-06-08 05:44:31 +04:00
Carsten Brandt
0208f289c3 fixed test breaks 2014-06-04 19:12:18 +02:00
Carsten Brandt
d92281dcda refactored ActiveRecord::unlinkAll() to work will noSQL
issue #3520
2014-06-04 14:28:57 +02:00
Alexander Makarov
d34e3c326f Fixed typo in test 2014-06-02 20:14:48 +04:00
Alexander Makarov
a5c4a0ebb4 Adjusted BaseActiveRecord code for better noSQL compatibility 2014-06-02 20:13:48 +04:00
Alexander Makarov
0003b10b02 ElasticSearch tests fix 2014-06-02 18:14:02 +04:00
Alexander Makarov
4624793954 Merge branch 'unlinkAll' of github.com:NmDimas/yii2 into NmDimas-unlinkAll
Conflicts:
	framework/CHANGELOG.md
2014-06-02 17:38:15 +04:00
NmDimas
95d2b29bff Change unit test to Unlink and add test to unlinkAll 2014-06-01 22:40:05 +03:00
Klimov Paul
f19a97e308 Fix yii\helpers\FileHelper::copyDirectory() pattern not working 2014-05-30 14:50:11 +03:00
Alexander Makarov
d7a251bbec Removed unused imports, added missing phpdoc 2014-05-30 11:55:17 +06:00
Carsten Brandt
873b2b04db fixed test breaks after #3614 2014-05-28 17:20:24 +02:00
Carsten Brandt
c6201fb5ca fixed cubrid test case 2014-05-26 13:43:42 +02:00
Carsten Brandt
d1a3d40014 added test case to acually create cols with virtual type
verify issue #3473
2014-05-26 11:53:06 +02:00
Carsten Brandt
4de6e8c6b2 fix #3501 replace . when generating input ids 2014-05-25 18:51:06 +02:00
Qiang Xue
10889474dd Merge pull request #3549 from creocoder/range-validator-enh
Improve `in` validator to properly support array attributes.
2014-05-22 14:20:38 -04:00
Alexander Kochetov
460b5fab06 Tests added 2014-05-22 20:15:55 +04:00
Qiang Xue
96feeb894c Fixed test break of Html. 2014-05-22 09:51:49 -04:00
Carsten Brandt
1a848453a1 tried to fix tests for #3472 2014-05-22 13:09:42 +02:00
Scott Tester
390004a899 Fixed path in unit test to use the directory separator variable. 2014-05-22 09:34:10 +10:00
Scott Tester
be89ff97d3 fixed normalizePath to keep a '.' path when necessary. 2014-05-21 20:55:52 +10:00
DaSourcerer
be164e45db Handle invalid code sequences in Html::encode() 2014-05-20 15:44:23 +02:00
Klimov Paul
6f3ffae7d6 Merge branch 'master' of github.com:yiisoft/yii2 into 3232-var-export 2014-05-19 18:34:07 +03:00