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

Include lesson, feedback, database in the list of Modules supported by the app

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. As admin, enable "Mobile services": Site administration ► Mobile app ► Mobile settings
      2. Then go to Site administration ► Mobile app ► Mobile features
      3. Check that in the Disabled features list in the "Modules" group you see now: Database, Feedback and Lesson among others
      4. Disable lesson, feedback and database modules (in the Disabled features multiple select field) and save
      5. Create a WS Token for one standard user:
        • Click on Site administration ► Plugins ► Web services ► Manage tokens
      6. Next, you can do a CURL REST call simulating a WS client with the user.
        • You need to replace the wstoken, 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=12a2a65aeea2a177055e233f9e303218&section=mobileapp' | python -m "json.tool"

      1. Check that you receive correctly the list of features disabled (i.e. it includes lesson, database and feedback)
      Show
      As admin, enable "Mobile services": Site administration ► Mobile app ► Mobile settings Then go to Site administration ► Mobile app ► Mobile features Check that in the Disabled features list in the "Modules" group you see now: Database, Feedback and Lesson among others Disable lesson, feedback and database modules (in the Disabled features multiple select field) and save Create a WS Token for one standard user: Click on Site administration ► Plugins ► Web services ► Manage tokens Next, you can do a CURL REST call simulating a WS client with the user. You need to replace the wstoken, 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=12a2a65aeea2a177055e233f9e303218&section=mobileapp' | python -m "json.tool" Check that you receive correctly the list of features disabled (i.e. it includes lesson, database and feedback)
    • Affected Branches:
      MOODLE_33_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-58443-master

      Description

      Via Moodle setting we allow to disable some features in the app (including complete modules), since for 3.3 we are going to support this new modules we need to include them in the settings.

        Attachments

          Activity

            People

            Assignee:
            jleyva Juan Leyva
            Reporter:
            jleyva Juan Leyva
            Peer reviewer:
            Dani Palou
            Integrator:
            Jake Dallimore
            Tester:
            Jake Dallimore
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Juan Leyva, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              15/May/17