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

Handle external files in the mobile app

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.2.1
    • 3.3.0
    • Resource add-on
    • Hide

      To test this issue, you should configure at least Dropbox and Google Drive repositories in your site. This is already configured in prototype 3.3, course External repositories. This course has all the activities needed to test this issue.

      Please notice that there are a lot of files named "Embedded" that won't be seen embedded in the app. Also, if a file isn't working as it should, please check if in web version works.

      1. Check that you can download and open Dropbox and Google Drive resources. Check that you always see the refresh button in those resources (since we can't tell if they have been updated or not). Check that the downloaded files are opened immediately (they aren't re-downloaded unless you click the refresh icon) and they are available in offline.
      2. Check that the same happens for Dropbox and Google Drive files inserted in a folder. You can find some in Proto 3.3 > External Resources > General > Folder with external resources.
      3. Create a label/page/book/wiki (the one you prefer) and in the HTML content add at least:
        • 1 embedded file created as alias
        • 1 embedded file linked directly (Dropbox)
        • 1 link to a file created as alias
        • 1 link to a file linked directly (Dropbox).
          There is a label like this already created in Proto 3.3 > External Resources > General.
      4. Open the activity from the previous step and wait for the files to be downloaded. Then go offline, leave the activity/section and open it again. Check that the embedded files are seen in offline and you can open the alias link in offline too. Check that the last file (link to a file linked directly) is opened in browser (it won't be loaded because you are offline).
      5. Create 3 mod_resources in your course: 1 Google Docs file (gdoc), 1 Google stylesheet (gsheet) and 1 Google presentation (gslides). Check that you see the right icon next to each file (doc, sheet, presentation).
      6. Check that images, audios and videos configured to be displayed as embedded or auto are shown embedded in the app (like in web). Check that images, audios and videos with other appearance configurations aren't shown embedded, you see the "Open" button. Check that the rest of files always show the "Open" button.
      Show
      To test this issue, you should configure at least Dropbox and Google Drive repositories in your site. This is already configured in prototype 3.3, course  External repositories . This course has all the activities needed to test this issue. Please notice that there are a lot of files named " Embedded " that won't be seen embedded in the app. Also, if a file isn't working as it should, please check if in web version works. Check that you can download and open Dropbox and Google Drive resources. Check that you always see the refresh button in those resources (since we can't tell if they have been updated or not). Check that the downloaded files are opened immediately (they aren't re-downloaded unless you click the refresh icon) and they are available in offline. Check that the same happens for Dropbox and Google Drive files inserted in a folder. You can find some in Proto 3.3 > External Resources > General > Folder with external resources . Create a label/page/book/wiki (the one you prefer) and in the HTML content add at least: 1 embedded file created as alias 1 embedded file linked directly (Dropbox) 1 link to a file created as alias 1 link to a file linked directly (Dropbox). There is a label like this already created in  Proto 3.3 > External Resources > General . Open the activity from the previous step and wait for the files to be downloaded. Then go offline, leave the activity/section and open it again. Check that the embedded files are seen in offline and you can open the alias link in offline too. Check that the last file (link to a file linked directly) is opened in browser (it won't be loaded because you are offline). Create 3 mod_resources in your course: 1 Google Docs file (gdoc), 1 Google stylesheet (gsheet) and 1 Google presentation (gslides). Check that you see the right icon next to each file (doc, sheet, presentation). Check that images, audios and videos configured to be displayed as embedded or auto are shown embedded in the app (like in web). Check that images, audios and videos with other appearance configurations aren't shown embedded, you see the "Open" button. Check that the rest of files always show the "Open" button.
    • MOODLE_32_STABLE
    • MOODLE_33_STABLE
    • Moodle Mobile 3.3.0

    Description

      We should display correctly external files when they are embedded in a resource, like for example, external google shared docs (or dropbox, equella, boxnet, onedrive).

      We should also check when we are dealing with external files to force the download of this files for offline passing the offline=1 (googledrive and onedrive online) extra parameter to pluginfile.php and to show the resource always outdated.

      Ideally, we should support all the external repositories in Moodle.

      Attachments

        Issue Links

          Activity

            People

              dpalou Dani Palou
              jleyva Juan Leyva
              Pau Ferrer Pau Ferrer
              Juan Leyva Juan Leyva
              Berta Maroto Berta Maroto
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                26/May/17