Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-82340

Cleanup all 3.9 and earlier course code that is not used anymore since 4.0.

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • Future Dev
    • Course
    • 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
          • MDL-82350: migrate main menu block to 4.0 course editor
          • MDL-82351: migrate social format
        • Once formats are migrated (blocked by all previous issues):
          • MDL-82341: deprecate the old course JS and YUI modules
            • MDL-83626    Move course/dnduploadlib.php classes to namespace
            • MDL-82342 Deprecate all unnecessary course edit webservices
          •  MDL-83561 Formats should be able to limit the sections appearing in the "move" modal.
          • MDL-83562    Remove the "movehere" elements from the course page
          • MDL-83733    Deprecate block_main_menu and block_social_Ativities behat selectors
      • Action menus and state actions (blocked by MDL-82349 and MDL-82351):
        • MDL-83527    Refactor section action menu output
          • MDL-82767: implement a non-ajax alternative to course edit action
            • MDL-84216    Move non-ajax duplicate section to course/format/update.php
          • MDL-83575    Add hooks to sections and activity actions menus
      • Improve activity icons rendering (and remove inconsistencies):
        • MDL-83724    Unify the way activity plugin icons is rendered
        • MDL-83725    Improve the way activity icons are colorized

       

      • Other issues (not blocked by anything):
        • MDL-80303    Clean 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-83513    Remove 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-83673    Add 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

            tusefomal Ferran Recio
            tusefomal Ferran Recio
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 6 hours, 22 minutes
                6h 22m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.