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

Mobile features should be updated to the new ones in Moodle Mobile 3.7

    XMLWordPrintable

Details

    • MOODLE_34_STABLE, MOODLE_37_STABLE
    • MOODLE_37_STABLE
    • MDL-61199-master
    • Hide
      1. Enable "Mobile services": Plugins ► Web Services ► Mobile
      2. Create a WS Token for one user on the site:
        • Click on Site administration ► Plugins ► Web services ► Manage tokens
      3. Go to Site administration ►Mobile app ►Mobile features - Disabled features option
      4. Select the "Tags", and "Ratings" options under the General section (first section)
      5. Open a terminal/console and execute the following command:
        • You need to replace the wstoken with the token created in step 2 and the URL of your moodle instance

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

      6. Check that in the WS response, in the tool_mobile_disabledfeatures value field, you see the following value (maybe not in the same order): "NoDelegate_CoreRating, NoDelegate_CoreTag"
      7. Now, go back to Site administration ►Mobile app ►Mobile features - Disabled features option, and unselect all the options under the "Blocks" section
      8. Execute the CURL request again and check that the tool_mobile_disabledfeatures value is empty
      Show
      Enable "Mobile services": Plugins ► Web Services ► Mobile Create a WS Token for one user on the site: Click on Site administration ► Plugins ► Web services ► Manage tokens Go to Site administration ►Mobile app ►Mobile features - Disabled features option Select the "Tags", and "Ratings" options under the General section (first section) Open a terminal/console and execute the following command: You need to replace the wstoken with the token created in step 2 and the URL of your moodle instance curl 'http://localhost/m/stable_master/webservice/rest/server.php?moodlewsrestformat=json' --data 'wsfunction=tool_mobile_get_config&wstoken=3af67232a7596ceb658df4db329e5ad6&section=mobileapp' | python -m "json.tool" Check that in the WS response, in the tool_mobile_disabledfeatures value field, you see the following value (maybe not in the same order): "NoDelegate_CoreRating, NoDelegate_CoreTag" Now, go back to Site administration ►Mobile app ►Mobile features - Disabled features option, and unselect all the options under the "Blocks" section Execute the CURL request again and check that the tool_mobile_disabledfeatures value is empty

    Description


      We must include also new features included in latest app versions (like blogs and rating for 3.6.1)

      Attachments

        Issue Links

          Activity

            People

              jleyva Juan Leyva
              jleyva Juan Leyva
              Pau Ferrer Pau Ferrer
              David Monllaó David Monllaó
              Janelle Barcega Janelle Barcega
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                20/May/19

                Time Tracking

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