summaryrefslogtreecommitdiffstats
path: root/lib/private/memcache
Commit message (Collapse)AuthorAgeFilesLines
* Move \OC\Memcache to PSR-4Roeland Jago Douma2016-04-1811-1430/+0
|
* lib: Fix typos (found by codespell)Stefan Weil2016-04-072-2/+2
| | | | Signed-off-by: Stefan Weil <sw@weilnetz.de>
* xcache.var_size with 64M should evaluate to isAvailableJoas Schilling2016-03-301-1/+1
|
* Fix errors in memcached implementationJoas Schilling2016-03-141-4/+17
|
* Remove Scrutinizer Auto FixerLukas Reschke2016-03-011-1/+0
|
* Update author informationLukas Reschke2016-03-012-0/+2
| | | | Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :)
* Scrutinizer Auto-FixesScrutinizer Auto-Fixer2016-02-191-1/+1
| | | | This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
* Fix constructor arguments for APCUIteratorRobin Appelman2016-01-181-1/+1
|
* Happy new year!Thomas Müller2016-01-1211-15/+20
|
* Use new APCu APILukas Reschke2015-12-201-2/+99
| | | | This one is available since APCu 4.0, since we require APCu 4.0.6 this works fine. Also it brings us PHP 7 compatibility and thus fixes https://github.com/owncloud/core/issues/21095
* Add interface for memcache backends that support setting ttl on exisiting keysRobin Appelman2015-12-091-2/+6
|
* Replace new occurences of ini_get with IniWrapper methodsMorris Jobke2015-11-231-1/+1
|
* Replacing ini_get instances with inigetwrapper usagesClark Tomlinson2015-11-233-5/+5
|
* Handle errors on memcached level - fixes #17397Thomas Müller2015-11-101-8/+30
|
* Add support for Redis password authLukas Reschke2015-10-301-0/+3
| | | | | | For enhanced security it is recommended to configure Redis to only accept connections with a password. (http://redis.io/topics/security) This is especially critical since Redis supports the LUA scripting language and thus a simple SSRF vulnerability (as proven in http://benmmurphy.github.io/blog/2015/06/04/redis-eval-lua-sandbox-escape/ for example) may lead to a remote code execution.
* deduplicate @xenopathicMorris Jobke2015-10-061-1/+1
|
* update licence headers via scriptMorris Jobke2015-10-051-0/+1
|
* Fallback to complete Memcached flush if getAllKeys failsRobin McCorkell2015-09-051-0/+5
| | | | | | | Newer Memcached's do not support the underlying protocol commands that getAllKeys() is implemented with. We should fallback to clearing everything in that case, as causing (temporary) performance problems for other applications on the server is better than having stale cached data.
* Fix memcache factory unit testsRobin McCorkell2015-07-161-2/+2
|
* Missing memcache should not cause occ hard-failRobin McCorkell2015-07-151-10/+39
| | | | Warning is now printed to logs, but occ and cron will still work.
* update license headers and authorsMorris Jobke2015-06-254-0/+8
|
* Merge pull request #16832 from owncloud/memcache-failJoas Schilling2015-06-161-2/+15
|\ | | | | Throw exception if memcache misconfigured or missing
| * Throw exception if memcache misconfigured or missingVincent Petry2015-06-121-2/+15
| | | | | | | | | | | | Instead of falling back to null memcache, throw exceptions. Also throw file locking specific exceptions in case the class is not available.
* | switch to using watch to implement cas and cad on redisRobin Appelman2015-06-121-30/+22
| |
* | add compare-and-delete to the memcache interfaceRobin Appelman2015-06-126-0/+65
| |
* | compare-and-set and compare-and-delete using lua scripts for redisRobin Appelman2015-06-121-2/+50
|/
* Null -> NullCacheThomas Müller2015-06-112-3/+3
|
* Revert "Null -> NullCache"Thomas Müller2015-06-111-1/+1
| | | | This reverts commit ff24554e76c6ccf7cdb4b5abd82fddaa8d82816c.
* Null -> NullCacheThomas Müller2015-06-111-1/+1
|
* Check for redis to be 2.2.5+Joas Schilling2015-06-021-1/+2
|
* add seperate config option for locking memcache backendRobin Appelman2015-06-011-1/+22
|
* Fix Null memcache fallback to match interfaceVincent Petry2015-06-011-3/+7
|
* Add CAS methods to Null memcacheVincent Petry2015-06-011-0/+12
| | | | | This prevents breaking ownCloud completely when memcache is not enabled and the locking code is triggered
* use trait for cas polyfill for xcacheRobin Appelman2015-04-301-24/+2
|
* add compare and swap to memcacheRobin Appelman2015-04-306-2/+122
|
* extends memcache with add, inc and decRobin Appelman2015-04-305-22/+232
|
* Memcache\Redis Add DB Select FunctionalityMichael Telatynski2015-04-151-0/+5
|
* Update license headersJenkins for ownCloud2015-03-269-36/+178
|
* Do not use APCu when apc.enabled is Off.Andreas Fischer2015-03-251-0/+2
|
* Add version and path to cache prefixLukas Reschke2015-03-171-0/+3
| | | | | | Prevents to have the cache reused by other instances on the server which have possible the same instance ID and also invalidates older cache entries after an upgrade which can cause unwanted side-effects. Impact for deployment: The same cache will only get used if ownCloud is installed with the same version and under the same path. But this should be a basic requirement anyways.
* \OC\Memcache\Cache implements \OCP\ICacheRobin McCorkell2015-03-051-1/+1
|
* Refactor \OC\Memcache\FactoryRobin McCorkell2015-03-051-36/+55
| | | | | | | | | | Caches divided up into two groups: distributed and local. 'Low latency' is an alias for local caches, while the standard `create()` call tries to get distributed caches first, then local caches. Memcache backend is set in `config.php`, with the keys `memcache.local` and `memcache.distributed`. If not set, `memcache.distributed` defaults to the value of `memcache.local`.
* Revert "Updating license headers"Morris Jobke2015-02-269-169/+45
| | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* Updating license headersJenkins for ownCloud2015-02-239-45/+169
|
* Revert "add debug log for memcache instantiation"Lukas Reschke2015-02-181-17/+5
|
* Use APCu only if available in version 4.0.6 and higherLukas Reschke2015-02-171-0/+2
| | | | | | | | APCu before 4.0.6 is unbelievable buggy and tend to segfault the PHP process (i.e. the whole webserver) This potentially fixes https://github.com/owncloud/core/issues/14175 Requires a backport to stable8
* add debug log for memcache instantiationJörn Friedrich Dreyer2015-02-161-5/+17
|
* Add an array implementation of cache and use it if we are not debuggingJoas Schilling2015-02-162-1/+72
|
* Json_(en|de)code values on redis to be able to cache arraysJoas Schilling2015-01-201-4/+4
|
* Add Null memcacherRobin McCorkell2015-01-092-2/+37
|