Russell Smith
ab2d7d4f3d
MDL-41291 cache: Use fread to avoid race conditions
2013-08-26 10:51:23 +10:00
Sam Hemelryk
682f6d57cd
Merge branch 'w31_MDL-40891_m24_mkdirrace' of https://github.com/skodak/moodle into MOODLE_24_STABLE
2013-07-29 11:52:14 +12:00
Petr Škoda
bde942541e
MDL-40891 prevent exceptions when creating directories in file store
...
Even if cache creation fails moodle should continue working.
2013-07-26 20:32:21 +02:00
Damyon Wiese
c8cada1552
MDL-40727 Cache: Fix file cache store on windows.
2013-07-24 17:11:30 +08:00
Sam Hemelryk
89ad278957
MDL-39456 cachestore_file: added reference to global $CFG
...
By holding onto a reference of the global $CFG object we
can be sure that it isn't destroyed before we are done
with it.
This allows for caches to be used within destructors for
purposes such as delayed writes.
2013-05-24 09:51:06 +12:00
sam marshall
0f491109ca
MDL-39472 MUC: Improve parse_key performance
2013-05-02 16:00:09 +01:00
Sam Hemelryk
2e0b7de1b1
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.
Conflicts:
cache/README.md
cache/tests/cache_test.php
2013-04-19 10:09:55 +12:00
Sam Hemelryk
a50cdcc0fd
MDL-36363 cache: clean up pre-integration
2013-01-28 10:39:07 +13:00
Matteo Scaramuccia
233046ea5e
MDL-36363 Adding/Removing a file store cache instance cleanups the folder too
2013-01-28 10:39:07 +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
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
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
62704f33d4
MDL-25290 cache_file: Added default file cache store
2012-10-08 09:53:50 +13:00