Commit Graph

229 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
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
Carsten Brandt
3489f295bb fixed hhvm build error 2014-06-12 14:31:21 +02:00
Carsten Brandt
18c5bb1352 fixed file permission 2014-06-12 13:25:00 +02:00
Carsten Brandt
3a42c8c3e7 try to fix hhvm tests 2014-06-12 13:21:16 +02:00
Carsten Brandt
e9758fec29 fixed test break 2014-06-04 17:24:01 +02:00
Carsten Brandt
d92281dcda refactored ActiveRecord::unlinkAll() to work will noSQL
issue #3520
2014-06-04 14:28:57 +02:00
Alexander Makarov
2a75cd19c0 Added missing relations to Redis/Elasticsearch test models 2014-06-03 14:24:11 +04:00
Alexander Makarov
4769e730fa Fixed sqlite schema SQL 2014-06-03 14:20:30 +04:00
Alexander Makarov
9c564808e5 Added missing models for Redis tests 2014-06-03 14:02:41 +04:00
Alexander Makarov
d0aadffb91 Added missing test models for elasticsearch 2014-06-02 18:33:12 +04:00
NmDimas
95d2b29bff Change unit test to Unlink and add test to unlinkAll 2014-06-01 22:40:05 +03:00
Carsten Brandt
676b366928 adjusted elasticsearch extension to version 1.0 of ES
breaking changes.
2014-05-06 18:14:32 +02:00
Alexander Makarov
75154d351d Refactored AR find 2014-04-07 09:43:03 +04:00
Carsten Brandt
c5ad45c771 fixed test break 2014-04-04 17:12:26 +02:00
Qiang Xue
54e08f3f01 fixed build break. 2014-04-03 11:57:49 -04:00
Qiang Xue
8b4dfcc876 Fixes #2955: Changed the signature of ActiveQuery constructors and ActiveRecord::createQuery() to simplify customizing ActiveQuery classes 2014-04-03 10:36:52 -04:00
Alexander Makarov
b987c92151 Escaped more table names 2014-03-30 20:46:06 +04:00
Alexander Makarov
538a074c0f Escaped table names for unit tests 2014-03-30 20:23:03 +04:00
Alexander Makarov
ab799d8ea9 Fixes #2911: Removed tbl_ default for table prefix 2014-03-30 19:33:46 +04:00
Alexander Makarov
647e9e146f Added missing columns to cubrid test schema 2014-03-20 15:24:06 +04:00
Alexander Makarov
b66427f8c7 Fixes #2726: ActiveRecord now fills default values on creating new instance of the model if defaults are available from DB schema 2014-03-19 18:06:20 +04:00
SonicGD
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
Alexander Pletnev
b9c0871218 tabs vs spaces 2014-03-11 23:16:04 +04:00
Zhandos
780c5aa36c Update FakedValidationModel.php 2014-03-10 23:18:09 +05:00
Zhandos Nuftiev
b3b9bd353e fix isEmpty method for file validator. 2014-03-10 23:10:47 +05:00
AlexGx
183819abfd fix phpDoc method signature 2014-03-08 15:37:06 +02:00
AlexGx
32d0768919 style fixes with phpcs:yii2 2014-03-08 14:55:58 +02:00
Alexander Makarov
71835d977e More short syntax for arrays 2014-03-07 02:03:23 +04:00
Carsten Brandt
f90a369932 Skipping CUBRID on HHVM 2014-03-03 18:51:03 +01:00
Carsten Brandt
b6e0c2b26f skipping memcache on HHVM 2014-03-03 18:41:47 +01:00
Qiang Xue
d3ff343e5e try to fix test break. 2014-02-27 22:07:13 -05:00
Carsten Brandt
c21e01930e added unit test for #2568 2014-02-27 15:13:51 +01:00
Carsten Brandt
683a46d9ee test for deeply nested relation
close #2543
2014-02-25 15:03:54 +01:00
Carsten Brandt
3b40d44909 made createQuery() config param optional 2014-02-20 05:54:47 +01:00
Carsten Brandt
1708a36d95 WIP merge ActiveRelation into ActiveQuery
allow extending only one class to add scopes, fixes #2146

TODO:

- [ ] adjust guide docs
- [ ] adjust README files of extensions
- [ ] finish work and fix test breaks
2014-02-20 05:53:36 +01:00
Qiang Xue
c92a260a3d Fixes #2415: Added support for inverse relations 2014-02-18 19:43:05 -05:00
Alexander Makarov
dd26d39dd8 Removed unused namespace imports 2014-02-07 13:26:00 +04:00
Alexander Makarov
1e602adb6e - Fixed BaseFileHelper::localize docs.
- DbMessageSource now performs UNION ALL.
- Fixed message merging for php and po.
- Updated tests.
2014-01-23 20:34:46 +04:00
Alexander Makarov
76705b4319 Merge branch 'master'
Conflicts:
	tests/unit/data/ar/elasticsearch/Customer.php
2014-01-22 03:06:21 +04:00
Klimov Paul
504fc76f5c Unit test for yii\mongodb\file\ActiveRecord fixed 2014-01-21 21:39:22 +02:00
Luciano Baraglia
7d33a5d3b5 Some Code style fixes 2014-01-19 13:35:36 -03:00
Alexander Kochetov
0ec5643ce3 Unit tests updated 2014-01-19 13:51:56 +04:00
Alexander Makarov
87d42e9f37 Fixed wrong namespace 2014-01-17 23:37:39 +04:00
Alexander Makarov
af385858c7 Fixed tests for elasticsearch, mongo, redis 2014-01-17 23:24:31 +04:00
Alexander Makarov
ed97632f53 Fixed scope method signatures 2014-01-17 23:01:13 +04:00
Alexander Makarov
0699eaadd5 Fixed test breaks 2014-01-17 22:33:10 +04:00
Carsten Brandt
f6530314e2 Merge pull request #1765 from yiisoft/elasticsearch-pk-refactoring
[WIP] Changed elasticsearch AR primary key handling
2014-01-10 15:56:22 -08:00