53 Commits

Author SHA1 Message Date
fc6b63717c removed hard restriction of cache keyPrefix to alnum
fixes #1773
2014-01-04 14:18:51 +01:00
26767735dc Renamed byte methods, moved path methods back to StringHelper 2013-12-04 14:26:47 +01:00
5f2a612c78 Moved file and path related methods from StringHelper to FileHelper, renamed StringHelper byte methods not to be misused as string methods 2013-12-04 09:48:01 +01:00
fb3ebe7000 doc cleanup. 2013-11-29 12:47:10 -05:00
3cb366020a added redis Session
as suggested in issue #1316
2013-11-25 14:39:21 +01:00
8ac2b7364d moved redis to extensions 2013-11-25 02:27:04 +01:00
e09cc16c49 ApcCache is now compatible with APCu 2013-11-19 17:24:11 +04:00
09a3300b7c refactored redis cache, added mset() 2013-11-17 21:09:13 +01:00
1a7a15a3ef Implemented mset, madd for cache. Added tests. 2013-11-17 04:00:43 +04:00
5fc51f1ad9 Merge pull request #1094 from pmoust/cache-mset
[WIP] Caching: mset() method to store multiple items.
2013-11-16 14:24:17 -08:00
baaab4e09f Fixes #1170 2013-11-11 08:31:52 -05:00
5cbd5722c0 Fixes #1162: removed constructors of cache dependency classes so that they can be easily created from configuration. 2013-11-08 16:44:24 -05:00
63d391b309 typo fix
s/value to be cached value/value to be cached/g
2013-10-29 01:03:22 +02:00
8f8adb2a48 added phpdoc block for mset() 2013-10-29 00:43:26 +02:00
51211898f8 Control statements based on the if and elseif constructs must have a single space before the opening parenthesis of the conditional and a single space after the closing parenthesis. 2013-10-28 23:51:48 +03:00
1f6a823073 Short array syntax 2013-10-18 20:52:38 +04:00
8d4d0ee0bc Update RedisCache.php
added version information
2013-09-30 12:53:04 +02:00
f415193cdc Fixes #898: supported different signature of MemCache::addServer(). 2013-09-22 17:02:46 -04:00
0e261fba5a moved redis out of yii\db namespace 2013-09-18 16:03:06 +02:00
a2b946e4d3 Zend Data Cache returns null when record doesn't exist (reverted from commit 590121c4ff76b548b2bdb74f72ce247a806af415) 2013-09-13 00:49:13 +04:00
590121c4ff Zend Data Cache returns null when record doesn't exist 2013-09-10 14:42:53 +04:00
4b7f5a728a improved control over and handling of file and dir permissions
- rename FileHelper::mkdir for API consistency
- changed default permission for directories to 775 instead of 777
- added some properties to classes that deal with files to allow control
  over directory permissions.
2013-08-30 16:52:33 +02:00
c582e589d2 added note about differing property types 2013-08-28 15:18:13 +02:00
ca69ef09d4 update of @property annotations 2013-08-28 14:59:52 +02:00
c5b42910a9 Merge branch 'master' of github.com:yiisoft/yii2
* 'master' of github.com:yiisoft/yii2:
  refactored code.
2013-08-28 14:16:37 +02:00
bdb77f33ba updated @property annotations of many classes 2013-08-28 14:16:13 +02:00
172d92958f refactored code. 2013-08-28 06:46:43 -04:00
427c373ba6 implement Cache::exists() for various cache backends
fixes #811
2013-08-27 17:54:38 +02:00
3b91801a35 cherry picked RedisCache and redis\Connection from redis WIP branch
commit in redis branch was:
0cd65e7496befb3c4aed86e47257103fea63d329
2013-08-27 17:29:38 +02:00
0e2ac86566 added Cache::exists() to check key existance in cache 2013-08-27 17:24:09 +02:00
d34f8486ab Fixes #811. 2013-08-27 08:13:20 -04:00
8beadc91f4 cleanup MemCache timeout API after #804
use milliseconds only and fall back to seconds for older memcache
versions.
2013-08-24 22:07:56 +02:00
5311dac904 Added failureCallback, reduced timeouts to 1s 2013-08-24 19:01:47 +03:00
b010ed8363 Mentioning that timeoutms is available in memcache only. 2013-08-24 17:52:16 +03:00
7840ace6e6 Removed extra line 2013-08-24 17:35:12 +03:00
5eff5310ba Added timeoutms parameter in MemCache 2013-08-24 17:23:47 +03:00
a9b6dbdd5d GroupDependency::generateDependencyData typo fix 2013-08-17 00:13:07 +08:00
f03cdf0a47 renamed Command::queryRow() to queryOne(). 2013-07-09 08:01:10 -04:00
4a0d2863f6 Fixes issue #421: yii\db\Schema:refresh() does not clear all cache 2013-06-12 21:59:30 -04:00
00df1e88eb Added GroupDependency. 2013-06-12 21:45:12 -04:00
b06d7a8675 refactored cache dependency methods. 2013-06-12 21:21:19 -04:00
870f65343b Fixed a bug in ExpressionDependency. 2013-06-12 20:30:44 -04:00
3f22d18dfe typo fix. 2013-06-12 20:16:48 -04:00
7a7d2a9c06 CS fixes. 2013-06-07 22:41:11 +06:00
22357befad Added "@runtime" and "@vendor" aliases. 2013-06-02 15:19:29 -04:00
36bbfd54ca Implemented "@app/runtime" alias. 2013-06-02 07:29:29 -04:00
607f3a5987 Fixes issue #476 2013-06-02 07:11:27 -04:00
f5d0bcbcfc Refactored cache key generation. 2013-05-26 17:09:09 -04:00
0ab5bbaf40 Update Cache.php
Moved add prefix ($this->keyPrefix) to the key in function buildKey(). Could it be better?
2013-05-26 23:32:42 +04:00
ead914176f Update Cache.php
Fixed an example of using buildKey in the doc
2013-05-26 13:33:35 +04:00