mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #59893
[Bug 1863511] A change has been merged
Reviewed: https://reviews.mahara.org/10750
Committed: https://git.mahara.org/mahara/mahara/commit/fb44c5ab8d6dcc3ada1a235ecd8a70a2c71e4da1
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch: master
commit fb44c5ab8d6dcc3ada1a235ecd8a70a2c71e4da1
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
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 <robertl@xxxxxxxxxxxxxxx>
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1863511
Title:
Course completion block to show external data about course completions
Status in Mahara:
Fix Committed
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1863511/+subscriptions
References