38 Commits

Author SHA1 Message Date
Pau Ferrer Ocaña
4ed6010a61 MDL-54799 webservice: Handle exception in WS format ASAP 2019-11-29 09:44:09 +01:00
sam marshall
7ba1cadd41 MDL-64961 REST web service: Fatal error in error handler 2019-03-01 11:57:00 +00:00
Frederic Massart
4700c44c01 MDL-46934 webservice_rest: Fixed undefined index on XML output 2016-05-20 17:03:23 +08:00
Juan Leyva
3ca3d259e5 MDL-47545 web services: Allow cross origin requests for file downloads 2014-10-24 17:10:44 +02:00
Juan Leyva
5e28991e78 MDL-47545 web services: Allow cross origin requests 2014-10-23 11:17:41 +02:00
Jerome Mouneyrac
6a30d03e5f MDL-37355 Fix the REST server that didn't send back the cleaned values 2013-01-04 14:23:02 +08:00
Jerome Mouneyrac
93ce0e8296 MDL-32581 support additional format field with all text field in extrnal lib function + new possible ws params to decide how format is returned (which are stored in a singleton) 2012-05-31 12:31:27 +08:00
Jerome Mouneyrac
506df9acbf MDL-32949 return exception errorcode from the REST/SOAP/XMLRPC servers 2012-05-15 18:23:43 +08:00
Jerome Mouneyrac
a0a07014c2 MDL-30994 webservice API, check and update DocBlock 2012-03-02 09:49:41 +08:00
Jerome Mouneyrac
dcd902a0f6 MDL-30495 HTML5 apps cannot call Webservices functions if a HTTP resource is retrieved from the Moodle installation 2012-02-15 11:33:11 +08:00
Jerome Mouneyrac
2ada59b759 MDL-31077 REST server should return null if nothing fail and if the description function return null. 2012-01-17 15:37:27 +08:00
Jerome Mouneyrac
d2f127e65c MDL-29712 REST-XML server was translating too many HTML characters. use htmlspecialchars instead of htmlentities. Translated characters by htmlspecialchars are compatible with XML validation, and so XML parsers for javascript, java... 2011-12-02 11:26:48 +08:00
Jerome Mouneyrac
6d4aa25892 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 2011-10-20 11:22:36 +08:00
Jerome Mouneyrac
a08b4cc8eb MDL-29279 REST server can return json format 2011-09-19 13:54:09 +08:00
Petr Skoda
8a7703ce53 MDL-25973 add missing charset 2011-01-14 09:32:17 +01:00
jerome mouneyrac
82ff8eb0ce web service MDL-22977 REST server return a "required" error on optional value 2010-06-29 03:28:32 +00:00
jerome mouneyrac
ad8b5ba212 webservice MDL-21579 $this->simple is now a DEFINE. Fix the forgotten ones. 2010-05-25 03:41:24 +00:00
Jamie Pratt
2d0acbd5f9 MDL-21579 "Implement session token for embedded application" implemented a second type of session token linked to a session for use in applications embedded in web pages. 2010-04-28 13:16:58 +00:00
jerome mouneyrac
17ecdd29f0 webservice MDL-16805 fix REST server bug: empty list (<MULTIPLE></MULTIPLE>) without php error 2010-02-09 09:26:03 +00:00
Petr Skoda
4f0c6ad110 MDL-12886 inproved hadnling of bool ws params and return values 2009-10-26 22:39:08 +00:00
Petr Skoda
01482a4a14 MDL-17135 external token access support 2009-10-26 21:44:53 +00:00
Petr Skoda
2458e30a86 MDL-12886 zend base class improvements, somebody forgot to update Zend framework, this should help with compativiltiy too 2009-10-24 15:28:01 +00:00
skodak
246f6da2b8 MDL-12886 one more external group function, other minor fixes 2009-10-22 23:54:35 +00:00
skodak
f0dafb3c85 MDL-12886 refactored ws test client support and other minor tweaks 2009-10-21 18:25:00 +00:00
skodak
cc93c7da15 MDL-12886 minor web service code refactoring which includes new base server class, slightly changed admin UI, sample REST test client, cleaned up lang packs; more changes ahead and lots of TODOs to elliminate; expect more commints in the next few days 2009-10-12 21:46:16 +00:00
jerome
f83dfcf686 web services MDL-12886 fix REST/SOAP/XMLRPC test clients (function names are not called tmp_ anymore) 2009-04-28 07:04:50 +00:00
jerome
fa0797ecf4 web service MDL-12886 better looking documentation, use a lower integer for the mock token 2009-03-04 03:18:14 +00:00
jerome
7c9152bc7f web service MDL-12886 return value fix for REST server 2009-02-25 04:52:17 +00:00
jerome
13036898c7 web service MDL-12886 fix empty optional description for REST server 2009-02-25 00:50:47 +00:00
jerome
40f024c9f3 web service MDL-12886
* Remove description array => all these information are now into the phpdoc. Remove all call/reference to moodleexternal.php
* Adapt our own REST server to these changes
* Remove Zend REST server as it's going to be deprecated in Zend Framework 1.8
* Remove our own SOAP server as we use the Zend SOAP server
2009-02-24 05:11:04 +00:00
jerome
06e7fadc43 web serviceMDL-12886 refactor servers into object + add Zend_soap and Zend_xmlrpc server 2009-02-11 06:57:30 +00:00
jerome
58e6c593f4 web service MDL-12886 Add a new REST server implemented with Zend library + AMF server + cleaning of wsdl generator + return exception into the REST server 2009-01-29 08:24:40 +00:00
jerome
bb58e708f6 web service MDL-12886 implement token system for SOAP + wsdl generation on the fly 2009-01-27 06:15:36 +00:00
jerome
a6a544b24d web service MDL-12886 temporary: REST protocol uses a special user by default (wsuser/wspassword) - give him some admin rights in order to test REST server 2009-01-23 07:19:34 +00:00
jerome
338bf5a741 web service MDL-12886 implement authentication token systemprototype 2009-01-23 05:31:02 +00:00
jerome
89b8ce51d9 web service MDL-12886 implement authentication token systemprototype 2009-01-23 04:55:56 +00:00
jerome
b721783ad4 web service MDL-12886 manage optional parameters 2009-01-22 08:03:33 +00:00
jerome
e6bdd12899 web service MDL-12886 few TODO comments 2009-01-22 05:22:05 +00:00