-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
31 changed files
with
146 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,142 @@ | ||
# Module list | ||
|
||
Here is the list of available modules in source (reading) and target (writing) : | ||
|
||
| Module | Source | Target | | ||
|--------------------------------|--------|--------| | ||
| Courses | Yes | Yes | | ||
| Users | Yes | Yes | | ||
| Group members | No | Yes | | ||
| Groups | No | Yes | | ||
| Enrollment | Yes | Yes | | ||
| Unenrollment | No | Yes | | ||
| Notes | No | Yes | | ||
| Courses completion | Yes | No | | ||
| Activities completion | Yes | No | | ||
| Courses last access | Yes | No | | ||
| Competencies module completion | Yes | No | | ||
| User competencies | Yes | No | | ||
| User grades | Yes | No | | ||
|
||
|
||
|
||
# Install the plugin Myddleware in Moodle. | ||
|
||
Go to the administration of the site and then ``Plugins`` and ``Install plugins`` | ||
|
||
 | ||
|
||
Then you can choose to install it from Moodle plugins directory if you Moodle instance is registered or you can install it from the archive that you can [download it here](https://moodle.org/plugins/local_myddleware) | ||
|
||
 | ||
|
||
> This plugin contains several custom webservice functions required by Myddleware. | ||
Then click on ``Continue`` : | ||
|
||
 | ||
|
||
Click again on ``Continue`` : | ||
|
||
 | ||
|
||
Then click on ``Upgrade Moodle database now`` : | ||
|
||
 | ||
|
||
Then click on ``Continue`` : | ||
|
||
 | ||
|
||
# Enable web services | ||
|
||
Go to ``Site administration`` and then ``Server Web services`` and ``Overview`` | ||
|
||
 | ||
|
||
In the overview page, click on ``Enable web services`` and check the box : | ||
|
||
 | ||
|
||
In the overview page, click on ``Enable protocols`` and enable the REST one : | ||
|
||
 | ||
|
||
In the overview, you should have ``Yes`` and ``REST``, then click on ``Create a specific user`` to create a user for Myddleware : | ||
|
||
 | ||
|
||
# Create user and role | ||
|
||
Create a new user, click on ``Site administration`` and then ``Users`` and ``Add new user`` | ||
|
||
 | ||
|
||
> Create the user that the web service will use, set an username, first name, surname, email address and set web service authentication. No need to set a password : | ||
 | ||
|
||
Then import Myddleware’ s role in Go to ``Site administration`` -> ``Users`` -> ``Permissions`` -> ``Define roles`` : | ||
|
||
 | ||
|
||
Then click on ``Add a new role`` : | ||
|
||
 | ||
|
||
Download Myddleware’s role <a href="file/myddleware_moodle_role_1.4.xml" download>here</a>. | ||
|
||
Add the xml file here and click on ``Continue``: | ||
|
||
 | ||
|
||
Then go to the bottom of the page and click on ``Create this role`` : | ||
|
||
 | ||
|
||
Assign this role to the user you have created. Go to ``Site administration`` -> ``Users`` -> ``Permissions`` -> ``Assign system roles`` | ||
|
||
 | ||
|
||
> Click on ``Myddleware`` : | ||
 | ||
|
||
Then select Myddleware ‘s user and add it to the left column : | ||
|
||
 | ||
|
||
# Authorised users | ||
|
||
Go to Site administration -> Server -> Web services -> External services | ||
|
||
 | ||
|
||
Click on ``Authorised users`` : | ||
|
||
 | ||
|
||
Then select Myddleware‘s user and add it to the left column : | ||
|
||
 | ||
|
||
|
||
> You shouldn’t have any missing capacity at the bottom of the page. | ||
Go to Site administration -> Server -> Web services -> Manage tokens | ||
|
||
 | ||
|
||
Select Myddleware ‘s user and Myddleware service, then click on Save Changes : | ||
|
||
 | ||
|
||
Then copy your token : | ||
|
||
 | ||
|
||
# Generate Moodle’s token | ||
|
||
Finally, you can create your Moodle Myddleware connector by filling in your Moodle URL and your token : | ||
|
||
 |