Aquesta pàgina forma part de la documentació de Moodle en català, tot i que no ha estat traduïda encara. Podeu contribuir obertament a les tasques de traducció. Podeu consultar la Guia d'edició de la documentació i també participar ens els debats del fòrum de traductors de la documentació a moodle.org

Dropbox repository: diferència entre les revisions

De MoodleDocs
Salta a:navegació, cerca
(copied from 2.5 docs)
 
(9 revisions intermèdies per 4 usuaris que no es mostren)
Línia 1: Línia 1:
{{Repositories}}
{{Repositories}}
<p class="note">'''Please refer to [[Page_notes#Repositories|these notes]] before editing this page.'''</p>
The Dropbox repository enables users to copy (but not link to) files from ''their own'' Dropbox into Moodle.  


==Enabling the Dropbox repository==


A Dropbox repository can be enabled by an administrator in ''Site administration > Modules > Repositories > Manage repositories''.
The Dropbox repository may be enabled by a site administrator in ''Settings > Site administration > Modules > Repositories > Manage repositories''.


==Sign up app keys at dropbox==
===Sign up app keys at dropbox===


# Go to https://www.dropbox.com/developers/apps
# Go to https://www.dropbox.com/developers/apps
Línia 13: Línia 14:
NOTE: The only way to get App stats for Production approved is to use an acceptable App name. The App name should be something like "Moodle With Dropbox" - with dropbox is the key part of the name (can't just use dropbox). Otherwise, you'll receive an email that says "Your app name does not follow Dropbox branding guidelines (found here: https://www.dropbox.com/developers/branding ). Please choose a new name and submit a request to change your app name to api-program@dropbox.com."
NOTE: The only way to get App stats for Production approved is to use an acceptable App name. The App name should be something like "Moodle With Dropbox" - with dropbox is the key part of the name (can't just use dropbox). Otherwise, you'll receive an email that says "Your app name does not follow Dropbox branding guidelines (found here: https://www.dropbox.com/developers/branding ). Please choose a new name and submit a request to change your app name to api-program@dropbox.com."


==Configuration==
===Dropbox configuration===
Once enabled by the administrator a Dropbox API Key and Secret will need to be added to the Dropbox settings in order for it to work. This will be ''the'' Dropbox available to all users throughout the site (and each will need the correct Dropbox login credentials to access it from their courses).  To gather the Dropbox API Key and Secret click the "Dropbox Developers" link on the Dropbox repository settings page.  On the next page you'll be prompted to login with your Dropbox username and password and to create a Dropbox app.   
Once enabled by the administrator, a Dropbox API Key and Secret will need to be added to the Dropbox settings in order for it to work.   To gather the Dropbox API Key and Secret click the "Dropbox Developers" link on the Dropbox repository settings page.  On the next page you'll be prompted to login with your Dropbox username and password and to create a Dropbox app.   


Once the App has been created at Dropbox.com you'll have the API Secret and Key available at the bottom of the App page.  Entering those on the Dropbox settings page (and clicking Save) back in Moodle will finish the configuration.  Dropbox is now available to the entire site.
Once the App has been created at Dropbox.com you'll have the API Secret and Key available at the bottom of the App page.  Entering those on the Dropbox settings page (and clicking Save) back in Moodle will finish the configuration.  Dropbox is now available to the entire site and users will  log in with their own Dropbox details and be able to access their own Dropbox files.


To access it editing teachers need only "Add..." a new file while editing or creating a resource to see Dropbox as a new option.
To access it editing teachers need only "Add..." a new file while editing or creating a resource to see Dropbox as a new option.
Import files from Dropbox into Moodle 2.0 video:
<mediaplayer>http://www.youtube.com/watch?v=V221JLCywWs</mediaplayer>
==Repository capabilities==
There is just one capability, [[Capabilities/repository/dropbox:view|View a Dropbox folder]], which is allowed for the default authenticated user role.


==See also==
==See also==


* [http://www.youtube.com/watch?v=V221JLCywWs Import files from Dropbox into Moodle 2.0 video]
* MDL-26949 - Dropbox repository - only app creator can use the dropbox but no other user in dropbox development mode
* MDL-19168
* [http://www.somerandomthoughts.com/blog/2012/10/23/using-dropbox-repository-with-moodle/ Using Dropbox Repository with Moodle] blog post by Gavin Henrick
* MDL-26949 - Can't change the Dropbox API key and secret to production status


[[Category:Repositories]]
[[de:Dropbox Repository]]
[[de:Dropbox]]
[[ja:Dropbox]]

Revisió de 08:49, 3 juny 2013

The Dropbox repository enables users to copy (but not link to) files from their own Dropbox into Moodle.

Enabling the Dropbox repository

The Dropbox repository may be enabled by a site administrator in Settings > Site administration > Modules > Repositories > Manage repositories.

Sign up app keys at dropbox

  1. Go to https://www.dropbox.com/developers/apps
  2. Create an app, you must change app status to Production. This feature is only availble for new API developers, but not for Moodle repository users. See MDL-26949
  3. Copy the app keys (scroll if necessary)

NOTE: The only way to get App stats for Production approved is to use an acceptable App name. The App name should be something like "Moodle With Dropbox" - with dropbox is the key part of the name (can't just use dropbox). Otherwise, you'll receive an email that says "Your app name does not follow Dropbox branding guidelines (found here: https://www.dropbox.com/developers/branding ). Please choose a new name and submit a request to change your app name to api-program@dropbox.com."

Dropbox configuration

Once enabled by the administrator, a Dropbox API Key and Secret will need to be added to the Dropbox settings in order for it to work. To gather the Dropbox API Key and Secret click the "Dropbox Developers" link on the Dropbox repository settings page. On the next page you'll be prompted to login with your Dropbox username and password and to create a Dropbox app.

Once the App has been created at Dropbox.com you'll have the API Secret and Key available at the bottom of the App page. Entering those on the Dropbox settings page (and clicking Save) back in Moodle will finish the configuration. Dropbox is now available to the entire site and users will log in with their own Dropbox details and be able to access their own Dropbox files.

To access it editing teachers need only "Add..." a new file while editing or creating a resource to see Dropbox as a new option.

Import files from Dropbox into Moodle 2.0 video:

<mediaplayer>http://www.youtube.com/watch?v=V221JLCywWs</mediaplayer>

Repository capabilities

There is just one capability, View a Dropbox folder, which is allowed for the default authenticated user role.

See also