-
Epic
-
Resolution: Unresolved
-
Minor
-
None
-
Future Dev
-
Cleanup pre 4.0 course code
In Moodle 4.0, a significant portion of the course logic was rewritten. However, given the large number of plugins based on the old logic, it was decided not to deprecate the methods and classes, allowing the old code to coexist with the new.
It's been three years since Modoel 4.0. All new course features are implemented only in the latest libraries (meaning any plugin using the old ones cannot use them), and the major format plugins should be migrated to the new libraries.
This epic gathers all issues related to deprecating this old code, starting from Moodle 5.0 and preparing everything for its removal in 6.0.
Issues:
- Migrate the remaining format to the current course editor:
MDL-82349: migrate front page course format- Once formats are migrated (blocked by all previous issues):
- Action menus and state actions (blocked by
MDL-82349andMDL-82351):MDL-83527Refactor section action menu output
- Improve activity icons rendering (and remove inconsistencies):
- Other issues (not blocked by anything):
MDL-80303Clean old SCSS in course.scss file- MDL-83588 Move global function for activity editing to core_courseformat\cmactions methods.
- MDL-83589 Move global function for section editing to core_courseformat\sectionactions methods.
- MDL-82352: Deprecate course_get_cm_edit_actions
MDL-83339: replace ID init params by query selectors.MDL-83513Remove mediumwidth body class- MDL-83531 Add deprecation messages when the course format is not compatible with components
- MDL-83542 Move uses of core_courseformat\base::session_cache_reset and core_courseformat\base::session_cache_reset_all to hooks
- MDL-80482: deprecate redundant course/lib.php functions
MDL-83673Add throttle to the course page scroll event handling- MDL-83764 Deprecate externservercourse.php feature
- MDL-83081 Remove to setting "label | dndmedia"
- MDL-83854 Add hover lines to move activity and section modals to show the location
- MDL-84290 Refactor course/tests/behat/course_controls.feature tests
- MDL-84291 Deprecate max sections setting