623 Commits

Author SHA1 Message Date
Juan Leyva
7a8744dba7 MDL-55049 webservice: Scan for viruses in webservice/upload.php 2016-06-28 16:14:16 +01:00
Cameron Ball
94ada0eaf7
MDL-54868 webservice_xmlrpc: Don't escape non-ascii characters 2016-06-28 14:41:20 +08:00
Eloy Lafuente (stronk7)
22a0896767 Merge branch 'MDL-55028-master' of git://github.com/junpataleta/moodle 2016-06-27 22:13:48 +02:00
Jun Pataleta
ead440b649 MDL-55028 webservice_soap: Use strlen for setting Content-Length header 2016-06-27 13:59:20 +08:00
Frederic Massart
4f9b94fdd5
Revert "MDL-44626 files: Show the PHP max upload size instead of 'unlimited'"
This reverts commit 6f0768618a38c11eca90a97c0dff31ec8ce434d1.
2016-06-23 11:51:44 +08:00
Juan Leyva
833be5e410 MDL-54629 webservice: Change required parameters in external_format_text
component, filearea and itemid are now optional parameters.
In some contexts those parameteres are not necessary because is not
required to do a file rewrite via file_rewrite_pluginfile_urls
2016-06-21 12:16:25 +01:00
Juan Leyva
89823b1ae3 MDL-54601 webservice: Order services function list by name 2016-06-15 15:40:55 +01:00
Russell Smith
1fcf0ca8a5 MDL-35628 performance: Remove dirname() where possible.
dirname() is a slow function compared with __DIR__ and using
'/../'.  Moodle has a large number of legacy files that are included
each time a page loads and is not able to use an autoloader as it is
functional code.  This allows those required includes to perform as
best as possible in this situation.
2016-06-10 08:06:49 +10:00
David Monllao
287074207f Merge branch 'MDL-46934-master' of git://github.com/FMCorz/moodle 2016-05-23 14:38:01 +08:00
Frederic Massart
4700c44c01 MDL-46934 webservice_rest: Fixed undefined index on XML output 2016-05-20 17:03:23 +08:00
Andrew Nicols
658fc5f0fa Merge branch 'wip-mdl-54574' of https://github.com/rajeshtaneja/moodle 2016-05-20 09:07:54 +08:00
Eloy Lafuente (stronk7)
1abca11e0a MDL-54638 versions: bump all versions and requires near release
version = 2016052300 release version
requires= 2016051900 current rc1 version
2016-05-19 02:16:15 +02:00
Rajesh Taneja
7f43e2fe49 MDL-54574 phpunit: Skip xmlrpc unit test if not installed 2016-05-18 16:00:10 +08:00
Cameron Ball
ad1bfe6a9c MDL-53962 webservices: Make XML-RPC backwards compatible 2016-05-17 11:39:15 +08:00
Cameron Ball
f23e9b6ba4 MDL-49414 webservices: Remove deprecated functions 2016-04-27 15:54:38 +08:00
Damyon Wiese
11c16f5fc8 MDL-53772 externallib: Deprecate external_function_info() 2016-04-14 15:07:41 +08:00
Cameron Ball
b5e6ec4486 MDL-52207 libraries: Delete Zend framework
Let it RIP.
2016-03-21 11:02:55 +08:00
David Monllao
82e1b645eb Merge branch 'MDL-52208-master-2' of git://github.com/junpataleta/moodle 2016-02-16 14:39:46 +08:00
Jun Pataleta
79c7fffce3 MDL-52208 webservice_soap: Remove Zend from webservice_soap 2016-02-16 14:14:11 +08:00
Andrew Nicols
6f0768618a MDL-44626 files: Show the PHP max upload size instead of 'unlimited'
Even when a user has the appropriate capability to upload any sized files,
they are still restricted to the PHP post_max_size, and upload_max_filesize
values.

