Commit Graph

34 Commits

Author SHA1 Message Date
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
Juan Leyva b9e6db9ddc MDL-61449 tool_mobile: New Web Service tool_mobile_get_content 2018-04-04 08:28:00 +01: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
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
Juan Leyva 66a159f8db MDL-60365 tool_mobile: Extra configuration checks 2017-10-12 11:46:18 +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 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
Eloy Lafuente (stronk7) 55946a892a MDL-54901 phpunit: Change phpunit wwwroot to HTTPS and fix tests
This includes:

- Changing PHPUnit's bootstrap to use https://www...
- Modify all existing expectations to the new wwwroot.
- Amend some tests now with different defaults because of is_https()
- Added a note to main upgrade.php about the change.
2017-04-18 03:40:17 +02:00
Marina Glancy 89b909f6de MDL-57769 course: prepare to remove numsections option 2017-03-30 08:26:12 +08:00
Juan Leyva 63d142e2cd MDL-57410 tool_mobile: New setting for adding menu items in the app 2017-01-20 13:18:12 +01:00
Juan Leyva b2551b4c86 MDL-49423 tool_mobile: New setting for disabling features 2017-01-20 13:10:49 +01:00
Juan Leyva af1b6043a1 MDL-57408 tool_mobile: New setting for renaming app strings 2017-01-20 10:29:31 +01:00
Juan Leyva 7bdcf970bc MDL-57409 tool_mobile: Return mobileapp settings in get_config WS 2017-01-09 12:19:29 +01:00
Juan Leyva 91fff3914b MDL-57389 tool_mobile: Return mobilecssurl in get_public_config WS 2017-01-02 18:56:02 +01:00
David Monllao 96abc5f1cd MDL-56763 tool_mobile: Unit test fix
Checking external_format_text return instead of just using SITE->summary
2016-11-17 13:25:54 +08:00
Juan Leyva e2fe3bc081 MDL-56463 tool_mobile: Apply text formatting to tool_mobile WS 2016-11-16 14:54:37 +00:00
Juan Leyva 678555b499 MDL-56863 tool_mobile: Capture moodle_exception in get_autologin_key 2016-11-09 13:20:49 +00:00
Juan Leyva 56c8413712 MDL-55992 webservice: Fix debugging notice when creating token
This patch also avoid to propagate to logs the private token as is done
in login/token.php
2016-11-01 21:26:40 +00:00
Dan Poltawski 274c5837e7 Merge branch 'MDL-56536-master' of git://github.com/jleyva/moodle 2016-10-25 10:12:54 +01:00
David Monllao 93432c781e MDL-56552 tool_mobile: No phpunit timing issues 2016-10-24 12:57:52 +08:00
Juan Leyva 5d5e30c64d MDL-56536 tool_mobile: Add logos to the get_public_config WS 2016-10-21 10:30:59 +01:00
Juan Leyva 961c95499e MDL-45639 tool_mobile: Support auto-login from the app to the site
We din't call it SSO because:
- SSO usually requires a 3rd party for authentication
- SSO term is already used in tool_mobile when supporting using auth methods like CAS or Shibboleth
2016-10-14 12:32:37 +01:00
Juan Leyva 7c1cb3bf5a MDL-54866 tool_mobile: Rename WS get_site_public_settings 2016-10-04 12:14:10 +01:00
Juan Leyva 6b4926281b MDL-54866 tool_mobile: New Web Service tool_mobile_get_config 2016-10-04 12:09:02 +01:00
Juan Leyva c951f1fe58 MDL-53777 tool_mobile: New setting typeoflogin, including WS 2016-10-03 10:02:33 +01:00
Eloy Lafuente (stronk7) 006e2b787a Merge branch 'MDL-54857-master' of git://github.com/jleyva/moodle 2016-07-06 00:03:39 +02:00
Juan Leyva 64d2ac2145 MDL-54964 tool_mobile: Fix tests to make it work with non-core plugins 2016-06-27 09:45:23 +01:00
Juan Leyva 0002056f7a MDL-54857 tool_mobile: New WS get_site_public_settings 2016-06-16 11:26:35 +01:00
Juan Leyva b2478ed0f6 MDL-49279 mobile: Support export of mobile addons in plugins 2016-04-19 10:32:53 +02:00