44 Commits

Author SHA1 Message Date
Sam Hemelryk
dbd2ea4e1f MDL-38565 cache: session caches now function as expected
This change is a large change to the way sessions are handled
within MUC after it was discovered that session did not function
as expected when any store other than the default session store
was being used.
As part of this change the session loader has been largely
customised in order to consolidate session data for the loader.
The unit tests have also being greatly increased to provide
better coverage for sessions.
2013-04-19 10:11:48 +12:00
Eloy Lafuente (stronk7)
caa5bcea00 Merge branch 'wip-MDL-38247-m25' of git://github.com/samhemelryk/moodle 2013-03-05 01:08:23 +01:00
Sam Hemelryk
11cfc0f95e MDL-38247 cache: Improved documentation 2013-03-01 10:11:55 +13:00
Sam Hemelryk
32c981e67a MDL-38247 cache: fixed cache stores so that they pass unit tests 2013-03-01 10:11:55 +13:00
Sam Hemelryk
ac6754a679 MDL-38427 cache: implemented unit tests for all core cache stores 2013-03-01 10:11:55 +13:00
Sam Hemelryk
4af3d7e7a3 MDL-38205 cache: implemented key prefix in memcache plugin 2013-03-01 10:11:45 +13:00
Sam Hemelryk
ff6f9d3aa6 MDL-38162 memcache: fixed up the memcache plugins 2013-02-22 14:23:18 +13:00
Sam Hemelryk
bb4c391688 MDL-37645 cache: fixed issue deleting mongo instance 2013-02-08 08:06:21 +13:00
Sam Hemelryk
5dfa3031a8 MDL-36322 cache: clarified docs for initialise and construct 2013-02-01 08:49:03 +13:00
Sam Hemelryk
65b3edc450 MDL-36322 cache: cache stores now test connections during construction 2013-02-01 08:49:03 +13:00
Matteo Scaramuccia
f4cec2ec87 MDL-36322 Errors when updating a Moodle instance with some misconfigured cache stores 2013-02-01 08:49:03 +13:00
Sam Hemelryk
a037c943bd MDL-36363 cache: clean up pre-integration 2013-01-28 10:39:23 +13:00
Matteo Scaramuccia
59ca73ff82 MDL-36363 Override instance_deleted() for all cache stores performing just a cleanup() when this action successfully applies over all the definitions of the cache store 2013-01-28 10:39:23 +13:00
Matteo Scaramuccia
56e65baa1e MDL-36363 Adding/Removing a file store cache instance cleanups the folder too 2013-01-28 10:39:23 +13:00
Brian King
6e89fb0309 MDL-37225 reset cachstore_static store when purging 2012-12-18 23:57:22 +01:00
Eloy Lafuente (stronk7)
663dbbc2e6 MDL-36933 Bump everything to 2012112900
(versions, requires and dependencies)
2012-11-30 03:30:09 +01:00
Dan Poltawski
f95fb4b600 Merge branch 'wip-MDL-36825-m24' of git://github.com/samhemelryk/moodle 2012-11-27 13:37:49 +08:00
Sam Hemelryk
b144e12feb MDL-36768 cache: Fixed regression in cache stores by reordering classes 2012-11-27 12:14:48 +13:00
Sam Hemelryk
e4f71b7c8f MDL-36825 cachestore_file: fixed isready condition check 2012-11-27 10:16:08 +13:00
Sam Hemelryk
2b274ad001 MDL-36819 cache: implemented cache_is_configurable interface 2012-11-26 14:27:44 +13:00
Sam Hemelryk
75cde6b9ac MDL-36768 cache: replaced cache_store interface with abstract class 2012-11-26 14:11:01 +13:00
Sam Hemelryk
bd188851f2 MDL-36768 cache: Implemented abstract cache store base class 2012-11-26 08:12:45 +13:00
Dan Poltawski
bc8f1957a4 Merge branch 'm24_MDL-36364_Improve_the_deletion_logic' of https://github.com/scara/moodle
Conflicts:
	cache/stores/file/lib.php
2012-11-16 15:24:24 +08:00
Dan Poltawski
a3f3ea2684 MDL-36111 cache: remove double semicolons
Thanks to Matteo Scaramuccia!
2012-11-15 09:25:56 +08:00
Sam Hemelryk
758dbdf894 MDL-36111 cache: Fixed up typo's and trivial issues 2012-11-12 10:36:53 +13:00
Sam Hemelryk
d837df0d77 MDL-36381 cachestores: fixed bug when editing with checkbox/bool 2012-11-09 00:01:30 +01:00
Sam Hemelryk
81ede547f2 MDL-36381 cache: fixed bug whereby you couldn't edit store instances 2012-11-08 10:54:11 +13:00
Sam Hemelryk
49c497ff08 MDL-36120 cachestore_file: Added missing singledirectory check in config check 2012-11-07 10:09:58 +13:00
Sam Hemelryk
702651c7a6 MDL-36120 cache: Tidied up post peer-review 2012-11-07 10:03:32 +13:00
Sam Hemelryk
08aaa637fb MDL-36120 cachestore_file: improved file storage method + new setting 2012-11-07 09:58:55 +13:00
Matteo Scaramuccia
f86ce2dcb6 MDL-36364 Improved the deletion logic to preserve the 'prescan' setting 2012-11-04 23:44:33 +01:00
Matteo Scaramuccia
894a4f35b9 MDL-36360 Removed 'lock': cachestore_file_addinstance_form::configuration_definition() doesn't include it 2012-11-04 19:57:54 +01:00
Matteo Scaramuccia
d4d2f27c7f MDL-36360 Missing of cachestore_file::config_get_configuration_array() 2012-11-04 19:41:22 +01:00
Sam Hemelryk
42f5d1648d MDL-25290 cache: Fixed up memcache server settings and a couple of minor things 2012-10-08 09:53:52 +13:00
Sam Hemelryk
170f821b9d MDL-25290 cache: Fixed things up per coding style 2012-10-08 09:53:52 +13:00
Sam Hemelryk
34c84c723a MDL-25290 cache: Added cache locking plugin and converted locking implementations to that 2012-10-08 09:53:51 +13:00
Sam Hemelryk
6fec18203b MDL-25290 cache: Renamed plugin from cache => cachestore 2012-10-08 09:53:51 +13:00
Sam Hemelryk
f23fbfd849 MDL-25290 cache: Fixed up redirect loop with admin settings for cache stores 2012-10-08 09:53:51 +13:00
Sam Hemelryk
e3b77f9f57 MDL-25290 cache_memcache: Added Memcache cache store 2012-10-08 09:53:51 +13:00
Sam Hemelryk
47d89ccfa5 MDL-25290 cache_memcached: Added Memcached cache store 2012-10-08 09:53:51 +13:00
Sam Hemelryk
2e638e3d35 MDL-25290 cache_mongodb: Added Mongo DB cache store 2012-10-08 09:53:51 +13:00
Sam Hemelryk
5f2836e6cc MDL-25290 cache_static: Added default static cache store 2012-10-08 09:53:50 +13:00
Sam Hemelryk
d7f1f57391 MDL-25290 cache_session: Added default session cache store 2012-10-08 09:53:50 +13:00
Sam Hemelryk
62704f33d4 MDL-25290 cache_file: Added default file cache store 2012-10-08 09:53:50 +13:00