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

Extra instructions required for configuring a Dropbox repository

XMLWordPrintable

    • MOODLE_23_STABLE
    • MOODLE_21_STABLE, MOODLE_22_STABLE
    • Hide

      This test requires the Dropbox repository to be enabled and a Dropbox account for use in testing.

      1. Login as a student and go to a forum.
      2. Add a new discussion topic and click the Add button to add an attachment.
      3. Choose Dropbox in the file picker then click the Login button.
      4. Grant access to your Dropbox account.
      5. Select a file then click the 'Post to forum' button.
      6. Check that the Dropbox file is shown as an attachment to the post.
      7. Try downloading the file.

      Show
      This test requires the Dropbox repository to be enabled and a Dropbox account for use in testing. 1. Login as a student and go to a forum. 2. Add a new discussion topic and click the Add button to add an attachment. 3. Choose Dropbox in the file picker then click the Login button. 4. Grant access to your Dropbox account. 5. Select a file then click the 'Post to forum' button. 6. Check that the Dropbox file is shown as an attachment to the post. 7. Try downloading the file.

      When configuring a Dropbox repository, Moodle will only work with a Dropbox app that is configured to for the whole of Dropbox. The default option when creating a Dropbox app is to allow it access to a single folder within the user's Dropbox. If the default option is used when an attempt is made to access a Dropbox repository to upload files, Moodle gives the error:

      "Remote repository returned error: Full Dropbox access attempt failed because this app is not configured to have full Dropbox access. Should your access type be app folder ('sandbox') instead?"

      Update repository/dropbox/lang/en/repository_dropbox.php, $string['instruction'] so that these instructions are displayed on the Dropbox configuration page.

      Test Steps:
      1. Login to Moodle as admin.
      2. Navigate to Settings > Site administration > Plugins > Repositories > Manage Repositories.
      3. Select "Enabled and visible" for the Dropbox repository and then click "Settings".

      Expected Result:

      • Instructions are visible onscreen informing the admin user that they must select the option "Full Dropbox - Your app needs access to the user's entire Dropbox." when setting up a Dropbox app.

            timb Tim Barker
            timb Tim Barker
            Ankit Agarwal Ankit Agarwal
            Dan Poltawski Dan Poltawski
            Frédéric Massart Frédéric Massart
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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