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

The app new sites checking process should use tool_mobile_get_public_config when available

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.1.3
    • Fix Version/s: 3.2
    • Component/s: Log in screen
    • Labels:
    • Testing Instructions:
      Hide
      1. Check that the login works fine in all possible cases:
        • 3.1 or lower with and without local_mobile.
        • 3.2 with and without local_mobile.
      2. In Moodle 3.2 with login in app, check that the site name is shown in credentials screen and, if the site has a logo configured, check that it is shown too.
      Show
      Check that the login works fine in all possible cases: 3.1 or lower with and without local_mobile. 3.2 with and without local_mobile. In Moodle 3.2 with login in app, check that the site name is shown in credentials screen and, if the site has a logo configured, check that it is shown too.
    • Affected Branches:
      MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Sprint:
      Moodle Mobile 3.2

      Description

      Once MDL-54857 lands, will be able to improve the way we check a new site that wants to be added.

      Instead doing the initial check against login/token, we can check via AJAX the response of tool_mobile_get_public_config, from there we'll be able to retrieve the correct site settings, like the URL and get others important public settings (like the SSO support). This will allow us to:

      • Detect if mobile services are enabled or not
      • Detect if the sites is using SSO or not
      • Add the site full name in the credentials screen
      • Handle site maintenance status

        Attachments

          Activity

            People

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

              Dates

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