24 Commits

Author SHA1 Message Date
jerome mouneyrac
d07ff72d15 webservice MDL-21580 remove reponse hook, add response cleaning to the method body for all Zend servers. 2010-02-22 07:07:44 +00:00
jerome mouneyrac
eae18ab60c webservice MDL-21580 remove hard coded string from validate_parameters function, clean XML-RPC response from additional values, XML-RPC return an exception if a return value is wrong 2010-02-19 02:40:10 +00:00
jerome mouneyrac
5a1861ee32 webservice MDL-21510 added two new DEFINE values: NULL_ALLOWED and NULL_NOT_ALLOWED 2010-02-08 03:49:52 +00:00
jerome mouneyrac
aa7fbebd59 webservice MDL-17135 fix typo bug returning exception when we have good right on the context 2010-02-05 07:58:29 +00:00
jerome mouneyrac
e5752b7d5b webservice MDL-21511 display debug info when the exception return is invalid parameter type 2010-02-05 06:30:47 +00:00
jerome mouneyrac
559a5dbd1d webservice MDL-21511 add webservice_parameter_exception to indicate which external parameter is invalid 2010-02-05 04:10:36 +00:00
jerome mouneyrac
382b9ceab3 webservice MDL-21510 added three defines for the description of ws optional value:
VALUE_REQUIRED - if the parameter is not supplied, there is an error
VALUE_OPTIONAL - if the parameter is not supplied, then the param has no value
VALUE_DEFAULT - if the parameter is not supplied, then the default value is used
2010-02-05 02:58:24 +00:00
jerome mouneyrac
bff11d2953 webservice MDL-20805 add token authentication method to test client (+ use token constant) 2010-01-13 10:10:27 +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
1942103f8b MDL-17135 external token access support 2009-10-26 19:10:20 +00:00
skodak
5593d2dc36 MDL-12886 refactored function return full external function info and improved reporting of access control problems 2009-10-20 22:30:18 +00:00
skodak
04d212ce4d MDL-12886 refacoring: the external_param is in fact value because we use it also in return structures 2009-10-07 21:49:03 +00:00
skodak
2965d271d9 MDL-12886 fixed param typo and adding new timeout method 2009-10-07 21:44:54 +00:00
skodak
551f442078 fixing copyright, this was in fact work of several people :-) 2009-10-07 10:15:07 +00:00
skodak
1d7db36f28 MDL-12886 more unit tests 2009-10-06 19:49:07 +00:00
skodak
c9c5cc81e9 MDL-12886 external lib parameter validation routine + some unit tests 2009-10-02 12:13:56 +00:00
skodak
c29cca3023 MDL-12886 WS param and return description classes 2009-10-01 21:53:14 +00:00
skodak
b038c32c82 MDL-12886 WS param and return description classes 2009-10-01 21:33:33 +00:00
skodak
893d7f0f11 MDL-12886 moved WS related stuff to webservice lib instead of external lib 2009-09-16 19:03:21 +00:00
skodak
d4e133554a MDL-12886 improved external API 2009-09-16 19:00:12 +00:00
skodak
5b658d18ad MDL-12886 api improvments - adding new descriptions functions - for now without the implemenatation, we need to decide first 2009-09-16 18:49:16 +00:00
skodak
1bea0c27d9 MDL-12886 api improvments - the actuall validation implementation is missing - we need to finalize the param description first 2009-09-16 18:06:31 +00:00
skodak
ab9a01f2b7 MDL-20293 strict param validation support - fixed group external lib methods 2009-09-15 20:31:08 +00:00
skodak
9a0df45a01 MDL-12886 new design of external service functions, groups api improved and known problems fixed - still work in progress with lots of todos - sorry 2009-09-14 23:52:08 +00:00