216 Commits

Author SHA1 Message Date
Petr Skoda
252708c64d fixed coding style 2010-10-08 08:51:22 +00:00
jerome mouneyrac
9ef728d660 webservice MDL-24541 change wsdoc.php external authentication into a normal moodle page with require_login(), no form, documentation directly related to the token and display from the user security keys page (see MDL for more information) 2010-10-08 03:03:10 +00:00
jerome mouneyrac
de55d4695e webservice MDL-24230 fix /admin/ into $CFG->admin + /lib/ into $CFG->libdir 2010-09-24 02:45:39 +00:00
Petr Skoda
7a424cc4f2 MDL-24321 switching to stdClass in /webservice/ 2010-09-21 08:28:15 +00:00
Petr Skoda
fc0fcb27e2 fixed created timestamp 2010-09-17 20:07:49 +00:00
jerome mouneyrac
c25662b0e4 web service MDL-23338 clean up Service editing page + delete token related to a service when delete service (display warning on confirmation page) + fix glitch on the navigation with 'Register your site' and 'Edit service' pages (they are now hidden and the parent page link is displayed) 2010-09-16 04:21:52 +00:00
jerome mouneyrac
b02b5fb74c webservice MDL-23943 fix moodle_enrol_get_enrolled_users (return function, return value, sql result not unique, param name never used) + add unit test 2010-08-30 07:48:09 +00:00
jerome mouneyrac
8150f74683 webservice MDL-23555 SOAP: add some common exception handlers 2010-08-30 05:51:06 +00:00
Jamie Pratt
00fa663431 MDL-20808 "Create AMF test client" this patch includes further improvements to test client 2010-08-27 01:16:01 +00:00
Petr Skoda
c924a469a6 MDL-23927 do not use = 'guest' because we have CFG->siteguest AND it matches any other username with accents and different case 2010-08-25 08:30:52 +00:00
jerome mouneyrac
6bb31e404e webservice MDL-13129 add moodle_course_get_courses and moodle_course_create_courses 2010-08-06 15:22:27 +00:00
Petr Skoda
8725605d7a MDL-22001 fixed hidden bug triggerred by recent fixes in format_string() - credit goes to Myles Carrick , thanks! + fixing sloppy trailing whitespace :-( 2010-08-01 10:24:52 +00:00
jerome mouneyrac
b2cde2cb78 webservice MDL-23539 fix missing capabilities information 2010-07-27 07:29:02 +00:00
jerome mouneyrac
9c954e883b webservice MDL-21908 admin: use renderer into token pages + a bit of code cleaning 2010-07-27 03:53:55 +00:00
jerome mouneyrac
1d2a1936c5 webservice MDL-23341 function list page: display "no functions" message, a better title, and fix a css typo 2010-07-23 06:54:59 +00:00
jerome mouneyrac
72f68b51e6 webservice MDL-23341 add required capabilities to the service function declaration (lib/services.php), display missing capaibilities for users linked to a token and for authorised users, display function capabilities, refactor service add function page 2010-07-23 06:17:06 +00:00
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