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

Users should be able to contact the site's support via the Moodle App (Backport of MDL-69810)

    XMLWordPrintable

Details

    • MOODLE_39_STABLE
    • MOODLE_39_STABLE
    • Hide

      Moodle 3.9 only

      1. As admin, enable "Mobile services": Site administration ► Mobile app ► Mobile settings
      2. Create a Token in the mobile app service for any user in the site (not an admin account)
        • Click on Site administration ► Plugins ► Web services ► Manage tokens
      3. Go to Site administration > Server > Support contact
      4. Fill all the configuration values (support name, email and page) and SAve changes
      5. Open the console an execute this new curl request, replacing wstoken with the token you just created and the site url with yours.

        curl 'http://localhost/m/stable_master/webservice/rest/server.php?moodlewsrestformat=json' --data 'wsfunction=tool_mobile_get_config&wstoken=3af67232a7596ceb658df4db329e5ad6' | python -m "json.tool"

      6. Confirm that:
        • In the curl request response you see the fields with the following names: supportname, supportemail, and supportpage
        • The values of the previous fields matches the values you filled
      Show
      Moodle 3.9 only As admin, enable "Mobile services": Site administration ► Mobile app ► Mobile settings Create a Token in the mobile app service for any user in the site (not an admin account) Click on Site administration ► Plugins ► Web services ► Manage tokens Go to Site administration > Server > Support contact Fill all the configuration values (support name, email and page) and SAve changes Open the console an execute this new curl request, replacing wstoken with the token you just created and the site url with yours. curl 'http://localhost/m/stable_master/webservice/rest/server.php?moodlewsrestformat=json' --data 'wsfunction=tool_mobile_get_config&wstoken=3af67232a7596ceb658df4db329e5ad6' | python -m "json.tool" Confirm that: In the curl request response you see the fields with the following names: supportname, supportemail, and supportpage The values of the previous fields matches the values you filled

    Description

      It should be totally fine backporting these changes because they are just basically returning more data in a Web Service without modifying its signature.

      This will help us to point us our users to their primary support/help resources.

      Attachments

        Issue Links

          Activity

            People

              jleyva Juan Leyva
              jleyva Juan Leyva
              Dani Palou Dani Palou
              Andrew Lyons Andrew Lyons
              Anna Carissa Sadia Anna Carissa Sadia
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                18/Jan/21

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 10 minutes
                  1h 10m