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

Add new config.json setting to allow to specify staging sites for testing purposes

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor Minor
    • 4.2.0
    • 4.1.1
    • Log in screen
    • Hide

      This issue should be tested by a developer and can be tested only with one device.

      1. Add some sites to sites list in moodle.config.json, including at least one site as staging (staging: true).
      2. Select a site and login with a student and work with the app in general. You should be able to do it properly.
        1. Without logout, enable dev options and toggle `Enable staging sites`. Then, when you logout, now you should be able to see staging sites.
        2. Check that you can login inside a staging site and the app should work as expected.
      3. Logout and disable staging sites. The app should be refreshed (like when you logout from a site), and when you check the site selection page, you shouldn't be able to see staging sites.
      4. Select a site and login with a student and work with the app in general. You should be able to do it properly.
      5. Logout and enable staging sites. Like in the step 3, the app should refreshed but, when you check the site selection page, you should be able to see staging sites.
      6. Select a site (can be staging or not) and login with a student and work with the app in general. You should be able to do it properly.

       

      Show
      This issue should be tested by a developer and can be tested only with one device. Add some sites to sites list in moodle.config.json, including at least one site as staging (staging: true). Select a site and login with a student and work with the app in general. You should be able to do it properly. Without logout, enable dev options and toggle `Enable staging sites`. Then, when you logout, now you should be able to see staging sites. Check that you can login inside a staging site and the app should work as expected. Logout and disable staging sites. The app should be refreshed (like when you logout from a site), and when you check the site selection page, you shouldn't be able to see staging sites. Select a site and login with a student and work with the app in general. You should be able to do it properly. Logout and enable staging sites. Like in the step 3, the app should refreshed but, when you check the site selection page, you should be able to see staging sites. Select a site (can be staging or not) and login with a student and work with the app in general. You should be able to do it properly.  
    • MOODLE_401_STABLE
    • MOODLE_402_STABLE
    • Moodle App 4.2.0

      This is to avoid having to create multi-site apps publicly displaying staging sites

      First of all, this can be enabled only via config.json, "stagingsites": (if the array is empty or not set or false we should not display the toggle in Development settings)

      To view the list of staging sites the tester will have to enable a special option in the app Development settings "Enable staging sites" (toggle)

      Once enabled, the app should display on the first screen the list of sites (simulating what a multi-site app would do).

            alfonso.salces@moodle.com Alfonso Salces
            jleyva Juan Leyva
            Dani Palou Dani Palou
            Noel De Martin Noel De Martin
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.