mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
bde002b81a
This patch includes: * version column removed from modules table, now using standard config, this allows decimal version for modules * version column removed from block table, now using standard config, this allows decimal version for blocks * module version.php can safely use $plugins instead of module * new plugin_manager bulk caching, this should help with MUC performance when logged in as admin * all missing plugins are now in plugin overview (previously only blocks and modules) * simplified code and improved coding style * reworked plugin_manager unit tests - now using real plugins instead of mocks * unit tests now fail if any plugin does not contain proper version.php file * allow uninstall of deleted filters
40 lines
1.6 KiB
Plaintext
40 lines
1.6 KiB
Plaintext
This files describes API changes in /blocks/* - activity modules,
|
|
information provided here is intended especially for developers.
|
|
|
|
=== 2.6 ===
|
|
|
|
* Deprecated /admin/block.php was removed, make sure blocks are using settings.php instead.
|
|
|
|
=== 2.4 ===
|
|
|
|
Created new capability 'blocks/xxx:myaddinstance' that determines whether a user can add
|
|
a specific block to their My Home page. This capability was only defined for blocks where
|
|
the applicable_formats function does not include "'my' => false" in the returned array,
|
|
allowing it be added to the My Home page.
|
|
|
|
=== 2.3 ===
|
|
|
|
required changes in code:
|
|
* block_xxx_pluginfile() is now given the 7th parameter (hopefully the last one) that
|
|
contains additional options for the file serving. The array should be re-passed
|
|
to send_stored_file().
|
|
|
|
=== 2.0 ===
|
|
|
|
required changes in code:
|
|
* use new DML syntax everywhere
|
|
* use new DDL syntax in db/upgrade.php
|
|
* replace defaults.php by settings.php and db/install.php
|
|
* replace STATEMENTS section in db/install.xml by db/install.php
|
|
* move post instalation code from install() method into db/install.php
|
|
* completely rewrite file handling
|
|
* rewrite backup/restore
|
|
* theme changes: move plugin styles into blocks/xxx/styles.css and use new css markers for images,
|
|
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'
|
|
* move cron and version number into standard version.php
|
|
* removed support for old config_global.html, use settings.php
|
|
|