43 Commits

Author SHA1 Message Date
Michael Aherne
f817c41cbf MDL-41900 events Log handler failures 2013-09-19 15:50:44 +01:00
Petr Škoda
f0f0e1fe73 MDL-40815 deprecate events_trigger() 2013-08-02 16:48:19 +02:00
Petr Škoda
b0d1d941c9 MDL-40220 use new core_component::get_component_directory() 2013-07-16 22:42:37 +02:00
Dan Poltawski
0e35ba6ffc MDL-36357 cleanup - remove double semicolons 2012-11-15 09:51:26 +08:00
Petr Skoda
4ca04fb58b MDL-32569 remove remaining references to simpletest and improve events test 2012-04-21 17:08:30 +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
Tim Hunt
99fa9745c4 MDL-28179 make failed event hander error message much more useful. 2011-07-04 18:55:45 +01:00
Petr Skoda
431ac39634 MDL-26623 fix file permissions
The permissions are now going to be verified as part of the weekly release process.
2011-03-01 12:26:49 +01:00
Eloy Lafuente (stronk7)
b967c54185 MDL-25708 recordsets - fix events/grade/group/moodle libs 2011-01-25 19:58:59 +01:00
Petr Skoda
365a594107 MDL-24321 switching to stdClass in /lib/ 2010-09-21 08:07:44 +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
78bfb562a0 MDL-21249 improved php docs and adding direct access prevention in core libs 2010-07-25 13:35:05 +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
d6e7a05713 fixed comment typos, removed silly global object docs 2010-05-21 19:13:00 +00:00
Petr Skoda
3400bf6cc4 MDL-20625 fixed typos, credit goes to Martin Langhoff 2009-11-07 16:00:13 +00:00
Petr Skoda
2055b631f0 MDL-20625 when in transaction do not trigger instant events becase we can not roll them back 2009-11-07 09:13:45 +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
skodak
17da2e6f28 MDL-16438 centralise information about plugins to avoid duplication, includes local customisation conversion to standard plugin structure + fixes for some recent regressions; see tracker for more details and links to docs and forums discussions 2009-06-19 14:25:56 +00:00
Moodle HQ git importer
11e1f82896 fix git cvs drift 2009-05-27 00:36:40 +00:00
skodak
5ca3c8386f MDL-19184, MDL-19212 - refactoring, cleanup and improvements in text editors support; localization support is not finished, inline docs incomplete, expect more commits soon 2009-05-16 20:53:21 +00:00
skodak
779ad29f99 MDL-16799 - Unit tests failing on events testing - caused by handler caching; merged from MOODLE_19_STABLE 2008-10-06 22:07:37 +00:00
poltawski
2a389207d1 Allow portfolio plugins to register event handlers - MDL-16392 2008-09-08 21:51:54 +00:00
mjollnir_
6eb0d3c5bf MDL-15741: workaround for annoying null byte php bug (base 64 decode eventdata before storing it in the database, and unencode it before processing) 2008-07-21 16:26:40 +00:00
sam_marshall
a2d51ba880 MDL-15560 Install fails again (missing global $DB) 2008-07-07 12:33:45 +00:00
skodak
1336c96edb MDL-15553 events_trigger() perf improvement; merged from MOODLE_19_STABLE 2008-07-06 18:58:46 +00:00
skodak
25c6a19d4e MDL-14679 converted eventslib 2008-05-30 17:07:45 +00:00
skodak
03cedd6283 MDL-11432 eliminated majority of RecordCount uses, added several missing rs_close() - this should help improve perf on some platforms - Eloy says ;-) 2007-10-10 12:19:27 +00:00
tjhunt
583e93ca27 Clarify comment. 2007-08-15 13:43:27 +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
toyomoyo
ce34ed3a76 fix for MDL-9137, adding support for gradebook plugins for db, cron, events, permission structures etc 2007-05-24 02:16:31 +00:00
skodak
d46306de6a MDL-9848 eventslib improvements and cleanup 2007-05-22 10:26:29 +00:00
skodak
d77717d786 MDL-9843 get_cached_events does not handle components properly;
whitespace cleanup;
minor coding style changes - such as always returning arrays from get cached and file events;
marked some functions as eventslib internal only
2007-05-17 15:44:07 +00:00
skodak
4230372f19 removed unused $varprefix 2007-05-17 14:05:36 +00:00
toyomoyo
9492291c82 some changes to events to make grade_added work 2007-05-15 03:19:01 +00:00
toyomoyo
8df8bbfbd0 removing extra code 2007-05-10 03:51:55 +00:00
toyomoyo
e8565225c9 removed extra code 2007-05-10 03:50:07 +00:00
toyomoyo
ecca85812f prefix is no longer needed for the array containing event dataI(e.g. $mod_assignment_events", $events is sufficient. 2007-05-10 03:46:10 +00:00
toyomoyo
9e2e5943dc modifications to eventslib 2007-05-01 08:59:39 +00:00
moodler
de0bc10fea SOme small changes from the meeting today 2007-04-30 09:36:06 +00:00
toyomoyo
8aaf935a1f some events code/testing code 2007-04-26 08:50:29 +00:00
toyomoyo
0856223c50 mechanism to install events 2007-04-19 08:45:30 +00:00