Course completion block to show external data about course completions

Bug #1863511 reported by Robert Lyon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Wishlist
Robert Lyon

Bug Description

The creation of a blocktype 'courseinfo' that will display information from an external source relating to course completion.

The information will be fetched via webservices where an external function/token will return information about a user based on the following criteria:

1) The owner of the block (ie the owner of the page) will match up by username to the external system
2) The external userid for the owner will then be recorded in the blocks configdata
3) When anyone views the page once the userid is recorded the block will fetch the external course completion data and display it
the data will consist of a json encoded packet that contains:
- name The title of course
- completiondate When course was completed
- courselength The amount of hours the course was
- coursetype What type of course it was
- courseid The id of the course in the external system
4) The data will show in the block paginated and with a courselength grand total

Changed in mahara:
milestone: 20.04.0 → 20.10.0
Revision history for this message
Robert Lyon (robertl-9) wrote :
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/10750
Committed: https://git.mahara.org/mahara/mahara/commit/fb44c5ab8d6dcc3ada1a235ecd8a70a2c71e4da1
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit fb44c5ab8d6dcc3ada1a235ecd8a70a2c71e4da1
Author: Robert Lyon <email address hidden>
Date: Wed Feb 5 14:27:43 2020 +1300

Bug 1863511: Course completion (courseinfo) block

This block allows one to import information from an external source
It requires the connection via webservices to
1) find out the external user id value based on the page owner's email address
2) fetch the course completion data for that external user id

Change-Id: I6c67feb470bbcb35b0c549a8467c9204a00c9389
Signed-off-by: Robert Lyon <email address hidden>

Robert Lyon (robertl-9)
Changed in mahara:
status: In Progress → Fix Committed
Robert Lyon (robertl-9)
tags: added: newfeature
Robert Lyon (robertl-9)
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers