MDL-52651 htmlpurifier: Append rel=noreferrer to links.
[moodle.git] / webservice / upgrade.txt
blob960e91257a358fbcde56c348d56a9a3f3fd16573
1 This files describes API changes in /webservice/*
2 information provided here is intended especially for developers.
4 This information is intended for authors of webservices, not people writing webservice clients.
6 === 2.8.9 ===
8 * WS protocols webservice/myprotocol:use capabilities were defined with a high riskbitmask value
9   when the fact that a user has that capability does not imply any risk, but other capabilities
10   that the user may have do. If your ws protocol does not imply and risk by itself, you can remove the
11   riskbitmask from your $capabilities array in webservice/myprotocol/db/access.php
13 === 2.7 ===
15 * All webservice server.php and simpleserver.php scripts must define('WS_SERVER', true)
16   before including config.php file.
19 === 2.6 ===
21 * webservice/upload.php
22 Accepts 2 new post parameters to allow uploading of files to a users draft area.
23  - filearea should be either 'private' (default) or 'draft'
24  - itemid unused if the filearea is 'private', for 'draft' it can be the id of a previously
25    created draft area - or 0 which will generate a new draft area for the files.