Commit ee362526 authored by Petr Skoda's avatar Petr Skoda
Browse files

MDL-29897 Update upgrade.txt files

parent 735de1c2
This files describes API changes in /auth/* - plugins,
information provided here is intended especially for developers.
=== 2.2 ===
required changes in code:
......
This files describes API changes in /blocks/* - activity modules,
information provided here is intended especially for developers.
=== 2.0 ===
required changes in code:
......@@ -15,12 +16,7 @@ required changes in code:
move all images into new blocks/xxx/pix/ directory and use new outputlib api
old global $THEME is fully replaced by $OUTPUT
* remove '_utf8' from language pack names, use new {$a} syntax in language packs
* use 'pluginname' lang pack identifier instead of 'blockname'
* use 'pluginname' lang pack identifier instead of 'blockname'
* move cron and version number into standard version.php
* removed support for old config_global.html, use settings.php
optional - no changes needed in older code:
*
TODO: add links to docs
\ No newline at end of file
This files describes API changes in /enrol/* - plugins,
information provided here is intended especially for developers.
=== 2.2 ===
required changes in code:
* load_temp_role() is deprecated, use load_temp_course_role() instead, temp role not loaded
* remove_temp_role() is deprecated, use remove_temp_course_roles() instead
* 'user_unenrol_modified' event was renamed to 'user_enrol_modified'
=== 2.0 ===
required changes in code:
* enrolment plugins need to be rewritten to use new API - see inline phpdocs and official plugins
\ No newline at end of file
This files describes API changes in core lbraries and APIs,
information provided here is intended especially for developers.
=== 2.2 ===
removed unused libraries:
* odbc, base32, CodeSniffer, overlib, apd profiling, kses, Smarty, PEAR Console, swfobject, cssshover.htc, md5.js
API changes:
* new admin/tool plugin type
* new context API - old API is still available
* removed global search
=== 2.1 ===
API changes:
* basic suport for restore from 1.9
* new mobile devices API
* new questions API
=== 2.0 ===
API changes:
* new DML API - http://docs.moodle.org/dev/DML_functions
* new DDL API - http://docs.moodle.org/dev/DDL_functions
* new file API - http://docs.moodle.org/dev/File_API
* new $PAGE and $OUTPUT API
* new navigation API
* new theme API - http://docs.moodle.org/dev/Theme_changes_in_2.0
* new javascript API - http://docs.moodle.org/dev/JavaScript_usage_guide
* new portfolio API
* new local plugin type
* new translation support - http://lang.moodle.org
* new web service API
* new cohorts API
* new messaging API
* new rating API
* new comment API
* new sessions API
* new enrolment API
* new backup/restore API
* new blocks API
* new filters API
* improved plugin support (aka Frankenstyle)
* new registration and hub API
* new course completion API
* new plagiarism API
* changed blog API
* new text editor API
* new my moodle and profiles API
\ No newline at end of file
This files describes API changes in /mod/* - activity modules,
information provided here is intended especially for developers.
=== 2.0 ===
WORK IN PROGRESS...
=== 2.2 ===
required changes in code:
* fix missing parameter types in optional_param() and required_param()
* use new optional_param_array(), required_param_array() or clean_param_array() when dealing with array parameters
* textlib->asort() replaced by specialized collatorlib::asort()
* use new make_temp_directory() and make_cache_directory()
=== 2.1 ===
required changes in code:
* add new support for basic restore from 1.9
=== 2.0 ===
required changes in code:
* use new DML syntax everywhere
......@@ -52,11 +66,3 @@ optional - no changes needed in older code:
* new ratings API
(http://docs.moodle.org/dev/Ratings_2.0)
=== 2.2 ===
required changes in code:
* fix missing parameter types in optional_param() and required_param()
* use new optional_param_array(), required_param_array() or clean_param_array() when dealing with array parameters
* textlib->asort() replaced by specialized collatorlib::asort()
* use new make_temp_directory() and make_cache_directory()
This files describes API changes in /theme/* themes,
information provided here is intended especially for theme designer.
=== 2.2 ===
required changes:
* use new page content placeholder "echo $OUTPUT->main_content()" instead of "echo core_renderer::MAIN_CONTENT_TOKEN"
see git commit: 3b3f302855d7621405a8b93e49bd399d67a998d7
\ No newline at end of file
see git commit: 3b3f302855d7621405a8b93e49bd399d67a998d7
=== 2.2 ===
required changes:
* complete rewrite of themes necessary - http://docs.moodle.org/dev/Theme_changes_in_2.0
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment