21 Commits

Author SHA1 Message Date
Jerome Mouneyrac
4615817d1c MDL-30986 external API, check and update DocBlock
Conflicts:

	group/externallib.php
2012-04-30 15:11:56 +08:00
Dongsheng Cai
3ed74dd1d6 MDL-29347 core_enrol_get_enrolled_users web service should limit the number of participants - Jerome/Dongsheng 2012-02-27 11:39:01 +08:00
Petr Skoda
d5b68e28b3 MDL-31178 fix broken core_enrol_external::get_enrolled_users() 2012-01-21 17:58:47 +01:00
Dongsheng Cai
ad7612f597 MDL-29476 web service improvements
1. moodle_enrol_get_users_courses should return number of participants,
2. moodle_user_get_users_by_courseid should limit the fields to be returned
2011-11-16 12:02:24 +08:00
Jerome Mouneyrac
f4a75854b7 MDL-30027 support no options + fix wrong param validation call 2011-11-01 15:22:28 +08:00
Sam Hemelryk
e6acc5518b MDL-29106 white space clean up 2011-10-25 15:28:52 +13:00
Jerome Mouneyrac
5d1017e11d MDL-29106 new web service naming convention 2011-10-24 11:06:00 +08:00
Petr Skoda
d20f655d59 MDL-28350 prevent bogus role assignment via externallib 2011-07-15 12:23:34 +02:00
Sam Hemelryk
9bf5d894de Merge branch 'MDL-27564-wip' of git://github.com/mouneyrac/moodle with changes for MDL-27564 2011-06-08 10:38:29 +08:00
Jerome Mouneyrac
0e5fd1299a MDL-27564 most parameter should have been optional - return more common information so no extra web service required - note that it could be good to return role and group for each user in each course (it would make sens and save some web service call) 2011-06-07 18:20:07 +08:00
Petr Skoda
3364dbb5a4 MDL-26249 external enrol functions: get list of courses user is enrolled in 2011-04-25 10:53:29 +02: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
cac3999e34 webservice MDL-23679 fix get_enrolled_users return description 2010-08-05 16:44:51 +00:00
Petr Skoda
9779585953 MDL-23502 oops, die()! 2010-07-31 20:30:29 +00:00
jerome mouneyrac
41e962ffb0 webservice MDL-23440 more explicit error message when validation context fail in some external functions. 2010-07-30 06:00:32 +00:00
Petr Skoda
12b8f43314 MDL-21524 fixed wrong var names, credit goes to Heiko Schach 2010-07-27 19:07:58 +00:00
jerome mouneyrac
c2d81ff458 enrolment MDL-21524 fix get_enrolled_users() web service parameter function 2010-06-24 13:18:34 +00:00
Petr Skoda
df997f841f MDL-21782 reworked enrolment framework, the core infrastructure is in place, the basic plugins are all implemented; see the tracker issue for list of unfinished bits, expect more changes and improvements during the next week
AMOS START
    MOV [sendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage,enrol_self]
    MOV [configsendcoursewelcomemessage,core_admin],[sendcoursewelcomemessage_desc,enrol_self]
    MOV [enrolstartdate,core],[enrolstartdate,enrol_self]
    MOV [enrolenddate,core],[enrolenddate,enrol_self]
    CPY [welcometocourse,core],[welcometocourse,enrol_self]
    CPY [welcometocoursetext,core],[welcometocoursetext,enrol_self]
    MOV [notenrollable,core],[notenrollable,core_enrol]
    MOV [enrolenddaterror,core],[enrolenddaterror,enrol_self]
    MOV [enrolmentkeyhint,core],[passwordinvalidhint,enrol_self]
    MOV [coursemanager,core_admin],[coursecontact,core_admin]
    MOV [configcoursemanager,core_admin],[coursecontact_desc,core_admin]
    MOV [enrolledincourserole,core],[enrolledincourserole,enrol_manual]
    MOV [enrolme,core],[enrolme,core_enrol]
    MOV [unenrol,core],[unenrol,core_enrol]
    MOV [unenrolme,core],[unenrolme,core_enrol]
    MOV [enrolmentnew,core],[enrolmentnew,core_enrol]
    MOV [enrolmentnewuser,core],[enrolmentnewuser,core_enrol]
    MOV [enrolments,core],[enrolments,core_enrol]
    MOV [enrolperiod,core],[enrolperiod,core_enrol]
    MOV [unenrolroleusers,core],[unenrolroleusers,core_enrol]
AMOS END
2010-06-21 15:30:49 +00:00
jerome mouneyrac
26b99f2e55 webservice MDL-22580 remove some bad NULL_NOT_ALLOWED into the ws description of enrol 2010-05-26 13:40:43 +00:00
jerome mouneyrac
f1c9ff3699 webservice MDL-22580 fixing all the wrong PARAM_ into /enrol/externallib.php 2010-05-26 02:53:13 +00:00
jerome mouneyrac
e9b66095a3 webservice MDL-21524 add role_assign and role_unassign ws functions 2010-02-16 07:07:04 +00:00