Commit graph

16864 commits

Author SHA1 Message Date
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
9cd7c32524 MDL-39846 improve docs and fix use of deprecated classes 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
890e3e6415 MDL-39846 improve role assignment tests 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
b474bec396 MDL-39846 sample conversion of role assignment events 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
Marina Glancy
de685c7d25 MDL-40648 annotated new functions in upgrade.txt 2013-07-19 14:29:14 +10:00
Marina Glancy
184518f994 MDL-40648 unittests for editor_tinymce_plugin 2013-07-19 14:29:14 +10:00
Marina Glancy
8780bf1b7e MDL-40648 Make sure the button is added in the correct row
previously code expected to find the button in particular row but the tinymce setting may change the buttons' layout
2013-07-19 14:29:14 +10:00
Marina Glancy
c276b739fd MDL-40648 Use new function in parent class, increase sortorder. 2013-07-19 14:29:09 +10:00
Marina Glancy
cbc2444e8a MDL-40648 Added useful functions find_button() and count_button_rows() 2013-07-19 14:13:18 +10:00
David Monllao
401f60d576 MDL-39441 behat: New setting to expand the list of allowed settings 2013-07-18 10:41:20 +02:00
David Monllao
f38e22ed91 MDL-39441 behat: Restrict config.php allowed settings 2013-07-18 10:40:47 +02:00
Yuliya Bozhko
2c9108611d MDL-38837 badges: Check for http or https in badges backpack support 2013-07-18 13:38:18 +12:00
Eloy Lafuente (stronk7)
07e045b844 MDL-39926 SCORM: objetives report now core plugin 2013-07-17 11:06:05 +02:00
Marina Glancy
576151c987 Merge branch 'MDL-40478-m' of git://github.com/andrewnicols/moodle 2013-07-17 11:09:08 +10:00
Eloy Lafuente (stronk7)
6a30b48dff MDL-40424 vomit back wrongly digested brace, grrr. 2013-07-17 01:43:11 +02:00
Eloy Lafuente (stronk7)
fb1788c598 Merge branch 'MDL-40424-master' of git://github.com/FMCorz/moodle
Conflicts:
	admin/oacleanup.php
2013-07-17 01:21:51 +02:00
Eloy Lafuente (stronk7)
68d9f13273 Merge branch 'MDL-40477-m' of git://github.com/andrewnicols/moodle 2013-07-17 01:13:17 +02:00
Eloy Lafuente (stronk7)
0b3af0798c Merge branch 'w29_MDL-40220_m26_core_component' of https://github.com/skodak/moodle 2013-07-17 01:07:21 +02:00
Eloy Lafuente (stronk7)
afda9e2279 Merge branch 'wip-MDL-40634-m26' of git://github.com/samhemelryk/moodle 2013-07-17 00:58:26 +02:00
Eloy Lafuente (stronk7)
a6149155c0 Merge branch 'wip-MDL-40635-m26' of git://github.com/samhemelryk/moodle 2013-07-17 00:43:45 +02:00
Eloy Lafuente (stronk7)
2be1185132 Merge branch 'w29_MDL-40611_m26_accesslibtest' of https://github.com/skodak/moodle 2013-07-17 00:32:32 +02:00
Eloy Lafuente (stronk7)
b8d73bd58e Merge branch 'w29_MDL-40546_m26_jscache' of https://github.com/skodak/moodle 2013-07-17 00:30:13 +02:00
Eloy Lafuente (stronk7)
660ee07b60 Merge branch 'MDL-40604-master' of git://github.com/danpoltawski/moodle 2013-07-17 00:22:15 +02:00
Eloy Lafuente (stronk7)
3742ee163b Merge branch 'MDL-40690_master' of git://github.com/dmonllao/moodle 2013-07-17 00:17:30 +02:00
Petr Škoda
cc8fecb5ed MDL-40220 improve lib/upgrade.txt info for the new core_component class and deprecated functions 2013-07-16 22:43:31 +02:00
Petr Škoda
b0d1d941c9 MDL-40220 use new core_component::get_component_directory() 2013-07-16 22:42:37 +02:00
Petr Škoda
56da374e1e MDL-40220 use new core_component::normalize_component() 2013-07-16 22:41:00 +02:00
Petr Škoda
1c74b26090 MDL-40220 use new core_component::get_plugin_directory() 2013-07-16 22:38:38 +02:00
Petr Škoda
059e08ed92 MDL-40220 use new core_component::get_plugin_list_with_class() 2013-07-16 22:37:15 +02:00
Petr Škoda
bd3b3bba9f MDL-40220 use new core_component::get_plugin_list() 2013-07-16 22:36:11 +02:00
Petr Škoda
46f6f7f224 MDL-40220 use new core_component::get_plugin_types() 2013-07-16 22:31:48 +02:00
Eloy Lafuente (stronk7)
55fcd9323e Merge branch 'MDL-38857_master' of git://github.com/dmonllao/moodle 2013-07-16 22:02:18 +02:00
David Monllao
39ec828571 MDL-40690 behat: Ignore StaleElementReference exception
Is another of the exceptions thrown by
Selenium when it tries to interact with
an element that disappeared from the DOM,
in happens randomly when redirecting the
user to another page with a wait period to
show him/her a message.
2013-07-16 16:45:12 +02:00
Damyon Wiese
1d1f7ac81f Merge branch 'MDL-40463-master' of git://github.com/FMCorz/moodle 2013-07-16 21:59:47 +08:00
Damyon Wiese
3fd74243a7 Merge branch 'wip-mdl-40467' of git://github.com/rajeshtaneja/moodle 2013-07-16 21:51:19 +08:00
Damyon Wiese
820ad5dfd8 Merge branch 'MDL-40465-master' of git://github.com/FMCorz/moodle 2013-07-16 21:35:38 +08:00