Metzker
16a97f285c
chore: changes requested on code review
2025-04-16 17:42:04 -03:00
Metzker
5f45cedac4
feat: add socket connection to CRedisCache.php
2025-04-15 14:43:41 -03:00
Marco van 't Wout
93356f899c
Fix indentation
2024-10-14 11:57:40 +02:00
Alexander Makarov
ac1b7b7e8b
Apply suggestions from code review
2024-10-07 15:31:31 +03:00
Arfeen
e2fd6871b7
Checking existance for password only for AUTH
...
As suggested by @rob006, existance "password" value is enough to go for AUTH, if username supplied, it will go with both username and password
Co-authored-by: Robert Korulczyk <robert@korulczyk.pl >
2024-10-06 22:27:54 +05:00
Muhammad Arfeen
4905a0592a
Added REDIS cache configuration property ("username") in cache configurations
2024-10-04 17:25:42 +05:00
Marco van 't Wout
0259dd5afa
Remove return type from docblock.
...
Fixes:
- caching/CCache.php:376 PhanTypeMissingReturn Method \CCache::offsetUnset is declared to return bool in phpdoc but has no return value
- caching/CDummyCache.php:164 PhanTypeMissingReturn Method \CDummyCache::offsetUnset is declared to return bool in phpdoc but has no return value
2023-09-27 16:31:38 +02:00
Ken Guest
3febdc3bc9
Merge.
2022-11-28 16:55:18 +00:00
Ken Guest
f1f1baa88f
tabs v spaces
2022-11-28 16:55:02 +00:00
Ken Guest
62ee74b1aa
Merge branch 'yiisoft:master' into master
2022-11-28 16:53:41 +00:00
Ken Guest
180326ba9f
CRedisCache should not return null.
...
This will fix deprecation warning of passing null to parameter #1 of type string to unserialize function (PHP 8.1)
2022-11-28 16:51:58 +00:00
Marco Berger
5a092229d2
PHP 8.1 compatibility fix for CFileCache
2022-10-28 23:21:37 +02:00
Arhell
9bb4dbff15
fix xcache link
2022-09-12 00:14:33 +03:00
Arhell
6d26fae142
update unicode & others links
2022-08-11 02:23:44 +03:00
Arhell
8518f95605
update yii & php.net links
2022-08-09 00:11:49 +03:00
Arhell
fad0c5be77
update links
2022-08-07 11:54:16 +03:00
Marco van 't Wout
0adb66f2a4
FIX: apply #[ReturnTypeWillChange] to classes that implement ArrayAccess
2022-03-31 14:58:29 +02:00
Marco van 't Wout
6f203f2ff0
Apply Yii 1 code formatting
2022-01-27 09:19:26 +01:00
Andre Swanepoel
8be5440113
Add support for SSL to CRedisCache
2022-01-25 13:21:37 +00:00
nikolasr200
386f24fcce
Fix #4310 : Items on memcache won't expire due to memcache difference in internal clock
2020-08-19 14:51:07 +03:00
Carsten Brandt
e1eb6ef9a6
line is covered by tests which are failing on PHP7.1
...
fixes #4111
2016-12-05 16:11:29 +01:00
taobig
bed270a619
Fix CRedisCache::executeCommand() error when the previous connection timeout exception was catched ( #4069 )
2016-07-23 13:53:18 +03:00
Carsten Brandt
0c10c18c4f
fixed indentation
2016-01-13 16:37:44 +01:00
Carsten Brandt
d6371e3de0
code style / review
2016-01-13 16:37:44 +01:00
Alexander Makarov
8453e43fdb
CApcCache is now able to handle PHP 7 APCu
2015-12-15 03:36:19 +03:00
Alexey Shein
c0967e5a25
Fixes #3980 : Fixed CRedisCache error when using mbstring.func_overload and UTF-8 as mbstring.internal_encoding
2015-10-30 22:53:01 +03:00
Hiroki Yoshida
78ede1c99d
Added CRedisCache Socket Options
...
close #3827
2015-03-26 13:30:45 +01:00
Carsten Brandt
38754bb259
bump @since version number for 1.1.15
...
they are in 1.1.16 now because 1.1.15 was a security release
2014-10-23 19:35:48 +02:00
Alexander Makarov
b0fcfb7273
Fixes #3440 : typo in docblock
2014-07-09 12:37:26 +04:00
Alexander Makarov
b3ba0f3f5a
Fixes #3048 : CApcCache is now compatible with APCu
2013-11-19 17:22:51 +04:00
Vladimír Kriška
9273becd3d
changed formatting
2013-08-16 11:31:27 +02:00
Vladimír Kriška
65a5fa5494
added options to set mode (used by mkdir and chmod) for cache directory and files
2013-08-16 11:31:27 +02:00
Vladimír Kriška
45cab435c1
cache dir creation with correct file mod
2013-08-16 11:31:26 +02:00
Carsten Brandt
eda9511c8d
removed unnecessary feof check from CRedisCache
...
issue #2750
2013-08-11 23:18:19 +02:00
Carsten Brandt
0fdff33df2
Fixed CRedisCache response parsing to work with fread() correctly
...
When value is greater than buffer size (normally 8192 bytes) fread
may not read all bytes.
Fixes #2750
2013-08-11 22:58:27 +02:00
resurtm
60c9057963
PHPDoc fixes and better $embedExpiry property naming.
2013-05-28 20:01:52 +06:00
resurtm
3fa125ce3c
Merge branch 'master' of github.com:yiisoft/yii into fixes-2435-CFileCache-enhancements
...
Conflicts:
CHANGELOG
2013-05-28 19:44:29 +06:00
Alexander Makarov
65702b6b03
Merge pull request #2436 from cebe/redis-cache
...
Created CRedisCache (backport from yii2)
2013-05-22 06:02:38 -07:00
Carsten Brandt
59ed54a446
redis drop millisecond support to not require latest redis verion
...
yii2 will have this feature.
2013-05-22 12:33:54 +02:00
resurtm
b0753a8e7d
Fixes #2435 : CFileCache entry expiration time could now be embedded into the cache file.
2013-05-04 21:58:24 +06:00
Carsten Brandt
b43a9b0b3d
added redis cache to definitive guide
2013-05-02 00:28:51 +02:00
Carsten Brandt
75bb017126
Improved documentation for php expressions
...
Fixes issue #1921
2013-05-01 23:16:00 +02:00
Carsten Brandt
312be726d3
code style and documentation for CRedisCache
2013-05-01 21:25:48 +02:00
Carsten Brandt
f076a9e81e
Created CRedisCache (backport from yii2)
...
redis cache uses http://redis.io/ as storage backend.
Feature was requested in discussion in #1302
2013-05-01 20:08:35 +02:00
marcovtwout
0682ec1a9f
Remove extra spaces
2013-04-09 16:02:38 +02:00
marcovtwout
2f5596c349
Update DOC comment
2013-04-09 14:41:33 +02:00
marcovtwout
faf41eb51f
Revert "Make $reusableData protected instead of private, so we can reset in subclass."
...
This reverts commit 00119b13e5 .
2013-04-09 13:55:07 +02:00
marcovtwout
00119b13e5
Make $reusableData protected instead of private, so we can reset in subclass.
2013-04-08 09:58:56 +02:00
marcovtwout
7794bfabc7
Replace CCacheDependencyTest with version from klimov-paul ( https://github.com/yiisoft/yii/pull/2290 )
2013-04-08 09:53:49 +02:00
marcovtwout
7194f9a6da
FIX: CDbCacheDependency with reuseDependentData did not invalidate cache when getting cache across different requests (marcovtwout)
2013-04-03 14:58:01 +02:00