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

Calculate course modules status in courses via core_course_check_updates

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.3
    • Fix Version/s: 3.2
    • Component/s: Course contents add-on
    • Labels:
    • Testing Instructions:
      Hide
      1. In the app, login in a site using Moodle 3.2 using a teacher account.
      2. Check that you can download all kind of modules just like before.
      3. Check that downloaded books, choices and glossaries don't show the refresh button if there isn't anything new (until now they always showed the refresh button).
      4. In web, update some of the modules you downloaded (add new files in a resource, add a new entry to a glossary, a new post to a forum, a new chapter in a book, a new page in a wiki..., etc.). Please notice that deleting items will not be detected.
      5. As student do a new submission to an existing assignment.
      6. In the app, perform a Pull to Refresh in the section containing the updated module (or in the list of sections with download sections enabled) and check that now the module shows the refresh button. Check that you can re-download the module.
      7. Now login in a site previous to 3.2 and check that prefetch still works like before.
      Show
      In the app, login in a site using Moodle 3.2 using a teacher account. Check that you can download all kind of modules just like before. Check that downloaded books, choices and glossaries don't show the refresh button if there isn't anything new (until now they always showed the refresh button). In web, update some of the modules you downloaded (add new files in a resource, add a new entry to a glossary, a new post to a forum, a new chapter in a book, a new page in a wiki..., etc.). Please notice that deleting items will not be detected. As student do a new submission to an existing assignment. In the app, perform a Pull to Refresh in the section containing the updated module (or in the list of sections with download sections enabled) and check that now the module shows the refresh button. Check that you can re-download the module. Now login in a site previous to 3.2 and check that prefetch still works like before.
    • Affected Branches:
      MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Sprint:
      Moodle Mobile 3.2

      Description

      In order to speed-up the calculations required to check if there are updates available for a downloaded resource or activity the core_course_check_updates WS could be used.

      With a single request (including all course modules) the module status could be calculated

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                12/Dec/16