52 Commits

Author SHA1 Message Date
Petr Skoda
b5c04aa153 MDL-30007 standardise webservice version files 2011-11-29 22:12:15 +01:00
Sam Hemelryk
5f6de5dc6b Merge branch 'MDL-29435' of git://github.com/mouneyrac/moodle 2011-10-17 17:31:52 +13:00
Sam Hemelryk
92fe97f922 Merged branch 'MDL-29277' of git://github.com/mouneyrac/moodle.git with improvements 2011-10-17 13:18:30 +13:00
Jerome Mouneyrac
9360256937 MDL-29277 when validate externallib function parameters or return values, build the path to the error into the debuginfo. This patch also revert the exception to the original invalid_parameter_exception and invalid_response_exception 2011-10-07 16:06:19 +08:00
Jerome Mouneyrac
2c28fa7643 MDL-29435 SOAP/XMLRPC server return debuginfo into the exception message when DEBUG >= NORMAL 2011-10-07 14:21:41 +08:00
Jerome Mouneyrac
b02578db42 MDL-29276 fix missing global jerome in generate_simple_struct_class() - it breaks normal PHP-SOAP call 2011-09-15 15:03:03 +08:00
Tim Hunt
cc7fb382d7 MDL-20804 Improve the automatically generated WSDL.
Note that this is currently very much a proof-of-concept implementation. It should receive a lot of careful testing and review before we think about integrating it.
2011-07-06 18:53:57 +01:00
Petr Skoda
8a7703ce53 MDL-25973 add missing charset 2011-01-14 09:32:17 +01:00
jerome mouneyrac
d1d0788d47 webservice MDL-21658 add moodle_user_delete_users() unit test function + fix moodle_user_get_users_by_id unit test + add support of options for the SOAP client (important to force synchronous SOAP mode) 2010-11-29 06:26:38 +00:00
jerome mouneyrac
8150f74683 webservice MDL-23555 SOAP: add some common exception handlers 2010-08-30 05:51:06 +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
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
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
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
David Mudrak
bda5f9b115 MDL-21694 Moving webservices strings into plugin space 2010-03-29 20:46:38 +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
deb7a013ae webservice MDL-20805 add soap code for token 2010-01-15 06:33:09 +00:00
Petr Skoda
0ac940b3bf MDL-20712 using just $capablities for capability definition array, all other files in db/* do not use component names in definition array; old capability array names are of course supported 2009-11-04 19:24:12 +00:00
Petr Skoda
6f5e085205 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 16:48:45 +00:00
Petr Skoda
ad3abe2052 MDL-20693 fixed debug output problems of WS protocol servers 2009-11-01 10:13:38 +00:00
Petr Skoda
b107e64716 MDL-12886 zend based Soap server class 2009-10-24 20:59:59 +00:00
jerome
35b9a80aa6 webservice MDL-12886 commit for Petr to work on the last code this weekend (SOAP code very not clean) 2009-10-09 09:57:07 +00:00
jerome
06930a7e4a webservice MDL-12886 include => include_once (zend lib) 2009-09-14 03:45:37 +00:00
jerome
c927b7cf8e web services MDL-12886 trivial change 2009-09-01 08:52:28 +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
bae129ff8d web service MDL-12886 minor fix on the exception call (it doesn't display any Notice) 2009-08-11 06:26:37 +00:00
nicolasconnault
8f270f3e8d MDL-20014 Converted all print_footer() calls 2009-08-06 14:27:26 +00:00
jerome
3265eb1ab3 webservice MDL-12886 clean SOAP client 2009-05-04 06:36:43 +00:00
jerome
677d7d9e89 webservice MDL-12886 SOAP server: register moodle_exception (fix for "unknown exception" ) 2009-05-04 05:27:39 +00:00
jerome
fdae69373e webservice MDL-12886 SOAP server: register moodle_exception (fix for "unknown exception" ) 2009-05-04 05:26:02 +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
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
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
63cea891b9 web service MDL-12886 add beta documentation generator 2009-02-18 05:01:10 +00:00
jerome
24350e0625 Web service MDL-17135 add web services administration 2009-02-13 03:08:35 +00:00
jerome
06e7fadc43 web serviceMDL-12886 refactor servers into object + add Zend_soap and Zend_xmlrpc server 2009-02-11 06:57:30 +00:00
jerome
f4358aa946 web service MDL-12886 trivial refactoring 2009-01-30 04:57:49 +00:00
jerome
58e6c593f4 web service MDL-12886 Add a new REST server implemented with Zend library + AMF server + cleaning of wsdl generator + return exception into the REST server 2009-01-29 08:24:40 +00:00
jerome
bb58e708f6 web service MDL-12886 implement token system for SOAP + wsdl generation on the fly 2009-01-27 06:15:36 +00:00
jerome
3cbce27e14 web service MDL-12886 comment tmp_delete_user call from soap client (need to implement soap authentication) 2009-01-23 05:42:27 +00:00
jerome
b721783ad4 web service MDL-12886 manage optional parameters 2009-01-22 08:03:33 +00:00
jerome
e6bdd12899 web service MDL-12886 few TODO comments 2009-01-22 05:22:05 +00:00
jerome
9d9af8fa8c web service MDL-12886 rename wsapi.php as external.php, function tmp_delete_user don't use api.php anymore and include capability checking 2009-01-22 04:58:50 +00:00
jerome
61cb09e518 web service MDL-12886 add SOAP wsdl generator 2009-01-16 08:00:18 +00:00
jerome
eb9f6a08a5 web service MDL-12886 few more SOAP tests 2009-01-16 01:17:55 +00:00