Andrew Nicols
413172521a
Merge branch 'MDL-65550-master' of git://github.com/jleyva/moodle
2019-09-05 11:38:36 +08:00
Juan Leyva
cd43240d77
MDL-66376 webservice: Return user private access key for fetching files
2019-08-29 20:02:48 +01:00
Juan Leyva
20570e5d9f
MDL-65550 webservice: Return in get_site_info WS if user is admin
2019-08-21 12:31:49 +01:00
Nicolas Roeser
591ece3093
MDL-65893 webservice: format site name (handle language tags etc.)
...
Allow web service clients (like the Moodle App) to benefit from a
formatted (filtered) site name. Select the filtered (localized etc.)
string on server side, before it is sent to the web service client.
For example, this translates a site name which uses language tags in
curly braces when using the filter_multilang2 plugin.
Thanks-To: Juan Leyva <juan@moodle.com>
Thanks-To: Kathrin Osswald <kathrin.osswald@uni-ulm.de>
2019-06-14 10:39:25 +02:00
Juan Leyva
355c37b8c7
MDL-64653 webservice: Return current theme in get_site_info WS
2019-02-07 15:41:23 +01:00
Juan Leyva
2b6a0c6a68
MDL-63888 webservice: Return new global setting "messagingallusers"
2018-11-07 12:37:17 +01:00
Juan Leyva
6db2423551
MDL-60738 webservice: Clean theme and lang properly
...
Sometimes the "theme" and "lang" fields in the user and course tables
in the database are set to incorrect values (uninstalled or
non-existent themes and language packs).
This makes Web Services functions to fail because the WS server
validate the returned data using the validate_param function that clean
parameters.
2017-11-20 09:37:30 +01:00
Juan Leyva
c851ee5ddb
MDL-53501 webservice: Avoid values higher than PHP_INT_MAX
...
Integers coming from site settings needs casting to int to avoid
returning values higher than PHP_INT_MAX.
2017-10-30 15:55:49 +01:00
Juan Leyva
bef5777fc4
MDL-59214 webservice: Return calendar type in get_site_info
2017-06-20 11:44:04 +01:00
Juan Leyva
0c6c86643e
MDL-56607 settings: Move mobile settings to top-level
...
AMOS BEGIN
MOV [mobilecssurl,core_admin],[mobilecssurl,tool_mobile]
MOV [configmobilecssurl,core_admin],[configmobilecssurl,tool_mobile]
AMOS END
From Plugins / Web Services / Mobile to Appearance / Mobile
2016-11-07 09:53:29 +00:00
Dani Palou
43695b6a72
MDL-56160 ws: Return site course ID in get_site_info
2016-09-28 12:26:32 +02:00
Cameron Ball
f23e9b6ba4
MDL-49414 webservices: Remove deprecated functions
2016-04-27 15:54:38 +08:00
Juan Leyva
333e77703d
MDL-52586 webservices: Return the default user home page
2015-12-22 16:50:58 +01:00
Neill Magill
5978773d81
MDL-51435 Web Services: E_WARNING in core_webservice_get_site_info
...
$plugin was not being set before the version file was included.
This caused an E_WARNING: Creating default object from empty value
This change creates the plugin object before the version file sets its parameters.
2015-10-09 09:00:07 +01:00
Juan Leyva
d85bedf796
MDL-49823 webservice: Support gravatar profile images
2015-10-01 09:36:31 +02:00
Juan Leyva
11c78c1165
MDL-49425 webservices: New settings in core_get_site_info
...
New information returned:
Upload files size limit
User storage quota (userquota)
Whether the my files option is disabled (moodle/user:manageownfiles)
2015-03-20 14:44:18 +01:00
Juan Leyva
cc90f74b18
MDL-49333 webservices: Return additional info in core_get_site_info
2015-03-06 11:34:42 +01:00
David Monllao
3c1aa6fdfb
MDL-43535 webservices: Marking functions as deprecated
...
Also:
- We don't allow users to add deprecated functions to WS
- We show a debugging message when deprecated functions
are already being used in web services.
2015-02-09 05:42:22 +08:00
Damyon Wiese
106c55fb9c
MDL-22236 Webservice file upload - Allow webservice file uploads direct to a draft filearea.
...
Via post to /webservice/upload.php
2013-08-08 09:57:57 +08:00
Petr Škoda
b0d1d941c9
MDL-40220 use new core_component::get_component_directory()
2013-07-16 22:42:37 +02:00
Damyon Wiese
44b3927b70
MDL-39563: Change to use $CFG consistently
2013-07-15 15:01:39 +08:00
Juan Leyva
9184d44ded
MDL-39563 Fixing mobilecssurl is not being returned in WebService, phpunit tests
2013-07-11 16:25:17 +02:00
Juan Leyva
70f3a47e33
MDL-39563 Fixing mobilecssurl is not being returned in WebService get_siteinfo function
2013-05-08 11:51:46 +02:00
Jerome Mouneyrac
63c7be350b
MDL-34434 Change the texts saying that we'll be removing web service deprecated functions from 2.5
2013-04-17 12:13:04 +08:00
Jerome Mouneyrac
87ede25c9b
MDL-35593 core_webservice_get_site_info returns version number set to PARAM_TEXT and PARAM_FLOAT
2012-12-03 10:47:38 +08:00
Jerome Mouneyrac
92fa81d387
MDL-35998 get_site_info return current_language()
2012-11-02 18:03:20 +08:00
Jerome Mouneyrac
33af788210
MDL-35998 New mobile menu: with CSS url + existing enable mobile web services
2012-10-31 14:25:30 +08:00
Eloy Lafuente (stronk7)
97f6be20ac
MDL-34962 whitespace fix
2012-09-11 20:09:08 +02:00
Paul Charsley
639bc8b2f3
MDL-34962 added release number to returned values
2012-09-07 18:19:01 +12:00
Frederic Massart
4373103084
MDL-34460 Librairies: Replaced deprecated get_context_instance()
2012-07-26 13:23:28 +08:00
Jerome Mouneyrac
e1f9702056
MDL-31431 webservices: improve user pic docs
...
Explain how to retrieve profile picture when forcelogin is set to NO and guestaccess to Yes
2012-04-23 11:42:30 +08:00
Jerome Mouneyrac
a0a07014c2
MDL-30994 webservice API, check and update DocBlock
2012-03-02 09:49:41 +08:00
Jerome Mouneyrac
af03513f93
MDL-30268 add 'Can download files' field to service
2011-11-16 11:51:03 +08:00
Sam Hemelryk
e6acc5518b
MDL-29106 white space clean up
2011-10-25 15:28:52 +13:00
Sam Hemelryk
2336a84333
MDL-29106 webservices: Minor whitespace cleanup
2011-10-25 11:43:53 +13:00
Jerome Mouneyrac
5d1017e11d
MDL-29106 new web service naming convention
2011-10-24 11:06:00 +08:00
Sam Hemelryk
00a33dcbac
Merged branch 'MDL-26777-wip' of git://github.com/mouneyrac/moodle.git
2011-06-08 17:52:59 +08:00
Jerome Mouneyrac
0bf486a619
MDL-26777 moodle_webservice_mobile_get_siteinfo TODO: add this service name into the service of MDL-27551
2011-06-07 15:19:53 +08:00