Mark Nelson
f74fe5ba52
MDL-51781 tool_log: marked log values as NOT_MAPPED if mapping not found
2015-10-15 01:25:43 -07:00
Damyon Wiese
63b5a5faad
MDL-46455 event: Make the debugging messages print the event class.
...
Because they are in the base class, it was impossible to find which event
triggered the debugging.
2015-10-11 18:14:58 -07:00
Mark Nelson
901a7ff7f2
MDL-46455 restore: added restore support for 'other' in events
2015-10-11 18:14:51 -07:00
Mark Nelson
6920d3904c
MDL-46455 restore: added restore support for the 'objectid' in events
2015-10-09 16:23:09 -07:00
Petr Skoda
b64af72c2c
MDL-45090 explain event->courseid
2014-04-24 16:31:50 +08:00
Adrian Greeve
cc662b0639
MDL-45218 events: New static methods for getting general event information.
...
New methods are get_static_info() and get_explanation().
2014-04-23 11:52:05 +08:00
Marina Glancy
c733401634
Merge branch 'MDL-45035-master' of git://github.com/ankitagarwal/moodle
2014-04-15 14:34:36 +08:00
Petr Škoda
d409944a95
MDL-44911 use unknown_logged class when viewing unknown events in reports
2014-04-14 11:59:00 +08:00
Ankit Agarwal
9638600bbb
MDL-45035 events: Fix @package and @since tags in Moodle 2.6 events
2014-04-11 13:32:33 +08:00
Marina Glancy
c3ba899abd
MDL-40907 events: Allow one event write several entries to the legacy log table
2014-04-08 13:44:57 +08:00
Eloy Lafuente (stronk7)
fc7557677d
MDL-44720 modinfo: whitespace fix
2014-04-02 23:17:10 +02:00
Eloy Lafuente (stronk7)
6b8798dedb
Merge branch 'wip-MDL-44720-master' of git://github.com/marinaglancy/moodle
2014-04-02 21:32:42 +02:00
Ankit Agarwal
85a4b8a3ce
MDL-44717 events: Event restore process must call the init() method
2014-04-01 14:51:02 +08:00
Marina Glancy
92e2e85523
MDL-44720 modinfo: make it easier to use cm_info instead of get_coursemodule_from_id
...
by adding function cm_info::get_course_module_record()
2014-03-27 11:24:00 +08:00
Marina Glancy
daf7b64ef7
Merge branch 'w13_MDL-44107_m27_canview' of git://github.com/skodak/moodle
2014-03-25 17:10:27 +08:00
Petr Škoda
15f009e1a2
MDL-44107 add debugging to deprecated event::can_view()
2014-03-25 14:53:17 +08:00
Petr Škoda
bc29320285
MDL-44661 implement event->anonymous property
2014-03-20 17:33:35 +08:00
Petr Škoda
bc22fa9310
MDL-44107 deprecated event_base::can_view()
...
The problem is that it would be too expensive and difficult
to implement reliable access control in each event.
2014-03-20 17:29:19 +08:00
Petr Škoda
9ede00db18
MDL-44500 detect context-courseid inconsistencies in new events
2014-03-14 12:08:12 +08:00
Damyon Wiese
ca0361084b
Merge branch 'w10_MDL-41266_m27_logging' of https://github.com/skodak/moodle
2014-03-04 13:32:43 +08:00
Marina Glancy
5e70ea26bb
MDL-44321 events: debug on errors in add_record_snapshot()
...
also clone object returned by get_record_snapshot() to prevent accidental changing of $COURSE or other important objects
2014-02-28 16:37:31 +08:00
Petr Škoda
81fbecc049
MDL-41269 add separate ip column to standard log table
2014-02-28 14:52:26 +08:00
Petr Škoda
7eaca5a810
MDL-37658 add new logging API with basic implemenation
2014-02-28 14:52:24 +08:00
Rajesh Taneja
fdc729ea57
MDL-43736 Events: event->contextinstanceid should be used where possible
...
While restoring event context might not be present (deleted)
So before using context api's check context or use event properties
2014-01-29 11:39:44 +08:00
Petr Škoda
3345e24f4b
MDL-43661 change event property level to edulevel
...
Level is a reserved word in sql, sorry.
2014-01-21 15:54:56 +08:00
Marina Glancy
013620aad3
Merge branch 'MDL-43044-master' of git://github.com/ankitagarwal/moodle
2013-12-10 11:40:54 +11:00
Adrian Greeve
49ff134227
MDL-43175 events: Changed JSON encoding decoding comparison to be less strict.
...
Debugging messages would be sent when other contained a float that is a whole number.
When encoding and decoding using JSON the number is changed to an integer and the
comparison fails.
2013-12-09 09:21:37 +08:00
Ankit Agarwal
b6c7ab22db
MDL-43044 events: Move component declartion to construct
2013-12-06 13:18:50 +08:00
Frederic Massart
31e571cdf0
MDL-42021 events: Debug message when objecttable set without an objectid
2013-09-27 14:29:21 +08:00
Mark Nelson
5999e40f01
MDL-41619 events: ensure direct access to event class files is prohibited
2013-09-05 18:43:58 +08:00
Frederic Massart
38d6fbfa87
MDL-41040 event: Level property uses defined event constants
2013-08-21 10:04:02 +08:00
Petr Škoda
96f81ea385
MDL-39474 introduce $CFG->debugdeveloper and cleanup $CFG init
2013-08-12 13:01:47 +02:00
Ankit Agarwal
2244600337
MDL-40935 events: get_legacy_eventname() should be public and static
2013-08-06 14:25:37 +08:00
Sam Hemelryk
d2132f02e2
Merge branch 'wip-mdl-41000' of git://github.com/rajeshtaneja/moodle
2013-08-06 17:45:16 +12:00
Sam Hemelryk
17440b2198
Merge branch 'w32_MDL-40815_m26_deprevent' of https://github.com/skodak/moodle
...
Conflicts:
lib/deprecatedlib.php
2013-08-06 15:38:18 +12:00
Sam Hemelryk
471dd4ff67
Merge branch 'MDL-40963-master' of git://github.com/ankitagarwal/moodle
2013-08-06 13:59:23 +12:00
Frederic Massart
513d879381
MDL-41029 core: Fix wrong guessing of course id in event base
2013-08-05 15:41:16 +08:00
Petr Škoda
f0f0e1fe73
MDL-40815 deprecate events_trigger()
2013-08-02 16:48:19 +02:00
Rajesh Taneja
fc9fc9fb30
MDL-41000 Events: Fixed phpdoc for get_name and get_description in \core\event\base class
2013-08-02 13:48:11 +08:00
Ankit Agarwal
1ccc126806
MDL-40963 events: get_name() should use get_called_class() instead of __CLASS__
2013-08-01 15:30:08 +08:00
Petr Škoda
82b1fb5184
MDL-39846 make all legacy info protected so that it is not used accidentally outside of trigger()
2013-07-19 09:00:42 +02:00
Petr Škoda
fd4f3e9e8e
MDL-39846 lock down snapshot handling in event
2013-07-19 08:46:29 +02:00
Petr Škoda
fb23739e8d
MDL-39846 prevent data modification from event init() method
2013-07-19 08:43:31 +02:00
Petr Škoda
ef1987dcdd
MDL-39846 use new special value -1 in $CFG->loglifetime to prevent legacy logging
2013-07-19 08:43:31 +02:00
Petr Škoda
132eff909c
MDL-39846 rename the $object var to match the property name
...
Thanks Fred again.
2013-07-19 08:43:31 +02:00
Petr Škoda
660f049f09
MDL-39846 rename object property to target
...
Credit goes to Fred, this should be easier to understand.
2013-07-19 08:43:31 +02:00
Petr Škoda
c61a3a5c94
MDL-39846 improve docs
2013-07-19 08:43:31 +02:00
Petr Škoda
f8a39659aa
MDL-39846 remove contextlevel validation
...
Do this in new validate_data() instead, thanks Fred.
2013-07-19 08:43:30 +02:00
Petr Škoda
2d36d49860
MDL-39846 fix comment typos
...
Thanks Fred!
2013-07-19 08:43:30 +02:00
Petr Škoda
097011c450
MDL-39846 simplify context parameter when creating new evetns
2013-07-19 08:43:30 +02:00