1 This files describes API changes in the lti code.
5 * get_jwt_claim_mappings() function has been added to service_base class. It allows a service subplugin to be
6 compatible with LTI 1.3 by exposing its 1.1 custom parameters to LTI 1.3 claim mapping.
10 * The callback get_shortcuts() is now removed. Please use get_course_content_items and get_all_content_items instead.
11 * Services can now implement the override_endpoint function to replace the launch url and/or the custom parameters.
15 * Select Content supports multiple, allowing a tool to return more than one link at a time.
16 Parameter multiple in function lti_build_content_item_selection_request() is now set to true.
17 * Deprecated unused function after external function, 'get_tool_proxies()', was refactored:
18 - serialise_tool_proxy()
22 * The following functions have been finally deprecated and can not be used anymore:
27 * Deprecated functions to add support for LTI 1 tools to access services:
28 - mod_lti\local\ltiservice\service_base->check_tool_proxy()
29 - mod_lti\local\ltiservice\service_base->check_type()
30 - mod_lti\local\ltiservice\resource_base->check_tool_proxy()
31 - mod_lti\local\ltiservice\resource_base->check_type()
32 - mod_lti_edit_types_form->get_lti_advantage_services()
34 - mod_lti\local\ltiservice\service_base->check_tool()
35 - mod_lti\local\ltiservice\resource_base->check_tool()
36 - mod_lti_edit_types_form->get_lti_services()
37 * Deprecated unused function:
38 - mod_lti\local\ltiservice\service_base->get_configuration_parameter_names()
39 * Deprecated functions to simplify implementation of LTI scopes for accessing services:
40 - mod_lti\local\ltiservice\resource_base->get_permissions()
41 - ltiservice_gradebookservices\local\resources\lineitem\get_permissions()
42 - ltiservice_gradebookservices\local\resources\lineitems\get_permissions()
43 - ltiservice_gradebookservices\local\resources\results\get_permissions()
44 - ltiservice_gradebookservices\local\resources\scores\get_permissions()
45 - ltiservice_memberships\local\resources\contextmemberships\get_permissions()
47 - mod_lti\local\ltiservice\service_base->get_permitted_scopes()
48 - ltiservice_gradebookservices\local\service\gradebookservices->get_permitted_scopes()
49 - ltiservice_memberships\local\service\memberships\->get_permitted_scopes()
50 * Deprecated function to remove definition as static:
51 - ltiservice_memberships\local\service\memberships\get_users_json()
53 - ltiservice_memberships\local\service\memberships\get_members_json()
57 * The following functions, previously used (exclusively) by upgrade steps are not available
58 anymore because of the upgrade cleanup performed for this version. See MDL-57432 for more info:
59 - mod_lti_upgrade_custom_separator()
63 * Support for LTI ContentItem message type.
64 * New function lti_build_content_item_selection_request() for building an LTI ContentItemSelectionRequest.
65 * New Select content button in External tool configuration page that lets the user configure an external tool by fetching tool
66 configuration content from the preconfigured tool's content selection interface.
70 * When requesting a grade from the outcome service, and empty grade will now be returned as
71 an empty grade in accordance with the spec. Previously a grade of 0 would be returned.
75 * Function lti_view (locallib.php) was renamed to lti_launch_tool.
76 A new and different lti_view function was created in the module lib.php containing the code
77 for launching events and update the completion status for the module.
82 * Support for LTI 2 added, including extensible services implemented as ltiservice plugins.
83 * Function sendOAuthBodyPOST removed from OAuthBody.php because it was not being used.
84 * The field 'grade' in the table {lti} is now an integer rather than a numeric to bring it
85 in line with the 'grade' field in other activities.
89 * mod_lti\event\unknown_service_api_called now has less data stored in 'other'
90 but everything is still available for event observers via method get_message_data()