Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-2301

Allow downloading all courses in a site

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. In web as admin in a 3.2 or higher site, create several courses. You can add some downloadable activities in them.
      2. In the app, login in that site and access one of the courses.
      3. Open the top right menu and check that you see a "Download course" option. Click it and check that all the activities are downloaded and can be accessed in offline. Check that you can access the course options (Participants, Grades, etc.) in offline too.
      4. Now go to course overview, click the kebab icon in any other course and check that you see a "Download course" option too. Download the course and check that all activities are downloaded and you can access the course options in offline.
      5. Still in Course Overview, open the kebab menu in the top of the view and check there's a "Download courses" option. Click it and check that all courses are downloaded. Check that you see the progress of the download (e.g. 1/6 means 1 course downloaded, 5 being downloaded).
      6. Now go to search a course. Search a course where you're enrolled or it has guest access. Check that you see the option to download the course. Check that it works as expected.
      7. Finally, access a site with 3.1 or older and check that you can also see and use the options to download a course and download all courses in My Courses view.
      Show
      In web as admin in a 3.2 or higher site, create several courses. You can add some downloadable activities in them. In the app, login in that site and access one of the courses. Open the top right menu and check that you see a "Download course" option. Click it and check that all the activities are downloaded and can be accessed in offline. Check that you can access the course options (Participants, Grades, etc.) in offline too. Now go to course overview, click the kebab icon in any other course and check that you see a "Download course" option too. Download the course and check that all activities are downloaded and you can access the course options in offline. Still in Course Overview, open the kebab menu in the top of the view and check there's a "Download courses" option. Click it and check that all courses are downloaded. Check that you see the progress of the download (e.g. 1/6 means 1 course downloaded, 5 being downloaded). Now go to search a course. Search a course where you're enrolled or it has guest access. Check that you see the option to download the course. Check that it works as expected. Finally, access a site with 3.1 or older and check that you can also see and use the options to download a course and download all courses in My Courses view.
    • Affected Branches:
      MOODLE_34_STABLE
    • Fixed Branches:
      MOODLE_34_STABLE
    • Sprint:
      Moodle Mobile 3.4.1

      Description

      We should provide a way to download all courses in a site with a single click. This will download all activities that are downloadable and it will also prefetch the course options: participants, grades, completion, etc. However, it won't prefetch all the subpages inside each course option. E.g. we will download the list of participants, but we won't download the profile of each participant.

      Specs:

      • Add a new context menu item at course level (next to participants,  grades,...) that will allow downloading the existing course, including course options data.
      • Add a new "download all courses" button in the dashboard to download all courses.
      • The progress when downloading all courses will show the amount of courses downloaded and pending. E.g. "2/6" means 2 courses were downloaded, 4 still ongoing.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dpalou Dani Palou
                Reporter:
                dpalou Dani Palou
                Peer reviewer:
                Pau Ferrer
                Integrator:
                Juan Leyva
                Tester:
                Juan Leyva
                Participants:
                Component watchers:
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  28/Feb/18