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

Add ability to disable specified H5P content types

    XMLWordPrintable

Details

    • MOODLE_39_STABLE
    • MOODLE_311_STABLE
    • MDL-69331-311
    • MDL-69331-master
    • Hide

      Mostly covered by unit tests. Only the following manual tests are required:

      Setup

      1. Login as admin.
      2. Go to "Site administration > Server > System paths" and set "Path to PHP CLI" with the proper value.
      3. Access to "Site administration > H5P > Manage H5P content types".
      4. If exists, remove "Accordion" content-type.
      5. Upload the attached .h5p file to the "H5P content type" field.
      6. Check "Accordion" content-type has been created and has version "1.0.23".
      7. Disable "Accordion" content-type.

       

      Testing scenario: Download H5P content types

      1. Access to "Site administration > H5P > H5P overview".
      2. Run the H5P scheduled task to download available H5P content types.
      3. Access to "Site administration > H5P > Manage H5P content types".
      4. Check "Accordion" content-type still has version "1.0.23".
      5. Enable "Accordion" content-type.
      6. Access to "Site administration > H5P > H5P overview".
      7. Run the H5P scheduled task to download available H5P content types.
      8. Access to "Site administration > H5P > Manage H5P content types".
      9. Check "Accordion" content-type still has a newer version (i.e. "1.0.26").
      Show
      Mostly covered by unit tests. Only the following manual tests are required: Setup Login as admin. Go to "Site administration > Server > System paths" and set "Path to PHP CLI" with the proper value. Access to "Site administration > H5P > Manage H5P content types". If exists, remove "Accordion" content-type. Upload the attached .h5p file to the "H5P content type" field. Check "Accordion" content-type has been created and has version "1.0.23". Disable "Accordion" content-type.   Testing scenario: Download H5P content types Access to "Site administration > H5P > H5P overview". Run the H5P scheduled task to download available H5P content types. Access to "Site administration > H5P > Manage H5P content types". Check "Accordion" content-type still has version "1.0.23". Enable "Accordion" content-type. Access to "Site administration > H5P > H5P overview". Run the H5P scheduled task to download available H5P content types. Access to "Site administration > H5P > Manage H5P content types". Check "Accordion" content-type still has a newer version (i.e. "1.0.26").
    • Moppies Kanban

    Description

      It would be useful if a site admin could configure which H5P content types were available sitewide.

      For example, if a site admin wanted to prevent the use of the Interactive Video content type, it could be disabled (without deleting the entire content type, which would be restored with the next run of the scheduled task).

      Attachments

        Issue Links

          Activity

            People

              sarjona Sara Arjona (@sarjona)
              meltonml Michelle Melton
              Ferran Recio Ferran Recio
              Victor Déniz Falcón Victor Déniz Falcón
              Anna Carissa Sadia Anna Carissa Sadia
              Amaia Anabitarte, Carlos Escobedo, Laurent David, Mikel Martín Corrales, Sabina Abellan, Sara Arjona (@sarjona), Amaia Anabitarte, Carlos Escobedo, Laurent David, Mikel Martín Corrales, Sabina Abellan, Sara Arjona (@sarjona)
              Votes:
              16 Vote for this issue
              Watchers:
              20 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                17/May/21

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 days, 29 minutes
                  4d 29m