Commit Graph

218 Commits

Author SHA1 Message Date
Carsten Brandt
cb8f5d702f cleanup tests 2013-05-11 12:51:24 +02:00
resurtm
4686c7c386 Merge branch 'master' of github.com:yiisoft/yii2 into mssql 2013-05-11 16:15:09 +06:00
resurtm
ea68bd3a55 CS fixes. 2013-05-11 15:58:27 +06:00
resurtm
5575f53657 CS fixes. 2013-05-11 15:38:07 +06:00
resurtm
5c101ae314 Initial MSSQL tests. 2013-05-11 14:58:35 +06:00
Rusinov Maxim
452be102c6 Added newline at end files. 2013-05-09 23:27:19 +06:00
Rusinov Maxim
d712605a71 Added and resolved Sqlite tests #15. 2013-05-09 23:12:18 +06:00
Carsten Brandt
f59f39087f Merge branch 'master' of github.com:yiisoft/yii2 into redis
* 'master' of github.com:yiisoft/yii2: (87 commits)
  Added dirty attribute description.
  Fixed doc about renderers.
  Finished the initial draft of upgrading instructions
  Fix attaching behavior via config
  Changed default value of View::renderers.
  Fix attaching behavior via config
  Menu WIP
  upgrading instructions WIP
  Refactored Breadcrumbs.
  Fixes issue #54: Implemented Breadcrumbs.
  Added Breadcrumbs.php
  Fixes issue #134
  Rollback word consistencty over entire codebase (ref. #139).
  Add ensureBehaviors() to detachBehavior*()
  Fixes issue #124.
  code reorganization fix.
  reorganized app code. removed app template from framework folder.
  Fixes issue #128.
  Fixes issue #124.
  Add Newlines
  ...

Conflicts:
	tests/unit/framework/caching/ApcCacheTest.php
2013-05-07 01:53:24 +02:00
Zander Baldwin
4be9e195c2 Add Newlines
Appended newlines to every PHP document that did not have a newline as the last character in the file.
2013-05-05 17:04:55 +01:00
Carsten Brandt
79982c9848 Redis Insert, Update, Delete and Find is ready and roughly unit tested
relations are not working yet
2013-04-24 18:33:11 +02:00
Carsten Brandt
3e3290164c Merge remote-tracking branch 'origin/master' into redis
* origin/master: (104 commits)
  Fixed typo in query builder and reverted changes to DbCache.php
  added note about enabling APC cache for CLI
  more assertions for cache test
  fixed dbcache multiget
  fixed Html test under Windows (line endings)
  fixed DB quoting typo
  create a webapp in test bootstrap
  updated expected exception message
  Added a basic app.
  initial implementation of asset command.
  script WIP
  script command WIP
  Fixed bug in yiic.php. Refactoring AssetConverter.
  adjusted default app layout
  refactoring and documentation for asset/script management.
  Finished asset converter.
  removed unnecessary code, added comment about displaying errors
  better handling of errors during rendering an error
  safer exception rendering
  turn asset manager into a getter.
  ...
2013-04-24 13:21:24 +02:00
Qiang Xue
597082a11a Automatic table and column name quoting. 2013-03-30 18:28:54 -04:00
Carsten Brandt
f4ebd91cfb Merge branch 'master' into redis
* master: (117 commits)
  More Model tests
  Better validation rules validity check
  Some tests for Model
  A bit more friendly behavior for unsetting a model attribute
  User WIP.
  Fixed Model::getFirstErrors()
  Finished AccessControl.
  Finished HttpCache.
  User WIP
  line ending fix.
  refactoring cache and db references.
  Fixed session bug.
  Finishes flash feature.
  refactored url creation shortcut method.
  HttpCache WIP.
  Finished AccessControl and HttpCache.
  Finished PageCache.
  finished fragment caching.
  fragment cache WIP
  bug fixes.
  ...
2013-03-29 01:03:56 +01:00
Carsten Brandt
0d2f5028ef Finished Redis Connection class 2013-03-29 01:02:35 +01:00
Carsten Brandt
8e74add1e7 Redis connection implementation 2013-03-28 15:57:05 +01:00
Qiang Xue
06feccff8b refactored query builder.
finished Sort.
2013-03-06 10:51:33 -05:00
Qiang Xue
7aa80d86f5 refactored execute() and query() methods in db/Command. 2013-02-01 17:18:49 -05:00
Qiang Xue
b51d347465 Added count, average, sum, min, max, scalar methods to ActiveQuery.
Added support for scopes defined in AR classes.
2013-01-17 19:26:20 -05:00
Qiang Xue
9958a5802e DB cleanup 2013-01-17 12:54:13 -05:00
Qiang Xue
736d30684e refactored the active property of Connection and Transaction.
refactored Transaction.
2013-01-15 19:13:39 -05:00
Qiang Xue
e0cd52fb65 moved Connection::getPdoType() to Command. 2013-01-15 18:32:08 -05:00
Qiang Xue
5d90e6da80 removed scopes.
finished AR documentation.
2013-01-14 20:19:08 -05:00
Qiang Xue
3ca50f3043 clean up AR 2013-01-13 10:23:03 -05:00
Qiang Xue
46ab456f4e finished new AR. 2013-01-12 23:16:26 -05:00
Qiang Xue
c9b104f0a1 refactored AR relation. 2013-01-09 16:50:17 -05:00
Qiang Xue
0e3e2698d7 cleanup of AR 2013-01-09 11:13:49 -05:00
Qiang Xue
fe90d4dda0 implemented auto-quoting for DB commands. 2013-01-06 22:41:20 -05:00
Qiang Xue
d15378ef43 moved db tests. 2013-01-05 21:29:42 -05:00
Qiang Xue
8517ee9e50 reorganized DB classes. 2013-01-05 16:46:53 -05:00
Qiang Xue
0cd6b346b6 refactoring AR 2013-01-05 08:40:11 -05:00
Qiang Xue
23572c74cd refactoring AR. 2013-01-04 21:21:15 -05:00
Qiang Xue
1b151818a6 Fixed AR bugs. 2013-01-04 18:56:25 -05:00
Qiang Xue
a7ecbfee30 Fixing AR issues. 2013-01-04 15:06:19 -05:00
Qiang Xue
a8be9ce412 new AR WIP 2012-11-17 08:35:53 -05:00
Qiang Xue
377181a008 new AR WIP 2012-11-12 20:31:23 -05:00
Qiang Xue
8c26893992 Implemented new scope declaration syntax. 2012-08-09 22:27:42 -04:00
Qiang Xue
0fd8212356 support using anonymous function to customize relational queries. 2012-04-02 21:25:58 -04:00
Qiang Xue
ed513b4da9 ... 2012-03-25 23:39:47 -04:00
Qiang Xue
5ddc1ba18a Finished AR query. 2012-03-25 11:01:01 -04:00
Qiang Xue
233183995a ... 2012-03-24 23:23:29 -04:00
Qiang Xue
0e40fb4a61 finished AR findBySql and eager loading. 2012-03-15 10:57:45 -04:00
Qiang Xue
b90f94fe9a finished eager loading. 2012-03-14 22:53:01 -04:00
Qiang Xue
df003215de ... 2012-03-13 23:35:34 -04:00
Qiang Xue
c3216bd05e renamed indexBy to be index. 2012-03-10 14:01:11 -05:00
Qiang Xue
769a114d39 renamed groupBy and orderBy to be group and order. 2012-03-10 13:59:22 -05:00
Qiang Xue
d794a813ec ... 2012-03-04 17:24:38 -05:00
Qiang Xue
50743935d3 ... 2012-03-01 20:18:54 -05:00
Qiang Xue
a53acdf60d .... 2012-03-01 16:01:42 -05:00
Qiang Xue
3210a2171c ... 2012-03-01 15:24:33 -05:00
Qiang Xue
cf10943cd3 ... 2012-02-10 23:30:42 -05:00