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

Prevent links to the Moodle site (outlinks) to be displayed on the app

XMLWordPrintable

    • Hide

      This issue requires creating builds with different configurations, or to override the app configuration using subscriptions.

      This issue only needs to be tested in 1 device.

      1. Create a build of the app adding the following config in config.json: hideInformativeLinks: true. You can also apply this config using subscription.
      2. Check that the app no longer displays site URLs or "open in browser" buttons in the following places (a way to make this testing easier is to have 2 builds, one with the setting enabled and one with the setting disabled, and compare that one displays the link and the other doesn't):
        1. In the places where we display a list of sites: sites page (before login), switch account option in user menu, App settings > Synchronization, App settings > Space usage.
        2. In the sites finder (when you click to add a site and search something in the URL field).
        3. Credentials, reconnect and signup page.
        4. User menu, at the top.
        5. App settings > About > Moodle mobile 4.4.0. If you've logged in, you can see the site version but not the URL.
        6. In forum, when viewing a discussion, in the context menu at the top-right you should not see an open in browser option.
        7. When viewing any course, click the "i" icon at the top-right. The open in browser button shouldn't appear in the modal.
        8. When viewing any activity, click the "i" icon at the top-right. The open in browser button shouldn't appear in the modal.
      3. In case you didn't do it already, create a new build with hideInformativeLinks: false. All the links should be displayed, the app should behave as it used to. Please notice that links for demo sites (MOBILE-4459) won't be displayed, no matter if this setting is disabled.
      Show
      This issue requires creating builds with different configurations, or to override the app configuration using subscriptions. This issue only needs to be tested in 1 device. Create a build of the app adding the following config in config.json: hideInformativeLinks: true. You can also apply this config using subscription. Check that the app no longer displays site URLs or "open in browser" buttons in the following places (a way to make this testing easier is to have 2 builds, one with the setting enabled and one with the setting disabled, and compare that one displays the link and the other doesn't): In the places where we display a list of sites: sites page (before login), switch account option in user menu, App settings > Synchronization, App settings > Space usage. In the sites finder (when you click to add a site and search something in the URL field). Credentials, reconnect and signup page. User menu, at the top. App settings > About > Moodle mobile 4.4.0. If you've logged in, you can see the site version but not the URL. In forum, when viewing a discussion, in the context menu at the top-right you should not see an open in browser option. When viewing any course, click the "i" icon at the top-right. The open in browser button shouldn't appear in the modal. When viewing any activity, click the "i" icon at the top-right. The open in browser button shouldn't appear in the modal. In case you didn't do it already, create a new build with hideInformativeLinks: false. All the links should be displayed, the app should behave as it used to. Please notice that links for demo sites ( MOBILE-4459 ) won't be displayed, no matter if this setting is disabled.
    • MOODLE_404_STABLE
    • Moodle Apps - 2023 Sprint i4.1

      There are situations when we want to prevent displaying out links to the site, especially when there are site configurations not compatible with the app and the institution building a custom brand want to "lock" users into the app.

      We decided that we will only hide what we call "informative links". For more information about this please read the shaping document.

            dpalou Dani Palou
            jleyva Juan Leyva
            Noel De Martin Noel De Martin
            Juan Leyva Juan Leyva
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 3 days
                3d
                Remaining:
                Remaining Estimate - 3 days
                3d
                Logged:
                Time Spent - Not Specified
                Not Specified

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