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
73d85fee4f
MDL-60774 tool_mobile: Support for new site add-ons properties
2018-04-03 09:58:01 +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
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
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
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
Juan Leyva
a67e3bda2e
MDL-58400 tool_mobile: Return enabled identity providers
...
Via this public Ajax Web Service we return the list of identity
providers in a site.
2017-04-10 11:12:28 +08:00
Jake Dallimore
b8094f8a18
Merge branch 'MDL-58443-master' of git://github.com/jleyva/moodle
2017-04-06 09:41:37 +08:00
Juan Leyva
c3e745b7b8
MDL-58443 tool_mobile: List data, feedback, lesson as supported by app
2017-03-30 10:30:57 +02:00
Marina Glancy
89b909f6de
MDL-57769 course: prepare to remove numsections option
2017-03-30 08:26:12 +08:00
Dan Poltawski
5de6c5dc3b
Merge branch 'MDL-57838-master' of git://github.com/jleyva/moodle
2017-03-20 11:27:04 +00:00
Neill Magill
1c668c3ce0
MDL-58285 tool_mobile: Web service generates incorrect fileurl on IIS
...
The tool_mobile_get_plugins_supporting_mobile generated an incorrect
fileurl on IIS. The /mobile/filename.zip part was generated as
\mobile\filename.zip, this failed the PARAM_URL check.
This change stops the use of OS specific directory separators and uses
the linux/web separator. PHP file functions recognise this properly.
2017-03-16 12:08:36 +00:00
Juan Leyva
bae88061cc
MDL-57838 tool_mobile: Point to the docs for more information
...
We should ask the admin to check the "Moodle docs for this page"
instead of adding a constant including a URL in the code.
2017-03-15 11:53:10 +01: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
Juan Leyva
851b291998
MDL-57102 tool_mobile: Return launchurl when sign-up enabled
2016-11-23 19:35:08 +00:00
David Monllao
b14a04e0a4
MDL-56463 tool_mobile: Set object properties always in same order
...
There are differences in http://php.net/manual/en/function.list.php
between PHP 5 and in PHP 7. They neither recommend to rely on the new order
as it may change again in future.
2016-11-18 08:50:08 +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
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
Juan Leyva
0002056f7a
MDL-54857 tool_mobile: New WS get_site_public_settings
2016-06-16 11:26:35 +01:00
Juan Leyva
b4baee42e2
MDL-54643 tool_mobile: Fix dependencies check
2016-05-19 11:55:14 +02:00
Juan Leyva
b2478ed0f6
MDL-49279 mobile: Support export of mobile addons in plugins
2016-04-19 10:32:53 +02:00