Commit Graph

224 Commits

Author SHA1 Message Date
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
Carsten Brandt
c572c23c2f adjusted tests 2014-04-02 18:56:49 +02:00
Carsten Brandt
96f1c4c10b renamed Query::filter() to Query::filterWhere() 2014-04-02 18:48:14 +02:00
Alexander Makarov
06fdb79730 Added support for arbitrary number of parameters for NOT, AND, OR in filter methods of Query 2014-03-31 15:09:33 +04:00
Qiang Xue
f7a6cb9f7a Refactored AR tests. 2014-03-30 20:46:25 -04:00
Alexander Makarov
ecf019e311 Merge branch 'master' 2014-03-31 02:20:56 +04:00
Alexander Makarov
ab799d8ea9 Fixes #2911: Removed tbl_ default for table prefix 2014-03-30 19:33:46 +04:00
Alexander Makarov
8cd247730a Query::filter() adjustments 2014-03-29 23:26:02 +04:00
Alexander Makarov
a884c80fe3 Merge branch 'master' 2014-03-29 22:55:59 +04:00
Dirk Adler
e0edca24a9 Improves mongodb nested and in condition test 2014-03-28 12:03:27 +01:00
Dirk Adler
70d495bcd4 Adds more mongodb tests for combination conditions 2014-03-28 10:23:45 +01:00
Dirk Adler
3dd8a039be Adds mongodb test for combination conditions 2014-03-28 10:01:18 +01:00
Alexander Makarov
3c1a8141fd fixes #2002 2014-03-27 12:41:16 +04:00
Alexander Makarov
19327ebd14 Added tests for Query::filter() 2014-03-26 17:09:16 +04:00
Qiang Xue
8c2e39235f Turn module and application into DI containers. 2014-03-17 23:57:01 -04:00
SonicGD
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
Carsten Brandt
4384a96812 Merge pull request #2667 from AlexGx/tests-codestyle-fix
Tests codestyle fix
2014-03-09 03:06:39 +01:00
Luciano Baraglia
269d1303a9 Code style fixes 2014-03-08 20:47:04 -03:00
AlexGx
c9edea3d11 merge 2014-03-08 15:36:12 +02:00
Paul Klimov
bc73a2481c MongoDB log fixed to handle Mongo objects correctly 2014-03-08 15:19:46 +02:00
AlexGx
32d0768919 style fixes with phpcs:yii2 2014-03-08 14:55:58 +02:00
Paul Klimov
866ba85010 yii\mongodb\file\Collection::ensureMongoId() fixed to suppress exception on invalid _id format. 2014-03-08 14:12:08 +02:00