932 Commits

Author SHA1 Message Date
David Mudrak
de5b395861 MDL-22787 Fixed remote unenrol - blame copy & paste 2010-07-18 00:35:43 +00:00
David Mudrak
f70207bc15 MDL-22787 Fixed enrol_mnet upgrade procedure
For any courses where at least one remote student was enrolled via 1.x
enrol_mnet plugin, the record in the table enrol was created
automatically by core during the upgrade to the new enrolment framework.
We just need to set the custom field to explicitly indicate that the
course is open for all remote hosts.
2010-07-17 23:39:02 +00:00
David Mudrak
053c49d1c9 MDL-22787 Bumping versions of MNet enrol related plugins to force xml-rpc methods re-registration 2010-07-17 22:36:21 +00:00
David Mudrak
af827747a3 MDL-22787 MNet Fix: enrol/mnet/enrol.php/available_courses is not indexed by courseid 2010-07-17 22:35:58 +00:00
David Mudrak
e3c6db931b MDL-22787 MNet: Finished server side of remote enrolment service 2010-07-17 22:35:38 +00:00
David Mudrak
152a2273be MDL-22787 MNet: Fixing regressions in auth_mnet caused by changes in enrol_mnet
This smells - IMHO auth_enrol should not do anything with the enrolment
related information. These two plugins seem to be tied too much...
2010-07-17 22:34:12 +00:00
David Mudrak
e56476c1e4 MDL-22787 MNet XML-RPC enrol/mnet/enrol.php/available_courses prefers host-specific instance 2010-07-17 22:31:57 +00:00
David Mudrak
c07e728146 MDL-22787 Fixed XML-RPC enrol/mnet/enrol.php/available_courses returned by 2.0 MNet server
Returns defaultrolename, fixed URLs in course summary and the returned
array must be indexed sequentially.
2010-07-17 22:30:20 +00:00
David Mudrak
d5bd0b0169 MDL-22787 MNet: implementation of enrol_mnet server-side service methods 2010-07-17 22:29:28 +00:00
David Mudrak
484b3e9f29 MDL-22787 Fixing the drift between my CVS and git, to be increased again in a while... 2010-07-17 22:29:03 +00:00
David Mudrak
fe73e93545 MDL-22787 MDL-21993 New mnetservice plugin type
This commit introduces new plugin type called mnetservice. Once the MNet
framework is redesigned, this plugin will define the service itself, the
strings for it and the the client tools for administrator. The server
side is implemented mainly in enrol_mnet plugin which publishes xml-rpc
methods.

AMOS BEGIN
 MOV [remoteenrolhosts_desc,core_mnet],[clientname_help,mnetservice_enrol]
