mirror of
https://github.com/moodle/moodle.git
synced 2025-03-30 13:32:50 +02:00
* Rebase and resolve conflicts from initial patch. * Reorganise contentitem and contentitem_return pages. * Add capability checks for contentitem and contentitem_return pages. * Move the building of Content-Item selection request to a local lib function. * Move contentitem_return processing logic to a local lib function. * Fix type settings update. Content-item checkbox does not get checked/unchecked on load. * Fix tool settings update. Disabled content-item checkbox gets unchecked when tool settings form is submitted. * Add "Select content" button on load which launches the content item selection dialogue. * Move hardcoded HTML and JS to mustache templates and AMD modules. * Use standard YUI dialog for displaying the Content-Item selection page. * Added processing for the following Content-Item properties: - text - icon * On ContentItem selection, fill out form with the configuration data retrieved, instead of automatically saving the tool and redirecting to the course page. * Removed section- and sectionreturn-related code since we're not automatically adding the tool on ContentItem selection. * On mod_lti_mod_form, enable configuration fields if they support ContentItem selection. * New form-field module for setting fields using JS * Change types_config table's 'value' column from char(255) to text
// This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with Moodle. If not, see <http://www.gnu.org/licenses/>. /** * This file contains all necessary code to initiate a tool registration process * * @package mod_lti * @copyright 2014 Vital Source Technologies http://vitalsource.com * @author Stephen Vickers * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ LTI Service plugins directory ============================== This directory contains LTI service plugins which are discoverable from the Tool Consumer Profile.