Commit Graph

245 Commits

Author SHA1 Message Date
Alexander Makarov
892d95a376 Added runtime cleanup for Smarty and Twig tests 2014-08-11 15:27:02 +04:00
Alexander Makarov
f08c85c5b8 Merge pull request #4619 from yiisoft/smarty
Smarty improvements
2014-08-10 21:06:49 +03:00
Alexander Makarov
739f3b13e4 Fixes #4553: Smarty enhancements 2014-08-10 22:05:48 +04:00
Alexander Makarov
071105e932 Added null AR relation test for Twig extension 2014-08-07 14:53:00 +04:00
Alexander Makarov
59a52d8876 Fixes #4556: Gii was incorrectly generating labels 2014-08-01 12:48:35 +04:00
Alexander Makarov
e1bdc9cdc9 Fixes #3674: Various Twig enhancements:
- Removed `FileLoader` and used `\Twig_Loader_Filesystem` instead.
- Added support of Yii's aliases.
- Added `set()` that allows setting object properties.
2014-07-31 21:01:09 +04:00
Alexander Makarov
5f49c65510 Added tests that are making sure Gii isn't failing with errors 2014-07-31 18:07:45 +04:00
Carsten Brandt
1c9fc33a40 fixed HHVM test break 2014-07-30 14:59:02 +02:00
Carsten Brandt
7939a3dec5 Merge branch 'master' into array-attribute-relations
* master:
  Update output-data-widgets.md
  Fixes #4370: fileinfo extension is required for FileValidator.
  Fixes #4342
  Fixes #3887
  minor refactoring of FileValidator.
  Doc translate for rest-resources
  Better fix for Dropdown container options
  #4388: CORS filter fixes:
  Fixed test break.
  #4310: Removed `$data` from signature of `yii\rbac\ManagerInterface`
  Update .travis.yml
  Update ActiveRecordInterface.php
  Fixes #4384.
  Sphinx distributed indexes support provided
  typo fix [skip ci]
  Fixes #3611: Refactored query caching.
2014-07-23 01:43:03 +02:00
Carsten Brandt
d036d2f5bf add support for array valued attr relations to unlink and link 2014-07-23 01:25:33 +02:00
Klimov Paul
98a86ce73b Sphinx distributed indexes support provided 2014-07-21 12:34:28 +03:00
Carsten Brandt
d5375e8c3b added elasticsearch test case for array attribute relations 2014-07-20 23:57:51 +02:00
Klimov Paul
1a07485e27 Added support for relation by array attributes
fixes #1249
2014-07-20 23:33:51 +02:00
Klimov Paul
7a937903c2 yii\mongodb\Collection::buildLikeCondition() fixed to escape regular expression.
`yii\mongodb\Collection::buildRegexCondition()` added.
2014-07-11 16:17:56 +03:00
Klimov Paul
b90f88659d Unit test for MongoDB migration controller added 2014-07-10 13:33:09 +03:00
Klimov Paul
5fb654f95d 'MongoDbTestCase::loadClassMap()' refactored 2014-07-10 13:31:07 +03:00
Carsten Brandt
4e8e22da3c fixed issue with elasticsearch >=1.2.0
do not use scripting as it is disabled by default and will cause edge
case queries to fail

