[AMOS commit] MDL-49609 mod_lti: Refactor content-item and make it work using JS Committed into Git: 2016-07-26 06:40 UTC

[AMOS commit] MDL-49609 mod_lti: Refactor content-item and make it work using JS Committed into Git: 2016-07-26 06:40 UTC

by AMOS bot -
Number of replies: 0
Author: Jun Pataleta
MDL-49609 mod_lti: Refactor content-item and make it work using JS
* 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


http://git.moodle.org/gw?p=moodle.git;a=commit;h=c1fae2b928a0956cd195679e61bb8b3d0e350553
http://github.com/moodle/moodle/commit/c1fae2b928a0956cd195679e61bb8b3d0e350553

+ 3.2 en [contentitem,mod_lti]
+ 3.2 en [contentitem_help,mod_lti]
+ 3.2 en [course_tool_types,mod_lti]
+ 3.2 en [errorincorrectconsumerkey,mod_lti]
+ 3.2 en [errorinvaliddata,mod_lti]
+ 3.2 en [errorinvalidmediatype,mod_lti]
+ 3.2 en [errorinvalidresponseformat,mod_lti]
+ 3.2 en [errortooltypenotfound,mod_lti]
+ 3.2 en [selectcontent,mod_lti]
+ 3.2 en [successfullyfetchedtoolconfigurationfromcontent,mod_lti]
- 3.2 en [configure_item,mod_lti]