325 Commits

Author SHA1 Message Date
Aparup Banerjee
8887601196 MDL-28670 webservice : (review) changes improving performance 2011-11-14 11:25:36 +08:00
Jerome Mouneyrac
07a90ec313 MDL-28629 more checks during web service authentication 2011-11-11 15:07:18 +08:00
Aparup Banerjee
e88c193fb0 MDL-28670 webservice : added dimming of service name in security keys page if webservice is disabled or not on authorised list to access webservice. 2011-11-07 14:21:40 +08:00
Sam Hemelryk
e6acc5518b MDL-29106 white space clean up 2011-10-25 15:28:52 +13:00
Sam Hemelryk
2d94084463 Merge branch 'MDL-29825' of git://github.com/mouneyrac/moodle 2011-10-25 11:46:51 +13:00
Sam Hemelryk
c486d7f2d8 Merge branch 'MDL-29459' of git://github.com/mouneyrac/moodle 2011-10-25 11:45:58 +13:00
Sam Hemelryk
2336a84333 MDL-29106 webservices: Minor whitespace cleanup 2011-10-25 11:43:53 +13:00
Sam Hemelryk
b8b594843c Merge branch 'MDL-29106' of git://github.com/mouneyrac/moodle 2011-10-25 11:42:40 +13:00
Petr Skoda
22d7cede55 MDL-29887 add forgotten flashvars
Thanks Eloy!
2011-10-24 17:43:05 +02:00
Jerome Mouneyrac
5d1017e11d MDL-29106 new web service naming convention 2011-10-24 11:06:00 +08:00
Petr Skoda
13ae464c0f MDL-29887 remove outdated swfobject
Contrib code can use YUI flash embedding, manual embedding or better switch to JS/HTML 5.
2011-10-23 12:05:44 +02:00
Jerome Mouneyrac
729ca37388 MDL-29825 better debug info when a ws client user misses a protocol capability 2011-10-21 15:11:38 +08:00
Jerome Mouneyrac
6d4aa25892 MDL-29459 REST-XML server validate return values and throw exception if the returned values are bad (missing, not expected, wrong type). Remove from the REST serialize function previous error checking (missing key error, bypassing not expected keys). It now matches other servers that do validate the return values and throw exception 2011-10-20 11:22:36 +08:00
Eloy Lafuente (stronk7)
c2551ed593 Merge branch 'w41_MDL-29602_m22_accesslib' of git://github.com/skodak/moodle 2011-10-18 13:15:13 +02:00
Eloy Lafuente (stronk7)
22ca3e49e0 NOBUG - whitespace fixes (MDL-19488, MDL-27242, MDL-29435) 2011-10-17 10:19:59 +02: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
Petr Skoda
e922fe23b6 MDL-29602 accesslib improvements
Refactoring and improvements of the accesslib.php library including prevention of access for not-logged-in users when forcelogin enabled, improved context caching, OOP refactoring of contexts, fixed context loading, deduplication of role definitions in user sessions, installation improvements, decoupling of enrolment checking from capability loading, added detection of deleted and non-existent users in has_capability(), new function accesslib test, auth and enrol upgrade notes.

