Petr Škoda
5b59bc29d4
MDL-39915 cleanup core_collator_testcase
2013-07-27 11:32:08 +02:00
Petr Škoda
96a58e7e24
MDL-39915 cleanup core_code_testcase
2013-07-27 11:23:36 +02:00
Petr Škoda
3e654ea242
MDL-39915 cleanup core_blocklib_testcase
2013-07-27 11:21:10 +02:00
Petr Škoda
14e6c1e9cc
MDL-39915 cleanup core_authlib_testcase
2013-07-27 11:13:28 +02:00
Petr Škoda
05fb92e9dd
MDL-39915 cleanup core_admintree_testcase
2013-07-27 11:11:09 +02:00
Petr Škoda
4c9be79acd
MDL-39915 cleanup core_accesslib_testcase
2013-07-27 11:10:58 +02:00
Sam Hemelryk
d853f819dc
Merge branch 'MDL-40315_master' of git://github.com/dmonllao/moodle
2013-07-24 11:14:14 +12:00
Eloy Lafuente (stronk7)
18c4d7e68c
Merge branch 'w30_MDL-40723_m26_creators' of https://github.com/skodak/moodle
2013-07-23 20:32:40 +02:00
Eloy Lafuente (stronk7)
97c51dfb22
Merge branch 'MDL-40672_master' of git://github.com/dmonllao/moodle
2013-07-23 17:45:22 +02:00
Petr Škoda
54d5308ef0
MDL-40723 use guess_if_creator_will_have_course_capability() for the new weird function
2013-07-23 15:55:07 +02:00
Damyon Wiese
0b92270b19
Merge branch 'MDL-38863_master' of git://github.com/dmonllao/moodle
2013-07-23 16:04:50 +08:00
David Monllao
a090296740
MDL-40672 behat: New activities data generator
2013-07-23 09:47:36 +02:00
David Monllao
72ddc05f67
MDL-38863 behat: Role assign generator
2013-07-23 09:46:39 +02:00
Eloy Lafuente (stronk7)
6d0085ef24
Merge branch 'MDL-40123_master' of git://github.com/dmonllao/moodle
2013-07-23 01:09:52 +02:00
Eloy Lafuente (stronk7)
63ff2c5c2f
Merge branch 'MDL-39635_master' of git://github.com/dmonllao/moodle
2013-07-23 00:45:13 +02:00
Dan Poltawski
7a3f9421cb
Merge branch 'w30_MDL-40545_m26_localcachedir' of https://github.com/skodak/moodle
2013-07-22 15:47:48 +08:00
Petr Škoda
dba745265f
MDL-40723 use will_have_course_capability() to verify future course creator capabilities when creating courses
2013-07-21 17:03:20 +02:00
Petr Škoda
a56ec91842
MDL-40723 add new will_have_course_capability()
2013-07-21 11:55:22 +02:00
Petr Škoda
85b3806114
MDL-40545 add $CFG->localcachedir intended for local caching on cluster nodes
2013-07-20 14:10:25 +02:00
David Monllao
8cda2e6fe7
MDL-40123 behat: Show all of form's elements changes.
...
* Avoid waiting until Show more... links appears if we
already waited.
* Use collapse/expand button rather than clicking on
each of the form's fieldsets.
2013-07-19 10:03:39 +02:00
David Monllao
3897608152
MDL-39635 behat: XPath cleanups
...
- Escaping steps arguments redirected to other steps
- Adding normalized-space() in all contains() assertions
- General xpaths review
- Convering provided xpath text strings to xpath literals
to avoid problems with arguments containing both single
quotes and double quotes
2013-07-19 10:02:36 +02:00
David Monllao
dedb973878
MDL-39635 behat: Replacing hardcoded language strings
...
Using get_string() instead.
2013-07-19 10:02:10 +02: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
006f2724a5
MDL-39846 fix forgotten object event property
...
Thanks Dan!
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
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
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
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
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
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
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
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)
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)
3742ee163b
Merge branch 'MDL-40690_master' of git://github.com/dmonllao/moodle
2013-07-17 00:17:30 +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
820ad5dfd8
Merge branch 'MDL-40465-master' of git://github.com/FMCorz/moodle
2013-07-16 21:35:38 +08:00
Damyon Wiese
06c8b60936
Merge branch 'MDL-40462_master' of https://github.com/markn86/moodle
2013-07-16 15:00:46 +08:00