Overview
VisuDesk is a Mac app. It talks directly to your Moodle through a web service – with exactly the permissions each teacher also has in the Moodle interface. There is no VisuCode server and no cloud.
Setup consists of four required steps and one optional step:
- Install the plugins: MCP web service, VisuDesk plugin and Quiz Builder.
- Enable web services and the MCP protocol.
- Create the “VisuDesk” service and add its functions.
- Authorise teachers: a system role that every teacher gets automatically; with it they create their key themselves.
- Optional: a separate “VisuDesk Admin” service for the admin panel (create, archive and delete courses).
1Install the plugins
VisuDesk needs three plugins:
- MCP web service (
webservice_mcp) by onbirdev – the connection between VisuDesk and Moodle. Plugin on GitHub - VisuDesk plugin (
local_visudesk, formerly Course Files) – lets the web service create files, folders and sections, back up and request courses, set self enrolment, and lets teachers connect VisuDesk with one click. Download version 1.0.0 (ZIP) - Still have Course Files (
local_coursefiles)? Install the VisuDesk plugin next to it – it takes over the settings. Then add thelocal_visudesk_…functions to the service; VisuDesk 0.40 or later uses them by itself. Uninstall Course Files later. - Quiz Builder (
local_quizbuilder) version 0.4.0 or later – creates quizzes from quiz files, updates them and fetches them back with all question types. Download version 0.4.1 (ZIP) - Optional: Model solution (
assignfeedback_modelsolution) – the solution for an assignment. Each student sees it only after their own due date (extensions included) and only after submitting. Without the plugin VisuDesk adds the solution as a material with a date. Download version 1.0.1 (ZIP)
So that a submission is fixed only when students click “Submit assignment” – until then they can upload parts and add to them –, set Require students to click the submit button to Yes under Site administration → Plugins → Activity modules → Assignment → Settings. VisuDesk creates assignments this way anyway.
- Open Site administration → Plugins → Install plugins.
- Upload the ZIP file and click Install plugin from the ZIP file, then Continue.
- Confirm the plugin check with Upgrade Moodle database now.
local/ (VisuDesk plugin) or webservice/ (MCP). Then simply open Site administration → Notifications.2Enable web services
- Site administration → General → Advanced features: tick Enable web services and save.
- Site administration → Server → Web services → Manage protocols: enable the MCP protocol (eye icon).
VisuDesk doesn’t need any other protocol.
3Create the “VisuDesk” service
The VisuDesk plugin comes with its own service, but you can’t add further functions to it. That’s why you create a separate service.
- Site administration → Server → Web services → External services → Add.
- Name VisuDesk, short name
visudesk. - Tick Enabled, Can upload files and Can download files; leave Authorised users only off. As Required capability choose
webservice/mcp:use. Without “download”, “⬇ Submissions” and “⬇ Back up course” won’t work. - Add service, then in the list click Functions → Add functions for the service. Add these functions:
| Function | What VisuDesk needs it for |
|---|---|
| Basics | |
core_webservice_get_site_info | check the key, show the name |
core_enrol_get_users_courses | the teacher’s course list |
core_course_get_contents | show a course with sections and resources |
core_course_get_categories | course category of a course, for the right grading scale (VisuDesk 0.35.0 or later) |
| Resources (VisuDesk plugin) | |
local_visudesk_create_resource | upload a file as a resource |
local_visudesk_create_folder | upload a folder with files |
local_visudesk_update_files | replace with a new version |
local_visudesk_set_visibility | show / hide |
local_visudesk_set_availability | schedule when a resource becomes visible |
local_visudesk_set_course_visibility | show or hide the whole course |
local_visudesk_create_section | add a section |
local_visudesk_update_section | rename, show or hide a section |
local_visudesk_move_section | move a section |
local_visudesk_backup_course | Moodle backup (.mbz) without personal data |
| Editing | |
core_courseformat_update_course | move resources and put them in the recycle bin |
core_update_inplace_editable | rename resources |
| Submissions | |
mod_assign_get_assignments | read an assignment for editing: title, description, files, due date |
mod_assign_get_submissions | submissions of an assignment |
mod_assign_get_submission_status | look at one person’s submission to grade it |
mod_assign_list_participants | names for the submission folders |
mod_assign_get_user_flags | submissions overview: lock and extended due date per person (VisuDesk 0.31.0 or later) |
mod_assign_save_user_extensions | extend the due date for individual people |
mod_assign_revert_submissions_to_draft | revert a submission to draft |
mod_assign_lock_submissions | lock submissions of a person |
mod_assign_unlock_submissions | unlock |
core_message_send_instant_messages | reminder about missing submissions as a Moodle message from the teacher |
local_visudesk_set_feedback_files | return corrected files as feedback |
local_visudesk_create_assign | create an assignment |
local_visudesk_set_assign_duedate | change the due date of an assignment |
local_visudesk_update_assign | edit an assignment: title, description, files, due date |
local_visudesk_get_assign_grading | read the grading of an assignment: scale, grades, comments |
local_visudesk_grade_submission | save grade and comment |
local_visudesk_release_grades | release grades, only then students see them |
| Solution for an assignment (plugin Model solution, optional) | |
assignfeedback_modelsolution_set_solution | put the solution on the assignment, released after the due date, only with a submission |
assignfeedback_modelsolution_get_solution | read an assignment’s solution |
| Course requests | |
local_visudesk_request_course | request a new course |
local_visudesk_get_course_requests | show own open requests (admins: all) |
| Self enrolment | |
local_visudesk_get_self_enrolment | show self enrolment and its key |
local_visudesk_set_self_enrolment | turn self enrolment on or off, set the key |
| Lesson planning (VisuDesk plugin 1.1.0 or later, VisuDesk 0.47.0 or later) | |
local_visudesk_get_plan | read the teacher’s own planning (content, sequence, progress) |
local_visudesk_save_plan_entry | save one lesson; Mac and iPad are merged field by field |
local_visudesk_import_plan | upload the existing planning once, without overwriting anything |
| Quiz as a test (plugin local_quizbuilder) | |
local_quizbuilder_get_rules | rules for questions (version) |
local_quizbuilder_import_questions | questions into the course question bank |
local_quizbuilder_create_quiz | create a quiz in the section (hidden) |
local_quizbuilder_add_quiz_questions | add the questions to the quiz |
local_quizbuilder_replace_quiz_questions | update a quiz |
local_quizbuilder_export_quiz_questions | fetch a quiz back with all question types |
6, 5-, 5, 5+, 4-, 4, 4+, 3-, 3, 3+, 2-, 2, 2+, 1-, 1, 1+. Points 15–0 need no scale.4Authorise teachers
Every teacher who has the Teacher role in a course may use VisuDesk and creates their key themselves – you don’t hand out keys or add anyone one by one.
a) A role for the whole site
Moodle checks capabilities such as “create a key” for the whole site, so the course role Teacher cannot grant them – a separate system role does.
- Site administration → Users → Permissions → Define roles → Add a new role, e.g. Web service user, context System.
- Allow these capabilities:
moodle/webservice:createtokenandwebservice/mcp:use, for course requests alsomoodle/course:request.
b) Give the role to all teachers automatically
Site administration → Plugins → Local plugins → VisuDesk: under Site role for teachers choose Web service user and save. Everybody who teaches in a course gets the role at once; new teachers automatically. Admins don’t need it.
5Optional: admin panel
With a separate admin key, VisuDesk shows an Admin button: browse categories, create courses (also as a copy of a template, without participants), enrol teachers, list a teacher’s courses, archive and delete courses – several at once, too.
- Create a second service: name VisuDesk Admin, short name
visudesk_admin, same ticks as above – but here tick Authorised users only so that only you can use it. - Add all 26 functions of “VisuDesk” plus these 11:
| Function | Used for |
|---|---|
core_course_get_categories | show categories |
core_course_get_courses_by_field | courses in a category |
core_course_create_courses | create a new course |
core_course_duplicate_course | copy a course from a template |
core_user_search_identity | search for teachers |
enrol_manual_enrol_users | enrol as teacher |
core_enrol_get_enrolled_users | teachers of a course |
core_course_update_courses | archive (move and hide); correct courses created automatically |
core_course_delete_courses | delete courses |
local_visudesk_approve_course_request | approve a course request (name and category can be changed) |
local_visudesk_reject_course_request | reject a course request with a reason |
local_visudesk_get_autoapproved_courses | list courses created automatically (from 0.14.0) |
local_visudesk_check_autoapproved_course | mark a course created automatically as checked (from 0.14.0) |
- Add only yourself as an authorised user.
- Create a key under Server → Web services → Manage tokens → Create token: user yourself, service VisuDesk Admin, with an expiry date (e.g. the end of the school year).
- For “archive”, create a category named Archiv once, ideally hidden: Site administration → Courses → Manage courses and categories.
Enable course requests
Teachers can request a course in VisuDesk following your naming scheme (e.g. 2026 11FI2 SebH Objektorientierte Programmierung, short name 2026 11FI2 SebH OOP). You approve the request in the admin panel – with a corrected name and the right category – or reject it with a reason. Moodle creates the course, enrols the teacher and notifies them.
- Site administration → Courses → Course request: tick Enable course requests; as the category for requested courses choose e.g. a hidden drafts category. Under Course request notification you can have yourself notified.
- In the Web service user role (step 4) also allow
moodle/course:request– no standard role has this capability.
Users who can create courses in Moodle themselves (e.g. admins) cannot request courses.
Approve course requests automatically
If a request follows the naming scheme and the class already has a course, Moodle can create it at once: hidden, in the category of the newest course of that class (archive categories left out), with the teacher enrolled. Everything else stays a normal request. You check afterwards in the admin panel under Requests → Created automatically – still to check: correct name, short name and category, then Checked.
- Site administration → Plugins → Local plugins → VisuDesk: tick Approve course requests automatically.
- Under Notify about created courses enter the user name of the person who checks. Only they get a message with a link to the course; empty means the main administrator.
- Add the two functions
local_visudesk_get_autoapproved_coursesandlocal_visudesk_check_autoapproved_courseto the VisuDesk Admin service.
For this the plugin stores only the course and the times “created” and “checked”, no personal data. VisuDesk shows who requested the course from the course’s teachers.
6Give VisuDesk to teachers
- Download: visucode.de/visudesk – notarised by Apple, for Macs with Apple silicon. You can also distribute the DMG through your device management.
- On first launch VisuDesk asks for the Moodle address and the key, then Ludwig gives a short tour of the app.
- The app is available in English, German and Portuguese and follows the Mac’s language; it can be changed in the gear menu.
- New resources are always hidden at first. Recommendation: try it with a test course first.
- Updates: the gear menu has “Check for updates”.
Privacy
- No cloud, no VisuCode accountVisuDesk runs only on the Mac and only talks to your Moodle. The only exception: “Check for updates” asks visucode.de for the latest version number – only on click or, if enabled, once a day.
- Same permissions as in MoodleMoodle checks every action itself. VisuDesk can’t do anything the teacher isn’t also allowed to do in the interface.
- Key in the keychainThe key is stored in the macOS keychain, not in a file. It can be revoked in Moodle at any time (Manage tokens).
- Submissions on the Mac“⬇ Submissions” saves students’ files in the folder
Downloads/VisuDesk-Abgaben. Your rules for personal data on work devices apply there – please delete them once grading is complete. - Backups without personal data“⬇ Back up course” downloads files and a Moodle backup without participants, submissions, grades and logs.
- Planning stays with the teacherTopic, plan and progress per lesson (“My week”) are saved in a file on the Mac or in a folder the teacher chooses, for example in Nextcloud. Nothing of it goes to Moodle or WebUntis; the service needs no function for it.
Troubleshooting
| Message in VisuDesk | Cause and fix |
|---|---|
| “Moodle rejects the key” | Key copied incorrectly, expired or revoked – get a new one under Security keys. |
| “The function … is not enabled in the service” | The function named is missing from the VisuDesk (or VisuDesk Admin) service – add it, see step 3. |
| “Moodle won’t release the file” | The service is missing Can download files. |
| No key under Security keys | The teacher doesn’t have the Web service user role yet – are they not a teacher in any course? Give the role under “Assign system roles”. |
| “Admin” button missing | A teacher key is entered. For the admin panel, enter the key of the VisuDesk Admin service (gear → Moodle key). |
| “There is no Archiv category” | Create the “Archiv” category, see step 5. |
| Uploading large files fails | The limit is set by Moodle and the server (post_max_size, maximum file size). Large videos are better linked. |
Questions and bug reports are welcome via the plugin page (German) or the contact address below.