AMOS END
2010-07-17 22:18:07 +00:00
David Mudrak
82195aaefe MDL-22787 Instances of enrol_mnet can be added to the course 2010-07-17 22:17:10 +00:00
David Mudrak
6f948538bb MDL-22787 Initial structures for the new MNet enrolment plugin 2010-07-17 22:16:48 +00:00
Sam Hemelryk
6db3eee02b enrol MDL-23117 Implements the other users UI for users with roles in a course but not enrolled.
At the same time this commit introduces a standardised dialogue YUI module to enrol and implements it across the board.
This commit also addresses MDL-23292 and MDL-23319.
2010-07-16 08:30:06 +00:00
Petr Skoda
869483b61e MDL-23325 fixed wrong course id 2010-07-16 06:41:14 +00:00
Petr Skoda
f728d49b00 MDL-19380 uploadlib cleanup before readding of antivirus integration 2010-07-14 08:40:48 +00:00
Petr Skoda
2a6dcb72a2 MDL-23237 new timecreated field in user_emrolments and adding timestart to enrol plugins that know it 2010-07-13 20:58:17 +00:00
Petr Skoda
a942f7572c fixed inverted !is_numeric() 2010-07-13 17:06:16 +00:00
Petr Skoda
217d039722 MDL-23253 plugin now may indicate if the want "Enrol me" link in navigation 2010-07-13 17:04:17 +00:00
David Mudrak
94cf0a1e56 MDL-23245 Fixed plugin type of auth_mnet in config_plugins table 2010-07-13 11:14:29 +00:00
Sam Hemelryk
823a807e01 enrol MDL-23232 Added validation of role when assigning 2010-07-13 03:54:21 +00:00
Sam Hemelryk
c41f920004 enrol MDL-23232 Fixed regression in ajax.php 2010-07-13 03:50:23 +00:00
Sam Hemelryk
a3c7198453 enrol MDL-23232 Added missing caps and plugins checks and copied both sets from the manager to implementing scripts 2010-07-13 03:43:41 +00:00
Sam Hemelryk
2c770b7af2 enrol MDL-23231 Added total enrolled users count to the overview page heading + title 2010-07-13 02:42:01 +00:00
Petr Skoda
91b99e8018 MDL-23232 added support for enrol_plugin->all_enrol() which indicates plugin allows users to add new enrolments manually 2010-07-12 17:46:48 +00:00
Sam Hemelryk
23cee7a4cf enrol MDL-22867 Fixed a couple of bugs and made some slight display changes.
* Set the default per page limit to 100 instead of 20
* Set the default enrolment role to enrol_manual:roleid config
* Added course name to page title
* Fixed centering bug of cohort dialogue
* Fixed double display bug
2010-07-12 09:01:59 +00:00
Sam Hemelryk
2ec702c999 enrol MDL-22867 Added functionality to add cohort sycn or preform a one off member enrolment on the enrolled users screen. 2010-07-12 08:28:13 +00:00
Sam Hemelryk
f5ce6b71da enrol MDL-22854 Fixed navigation for the cohort add instance page 2010-07-12 06:18:08 +00:00
Petr Skoda
edfd6a5e73 MDL-14589 user icons now stored in file storage pool 2010-07-11 11:43:15 +00:00
Petr Skoda
e384d2dc7b MDL-22780 sync ext db enrol when user logs in - except admins in case something goes really wrong in plugins 2010-07-10 18:53:52 +00:00
Petr Skoda
341217658e MDL-23151 new ext sync option and minor refactoring 2010-07-08 10:57:23 +00:00
Helen Foster
5a4c4d4d9b MDL-22997 adding help strings 2010-07-07 14:21:56 +00:00
Helen Foster
53ccc14fd2 MDL-22997 adding help strings 2010-07-07 14:15:29 +00:00
Sam Hemelryk
a70eb30fa9 enrol MDL-22854 New ajaxified enrolment interface 2010-07-07 02:46:34 +00:00
Petr Skoda
2e0406a53a repeating upgrade typo fixed 2010-07-06 16:10:17 +00:00
Petr Skoda
3a11c09f5b MDL-21676 user_picture refactoring, reenabling email requirement - towards Gravatar support 2010-07-04 18:36:34 +00:00
Petr Skoda
a4cdd6d2c8 MDL-23068 removing obsolete $result and removing empty upgrade files that would be probably never used at all + minor cleanup/fixing 2010-07-04 10:27:56 +00:00
Petr Skoda
eae1948cee MDL-22910 workaround for inability of Oracle and MS sql to find distinct text fields, improved perf in all dbs 2010-06-30 20:42:11 +00:00
Martin Dougiamas
3bd9a7fe59 NOBUG: Added a little notice about the new interface coming soon 2010-06-30 09:29:31 +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
ff3af0a542 MDL-22897 fixed problem when no category sync roles defined 2010-06-22 16:10:23 +00:00
Petr Skoda
f6fdf620c2 MDL-22779 fixing add instance to show only cohorts from parent contexts once more 2010-06-21 17:01:25 +00:00
Petr Skoda
d675887bc0 MDL-22779 fixing add instance to show only cohorts from parent contexts 2010-06-21 16:57:56 +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
David Mudrak
09eb215121 MDL-22729 Course sections can be re-edited again
By the way, the current style of creating course_sections is ugly. We
should probably have something like
make_sure_that_at_least_default_section_exists($courseid, $sectionid=null)
and not to insert it into database at many places as we do now.
2010-06-10 18:25:06 +00:00
Dongsheng Cai
0cdeb42562 MDL-22574, enrol/authorize, use filepicker to upload csv file 2010-06-08 06:32:06 +00:00
Petr Skoda
6b8ad965dc MDL-16919 we have to really use the username cleaning only when manually adding new accounts, any sync with external system needs the exact match without any cleaning! 2010-06-06 14:06:30 +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
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