fixes #4187
2014-07-04 14:04:38 +02:00
Carsten Brandt
27943ce735 Merge pull request #4063 from yiisoft/typecast-split
split typecast method into two
2014-06-27 02:14:31 +02:00
Carsten Brandt
5d0452b2ae rename ColumnSchema::typecast to phpTypecast 2014-06-27 02:12:59 +02:00
Alexander Makarov
2457e24795 Fixes #4071: mail component renamed to mailer, yii\log\EmailTarget::$mail renamed to yii\log\EmailTarget::$mailer 2014-06-26 18:28:28 +04:00
Klimov Paul
3c5b98f7fe Unit test for issue #4018 added 2014-06-24 17:47:08 +03:00
Alexander Makarov
0c14f47f9a Fixes #3793: Changed inline autocomplete hints style to get more IDEs support 2014-06-20 17:40:00 +04:00
Alexander Makarov
22884e7384 Fixes #3535: Syntax changes
- Removed `form_begin`, `form_end`
- Added `use()` and `ViewRenderer::uses` that are importing classes and namespaces
- Added widget dynamic functions `*_begin`, `*_end`, `*_widget`, `widget_end`
- Added more tests
2014-06-20 05:13:36 +04:00
patrick
48f941dac7 Fixes Twig lexerOptions throwing exception (#3877) and adds test for lexerOptions 2014-06-15 13:15:36 +02:00
patrick
394ca05b72 Adds twig lexerOptions to ViewRendererTest to demonstrate error 2014-06-15 12:46:42 +02:00
Carsten Brandt
8904066519 skip Imagine test on HHVM 2014-06-12 14:14:20 +02:00
Klimov Paul
8bb3e07c82 Merge branch 'master' of github.com:yiisoft/yii2 2014-06-05 11:47:07 +03:00
Klimov Paul
603127712b Escaping of the special characters at 'MATCH' statement reworked 2014-06-05 11:46:35 +03:00
Carsten Brandt
59b9065cec ES: fixed issue with storing empty records
fixes #3587
2014-06-04 17:56:42 +02:00
Carsten Brandt
d92281dcda refactored ActiveRecord::unlinkAll() to work will noSQL
issue #3520
2014-06-04 14:28:57 +02:00
Klimov Paul
804aded508 yii\sphinx\Connection::escapeMatchValue() fixed 2014-06-04 10:56:33 +03:00
Klimov Paul
62fdaeec6a Extra quote escaping at yii\sphinx\Connection::escapeMatchValue() fixed 2014-06-03 16:46:03 +03:00
Klimov Paul
adb36e42c4 Usage of yii\db\Expression for the 'MATCH' statement fixed 2014-06-03 15:58:02 +03:00
Klimov Paul
b8c9d51530 Merge branch 'master' of github.com:yiisoft/yii2 2014-06-03 13:48:38 +03:00
Klimov Paul
3f001aeed0 Escaping of the special characters at 'MATCH' statement added 2014-06-03 13:47:15 +03:00
Alexander Makarov
9c564808e5 Added missing models for Redis tests 2014-06-03 14:02:41 +04:00
Alexander Makarov
ed041f7ade Added missing imports 2014-06-02 18:52:13 +04:00
Alexander Makarov
0003b10b02 ElasticSearch tests fix 2014-06-02 18:14:02 +04:00
Klimov Paul
243f0134c9 OpenId return URL comparison advanced to prevent url encode problem 2014-05-30 12:55:28 +03:00
Alexander Makarov
905e39ede9 RBAC migration is now aware of custom table names, speeded up RBAC tests 2014-05-07 00:19:33 +04:00
Carsten Brandt
676b366928 adjusted elasticsearch extension to version 1.0 of ES
breaking changes.
2014-05-06 18:14:32 +02:00
Qiang Xue
0e143338d7 Finished refactoring find() . 2014-04-07 16:29:12 -04:00
Alexander Makarov
75154d351d Refactored AR find 2014-04-07 09:43:03 +04:00
Qiang Xue
a6aaafd3e6 Fixed test break. 2014-04-03 13:55:34 -04:00
Qiang Xue
3ba9dcbedc Fixed test break. 2014-04-02 20:26:55 -04:00
Qiang Xue
0fa19291f1 refactored filterWhere(). 2014-04-02 20:03:42 -04:00
Carsten Brandt
03e208e59d removed wrong test 2014-04-02 21:39:53 +02:00
Carsten Brandt
745c20538c Merge pull request #2885 branch 'query-filter'
* query-filter:
  added CHANGELOG lines
  added tests for redis
  added proper tests for elasticsearch
  removed unnecessary code duplication
  adjusted tests
  typo
  renamed Query::filter() to Query::filterWhere()
  reverted elasticsearch rename of filter
  Adjusted search model code generated by Gii CRUD generator
  Added support for arbitrary number of parameters for NOT, AND, OR in filter methods of Query
  Gii CRUD generator now uses new addFilter method
  Query::filter() adjustments
  fixes #2002
  Added tests for Query::filter()

Conflicts:
	framework/db/QueryTrait.php
2014-04-02 19:33:40 +02:00
Carsten Brandt
d97996c354 added tests for redis 2014-04-02 19:21:26 +02:00
Carsten Brandt
e9c364d2f2 added proper tests for elasticsearch 2014-04-02 19:15:21 +02:00