600 Commits

Author SHA1 Message Date
jerome mouneyrac
390cc887da webservice MDL-23345 fix moodledocs link in the ws doc 2010-07-20 03:22:55 +00:00
Jonathan Harker
7785dc2e9f lib, auth, webservice: MDL-20876 fix deprecated split() calls. 2010-07-20 01:38:54 +00:00
jerome mouneyrac
fde884c342 webservice MDL-23083 change $param => $paramanddefault (for multiple/single structure VALUE_DEFAULT) 2010-07-14 05:42:21 +00:00
Jamie Pratt
fcfd211788 MDL-20808 "Create AMF test client" Some updates to client 2010-07-13 06:59:10 +00:00
Jamie Pratt
b7d76bfdcb MDL-20808 "Create AMF test client" Some updates to client : 2010-07-13 06:55:24 +00:00
Jamie Pratt
b437f681f9 MDL-20808 Fixing default param handling. 2010-07-12 13:01:56 +00:00
jerome mouneyrac
d6cae0311a webservice MDL-20808 removing managing default from service_class_method_body() 2010-07-12 10:51:26 +00:00
jerome mouneyrac
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
Jamie Pratt
3bb041c551 MDL-23083 "Zend SOAP does not support struct in the phpdoc" Jerome's update to amf code for changes he made to web services as part of MDL-23083. I tested it and it works. 2010-07-09 05:25:49 +00:00
jerome mouneyrac
c06503b83a webservice MDL-23083 Zend now cast object into array before calling the external function. 2010-07-09 04:07:37 +00:00
jerome mouneyrac
75681c41b4 webservice MDL-12886 add SOAP/REST client (REST client do be done) + protocol unit testing 2010-07-08 09:28:28 +00:00
jerome mouneyrac
d9ad010327 webservice MDL-22589 support user preferences for creation and update 2010-07-08 08:40:21 +00:00
jerome mouneyrac
001251f222 web service MDL-12886 extends xml-rpc client from Zend client 2010-07-08 08:15:46 +00:00
jerome mouneyrac
774b1b0ff0 webservice MDL-23144 support VALUE_DEFAULT empty array for single and multiple structure 2010-07-07 08:15:26 +00:00
jerome mouneyrac
e93b82d746 webservice MDL-23083 Zend SOAP does not support struct in the phpdoc 2010-07-05 08:51:57 +00:00
jerome mouneyrac
2d5a051e14 webservice MDL-23077 fix execute ws function when the return value is null 2010-07-05 06:04:47 +00:00
jerome mouneyrac
86dcc6f0a2 webservice MDL-21792 refactor webservice authorised users pages 2010-07-02 06:40:36 +00: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
bb98a5b25e webservice MDL-12886 add function to retrieve token row by token (must be unique) 2010-06-03 09:16:00 +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
Sam Marshall
31c9330392 accesslib MDL-22527 Batch change to replace 'legacy' arrays with 'archetypes' arrays in access.php 2010-05-21 11:51:23 +00:00
jerome mouneyrac
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
jerome mouneyrac
07ab0c80ec hub MDL-19309 new site registration form + course publication + community block 2010-05-01 05:05:55 +00:00
jerome mouneyrac
0f1e391487 webservice MDL-21579 fix wrong define usage: EXTERNAL_TOKEN_EMBEDDED => WEBSERVICE_AUTHMETHOD_SESSION_TOKEN 2010-04-30 06:37:43 +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
Jamie Pratt
38f57b632c Just replacing some stray tabs with spaces for indentation in this file. 2010-04-26 11:50:32 +00:00
David Mudrak
30c8dd34f7 MDL-15252 Re-committing all English strings exported from AMOS
From now on, all English strings use the new syntax. They are not
eval()'ed any more and the only valid placeholders are {$a} and
{$a->foobar}. No extra quotes escaping, dollar sign escaping and putting
double percent signs.

The modified files were exported from AMOS database repository in the
new syntax and were re-ordered by stringid. Standard GNU/GPL and PHPdoc
blocks are added. Where there was no copyright note so far, I added the
default one with Martin Dougiamas as the copyright holder.

Live long and prosper.
2010-04-10 14:01:45 +00:00
Petr Skoda
3a915b0667 MDL-21693 Dropping _utf8 suffix from language codes and folder names; enabling new string managers - please note the transition is not yet fully complete because we need to wait for git to recognize the renames in cvs 2010-04-10 07:24:56 +00:00
jerome mouneyrac
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
David Mudrak
bda5f9b115 MDL-21694 Moving webservices strings into plugin space 2010-03-29 20:46:38 +00:00
jerome mouneyrac
99152d09e3 web service MDL-21964 return null when the return description is null. 2010-03-29 06:48:17 +00:00
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