169 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
8300f99e09 webservice MDL-21580 remove personal log function call 2010-02-22 05:30:56 +00:00
jerome mouneyrac
3ac3223eb7 webservice MDL-21580 remove personal test code 2010-02-19 06:48:47 +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
Petr Skoda
26acc814eb MDL-20204 fixed html-writer::tag() parameter order to match the rest of the api 2010-02-18 18:15:56 +00:00
jerome mouneyrac
1548ae26ba webservice MDL-20808 fix the missing $PAGE->set_url() 2010-02-11 03:48:38 +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
17ecdd29f0 webservice MDL-16805 fix REST server bug: empty list (<MULTIPLE></MULTIPLE>) without php error 2010-02-09 09:26:03 +00:00
Jamie Pratt
f4f6ae8023 removing old amf test client code and swf 2010-02-08 11:30:55 +00:00
Petr Skoda
916276fc0a MDL-20204 more outputlib changes towards separate html_writer 2010-02-07 20:12:31 +00:00
Petr Skoda
fad653904f MDL-21400 converted ufo embedding to new style 2010-02-06 12:41:09 +00:00
jerome mouneyrac
4b2023df41 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
(quick fix on default null value)
2010-02-05 03:04:02 +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
0991947b0c 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. (ws generated documentation) 2010-02-01 03:43:53 +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
52dd27bfbc webservice MDL-17135 remove old webserviceuse capability. It is now controlled by protocol capabilities. Add warning to protocol capabilities. 2010-02-01 03:23:35 +00:00
jerome mouneyrac
85b4c44745 webservice MDL-20803 add token authentication to web service documentation generator 2010-01-29 06:34:07 +00:00
jerome mouneyrac
d40fdeba8c webservice MDL-20803 updated the css, kudo to Sam H. Javascript been fixed by other fix. 2010-01-29 05:42:18 +00:00
jerome mouneyrac
75537cbfee webservice MDL-21463 add our web service test client into the admin tree development section 2010-01-29 02:40:42 +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
Petr Skoda
9dec75dbcc MDL-21240 shortened urls now start with / everywhere 2010-01-18 20:57:32 +00:00
jerome mouneyrac
3785c9e221 webservice MDL-21351 token error message more explicit 2010-01-18 07:41:53 +00:00
Petr Skoda
a685593466 MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions 2010-01-16 15:39:56 +00:00
jerome mouneyrac
deb7a013ae webservice MDL-20805 add soap code for token 2010-01-15 06:33:09 +00:00
jerome mouneyrac
b8c5309e7d webservice MDL-20805 fix token authentication 2010-01-14 08:17:00 +00:00
Petr Skoda
5d0c95a5ac MDL-21235 towards the final outputlib api - implementing separate html writer and implementing new render() method 2010-01-13 17:13:52 +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
jerome mouneyrac
4ba8df5c1c webservice MDL-20805 fix validuntil checking (token invalid when xxx < time ()) 2010-01-13 09:11:23 +00:00
Petr Skoda
5c2ed7e215 MDL-21198 $OUTPUT->single_button() resurrection, hopefully much easier to use than $OUTPUT->button(); fixed some regressions and code style improvements 2010-01-03 15:46:14 +00:00
jerome mouneyrac
f03bff3e2f webservice MDL-20803 fix printed documentation (collapsible javascript broke the printed pages) 2009-12-22 07:26:20 +00:00
jerome mouneyrac
cdb0bd6afc webservice MDL-20803 add "Print All" button 2009-12-22 03:52:28 +00:00
jerome mouneyrac
334f9dbb7a webservice MDL-20803 add some comments to the code 2009-12-21 08:08:22 +00:00
jerome mouneyrac
4597fd4d61 webservice MDL-20803 replace all html tag display by output tag functions 2009-12-21 07:37:54 +00:00
jerome mouneyrac
7886efc41e webservice MDL-20803 add switch to disable documentation, fix renderer call on login page, fix xhtml strict, add css file. TODO: use output render function to display tag, move all css style into the css file 2009-12-21 04:01:02 +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
c927e35c48 MDL-21148 geenral support for rendering targets, this should give us more flexibility; please propose improvements in the tracker if necessary, thanks 2009-12-17 22:43:27 +00:00
Petr Skoda
755909352c MDL-21148 preparation for new target parameter in get_renderer() 2009-12-17 14:51:36 +00:00
Petr Skoda
649cf95d0b MDL-21147 renamed find_renderer back to get_renderer() - there are no more collisions with those magic getters 2009-12-17 14:06:22 +00:00
Petr Skoda
56cbc53b76 MDL-21143 theme renderers related refactoring, it should detect more problems now, there is also a list of core renderer subtypes, hopefully the api changes are improvements 2009-12-17 13:45:54 +00:00
Petr Skoda
50397e43ff MDL-20792 fixing forgotten moodle_ prefixes in renderers 2009-12-16 22:33:49 +00:00
Petr Skoda
2f67a9b3a5 MDL-20700 whitespace terror returns yet again 2009-12-16 22:22:37 +00:00
Petr Skoda
78946b9bdb MDL-20204 first batch of major theme changes, some regressions are still there, expect more changes and improvements soon; see tracker for details and list of subtasks 2009-12-16 18:00:58 +00:00
jerome mouneyrac
7ef7363276 webservice MDL-20803 fix REST POST parameters documentation 2009-12-14 07:12:47 +00:00
jerome mouneyrac
886e3bfbd5 webservice MDL-20803 added REST POST parameters documentation 2009-12-14 06:01:13 +00:00
jerome mouneyrac
360e9415b4 webservice MDL-20803 fix xml-rpc documentation, now show the real sent PHP structure + response. REST POST parameters coming soon... 2009-12-14 05:30:12 +00:00
jerome mouneyrac
b5e4c8d4c1 webservice MDL-20803 little hack in order to not trigger environment.php in the header when $USER is set but the user is not logged 2009-12-13 14:06:09 +00:00