Commit Graph

75 Commits

Author SHA1 Message Date
Juan Leyva
12a289c7a4 MDL-66775 tool_mobile: Return additional app data
We need this information for creating a link to the app store listing for updating.
2019-10-03 09:29:38 +02:00
Juan Leyva
4bf08f5b4d MDL-66775 tool_mobile: New force minimum app version setting 2019-10-03 09:29:38 +02:00
Andrew Nicols
932d89250d Merge branch 'MDL-66229-master' of git://github.com/jleyva/moodle 2019-09-03 07:02:40 +08:00
Juan Leyva
77cfbb626e MDL-66229 tool_mobile: New return field "disabled" in get_content WS 2019-08-15 13:29:16 +01:00
Juan Leyva
88932e49df MDL-66375 tool_mobile: Add new option in the disabled features selector
We must allow site admins to remotely disable that feature in the mobile app
2019-08-15 12:08:43 +01:00
Eloy Lafuente (stronk7)
08d40829e9 Merge branch 'MDL-65423-master' of git://github.com/jleyva/moodle 2019-05-09 21:48:26 +02:00
Juan Leyva
8c5850a501 MDL-65141 tool_mobile: Return all the language translations 2019-04-30 14:30:51 +02:00
Juan Leyva
f72a482843 MDL-65423 tool_mobile: Fix incorrect option value 2019-04-30 13:38:38 +02:00
David Monllaó
2f3c8da164 Merge branch 'MDL-61199-master' of git://github.com/jleyva/moodle 2019-04-23 13:44:04 +02:00
Eloy Lafuente (stronk7)
735122c33f Merge branch 'MDL-64641-master' of git://github.com/jleyva/moodle 2019-04-23 13:43:56 +02:00
Juan Leyva
ab1b823860 MDL-64641 calendar: Return global calendar settings 2019-04-05 09:56:39 +02:00
Juan Leyva
bf25884677 MDL-61199 tool_mobile: Add new features to the list
We have to include the most recent app features in the list of features displayed in Moodle.
Via this list of features, admins can disable mobile functionality.
2019-04-04 15:12:33 +02:00
Albert Gasset
f19beb3279 MDL-64642 tool_mobile: Web service tool_mobile_call_external_functions 2019-03-26 16:26:06 +01:00
Adrian Greeve
0c2589bce2 Merge branch 'MDL-65075-master' of git://github.com/jleyva/moodle 2019-04-09 17:16:18 +08:00
Juan Leyva
cc62967bfc MDL-65075 tool_mobile: Check UserAgent only in WS requests 2019-04-08 14:13:54 +02:00
Juan Leyva
102e0828fd MDL-65075 tool_mobile: Allow auto-login keys only for requests from Moodle apps
This change enhances security and avoid any kind of XSS attack.
2019-04-08 11:05:54 +02:00
Juan Leyva
2b34a55d5a MDL-65075 tool_mobile: Allow auto-login keys only for requests from Moodle apps
This change enhances security and avoid any kind of XSS attack.
2019-04-05 09:53:38 +02:00
Mark Johnson
d6c06935c2 MDL-64823 mobile: Fix prefix for disabled plugins 2019-02-11 16:05:23 +00:00
Juan Leyva
c1720141fd MDL-63708 tool_mobile: Add options for disabling blocks
Now that we are supporting the new dashboard and site home blocks on the mobile app,
we need options to allow admin to forbid certain blocks to be displayed on the app.
2018-11-07 00:32:32 +01:00
Juan Leyva
818d40a922 MDL-63717 tool_mobile: Ensure URLs are valid
We need to clean the URLs returned by the get_public_config WS because some old plugins didn't validate the stored data.
2018-11-02 14:37:29 +01:00
Andrew Nicols
e1cc780d90 MDL-63657 tool_mobile: Coding style fix 2018-10-23 11:21:51 +08:00
Michael Hawkins
1139481e58 MDL-63657 tool_mobile: Add support for removal of context users
This issue is a part of the MDL-62560 Epic.
2018-10-23 10:54:14 +08:00
Jun Pataleta
5c334275df Merge branch 'MDL-62229-master' of git://github.com/jleyva/moodle 2018-05-21 17:04:08 +08:00
Juan Leyva
d808c2202f MDL-62229 tool_mobile: Add missing supported module
The Workshop module it’s been supported since Moodle 3.4 so it
should’ve been included here.
2018-04-26 19:11:43 +02:00
Jun Pataleta
6ef65b8a85 Merge branch 'MDL-61669-master' of git://github.com/jleyva/moodle 2018-04-26 11:51:22 +08:00
cescobedo
30e44bfcc4 MDL-61944 tool_mobile: Implement Privacy API 2018-04-25 15:33:50 +02:00
Juan Leyva
04df75ceeb MDL-61669 tool_mobile: Return new app policy setting via WS 2018-04-24 16:10:25 +02:00
Eloy Lafuente (stronk7)
3451a05292 Merge branch 'MDL-61668-master' of git://github.com/jleyva/moodle 2018-04-12 00:31:18 +02:00
Juan Leyva
3c8de97d00 MDL-61668 tool_mobile: New options for disabled features
We are allowing admins to disable course or courses download.
2018-04-05 08:53:38 +01:00
Juan Leyva
b9e6db9ddc MDL-61449 tool_mobile: New Web Service tool_mobile_get_content 2018-04-04 08:28:00 +01:00
Juan Leyva
73d85fee4f MDL-60774 tool_mobile: Support for new site add-ons properties 2018-04-03 09:58:01 +01:00
Eloy Lafuente (stronk7)
c7189fb2bb MDL-60736 tool_mobile: Add missing VALUE_OPTIONAL to new returned info 2018-03-28 18:16:25 +02:00
Juan Leyva
e236259d97 MDL-60736 tool_mobile: Return language settings in get_public_config WS 2018-03-21 17:27:29 +01:00
Marina Glancy
1727c939ba MDL-61477 admin: sitepolicy handler API
- Define sitepolicy handler manager class, base class and the core handler
- Allow to set a plugin as sitepolicyhandler that implements the sitepolicy API
- Modify web services to return information from the 3rd party handler instead of core if needed
2018-03-15 11:32:55 +08:00
Juan Leyva
8d9dc60b43 MDL-61622 auth: Return age verification settings in get_public_config 2018-03-09 17:55:31 +01:00
David Monllao
59aff5f949 Merge branch 'MDL-60634-master' of git://github.com/jleyva/moodle 2017-11-02 13:24:58 +01:00
Juan Leyva
098b16fb13 MDL-60634 tool_mobile: Change page used for https test
We need to do the HTTPS check using a page that:
- Does not redirect (login/index.php may redirect because of auth
plugins)
- Does not return moodle exceptions (some custom exceptions handlers
may launch custom HTTP errors)
2017-10-31 11:57:25 +01:00
Juan Leyva
2479a7c446 MDL-60572 admin: Fix forgottenpasswordurl for WS
We should expect URLs in that field.
The tool_mobile change is to not break the WS response if
forgottenpasswordurl does not contain a URL.
2017-10-27 11:12:32 +02:00
John Okely
672f483670 MDL-42834 admin: Removal of httpswwwroot 2017-10-23 12:25:36 +08:00
Eloy Lafuente (stronk7)
d355cb54ab Merge branch 'MDL-60365-master' of git://github.com/jleyva/moodle 2017-10-17 00:23:38 +02:00
Juan Leyva
66a159f8db MDL-60365 tool_mobile: Extra configuration checks 2017-10-12 11:46:18 +02:00
Eloy Lafuente (stronk7)
945cf16df8 Merge branch 'MDL-58714-master' of git://github.com/jleyva/moodle 2017-10-03 20:38:16 +02:00
Eloy Lafuente (stronk7)
fe61786879 Merge branch 'MDL-60198-master' of git://github.com/jleyva/moodle 2017-10-03 20:15:42 +02:00
Juan Leyva
7b1c55ead3 MDL-58714 tool_mobile: Return mobile auth plugins via public AJAX ws
External function
tool_mobile::tool_mobile_get_plugins_supporting_mobile is now available
via AJAX for not logged users.
When called via AJAX without a user session the function will return
only auth plugins.
2017-09-29 10:42:18 +02:00
Eloy Lafuente (stronk7)
0b4eef24c2 Merge branch 'MDL-60005-master' of git://github.com/jleyva/moodle 2017-09-27 00:54:09 +02:00
Juan Leyva
e71687baf9 MDL-60198 webservice: Add missing MOODLE_INTERNAL checks 2017-09-21 13:01:28 +02:00
Juan Leyva
4fe55987e1 MDL-60005 tool_mobile: Return sitepolicy in tool_mobile_get_config WS 2017-09-15 11:17:12 +02:00
Juan Leyva
6703e031f0 MDL-60132 tool_mobile: Handle correctly moodle_url instances
In Moodle there are some functions that can be overridden by themes.
Some themes are returning incorrect value types in those functions
2017-09-14 12:17:21 +02:00
Juan Leyva
b103797868 MDL-58727 tool_mobile: Return always launcher in get_public_config WS
Recently we added support to the new OAuth SSO methods (Google,
Facebook, Microsoft) and identity providers, that will require
launchurl to be returned always by tool_mobile_get_public_config

It is safe to return always the launchurl, the main reason to not
return it was to reduce data returned by Web Services when was not
required.
2017-04-26 09:26:13 +02:00
Skylar Kelty
30fccfcd82 MDL-58590 mobile: Cache mobile-supporting plugins 2017-04-20 09:36:20 +01:00