1 |
efrain |
1 |
This files describes changes in tool_mobile code.
|
|
|
2 |
Information provided here is intended especially for developers.
|
|
|
3 |
|
|
|
4 |
=== 4.2 ===
|
|
|
5 |
|
|
|
6 |
* External function tool_mobile::get_config now returns the timezone and forcetimezone settings.
|
|
|
7 |
|
|
|
8 |
=== 4.1 ===
|
|
|
9 |
|
|
|
10 |
* External function tool_mobile::get_config now returns the customusermenuitems setting.
|
|
|
11 |
|
|
|
12 |
=== 4.0 ===
|
|
|
13 |
|
|
|
14 |
* The function tool_mobile\api::get_qrlogin_key() now requires as parameter an object with all the mobile plugin settings.
|
|
|
15 |
* The tool_mobile_external::get_config external function now returns the tool_mobile_autologinmintimebetweenreq setting.
|
|
|
16 |
* External function tool_mobile::get_config now returns the enabledashboard setting.
|
|
|
17 |
|
|
|
18 |
=== 3.7 ===
|
|
|
19 |
|
|
|
20 |
* New external function tool_mobile::tool_mobile_call_external_function allows calling multiple external functions and returns all responses.
|
|
|
21 |
* External function tool_mobile::get_autologin_key now only works if the request comes from the Moodle mobile or desktop app.
|
|
|
22 |
This increases confidence that requests did originate from the mobile app, decreasing the likelihood of an XSS attack.
|
|
|
23 |
If you want to use this functionality, please override the Web Service via the override_webservice_execution callback although
|
|
|
24 |
this is not recommended or encouraged.
|
|
|
25 |
|
|
|
26 |
=== 3.5 ===
|
|
|
27 |
|
|
|
28 |
* External function tool_mobile::tool_mobile_get_plugins_supporting_mobile now returns additional plugins information required by
|
|
|
29 |
Moodle Mobile 3.5.0.
|
|
|
30 |
|
|
|
31 |
=== 3.4 ===
|
|
|
32 |
|
|
|
33 |
* External function tool_mobile::tool_mobile_get_plugins_supporting_mobile is now available via AJAX for not logged users.
|
|
|
34 |
When called via AJAX without a user session the function will return only auth plugins.
|
|
|
35 |
|
|
|
36 |
=== 3.3 ===
|
|
|
37 |
|
|
|
38 |
* External function tool_mobile::get_public_config now returns the mobilecssurl field (Mobile custom CSS theme).
|
|
|
39 |
* External function tool_mobile::get_public_config now returns the identityproviders field (list of external identity providers).
|