51 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
Jamie Pratt
c77e75a3cd MDL-20808 Fixes for amf web services and test client - a web service browser.
Fixed the bugs that Jerome mentions in the comments for this issue :

* No exception thrown when there is no return value now.
* No exception thrown when there are extra keys in the return value that are not in the description. Now the extra keys are ignored and not returned which is what the other web services do.
* Improved information about exceptions in the test client.
2010-02-11 03:39:02 +00:00
Jamie Pratt
94a9b9e770 MDL-20808 Fixes for amf web services and test client - a web service browser.
Includes :

MDL-21552 amf web services need to accept params and return values of proper type

MDL-21553 amf web service : In Flash an array has normally a numeri
2010-02-10 08:44:46 +00:00
jerome mouneyrac
1839e2f094 webservice MDL-17135 do not check if ws authentication plugin is enabled for the ws token method, it is only useful for username/password method. 2010-02-01 03:38:28 +00:00
jerome mouneyrac
b0a9a0cd35 mnet MDL-21466 change "WS auth not enable" for "Web Service Authentication plugin is disabled" message + add hard coded ws error message string into lang file. 2010-01-29 02:15:22 +00:00
jerome mouneyrac
7e0eac79da webservice MDL-21127 add IP address for every web service logs. 2010-01-25 02:53:03 +00:00
jerome mouneyrac
1e29fe3f35 webservice MDL-21127 add log for Zend server and when authentication (token or simple) failed and when the IP checking failed too. 2010-01-25 02:45:56 +00:00
jerome mouneyrac
c3517f05ed webservice MDL-21127 add logging for REST server 2010-01-22 08:21:08 +00:00
jerome mouneyrac
3785c9e221 webservice MDL-21351 token error message more explicit 2010-01-18 07:41:53 +00:00
jerome mouneyrac
b8c5309e7d webservice MDL-20805 fix token authentication 2010-01-14 08:17:00 +00:00
jerome mouneyrac
4ba8df5c1c webservice MDL-20805 fix validuntil checking (token invalid when xxx < time ()) 2010-01-13 09:11:23 +00:00
jerome mouneyrac
abf7dc44a2 webservice MDL-20803 auto-doc: added protocol checking, removed IP checking, removed all $USER reference, remove DEBUG call. TODO: split the code between login and documentation display, add switch to disable documentation, remove all html from the renderer using output function (create empty tag, create box, ... + css), fix xhtml strict 2009-12-18 03:19:22 +00:00
Petr Skoda
fd8ad93868 MDL-12886 fixed TODOs 2009-11-10 09:34:40 +00:00
Petr Skoda
4a355d1834 MDL-12886 added missing token restriction 2009-11-10 09:31:52 +00:00
Petr Skoda
3f5995886a improved docs 2009-11-10 09:06:42 +00:00
Petr Skoda
3086dd5964 MDL-20699 fixed ws protocol servers to use new abort transactiosn function 2009-11-01 10:07:58 +00:00
Petr Skoda
01482a4a14 MDL-17135 external token access support 2009-10-26 21:44:53 +00:00
Petr Skoda
b107e64716 MDL-12886 zend based Soap server class 2009-10-24 20:59:59 +00:00
Petr Skoda
c187722c1f MDL-12886 improved zend base class 2009-10-24 16:25:31 +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
f0dafb3c85 MDL-12886 refactored ws test client support and other minor tweaks 2009-10-21 18:25:00 +00:00
skodak
c91cc5ef45 MDL-12886 improved access exception 2009-10-20 23:00:57 +00:00
skodak
ca6340bf72 MDL-12886 improved response headers in Zend servers 2009-10-20 22:59:10 +00:00
skodak
e8b216709f MDL-12886 finally proper exception handling for Zend servers outside of the function execution 2009-10-20 22:49:39 +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
d4e764ab28 MDL-12886 rewritten xmlrpc client, not finished yet - need to solve error sending when exception occures outside of the executed method; the test client needs a lot of refactoring too 2009-10-19 23:14:26 +00:00
skodak
453a7a85d4 MDL-12886 added needed function description 2009-10-16 07:25:46 +00:00
skodak
8809813352 MDL-12886 first attempt to create the Zend compatibility layer for WS 2009-10-14 16:48:38 +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
skodak
265eaf365f MDL-12886 external functions and services maintenance is now part of the upgrade process - removing old unused code 2009-10-08 10:58:24 +00:00
skodak
551f442078 fixing copyright, this was in fact work of several people :-) 2009-10-07 10:15:07 +00:00
skodak
d18e0fe646 MDL-20353 adding missing data types of hidden form fields 2009-09-26 17:07:08 +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
jerome
9baf682518 webservice MDL-12886 web service administration 2009-09-09 07:55:03 +00:00
jerome
886d755609 web service MDL-12886 internal web service discovery function 2009-09-04 09:25:55 +00:00
jerome
2b04910245 web services MDL-12886 remove library functions from previous web service description design 2009-09-02 03:36:52 +00:00
jerome
ebcc6bd3b5 webservices MDL-12886 "params" parameter has been changed into an object (conform with the web description structure) + clean_params() function filters parameters and throws an exception for any unexpected parameters/malformed parameters 2009-08-28 07:03:03 +00:00
jerome
fbe52a393f webservice MDL-12886 refactor web service description + implement clean_function_params() function 2009-08-25 05:35:59 +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
f7631e7397 web service MDL-12886 administration: implement settings for servers (add amf debug option) 2009-03-31 03:29:01 +00:00
jerome
add1a6da62 web service MDL-12886 fix syntax error for description generation 2009-03-26 01:54:56 +00:00
jerome
a73e1ab4c5 web service MDL-12886 Add unit tests for User web service functions.
Change most of User web service functions to support multiple operation in one call. Adapt SOAP and XMLRPC test client. (REST User test clients wont work anymore till REST server supports array parameter)
2009-03-05 06:59:58 +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
2f4dc99d95 web service MDL-12886 comment the web service description array generation (too much complex, need refactoring) 2009-02-26 02:27:18 +00:00
jerome
3fba577b26 web service MDL-12886 comment the web service description array generation (too much complex, need refactoring) 2009-02-26 02:23:31 +00:00
jerome
7c9152bc7f web service MDL-12886 return value fix for REST server 2009-02-25 04:52:17 +00:00
jerome
437d9ff54c web service MDL-12886 modify phpdoc for group_external class 2009-02-24 08:26:25 +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
24350e0625 Web service MDL-17135 add web services administration 2009-02-13 03:08:35 +00:00