Commit Graph

68 Commits

Author SHA1 Message Date
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
Petr Škoda fddd1018f6 MDL-39846 improve validation and enable hardcoding of system context 2013-07-19 08:43:30 +02:00
Petr Škoda 4ad6d5c589 MDL-39846 prevent use of snapshots in restored events 2013-07-19 08:43:30 +02:00
Petr Škoda 300dbc66f2 MDL-39846 prevent adding of snapshots after event trigger 2013-07-19 08:43:30 +02:00
Petr Škoda b396d40e93 MDL-39846 fix name of property for record snapshots 2013-07-19 08:43:29 +02:00
Petr Škoda ed17808d99 MDL-39846 add event property iterator 2013-07-19 08:43:29 +02:00
Petr Škoda 27af3e625c MDL-39846 require context when creating events
No more guessing or falling back to system context.
2013-07-19 08:43:29 +02:00
Petr Škoda 62401e8fd5 MDL-39846 implement event sink for unit testing 2013-07-19 08:43:29 +02:00
Petr Škoda a85258cac8 MDL-39846 introduce new objecttable property 2013-07-19 08:43:29 +02:00
Petr Škoda 5fef139cd9 MDL-39846 rename cached record to snapshot 2013-07-19 08:43:28 +02:00
Petr Škoda b0cdc969f7 MDL-39846 use word 'extra' for special log fields 2013-07-19 08:43:28 +02:00
Petr Škoda c4297815eb MDL-39846 rename 'extra' event property to 'other' 2013-07-19 08:43:28 +02:00
Petr Škoda 605a8c336f MDL-39846 add more magic and improve tests 2013-07-19 08:43:28 +02:00
Petr Škoda 05a970d3be MDL-39846 add logging TODOs 2013-07-19 08:43:28 +02:00
Petr Škoda 2262656430 MDL-39846 protect event dispatching process 2013-07-19 08:43:28 +02:00
Petr Škoda 4b734e74ae MDL-39846 more fixing and cleanup of new events
* fix typos (thanks Rajesh)
* move log related data out from event API specification
* change callable key in definition to callback
* use event data in observers instead of cached records if possible
* event level is now a number 1…100
* improved event safety checks
* add event name and description method
* new can_view() method
* improve unit tests to test all callable types
* improved performance
2013-07-19 08:43:27 +02:00
Petr Škoda d8a1f4263a MDL-39846 implement new event dispatching and base event class 2013-07-19 08:43:27 +02:00