More details are available in tracker subtasks.
2011-10-16 14:05:18 +02: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
Sam Hemelryk
609ad0da5b Merge branch 'MDL-26635' of git://github.com/mouneyrac/moodle 2011-09-21 17:52:53 +12:00
Jerome Mouneyrac
ccda013458 MDL-26635 Return a more explicit debuginfo message when the user can not access the web service function 2011-09-21 13:03:18 +08:00
Eloy Lafuente (stronk7)
f1ac51ac60 Merge branch 'MDL-29279' of git://github.com/mouneyrac/moodle 2011-09-19 23:56:41 +02:00
Aparup Banerjee
aa601cca0a Merge branch 's13_MDL-29036_ws_upload_master' of git://github.com/dongsheng/moodle 2011-09-19 16:02:45 +08:00
Dongsheng Cai
7515e1bac4 MDL-29036 WEBSERVICE : webservice upload script should respect maxbytes and userquota settings 2011-09-19 15:31:34 +08:00
Jerome Mouneyrac
a08b4cc8eb MDL-29279 REST server can return json format 2011-09-19 13:54:09 +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
Eloy Lafuente (stronk7)
85dca0996e Merge branch 'MDL-MDL-28650' of https://github.com/mouneyrac/moodle 2011-08-25 01:11:15 +02:00
Adam Olley
936cabd6f0 MDL-28481: Send headers before any possible output 2011-08-22 09:11:42 +09:30
Jerome Mouneyrac
cde291ed73 MDL-28650 add a page in the administration to the full web service API (API documentation). 2011-08-18 11:51:02 +08:00
Eloy Lafuente (stronk7)
2bdd5cf6ec Merge branch 'wip_MDL-20804_wsdl' of git://github.com/timhunt/moodle 2011-08-17 03:04:34 +02: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
Aparup Banerjee
728ebac7f2 MDL-28135 general Updating all hardcoded "docs.moodle.org/en/Development:" type doc links to "docs.moodle.org/dev/" 2011-07-05 14:27:31 +08:00
Dongsheng Cai
8819c47b64 MDL-28121, fixed deprecated split() function 2011-06-30 17:34:36 +08:00
Rajesh Taneja
b4e29077d3 MDL-27759 Fixed conflicts for integration 2011-06-14 10:45:03 +08:00
Rajesh Taneja
ccc77f9152 MDL-27759 user webservice - added new PARAM for timezone PARAM_TIMEZONE, to validate timezone input in webservice while deling with user information 2011-06-14 10:15:00 +08:00
Sam Hemelryk
650142bb9b Merge branch 's11_MDL-27497_upload_master' of github.com:dongsheng/moodle 2011-06-14 09:43:24 +08:00
Dongsheng Cai
42b2809ff3 MDL-27497, using webservice token to upload files 2011-06-13 16:06:18 +08:00
Sam Hemelryk
00a33dcbac Merged branch 'MDL-26777-wip' of git://github.com/mouneyrac/moodle.git 2011-06-08 17:52:59 +08:00
Sam Hemelryk
96e0194c05 Merged branch 'MLD-27551' of git://github.com/mouneyrac/moodle.git with changes 2011-06-08 17:34:17 +08:00
Jerome Mouneyrac
c1b658832d MDL-27551 add enable mobile feature (enable web services + mobile service - add mobile builtin service - add unique shortname for service) 2011-06-08 15:10:26 +08:00
Sam Hemelryk
0373264c20 Merge branch 'MLD-27565-wip' of 'git://github.com/mouneyrac/moodle.git' with changes and conflict resolution for MDL-27565 2011-06-08 10:11:51 +08:00
Jerome Mouneyrac
8d46dabb6e MDL-27565 implement moodle_notes_create_note 2011-06-07 17:28:51 +08:00
Jerome Mouneyrac
a623b6b892 MDL-27566-wip implement moodle_message_send_messages function (matching front end logic - TODO: 2 core functions to change to support bulk operations) 2011-06-07 16:40:55 +08:00
Jerome Mouneyrac
0bf486a619 MDL-26777 moodle_webservice_mobile_get_siteinfo TODO: add this service name into the service of MDL-27551 2011-06-07 15:19:53 +08:00
Jerome Mouneyrac
543967a9e8 MDL-26250 Create a web service function that enrols users to a certain course 2011-05-04 12:23:18 +08:00
Petr Skoda
8a7703ce53 MDL-25973 add missing charset 2011-01-14 09:32:17 +01:00
jerome mouneyrac
ed2441128f webservice MDL-21658 add moodle_add_groupmembers, moodle_create_groups, moodle_delete_groupmembers, moodle_delete_groups unit tests 2010-12-01 08:20:52 +00:00
jerome mouneyrac
e76e431c66 webservice MDL-21658 add moodle_group_get_groupmembers() and moodle_group_get_course_groups() unit test functions 2010-11-30 07:52:05 +00:00
jerome mouneyrac
3acb709515 webservice MDL-21658 add moodle_role_unassign() unit test function 2010-11-30 06:18:05 +00:00