Git commits in Moodle 2.2.0 by Jerome Mouneyrac

commit 3b40f3b1a76326924456ee85c881ea242b816c6a
Author: Jerome Mouneyrac <jerome@moodle.com>
Date:   Thu, 01 Dec 2011 14:19:36 +0800
Tag:    v2.2.0-rc1

MDL-30496 fix upload max size issue when server limit is set + return some kind of json error object for filenameexists and oversizedfile errors

commit 264764e222a29c943c662a70777b1fa1b7d2b68e
Author: Jerome Mouneyrac <jerome@moodle.com>
Date:   Thu, 01 Dec 2011 10:33:37 +0800
Tag:    v2.2.0-rc1

MDL-30459 when one filename already exist we bypass the execution and continue. We just return the error into the json string

commit 4d693fc44ccffea52e8cff00943cdcad94f46460
Author: Jerome Mouneyrac <jerome@moodle.com>
Date:   Wed, 30 Nov 2011 10:33:21 +0800
Tag:    v2.2.0-rc1

MDL-30395 display the folder name if the block/module of a backup file is not installed in the site

commit 07cc3d11e2081364d5d33f4f9cec5c30b62a53a5
Author: Jerome Mouneyrac <jerome@moodle.com>
Date:   Tue, 29 Nov 2011 11:18:36 +0800
Tag:    v2.2.0-rc1

MDL-28646 add missing authentication web service checks. Merge download/upload script checks in the same lib functions. Make the download scrit return json error message. Add missing webservice lang. Minor unit test doc improvement.

commit f25aee3251b6a55547c5c4da7fa2d0567540b62b
Author: Jerome Mouneyrac <jerome@moodle.com>
Date:   Fri, 25 Nov 2011 12:05:53 +0800
Tag:    v2.2.0-rc1

MDL-30459 better error message when file already exist

commit af03513f9332bccda05ba723ac01a6373ecb0310
Author: Jerome Mouneyrac <jerome@moodle.com>
Date:   Wed, 16 Nov 2011 11:51:03 +0800
Tag:    v2.2.0-rc1

MDL-30268 add 'Can download files' field to service

commit 07a90ec31304a1eedf300f0d01c3a15f9558e5a1
Author: Jerome Mouneyrac <jerome@moodle.com>
Date:   Fri, 11 Nov 2011 15:07:18 +0800
Tag:    v2.2.0-rc1

MDL-28629 more checks during web service authentication

commit 2b8fe35b65db8e3a48870ecc284d59204ea9e4de
Author: Jerome Mouneyrac <jerome@moodle.com>
Date:   Wed, 02 Nov 2011 09:38:02 +0800
Tag:    v2.2.0-beta

MDL-30043 token.php should not return a mix of EXTERNAL_TOKEN_PERMANENT and EXTERNAL_TOKEN_EMBEDDED

commit f4a75854b78a7f380dd09041aff25da156910a46
Author: Jerome Mouneyrac <jerome@moodle.com>
Date:   Tue, 01 Nov 2011 15:22:28 +0800
Tag:    v2.2.0-beta

MDL-30027 support no options + fix wrong param validation call

commit dab3977a5459facd1bd9f8cac5f0921f3a8bfdc7
Author: Jerome Mouneyrac <jerome@moodle.com>
Date:   Mon, 31 Oct 2011 10:57:06 +0800
Tag:    v2.2.0-beta

MDL-29931 remove unneeded join and selects

commit 5b9735b9499c925cee67fb6dc4b238de64773a53
Author: Jerome Mouneyrac <jerome@moodle.com>
Date:   Tue, 25 Oct 2011 11:17:18 +0800
Tag:    v2.2.0-beta

MDL-29716 Make token more flexible to support third party client - also fix issue with some code not matching the way the server authenticate/authorize token, missing iprestriction/validuntil for restricted users (there are iprestriction/validiuntil on token and on restricted user). Also add missing check when the user is not listed in the authorised list.

commit 729ca373885e021120ff35bc04781143763cf330
Author: Jerome Mouneyrac <jerome@moodle.com>
Date:   Fri, 21 Oct 2011 15:11:38 +0800
Tag:    v2.2.0-beta

MDL-29825 better debug info when a ws client user misses a protocol capability

commit 5d1017e11d06202fe0e396aba98216d4bc8d2821
Author: Jerome Mouneyrac <jerome@moodle.com>
Date:   Tue, 18 Oct 2011 12:57:33 +0800
Tag:    v2.2.0-beta

MDL-29106 new web service naming convention

commit 6d4aa258929655d94bc20e4e5fcdb5a3ca352216
Author: Jerome Mouneyrac <jerome@moodle.com>
Date:   Fri, 14 Oct 2011 12:03:23 +0800
Tag:    v2.2.0-beta

MDL-29459 REST-XML server validate return values and throw exception if the returned values are bad (missing, not expected, wrong type). Remove from the REST serialize function previous error checking (missing key error, bypassing not expected keys). It now matches other servers that do validate the return values and throw exception

commit 9360256937dc907dcd9eb6b79f99bda4d4804fb2
Author: Jerome Mouneyrac <jerome@moodle.com>
Date:   Fri, 07 Oct 2011 16:06:19 +0800
Tag:    v2.2.0-beta

MDL-29277 when validate externallib function parameters or return values, build the path to the error into the debuginfo. This patch also revert the exception to the original invalid_parameter_exception and invalid_response_exception

commit 2c28fa7643b168006883a81a2421012d357a22d6
Author: Jerome Mouneyrac <jerome@moodle.com>
Date:   Fri, 07 Oct 2011 14:21:41 +0800
Tag:    v2.2.0-beta

MDL-29435 SOAP/XMLRPC server return debuginfo into the exception message when DEBUG >= NORMAL

commit ccda013458fcefda9c185e717475b37b5ba86923
Author: Jerome Mouneyrac <jerome@moodle.com>
Date:   Wed, 21 Sep 2011 13:03:18 +0800
Tag:    v2.2.0-beta

MDL-26635 Return a more explicit debuginfo message when the user can not access the web service function

commit a08b4cc8ebd7e4b9b0e0f627b8fec9d9dcba0c72
Author: Jerome Mouneyrac <jerome@moodle.com>
Date:   Mon, 19 Sep 2011 13:54:09 +0800
Tag:    v2.2.0-beta

MDL-29279 REST server can return json format

commit b02578db42c493fb34b9f2e8f6e603ce8e164a17
Author: Jerome Mouneyrac <jerome@moodle.com>
Date:   Thu, 15 Sep 2011 15:03:03 +0800
Tag:    v2.2.0-beta

MDL-29276 fix missing global jerome in generate_simple_struct_class() - it breaks normal PHP-SOAP call

commit 4962df40a983e0bf3d14ca8d839398ac553bfe48
Author: Jerome Mouneyrac <jerome@moodle.com>
Date:   Wed, 24 Aug 2011 14:40:15 +0800
Tag:    v2.2.0-beta

MDL-29005 display enrollable courses total and downloadable courses total instead of courses/sites total

commit fa698a15a8ea0e5c4cb8f65759dd0798451e56c5
Author: Jerome Mouneyrac <jerome@moodle.com>
Date:   Fri, 19 Aug 2011 11:45:18 +0800
Tag:    v2.2.0-beta

MDL-28990 add web service mobile overview

commit cde291ed734837a25427e8afafb90a0aaf9829f3
Author: Jerome Mouneyrac <jerome@moodle.com>
Date:   Thu, 18 Aug 2011 11:51:02 +0800
Tag:    v2.2.0-beta

MDL-28650 add a page in the administration to the full web service API (API documentation).