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

Adding "actions" plugins to Assign module

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.4
    • 2.3
    • Assignment
    • None
    • MOODLE_23_STABLE
    • MOODLE_24_STABLE

      New Assign module contains hooks for two types of plugins: "submissions" and "feedback" plugins. In addition, the module offers a "batch grading operations" menu, with only 2/3 hardcoded actions and no provision to extend it.

      We at ULPGC do think that such extensibility is needed. In the last 4 years we had developed custom scripts to perform such tasks as import raw grades to an Assignment, copy rawgrades for a subset of students from an Assignment instance to other (for instance, when students should keep grades between several sections of a course), set a grade to a batch of students submissions (for instance, empty submissions). Those are a great time saver for busy teachers. We had added them to the "actions" menu of old assignment grading table. But not in a pluggable way.

      Now Assignment refactoring, with several types of subplugins, calls for refactoring this into pluggable code.
      "feedback" plugins are supposed to manage new grading methods or

      We propose to create a new assign subplugin class in "action" folder. Those plugins will be added to the "batch grading operations" at definition of mod_assign_grading_batch_operations_form (passing new options as array in customdata).

      In assign class a new hook will be created in function process_batch_grading_operation() calling to new process_batch_plugin_operation($data) that would take care of calling appropriate methods in action plugins

      We are committed to introduce these features on our customized copy of moodle 2.3 to re-implement our old 1.9 customizations to Assignment in this way.

            damyon Damyon Wiese
            ecastro Enrique Castro
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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