Commit Graph

55 Commits

Author SHA1 Message Date
Aparup Banerjee 61bd40d562 Revert "MDL-38387 cache: fixed inifinite initialisation loop with site id"
This reverts commit 17200a016d.
2013-03-14 15:39:07 +08:00
Damyon Wiese 3f5ef33fb9 Merge branch 'wip-MDL-38303-m25' of git://github.com/samhemelryk/moodle 2013-03-14 15:30:32 +08:00
Sam Hemelryk 17200a016d MDL-38387 cache: fixed inifinite initialisation loop with site id 2013-03-11 10:32:46 +08:00
Sam Hemelryk 35b2d0db5e MDL-38303 cache: fixed purging of session cache when switching users 2013-03-10 11:31:26 +13:00
Sam Hemelryk 3d6dd54ad1 MDL-38165 cache: fixed issues purging peristent caches by event 2013-03-01 11:38:02 +13:00
Sam Hemelryk 43394c5114 MDL-38165 cache: fixed up application event purging 2013-03-01 10:10:30 +13:00
Sam Hemelryk b6c86be197 MDL-38165 cache: fixed up session event purging 2013-03-01 10:10:30 +13:00
Damyon Wiese 7866b094cb MDL-37683 cache: - Comments cleanup and remove ;; 2013-02-18 10:35:31 +08:00
Sam Hemelryk 7634410b6e MDL-37683 cache: improved indentifier collection and storage 2013-02-18 10:20:02 +13:00
Sam Hemelryk e0d9b7c0d4 MDL-37683 cache: siteidentifier is now included in the keys 2013-02-18 08:32:03 +13:00
Sam Hemelryk 79c55ca344 MDL-36322 cache: implemented cache_store::create_clone 2013-02-01 08:49:03 +13:00
Sam Hemelryk 5dfa3031a8 MDL-36322 cache: clarified docs for initialise and construct 2013-02-01 08:49:03 +13:00
Sam Hemelryk 3aee2fb8ee MDL-36363 cache: fixed issue with double parsing keys for stacked loaders 2013-01-31 09:10:57 +13:00
Eloy Lafuente (stronk7) 6155915ffb Merge branch 'wip-MDL-36363-m25' of https://github.com/samhemelryk/moodle 2013-01-29 12:06:33 +01:00
Sam Hemelryk 9890ecfc25 MDL-37545 cache: fixed bug during initialisation and updating of cache config 2013-01-28 10:40:37 +13: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
Matteo Scaramuccia 730cf5acbc MDL-36363 Added cache_store::instance_created() and cache_store::instance_deleted() 2013-01-28 10:39:22 +13:00
Sam Hemelryk 086e78da69 MDL-36357 cache: removed double semicolon 2013-01-09 09:37:09 +13:00
Sam Hemelryk 9966db51f0 MDL-37263 cache: fixed event invalidation coding error 2012-12-21 10:50:07 +13:00
Petr Škoda 1a4596e434 MDL-29442 add missing utf-8 to entity html encoding and decoding 2012-12-09 18:21:38 +01:00
Sam Hemelryk b870426ab6 MDL-36937 cache: Fixed up typo 2012-11-30 14:29:58 +13:00
Dan Poltawski 4554660c28 Merge branch 'wip-MDL-36466-m24' of git://github.com/samhemelryk/moodle 2012-11-27 13:38:53 +08: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
Sam Hemelryk 94ef67cf5f MDL-36466 cache: tidy up after review 2012-11-26 08:12:00 +13:00
Sam Hemelryk 3680c61a3c MDL-36466 cache: implemented functionality to disable the bulk of the cache API 2012-11-26 08:12:00 +13:00
Sam Hemelryk 82afd05c35 MDL-36466 cache: renamed disable to disable_stores and added tests 2012-11-26 08:12:00 +13:00
Sam Hemelryk c9f40e77b7 MDL-36466 cache: renamed define NO_CACHE_STORES to CACHE_DISABLE_STORES 2012-11-26 08:12:00 +13:00
Sam Hemelryk 7383a7e2a0 MDL-36466 cache: improved handling of exceptions during initialisation. 2012-11-26 08:11:59 +13:00
Dan Poltawski 542f68b022 Merge branch 'm24_MDL-36512_Purging_file_cachestore_does_not_purge_anything' of https://github.com/scara/moodle 2012-11-19 10:20:00 +08:00
Matteo Scaramuccia 942be4a574 MDL-36512 purge_by_*() must initialise the cache implementing a store.
Indeed, given the current stores implementation, purge will not take effect in case of a file store.
2012-11-16 10:49:12 +01:00
Matteo Scaramuccia fb8305dec7 MDL-36512 Purging a file store actually purges nothing 2012-11-16 10:43:15 +01:00
Dan Poltawski aeb8e78785 Merge branch 'wip-MDL-36407-m24' of git://github.com/samhemelryk/moodle 2012-11-16 15:04:17 +08:00
Sam Hemelryk 5dd68a7523 MDL-36407 cache: unit tests + checks + improved string cache 2012-11-16 09:46:49 +13: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 2566210c63 MDL-36407 cache: Implemented options for ad_hoc caches 2012-11-12 10:05:05 +13:00
Dan Poltawski 1191881888 Merge branch 'wip-MDL-36120-m24' of git://github.com/samhemelryk/moodle 2012-11-07 10:49:28 +08:00
Dan Poltawski a8ccdd28e0 Merge branch 'wip-MDL-36386-m24' of git://github.com/samhemelryk/moodle
Conflicts:
	version.php
2012-11-07 09:33:47 +08:00
Sam Hemelryk 75af47ee1e MDL-36386 cache: upgrades now trigger definitions to be updated 2012-11-07 10:42:20 +13:00
Sam Hemelryk 702651c7a6 MDL-36120 cache: Tidied up post peer-review 2012-11-07 10:03:32 +13:00
Sam Hemelryk 47834bcd41 MDL-36120 cache: now uses sha1 and has an option for simple keys 2012-11-07 10:03:32 +13:00
Sam Hemelryk 2e1e266c9a MDL-36362 cache: added simpledata definition option 2012-11-05 10:28:07 +13:00
Sam Hemelryk e0a568e281 MDL-36094 cache: Fixed up inclusion path for overrideclassfile and datasourcefile 2012-10-19 08:11:40 +08:00
Sam Hemelryk d4797177b5 MDL-36047 cache: Fixed up issues with PHP 5.3.2 and 5.3.7 2012-10-15 12:35:23 +08:00
Sam Hemelryk 267ebe02b3 MDL-25290 cache: Fixed issues with references when getting, and added unit tests to cover 2012-10-08 09:53:53 +13:00
Sam Hemelryk 8dbfbd71c9 MDL-25290 cache: Fixed up handling of objects by cache loader 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