mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-44902: Several additions to External Tool (LTI)
* LTI service related changes: ** Fixing exceptions in OAuth library. ** Added new launch option, Existing window: replaces entire page with the LTI object. ** The LTI tool ID used to perform the launch is now sent with the LTI launch parameters. This is sent back to Moodle on subsequent requests. ** Added $CFG->mod_lti_forcessl to force SSL on all LTI launches. ** Added new LTI launch parameter: tool_consumer_instance_name. Default value is site full name, but can be customized with $CFG->mod_lti_institution_name. ** The LTI grade service endpoints now set the affected user to the session. This was required for event listeners. ** Fix the grade deletion service. Was deleting the grade item instead of just the grade. ** Send error response when LTI instance does not accept grades and grades are being sent. ** Added a method for writing incoming LTI requests to disk for debugging. Disabled by default. * Changes for ltisource plugins: ** Can now to plug into backup/restore. ** Can now have settings.php files. ** Can now hook into the LTI launch and edit parameters. * Several grade changes: ** Added standard_grading_coursemodule_elements to LTI instance edit form. This means LTI instances can be configured with a grade. ** No longer assumes that grade is out of 100. ** Replaced modl/lti:grade capability with mod/lti:view. * JS on mod/lti/view.php for resizing the content object has been converted to YUI3. * Fixed misspellings in language file. * Added hooks for log post and view actions. * Bug fix for lti_get_url_thumbprint() when the URL is missing a schema.
This commit is contained in:
parent
f500ff4e52
commit
8fa50fdd34
23 changed files with 759 additions and 74 deletions
|
@ -111,11 +111,11 @@ $string['debuglaunchon'] = 'Debug launch';
|
|||
$string['default'] = 'Default';
|
||||
$string['default_launch_container'] = 'Default Launch Container';
|
||||
$string['default_launch_container_help'] = 'The launch container affects the display of the tool when launched from the course. Some launch containers provide more screen
|
||||
real estate to the tool, and others provide a more integrated feel with the Moodle environemnt.
|
||||
real estate to the tool, and others provide a more integrated feel with the Moodle environment.
|
||||
|
||||
* **Default** - Use the launch container specified by the tool configuration.
|
||||
* **Embed** - The tool is displayed within the existing Moodle window, in a manner similar to most other Activity types.
|
||||
* **Embed, without blocks** - The tool is displayed within the existing Moodle window, with just the neavigation controls
|
||||
* **Embed, without blocks** - The tool is displayed within the existing Moodle window, with just the navigation controls
|
||||
at the top of the page.
|
||||
* **New window** - The tool opens in a new window, occupying all the available space.
|
||||
Depending on the browser, it will open in a new tab or a popup window.
|
||||
|
@ -147,6 +147,7 @@ $string['embed_no_blocks'] = 'Embed, without blocks';
|
|||
$string['enableemailnotification'] = 'Send notification emails';
|
||||
$string['enableemailnotification_help'] = 'If enabled, students will receive email notification when their tool submissions are graded.';
|
||||
$string['errormisconfig'] = 'Misconfigured tool. Please ask your Moodle administrator to fix the configuration of the tool.';
|
||||
$string['existing_window'] = 'Existing window';
|
||||
$string['extensions'] = 'LTI Extension Services';
|
||||
$string['external_tool_type'] = 'External tool type';
|
||||
$string['external_tool_type_help'] = 'The main purpose of a tool configuration is to set up a secure communication channel between Moodle and the tool provider.
|
||||
|
@ -205,11 +206,11 @@ If you have selected a specific tool type, you may not need to enter a Launch UR
|
|||
into the tool provider\'s system, and not go to a specific resource, this will likely be the case.';
|
||||
$string['launchinpopup'] = 'Launch Container';
|
||||
$string['launchinpopup_help'] = 'The launch container affects the display of the tool when launched from the course. Some launch containers provide more screen
|
||||
real estate to the tool, and others provide a more integrated feel with the Moodle environemnt.
|
||||
real estate to the tool, and others provide a more integrated feel with the Moodle environment.
|
||||
|
||||
* **Default** - Use the launch container specified by the tool configuration.
|
||||
* **Embed** - The tool is displayed within the existing Moodle window, in a manner similar to most other Activity types.
|
||||
* **Embed, without blocks** - The tool is displayed within the existing Moodle window, with just the neavigation controls
|
||||
* **Embed, without blocks** - The tool is displayed within the existing Moodle window, with just the navigation controls
|
||||
at the top of the page.
|
||||
* **New window** - The tool opens in a new window, occupying all the available space.
|
||||
Depending on the browser, it will open in a new tab or a popup window.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue