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

Improve admin UI to manage H5P libraries and give information about H5P tools' status

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Prerequisites:

      1. A new Moodle installation with default setting values.
      2. Need to know the right setting for ''Path to PHP CLI' system path.

      Testing improvements in Manage H5P content types page:

      1. Login as admin in a new Moodle site installation
      2. Go to Site administration > Server > System paths. Ensure there is a correct pathtophp setting to 'Path to PHP CLI' and 'Save changes'.
      3. Go to Site administration > Security > Site security settings. Ensure 'Allow 'Run now' for scheduled tasks' is checked and disable 'Cron execution via command line only' checkbox. 'Save changes'.
      4. Go to site administration > Server > Tasks > Scheduled tasks Manage H5P content types
      5. Click on 'Run now' link for 'Download available H5P content types from h5p.org' task.
      6. Click on 'Run now' confirmation button. Wait till the task has finished.
      7. Go to site administration > H5P > Manage H5P content types
      8. Check all content types in 'Installed H5P content types' list has its own icon.
      9. Go to the 'Installed H5P libraries' tab.
      10. Check all libraries in 'Installed H5P libraries tab' haven't any icon.

      Testing new H5P Overview page:

      • Mostly covered by Behat, but some other features and improvements need to be tested.
      1. Login as admin in a new Moodle site installation
      2. Go to site administration > H5P > Overview
      3. Click on 'H5P scheduled task'. Mark 'Disabled' setting and 'Save changes'.
      4. Go to site administration > H5P > Overview
      5. Confirm 'H5P scheduled task' is 'Off'.
      6. Click on 'H5P scheduled task'. Uncheck 'Disabled' setting and 'Save changes'.
      7. Go to Site administration > Server > System paths. Ensure there is a correct pathtophp setting to 'Path to PHP CLI' and 'Save changes'.
      8. Go to Site administration > Security > Site security settings. Ensure 'Allow 'Run now' for scheduled tasks' is checked and 'Save changes'.
      9. Go to site administration > H5P > Overview
      10. Confirm there is a 'Run now' link for 'H5P scheduled task'. 

       
       

      Show
      Prerequisites: A new Moodle installation with default setting values. Need to know the right setting for ''Path to PHP CLI' system path. Testing improvements in Manage H5P content types page: Login as admin in a new Moodle site installation Go to Site administration > Server > System paths. Ensure there is a correct pathtophp setting to 'Path to PHP CLI' and 'Save changes'. Go to Site administration > Security > Site security settings. Ensure 'Allow 'Run now' for scheduled tasks' is checked and disable 'Cron execution via command line only' checkbox. 'Save changes'. Go to site administration > Server > Tasks > Scheduled tasks Manage H5P content types Click on 'Run now' link for 'Download available H5P content types from h5p.org' task. Click on 'Run now' confirmation button. Wait till the task has finished. Go to site administration > H5P > Manage H5P content types Check all content types in 'Installed H5P content types' list has its own icon. Go to the 'Installed H5P libraries' tab. Check all libraries in 'Installed H5P libraries tab' haven't any icon. Testing new H5P Overview page: Mostly covered by Behat, but some other features and improvements need to be tested. Login as admin in a new Moodle site installation Go to site administration > H5P > Overview Click on 'H5P scheduled task'. Mark 'Disabled' setting and 'Save changes'. Go to site administration > H5P > Overview Confirm 'H5P scheduled task' is 'Off'. Click on 'H5P scheduled task'. Uncheck 'Disabled' setting and 'Save changes'. Go to Site administration > Server > System paths. Ensure there is a correct pathtophp setting to 'Path to PHP CLI' and 'Save changes'. Go to Site administration > Security > Site security settings. Ensure 'Allow 'Run now' for scheduled tasks' is checked and 'Save changes'. Go to site administration > H5P > Overview Confirm there is a 'Run now' link for 'H5P scheduled task'.     
    • Affected Branches:
      MOODLE_38_STABLE
    • Fixed Branches:
      MOODLE_39_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-67060-master
    • Sprint:
      Moodle 3.9 - Moppies Kanban

      Description

      Improve admin UI for H5P management:

      1. Add icons to installed content types list in Site administration > H5P > Manage H5P content types  
      2. Add a new page to show the admins information about the status of different H5P tools installed: tool name, status and description.
      3. Would be good to have links to management page for each tool from this new overview page, and an option to run the scheduled task without having to access to the Scheduled tasks page if everything is configured properly.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              amaia Amaia Anabitarte
              Reporter:
              sarjona Sara Arjona (@sarjona)
              Peer reviewer:
              Carlos Escobedo
              Integrator:
              Sara Arjona (@sarjona)
              Tester:
              Anna Carissa Sadia
              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:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/May/20

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 days, 1 hour, 45 minutes
                  4d 1h 45m