Dan Poltawski
51eba172e6
Merge branch 'MDL-41291-master' of git://github.com/mr-russ/moodle
2013-08-26 17:50:08 +08:00
Russell Smith
90048725b0
MDL-41291 cache: Use fread to avoid race conditions
2013-08-19 20:18:57 +10:00
Frederic Massart
cbb3990bcb
MDL-41071 core: plugininfo_mod caches in plugininfo_mod definition
2013-08-07 20:55:22 +08:00
Sam Hemelryk
609bda269e
Merge branch 'w31_MDL-40891_m26_mkdirrace' of https://github.com/skodak/moodle
2013-07-29 11:53:02 +12:00
Petr Škoda
6763fde8d4
MDL-40891 prevent exceptions when creating directories in file store
...
Even if cache creation fails moodle should continue working.
2013-07-26 20:28:57 +02:00
Damyon Wiese
05b659b252
MDL-40727 Cache: Fix file cache store on windows.
2013-07-24 17:04:44 +08:00
Petr Škoda
eb1ee665f6
MDL-40642 use this->cfg in local file store when fixing permissions
2013-07-19 09:18:44 +02:00
Petr Škoda
eb459f7192
MDL-40642 set more restrictive umask and use proper permission for new dirs and files
2013-07-19 09:18:44 +02:00
Sam Hemelryk
9aacf24b62
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:11 +12:00
sam marshall
cb86f1ebb3
MDL-39472 MUC: Improve parse_key performance
2013-05-02 16:04:29 +01:00
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
Sam Hemelryk
a037c943bd
MDL-36363 cache: clean up pre-integration
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
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