791 Commits

Author SHA1 Message Date
a94886fafd elasticsearch AR WIP copied parts from redis implementation 2013-09-30 15:12:20 +02:00
5d7c37bd7e Incorrect array representation when has previous 2013-09-29 23:27:14 +08:00
b45b16d845 Renamed test to match class name 2013-09-29 05:05:57 +04:00
dafbeda301 More i18n tests, docs, added check to skip fixes where possible 2013-09-28 22:30:16 +04:00
bf722c0423 Used intl ICU for message translation 2013-09-28 16:30:29 +04:00
d9b256d734 Fixed pagination not working before data loaded 2013-09-26 20:29:59 +08:00
f3504f426d fix test fail when not on travis 2013-09-25 13:00:13 +02:00
9542fd24d4 try to fix: memcache testExpire fails randomly on travis
issue #877
2013-09-25 12:58:27 +02:00
b42f4b4ea0 fixed broken test 2013-09-25 12:45:07 +02:00
1eb877ad82 Merge branch 'master' into redis
* master: (30 commits)
  Added SerialColumn to crud generated code.
  Added ActionColumn. crud generator WIP.
  Fixes #823: consistent interface naming
  Advanced application template: Delete flash message after it was displayed
  Fixes #901: Added $delete parameter to Session::getFlash().
  Polished up the basic discussion of template alternatives
  Advanced application template: removed unused scenario from User model
  porting the fix from https://github.com/yiisoft/yii/pull/2894
  Edited introduction
  Fixes #898: supported different signature of MemCache::addServer().
  Fixes #897.
  Use str_replace() rather than implode-explode
  Fix parenthesis typo in CRUD index template
  Doing more editing...
  test break fix.
  Support ajax redirection.
  Enable CSRF validation by default.
  Supports more elements to use data-confirm and data-method attributes.
  refactored Request::validateCsrfToken().
  Fixed CSRF validation bug.
  ...
2013-09-25 12:34:25 +02:00
3e75c11721 cleanup and reorder methods in redis ar + added link+unlink 2013-09-24 20:16:39 +02:00
d2c7ef76b3 more tests 2013-09-24 19:32:41 +02:00
142ea1f98f relation support and unit tests 2013-09-24 19:10:49 +02:00
7850c8d238 made indexBy callable like db AR 2013-09-24 19:09:59 +02:00
3623fc19dc refactored redis AR pk and findByPk 2013-09-24 19:04:38 +02:00
130b63461c redis WIP
- relation support
- completed and refactored lua script builder
2013-09-24 15:27:54 +02:00
e62e84873c more API methods for redis active query: sum, avg, max, min ... 2013-09-22 16:29:56 +02:00
7817815dd1 added more complex queries via Lua script EVAL to redis
- http://redis.io/commands/eval
- http://www.lua.org/
2013-09-22 15:43:35 +02:00
463ff43b4f test break fix. 2013-09-20 16:39:22 -04:00
df6176edb6 added unit test for Model::load() 2013-09-18 23:43:46 +02:00
128ee07b78 100% test coverage for CacheSession 2013-09-18 22:54:11 +02:00
bd2404f1c6 added simple unit test for CacheSession 2013-09-18 22:46:43 +02:00
72889128fc fixed offset and limit in redis AR 2013-09-18 17:49:56 +02:00
563171eba4 moved redis out of yii\db namespace 2013-09-18 17:09:40 +02:00
d8d6d1e368 Merge branch 'master' into redis
* master: (156 commits)
  added property docs to AR test classes
  moved getPDOType() back to Command to avoid dependency on Schema
  updated @property annotations of web\Request
  moved redis out of yii\db namespace
  Fixes #884.
  Supports sending CSRF token via HTTP header.
  Use .prop() instead .attr().
  use meta tags to pass CSRF token.
  Added memcached service in Travis YAML
  fixed typo
  cleanup db `use` statements
  doc fix.
  Better strtr arguments format
  Modified js registration position.
  renamed Request::csrfTokenName to csrfVar. added version, csrfVar and csrfToken to yii js module.
  Advanced application enhancements.
  Basic application enhancements.
  Better phpdoc for AccessControl
  Security::generateRandomKey enhancements:
  Fixes #875: Security::generateRandomKey() can now be safely used in URLs
  ...

Conflicts:
	.travis.yml
	framework/yii/caching/RedisCache.php
	tests/unit/framework/caching/RedisCacheTest.php
2013-09-18 16:37:56 +02:00
3a347c3587 added property docs to AR test classes 2013-09-18 16:30:00 +02:00
ef13a11f66 moved getPDOType() back to Command to avoid dependency on Schema
fixes #854
2013-09-18 16:29:16 +02:00
0a5b1a935e simplified memcache installation on travis 2013-09-14 12:57:45 +02:00
a1af321d38 fixed typo in apc install script 2013-09-14 12:56:10 +02:00
34ebe65cf5 added apc,redis and memcache(d) to travis 2013-09-14 12:50:16 +02:00
949dda5fdb tagged tests with @group tags 2013-09-14 12:49:47 +02:00
41bd9ab7a8 added memcache and apc to travis 2013-09-14 12:23:06 +02:00
f6f2522ad6 added travis README from yii 1.1 2013-09-14 12:12:20 +02:00
69a38d1895 added cubrid_pdo to travis 2013-09-14 12:07:04 +02:00
eb5bf2dabe added cubrid dbms to travis-ci
copied from
056e734ce3/.travis.yml
2013-09-14 11:33:07 +02:00
d3740932a4 fixed broken cubrid tests
fixed expected quoting
2013-09-14 11:12:48 +02:00
6c6cb3cd90 Fixes #853: Added composite FK support for SQLite. 2013-09-13 20:41:40 -04:00
02fd82c42a Fixed build break. 2013-09-13 20:19:50 -04:00
6fe152da7e Reverted 0bf2dad: it's very common to use lower case for column types and upper case for other DB keywords. 2013-09-13 20:13:46 -04:00
91b6e2945a Removed the support for calling anonymous function returned as a property value. 2013-09-12 20:10:06 -04:00
164c70eebc Add support for composite FK to cubrid 2013-09-06 15:32:33 +02:00
8abeed03bd added SchemaTest 2013-09-06 15:03:57 +02:00
544e412af8 unit test cleanup 2013-09-06 15:03:25 +02:00
e996f3dfd5 Workaround for broken PDO::quote() in CUBRID 9.1.0
http://jira.cubrid.org/browse/APIS-658
2013-09-06 13:53:33 +02:00
58f8293b84 custom bindValue test for cubrid 2013-09-06 13:24:36 +02:00
791f9d3f4e better use int for boolean representation
bit has special syntax for storing and retreiving so we'd need a
converter for that.
Storing 1 bit will result in one byte left padded on the disc so the
result of a query for boolean 0 will be 0x00 and for boolean 1 will be
0x80.
2013-09-06 13:21:35 +02:00
d6ff097cbb avoid hanging test on bindValue problems (close db connection in tearDown) 2013-09-06 10:28:10 +02:00
825258efb8 cubrid unit tests WIP 2013-09-05 18:23:25 +02:00
15a3ec2764 added unit tests and call to $behavior->hasMethod in Component 2013-08-31 23:27:52 +02:00
b5a6dac3ae renamed test method after implementation rename in FileHelper 2013-08-30 17:03:09 +02:00