26 Commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
39b90b5152 MDL-30981 Upgrade API: Added related phpdocs 2012-04-02 00:40:13 +02:00
Sam Hemelryk
ef6cf871de MDl-30985 events: Fixed up phpdocs after review 2012-02-27 14:34:06 +13:00
Sam Hemelryk
1d1719f5dd MDL-30985 Fixed up event API phpdocs 2012-02-27 14:34:06 +13:00
Petr Skoda
358fb4dc06 MDL-29688 fix user enrolment modification event
Fixed invalid event name and usage.
2011-10-23 20:30:33 +02:00
Dongsheng Cai
a8e3b008ff MDL-25069 CHAT added event handler to handler user logout event. 2010-11-08 02:54:42 +00:00
Petr Skoda
582bae08ff MDL-24148 several course delete improvements and fixes:
* fixed order of deleting in course adn context
 * adding course context to event data because it is not available alter and some stuff may depend on old context id
 * adding option for context purging (keeps the context record because it might be still referenced later and it would be recreated)
 * new course enrol cleanup
 * removing content from some course fields that were referencing deleted content
 * coding style and phpdocs improvements
2010-09-19 13:09:48 +00:00
Petr Skoda
650462dfac MDL-24211 events subsystem cleanup and improvements
* handlers can be defined as internal or external
* external handlers are not called instantly when inside DB transaction
* code cleanup
* more robust detection of broken handlers
* refixed unit tests
* removing all pending events from 1.9 - these can not be processed due to encoding changes
* finally using real 'component' in handlers table
2010-09-15 15:55:18 +00:00
Petr Skoda
5b4a78e281 improved docs and license headers, adding direct access protection 2010-08-03 08:07:49 +00:00
Martin Dougiamas
9645a4843a MDL-16203 Updated the mod_created, mod_updated and mod_deleted events to be more generic and easier to handle 2010-07-08 02:27:58 +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
Petr Skoda
906fb8f883 MDL-17445 course deletion cleanup and adding new event that is triggered after removing course content 2010-05-20 07:59:13 +00:00
Dan Marsden
75ba5fe41a Events MDL-16203 fire events when a module is added/updated/deleted 2010-03-22 02:56:45 +00:00
Dan Marsden
1c5517a5a6 Assignment Events MDL-21861 - trigger events when files are uploaded in assignment to allow further handling - particularly for plagiarism prevention 2010-03-19 06:20:12 +00:00
Petr Skoda
7c7d3afab5 MDL-20766 message_send() used intead of events, it will enable us to improve performance and solve db transactions issues independedntly from events, hopefully this will give us more options in future too because the events are designed specifically for communication "moodle-->external systems" 2009-11-07 10:27:57 +00:00
Petr Skoda
117bd74897 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 11:31:16 +00:00
moodler
120b375891 MDL-10107 Fixed the definition of message providers ... it now works through files very similar to those for events and capabilities, which makes them easy to add/remove/change as necessary 2008-07-31 08:01:46 +00:00
mjollnir_
fc053de980 fixing merge issue between portfolio & messaging events 2008-07-28 14:35:01 +00:00
mjollnir_
67a87e7db2 portfolio checkin-
see http://git.catalyst.net.nz/gw?p=moodle-r2.git;a=shortlog;h=refs/heads/portfolio for changelog

commit point is this hash on that branch: f9642af4e8bd319d4ecdfd83589db61a8fa6fef2

This comes with two plugins, box.net & download
2008-07-25 08:14:11 +00:00
moodler
3b120e464f MDL-10107 - First check-in of Messaging 2.0 code from Luis Rodrigues, GSOC student.
This new messaging system replaces all the various email_to_user() calls.
They are now replaced by events triggers, and the messages are then
processed centrally according to user preferences and sent to one or more
processors (email, popup, jabber etc...)

This code is not finished yet, a lot of work still has to be done on the
interface.  However, the basic structure is there and should be working.
Luis and I will be reviewing and polishing this heavily in the next few weeks.
2008-07-24 08:38:03 +00:00
skodak
ffc670d931 MDL-9983 role_unassign should not touch group members table directly - we need events; merged from MOODLE_19_STABLE 2008-07-06 22:54:46 +00:00
skodak
96608a55bd MDL-9983 role assignment related triggers; merged from MOODLE_19_STABLE 2008-07-06 19:30:12 +00:00
skodak
2942a5cd34 MDL-9983, MDL-13998 core events related cleanup; merged from MOODLE_19_STABLE 2008-07-06 17:57:06 +00:00
skodak
b67ec72f57 MDL-9516 update_grade(); now required $source of grading to allow modification of original grades in activities through grade_updated event 2007-06-06 23:04:24 +00:00
skodak
612607bd47 MDL-9516 new central grading function update_grade(); to be improved/tested more tomorrow 2007-06-05 22:58:37 +00:00
nicolasconnault
de420c11c5 MDL-9317 Applying Petr's second patch 2007-05-29 00:56:44 +00:00
moodler
ca4bcf58ec Event handler for new grades 2007-05-14 09:30:56 +00:00