Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-17827 Workshop upgrade/conversion from 1.9 to 2.0
  3. MDL-20236

workshop 2.0: overall codebase architecture cleanup and fixing regression

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Workshop
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Due to the recent turning all workshop components into the proper subplugins, the whole architecture including DB table names and fileareas must be reviewed and regressions fixed. Together with this, the codebase architecture, names etc. will be unified
      This includes:

      • /grading subplugins will be /form as they define the assessment form and how the peer grade is calculated based on the assessment form data
      • tables workshop_forms_ {strategyname} are now workshopform_{strategyname}

        as workshopform_ is a separate workshop plugin

      • all subplugins will have their own filearea, therefore we can get rid of workshop_forms and return to the original specification. This also simplifies dimensionid (no master and local id as currently).
      • "nograding" strategy now called "comments"
      • "noerrors" strategy now called "numerrors"
      • consistently, any subplugin's logic class is in its lib.php

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mudrd8mz David Mudrák (@mudrd8mz)
              Reporter:
              mudrd8mz David Mudrák (@mudrd8mz)
              Tester:
              Nobody
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Nov/10