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

Nextcloud documents shared via controlled links that are displayed embedded in a file resource shows the complete site embedded

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.6
    • 3.6
    • Repositories
    • MOODLE_36_STABLE
    • MOODLE_36_STABLE
    • MDL-64227-master
    • Hide

      Create a nextcloud oauth2 service and a nextcloud repository. 

      https://demo.nextcloud.com/ is useful for this.

      Create a site wide instance of the nextcloud repository and only enable the "External" files.

      Add a file to the course and choose it from the next cloud repository (a txt file is a good example).

      Edit the file and open the file picker again. Select the nextcloud repository and then press the small "Logout" button in the file picker.

      Go back to the course and view the file. You should see a button like "Login to your Nextcloud account" in an iframe in the course page. The iframe should not contain all the surrounding navigation like breadcrumbs, course header etc - it should only contain the button.

       

      Show
      Create a nextcloud oauth2 service and a nextcloud repository.  https://demo.nextcloud.com/  is useful for this. Create a site wide instance of the nextcloud repository and only enable the "External" files. Add a file to the course and choose it from the next cloud repository (a txt file is a good example). Edit the file and open the file picker again. Select the nextcloud repository and then press the small "Logout" button in the file picker. Go back to the course and view the file. You should see a button like "Login to your Nextcloud account" in an iframe in the course page. The iframe should not contain all the surrounding navigation like breadcrumbs, course header etc - it should only contain the button.  

      See the attached image:
      Steps to reproduce

      1. Enable Nextcloud repository integration
      2. Go to a course and create a file resource:
        • Using the file picker, browse the Nextcloud repository and add a file as a "controlled link / link to file"
        • Use the display options to embed the file

            damyon Damyon Wiese
            jleyva Juan Leyva
            Juan Leyva Juan Leyva
            Jun Pataleta Jun Pataleta
            Jun Pataleta Jun Pataleta
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

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