Rather than showing a value of "Unlimited', we should always restrict to
this value.
2016-02-11 10:55:54 +08:00
Andrew Nicols
38c6a307eb Merge branch 'MDL-52586-master' of git://github.com/jleyva/moodle 2016-01-13 09:06:03 +08:00
Dan Poltawski
b8ab80f07e Merge branch 'MDL-52210-master' of git://github.com/cameron1729/moodle 2016-01-12 13:36:13 +00:00
Juan Leyva
8e2707b92b MDL-52491 webservice: Do not enable XML-RPC server for mobile anymore 2016-01-05 09:13:27 +01:00
Cameron Ball
13ae7db2bb MDL-52210 webservices: Remove AMF webservice 2016-01-05 10:36:26 +08:00
Juan Leyva
333e77703d MDL-52586 webservices: Return the default user home page 2015-12-22 16:50:58 +01:00
Dan Poltawski
633e2643ec MDL-52209 webservice: upgrade.txt tweak 2015-12-09 09:45:13 +00:00
Jun Pataleta
638f751a07 MDL-52209 webservice_xmlrpc: Remove Zend from webservice_xmlrpc
Additional fixes.
2015-12-09 09:42:24 +00:00
Eloy Lafuente (stronk7)
7955476cab Merge branch 'MDL-51483_master' of https://github.com/jinhofer/moodle 2015-12-09 01:09:08 +01:00
Jun Pataleta
0af5593122 MDL-52209 webservice_xmlrpc: Remove Zend from webservice_xmlrpc 2015-12-04 07:56:31 -06:00
jinhofer
4ebdd15487 MDL-51483 lib/moodlelib.php: Added conditional checks to shorten_text 2015-12-03 10:00:08 -06:00
Eloy Lafuente (stronk7)
2e144835bb MDL-52059 versions: bump all versions and requires near release
version = planned 2015111600 release version
requires= current 2015111000 rc3 version
2015-11-10 12:33:52 +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
Eloy Lafuente (stronk7)
cb171682ff Merge branch 'MDL-49823-master' of git://github.com/jleyva/moodle 2015-10-07 01:08:52 +02:00
Dan Poltawski
f5e68c2892 Merge branch 'MDL-51564-master' of git://github.com/jleyva/moodle 2015-10-06 16:32:55 +01:00
Dan Poltawski
c1604af966 Merge branch 'MDL-51588-master' of git://github.com/FMCorz/moodle 2015-10-06 16:31:36 +01:00
Juan Leyva
9748791ba8 MDL-51564 webservice: Review the use of external format_string 2015-10-06 14:00:45 +02:00
David Monllao
6ee188b162 MDL-50613 webservices: Upgrade info about riskbitmask 2015-10-05 12:19:29 +08:00
Juan Leyva
d85bedf796 MDL-49823 webservice: Support gravatar profile images 2015-10-01 09:36:31 +02:00
Juan Leyva
fca9e67c25 MDL-50613 webservice: Remove risk bit masks for Web Service protocols
This will prevent to show a 'Critical' status in security overview
report when mobile services are enabled
2015-09-30 09:34:23 +02:00
Frederic Massart
3665f8036c MDL-51588 webservice: Allow CORS in webservice/pluginfile.php 2015-09-29 14:40:44 +08:00
Damyon Wiese
5d8c198711 MDL-50782 Ajax: No require_login for all ajax webservice calls
Some webservice functions need to be available without a login, e.g.
fetching strings and templates.

External functions must call validate_context if they require a valid login etc.

Added a new parameter to services.php: "loginrequired". Default is true.
2015-09-08 09:16:58 +08:00
Rod Norfor
0f382fe2e7 MDL-39353 xmlrpc: Add proxy support 2015-06-10 08:17:36 +01:00
Marina Glancy
d08f2f1175 MDL-49560 webservice: avoid recursion in soap
Thanks to El Leonidych for providing a patch
2015-05-25 15:57:23 +08:00
Eloy Lafuente (stronk7)
26ea380d24 MDL-50102 versions: bump all versions and requires near release
version = planned 2015051100 release version
requires= current 2015050500 rc1 version

Note: On purpose, the course format social wrong version (2015102100)
has been kept unmodified. Looking forward a solution right now.
2015-05-05 17:43:19 +02:00
Dan Poltawski
8da277ea96 Merge branch 'MDL-49894-master' of git://github.com/jleyva/moodle 2015-04-16 16:10:23 +01:00
Juan Leyva
6d28e2cfa6 MDL-49894 webservices: Add missing API changes in upgrade.txt 2015-04-16 15:19:42 +02:00
Juan Leyva
f7b443c2f0 MDL-49426 webservices: Allow upload to draft area always 2015-04-10 10:21:01 +02:00
Eloy Lafuente (stronk7)
33d65f705b MDL-49425 webservices: Fix unit test dependent of php.ini 2015-03-25 03:09:24 +01:00
Juan Leyva
116c4a62c7 MDL-49425 webservices: Unit tests for the new settings 2015-03-20 14:44:19 +01: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