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
jerome mouneyrac
cae9c119c6
webservice MDL-21658 add moodle_role_assign() unit test function
2010-11-30 05:51:52 +00:00
jerome mouneyrac
a9f07c4130
webservice MDL-21658 add moodle_user_update_users() unit test function
2010-11-29 09:15:14 +00: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
820b42c57b
webservice MDL-25323 clean get_ws_authorised_usersget_ws_authorised_users from obsolete code
2010-11-23 09:16:34 +00:00
jerome mouneyrac
9d1b6ea35c
webservice MDL-25195 fix web service admin pages navigation bar/navigation
2010-11-16 07:45:31 +00:00
Andrew Davis
46505ee75e
message MDL-24694 removed references to user->emailstop. the column itself will be removed in a later version
2010-11-05 08:04:40 +00:00
jerome mouneyrac
8abfe38321
webservice MDL-24758 ws doc better looking on chrome + print default value for array/object
2010-10-29 03:51:03 +00:00
David Mudrak
136e69c40f
MDL-24767 webservices logs use hard coded site id 1 instead of SITEID
2010-10-19 15:26:24 +00:00
Petr Skoda
346c5887b1
MDL-24751 using new memory constants
2010-10-19 10:13:15 +00:00
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