aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/cache/driver
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/11037] Eliminate global $db usage in cache drivers.Oleg Pudeyev2012-12-204-11/+8
| | | | | | | The only time $db is needed in cache drivers is to navigate the result set in sql_save. Pass it as a parameter in that function. PHPBB3-11037
* [ticket/10103] $rv had too few characters.Oleg Pudeyev2012-12-041-3/+3
| | | | PHPBB3-10103
* [ticket/10103] Convert the rest of the tree to flock class.Oleg Pudeyev2012-12-041-5/+11
| | | | PHPBB3-10103
* [ticket/9983] Empty line by request.Oleg Pudeyev2012-12-021-0/+1
| | | | PHPBB3-9983
* [ticket/9983] Add redis cache driver tests.Oleg Pudeyev2012-12-011-1/+26
| | | | | | | | | | | In order to not overwrite data in default redis store, at least one of redis host or post must be explicitly specified. Redis cache driver constructor has been modified to accept host and port as parameters. This was not added to public API as there are more parameters being passed via global constants. PHPBB3-9983
* Merge PR #974 branch 'bantu/ticket/10875' into developOleg Pudeyev2012-11-304-9/+47
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bantu/ticket/10875: [ticket/10875] tests/cache/cache_test.php: Use single quotes where possible. [ticket/10875] Test for null cache driver and sql cache. [ticket/10875] Revise sql cache test. [ticket/10875] Must return query result on failure. [ticket/10875] More documentation. [ticket/10875] Spelling fix. [ticket/10875] Add docblocks for phpbb_cache_driver_interface [ticket/10875] Add comment about cache's sql_load() method. [ticket/10875] Fix logic in phpbb_cache_driver_file::sql_save(). [ticket/10875] Fix phpbb_mock_cache::sql_save() to return $query_result. [ticket/10875] Fix return value of phpbb_cache_driver_null::sql_save(). [ticket/10875] Remove useless assignment from phpbb_cache_driver_memory.
| * [ticket/10875] Must return query result on failure.Oleg Pudeyev2012-11-301-1/+1
| | | | | | | | PHPBB3-10875
| * [ticket/10875] More documentation.Oleg Pudeyev2012-11-301-3/+7
| | | | | | | | PHPBB3-10875
| * [ticket/10875] Spelling fix.Oleg Pudeyev2012-11-301-2/+2
| | | | | | | | PHPBB3-10875
| * [ticket/10875] Add docblocks for phpbb_cache_driver_interfaceIgor Wiedler2012-11-141-4/+33
| | | | | | | | PHPBB3-10875
| * [ticket/10875] Add comment about cache's sql_load() method.Andreas Fischer2012-10-311-0/+6
| | | | | | | | PHPBB3-10875
| * [ticket/10875] Fix logic in phpbb_cache_driver_file::sql_save().Andreas Fischer2012-10-301-2/+2
| | | | | | | | | | | | | | | | Previously (develop-olympus) $query_result was passed via reference into sql_save(). Now the (possibly changed) result is returned by value. Adjust logic to take this change into account correctly. PHPBB3-10875
| * [ticket/10875] Fix return value of phpbb_cache_driver_null::sql_save().Andreas Fischer2012-10-301-0/+1
| | | | | | | | | | | | | | phpbb_cache_driver_null::sql_save() has to return $query_result as is instead of null. PHPBB3-10875
| * [ticket/10875] Remove useless assignment from phpbb_cache_driver_memory.Andreas Fischer2012-10-301-2/+0
| | | | | | | | | | | | | | sql_save() no longer takes $query_result as a reference, thus this assignment is a no-op. PHPBB3-10875
* | Merge branch 'develop-olympus' into developAndreas Fischer2012-11-296-9/+9
| | | | | | | | | | * develop-olympus: [ticket/11227] @return void -> @return null in develop-olympus.
* | [feature/controller] Remove dumped container when cache is purgedDavid King2012-11-162-0/+2
| | | | | | | | PHPBB3-10864
* | [ticket/11199] Match cache purge container files against container_*Igor Wiedler2012-11-152-2/+2
| | | | | | | | | | | | | | Previously it was matching against only container*, checking for the underscore is consistent with the other checks. PHPBB3-11199
* | [ticket/11199] Revert merge of 'marc1706/ticket/11199' into developOleg Pudeyev2012-11-142-2/+2
| | | | | | | | | | | | | | | | | | | | This reverts commit 303fc646adf9104d7c82cf8bcebbc8fc0d328624, reversing changes made to 9c28470ad7b45c10ce3a32065650e4b17f9f27ea. The correct fix should be to alter the container file name to start with container_ prefix. PHPBB3-11199
* | [ticket/11199] Cache purge does not remove dumped containerMarc Alexander2012-11-142-2/+2
| | | | | | | | PHPBB3-11199
* | [feature/compiled-dic] Split if() over multiple lines for improved readabilityDavid King2012-11-102-2/+10
| | | | | | | | PHPBB3-11152
* | [feature/compiled-dic] Compile the DI Container into a cached classDavid King2012-11-102-2/+2
|/ | | | PHPBB3-11152
* Merge remote-tracking branch 'github-igorw/ticket/11082' into developNils Adermann2012-09-011-0/+0
|\ | | | | | | | | * github-igorw/ticket/11082: [ticket/11082] Remove executable permission from redis driver file
| * [ticket/11082] Remove executable permission from redis driver fileIgor Wiedler2012-09-011-0/+0
| | | | | | | | PHPBB3-11082
* | [ticket/11083] Mark memory cache driver as abstractIgor Wiedler2012-09-011-1/+1
|/ | | | PHPBB3-11083
* [ticket/10875] Return $query_id from sql_saveNathan Guse2012-08-062-0/+4
| | | | | | | | Have to return the $query_id from sql_save so that the results can be pulled Updated cache test to do some basic sql cache testing. PHPBB3-10875
* [ticket/10875] Fix SQL CachingNathan Guse2012-07-304-4/+4
| | | | | | | | | | | The sql_save function cannot take arguments by reference since it is called by call_user_func_array() Replace use of isset($cache->sql_rowset[$query_id]) with $cache->sql_exists Replace $cache->cache_dir with $cache->get_driver()->cache_dir PHPBB3-10875
* [ticket/9916] Updating header license and removing Version $Id$Unknown2011-12-3111-19/+11
| | | | PHPBB3-9916
* Merge branch 'develop-olympus' into developIgor Wiedler2011-06-111-12/+2
| | | | | | | | * develop-olympus: [ticket/10110] Remove multi-server syntax from Redis ACM. Conflicts: phpBB/includes/cache/driver/redis.php
* [feature/redis] Add Redis cache driver using phpredis extensionEric2011-03-301-0/+150
| | | | PHPBB3-10110
* Merge branch 'develop-olympus' into developAndreas Fischer2011-02-011-2/+2
| | | | | * develop-olympus: [ticket/10014] Clearly indicate fatal errors in file acm.
* [task/acm-refactor] Refactor WinCache ACM moduleIgor Wiedler2011-01-111-0/+78
| | | | PHPBB3-9983
* [task/acm-refactor] Refactor the ACM classes to have a common interface.Igor Wiedler2011-01-099-0/+1881
They are now refered to as cache drivers rather than ACM classes. The additional utility functions from the original cache class have been moved to the cache_service. The class loader is now instantiated without a cache instance and passed one as soon as it is constructed to allow autoloading the cache classes. PHPBB3-9983