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

Allow teachers to share courses to MoodleNet (all activities)

    XMLWordPrintable

Details

    • MOODLE_401_STABLE, MOODLE_403_STABLE
    • MOODLE_403_STABLE
    • MDL-75318-master
    • Hide

      Initial setup

      1. Navigate to "Site administration > Development > Experimental".
      2. Enable the "Enable sharing to MoodleNet" setting.

      Test scenario (Share course):

      1. Navigate to Admin > Server > OAuth 2 services.
      2. Click on the "MoodleNet' button.
      3. Change the URL to "https://mn3.prototype.moodle.net" (so that it points to the MoodleNet prototype site).
      4. Change the name to "Prototype MoodleNet"
      5. Click Save changes.
      6. Navigate to Site Administration / General / MoodleNet outbound settings.
      7. Verify that you now see a "Prototype MoodleNet" option in the OAuth 2 service dropdown, in addition to MoodleNet Local and None.
      8. Change the OAuth 2 service to "Prototype MoodleNet"  and save the changes.
      9. Navigate to the course you previously created.
      10. Click on the More menu and select Share to MoodleNet.
      11. Verify that you will see the course short name and activity type.
      12. Verify that you will see You are sharing this to MoodleNet as a resource.
      13. Verify that you will see: Sharing to: Prototype MoodleNet.
      14. Click on the Share button.
      15. Verify that a new popup will be open and ask you to authorize with the MoodleNet site.
      16. Click the cancel button.
      17. Verify that the popup closes, but that the share to MoodleNet modal is still open on the initial screen in the Moodle LMS.
      18. Click on the Share button again.
      19. Verify that the authorization popup appears again.
      20. This time, click Authorize.
      21. Verify that the popup is closed and the dialogue in the modal within Moodle LMS shows that the system is packaging the activity.
      22. Verify that you will see a successful dialogue say that:  Saved to MoodleNet drafts.
      23. Click the "Go to MoodleNet drafts" button at the bottom right of the modal.
      24. Verify that a new tab opens, which loads the MoodleNet prototype site.
      25. Verify that there is a heading which matches the name of the course.
      26. Verify that you seen an attachment with name ending in courseshortname_backup.mbz.
      Show
      Initial setup Navigate to "Site administration > Development > Experimental". Enable the "Enable sharing to MoodleNet" setting. Test scenario (Share course): Navigate to Admin > Server > OAuth 2 services. Click on the "MoodleNet' button. Change the URL to "https://mn3.prototype.moodle.net" (so that it points to the MoodleNet prototype site). Change the name to "Prototype MoodleNet" Click Save changes. Navigate to Site Administration / General / MoodleNet outbound settings. Verify that you now see a "Prototype MoodleNet" option in the OAuth 2 service dropdown, in addition to MoodleNet Local and None. Change the OAuth 2 service to "Prototype MoodleNet"  and save the changes. Navigate to the course you previously created. Click on the More menu and select Share to MoodleNet. Verify that you will see the course short name and activity type. Verify that you will see You are sharing this to MoodleNet as a resource. Verify that you will see: Sharing to: Prototype MoodleNet. Click on the Share button. Verify that a new popup will be open and ask you to authorize with the MoodleNet site. Click the cancel button. Verify that the popup closes, but that the share to MoodleNet modal is still open on the initial screen in the Moodle LMS. Click on the Share button again. Verify that the authorization popup appears again. This time, click Authorize. Verify that the popup is closed and the dialogue in the modal within Moodle LMS shows that the system is packaging the activity. Verify that you will see a successful dialogue say that:  Saved to MoodleNet drafts. Click the "Go to MoodleNet drafts" button at the bottom right of the modal. Verify that a new tab opens, which loads the MoodleNet prototype site. Verify that there is a heading which matches the name of the course. Verify that you seen an attachment with name ending in courseshortname_backup.mbz.
    • 10
    • Team Hedgehog 2023 Sprint 2.1, Team Hedgehog 2023 Sprint 2.2, Team Hedgehog 2023 Sprint 2.3, Team Hedgehog 2023 Review 2, Team Hedgehog 2023 Sprint 3.1

    Description

      This issue resolves the following user story:

      1. As a teacher, I can share the contents of a whole course as a Moodle backup file to MoodleNet, so others can import and use the course I have written.

      Requirements

      1. A new capability, moodle/moodlenet:sharecourse, consistent with the existing shareactivity capability.
      2. Teacher has the ability to share a course from the course homepage.
      3. The implementation should build onto, and be consistent with, the existing activity sharing to MoodleNet.
      4. Modal UI will be consistent with activity sharing, since it relates to sharing the whole course as a backup.
      5. User/student data is not included, consistent with activity sharing.
      6. Behat/unit tests implemented as applicable.

      Out of scope

      1. The ability to view and select/deselect individual activities from the course (this will be introduced by MDL-78267).

      Attachments

        Issue Links

          Activity

            People

              safat.shahin@moodle.com Safat Shahin
              michaelh Michael Hawkins
              Huong Nguyen Huong Nguyen
              Shamim Rezaie Shamim Rezaie
              Kim Jared Lucas Kim Jared Lucas
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 week, 4 days, 6 hours, 11 minutes
                  1w 4d 6h 11m

                  Clockify

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