{"shas":[["7225d433e9fc3250d1563bdbb545689c9c336a9d","261b8e22e597bbd083d92fbe762bf4f1417c4571@open.ac.uk","MDL-27001 'Show description' feature part 1: infrastructure that allows modules to support feature\n\nThe 'Show description' feature is about optionally including module description on the course page. This change include the necessary infrastructure - new database field, new FEATURE constant, changes to forms to display it, new language strings for it, backup and restore, and old course conversion. (I found the places to change by searching for an existing field in course_modules).\n\nDocumentation for the field is included in install.xml and in modinfolib.","sam marshall"],["8d786230dcfa8a7a8e29d7ff8c98ae356551a3ee","261b8e22e597bbd083d92fbe762bf4f1417c4571@open.ac.uk","MDL-27001 'Show description' feature part 2: Include format option for module front page content\n\nPreviously format was fixed to FORMAT_HTML. The format value will now be stored in modinfo cache but the default is FORMAT_HTML so there is no change to existing modinfo format and no extra storage space required for existing use of the feature.","sam marshall"],["a6c7e856c704fcc3e8f32c13663739247709fc3d","261b8e22e597bbd083d92fbe762bf4f1417c4571@open.ac.uk","MDL-27001 'Show description' feature part 3 - Automatic support for modules that don't have a get_coursemodule_info function\n\nIf a module doesn't have module_get_coursemodule_info function, but it does have 'intro' and 'introformat' fields in its main table, then all it needs to do is return true for FEATURE_SHOW_DESCRIPTIONS and everything is handled automatically.","sam marshall"],["4609a7a428ba8dcce45530d09e60e30c9b272ac6","261b8e22e597bbd083d92fbe762bf4f1417c4571@open.ac.uk","MDL-27001 'Show description' feature part 4: Implementation for all modules\n\nFor modules that still used the 'old' generic object return from _get_coursemodule_info instead of returning a cached_cm_info object, I changed them to use the new format as part of this. This made a few areas of code regarding onclick links slightly nicer.","sam marshall"]],"ref":"refs/heads/MDL-27001-master","size":4,"head":"4609a7a428ba8dcce45530d09e60e30c9b272ac6","push_id":38982975}