Commit Graph

67 Commits

Author SHA1 Message Date
b437f681f9 MDL-20808 Fixing default param handling. 2010-07-12 13:01:56 +00:00
d6cae0311a webservice MDL-20808 removing managing default from service_class_method_body() 2010-07-12 10:51:26 +00:00
02998b3f63 webservice MDL-23083 web service function generated code included default value assignement everytime a parameter was printed, causing error all over. Fixed. 2010-07-12 07:06:08 +00:00
c06503b83a webservice MDL-23083 Zend now cast object into array before calling the external function. 2010-07-09 04:07:37 +00:00
d9ad010327 webservice MDL-22589 support user preferences for creation and update 2010-07-08 08:40:21 +00:00
774b1b0ff0 webservice MDL-23144 support VALUE_DEFAULT empty array for single and multiple structure 2010-07-07 08:15:26 +00:00
e93b82d746 webservice MDL-23083 Zend SOAP does not support struct in the phpdoc 2010-07-05 08:51:57 +00:00
2d5a051e14 webservice MDL-23077 fix execute ws function when the return value is null 2010-07-05 06:04:47 +00:00
86dcc6f0a2 webservice MDL-21792 refactor webservice authorised users pages 2010-07-02 06:40:36 +00:00
bb98a5b25e webservice MDL-12886 add function to retrieve token row by token (must be unique) 2010-06-03 09:16:00 +00:00
ad8b5ba212 webservice MDL-21579 $this->simple is now a DEFINE. Fix the forgotten ones. 2010-05-25 03:41:24 +00:00
229a70996a security keysMDL-12886 cleanup a bit the security keys page (move html into renderer and DB query into library) 2010-05-12 07:53:07 +00:00
0f1e391487 webservice MDL-21579 fix wrong define usage: EXTERNAL_TOKEN_EMBEDDED => WEBSERVICE_AUTHMETHOD_SESSION_TOKEN 2010-04-30 06:37:43 +00:00
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
a8dd0325b9 web service MDL-21999 web service support optional parameter now (not only optional array/object key) 2010-04-01 03:17:34 +00:00
99152d09e3 web service MDL-21964 return null when the return description is null. 2010-03-29 06:48:17 +00:00
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
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
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
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
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
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
7e0eac79da webservice MDL-21127 add IP address for every web service logs. 2010-01-25 02:53:03 +00:00
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
c3517f05ed webservice MDL-21127 add logging for REST server 2010-01-22 08:21:08 +00:00
3785c9e221 webservice MDL-21351 token error message more explicit 2010-01-18 07:41:53 +00:00
b8c5309e7d webservice MDL-20805 fix token authentication 2010-01-14 08:17:00 +00:00
4ba8df5c1c webservice MDL-20805 fix validuntil checking (token invalid when xxx < time ()) 2010-01-13 09:11:23 +00:00
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
fd8ad93868 MDL-12886 fixed TODOs 2009-11-10 09:34:40 +00:00
4a355d1834 MDL-12886 added missing token restriction 2009-11-10 09:31:52 +00:00
3f5995886a improved docs 2009-11-10 09:06:42 +00:00
3086dd5964 MDL-20699 fixed ws protocol servers to use new abort transactiosn function 2009-11-01 10:07:58 +00:00
01482a4a14 MDL-17135 external token access support 2009-10-26 21:44:53 +00:00
b107e64716 MDL-12886 zend based Soap server class 2009-10-24 20:59:59 +00:00
c187722c1f MDL-12886 improved zend base class 2009-10-24 16:25:31 +00:00
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
f0dafb3c85 MDL-12886 refactored ws test client support and other minor tweaks 2009-10-21 18:25:00 +00:00
c91cc5ef45 MDL-12886 improved access exception 2009-10-20 23:00:57 +00:00
ca6340bf72 MDL-12886 improved response headers in Zend servers 2009-10-20 22:59:10 +00:00
e8b216709f MDL-12886 finally proper exception handling for Zend servers outside of the function execution 2009-10-20 22:49:39 +00:00
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
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
453a7a85d4 MDL-12886 added needed function description 2009-10-16 07:25:46 +00:00
8809813352 MDL-12886 first attempt to create the Zend compatibility layer for WS 2009-10-14 16:48:38 +00:00
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
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
551f442078 fixing copyright, this was in fact work of several people :-) 2009-10-07 10:15:07 +00:00
d18e0fe646 MDL-20353 adding missing data types of hidden form fields 2009-09-26 17:07:08 +00:00
893d7f0f11 MDL-12886 moved WS related stuff to webservice lib instead of external lib 2009-09-16 19:03:21 +00:00