97291 Commits

Author SHA1 Message Date
Tim Hunt
82df13aead MDL-66259 qtype_numerical: remove no-longer relevant todo I noticed 2020-04-24 15:56:23 +02:00
Eloy Lafuente (stronk7)
bb930b7d5b MDL-66259 qtypes: get_question_options() always call parent::
To get the question->options initialised, children must
call parent::get_question_options() always. Also, it is
just general good practice. Subclasses are meant to be
adaptations of the base class, not something completely
different.

Note, there are some changes in the data structure
produced (see changes in the tests) but these changes
are not wrong.
2020-04-24 15:56:23 +02:00
Tim Hunt
5c3f700ac7 MDL-66259 quiz responses: fix unrealistic test setup 2020-04-24 15:56:23 +02:00
Eloy Lafuente (stronk7)
0447277904 MDL-66259 qtype: add tests to all remaining involved qtypes
That way we get the load_question_data() method covered
and all the main data, options, hints checked.
2020-04-24 15:56:23 +02:00
Tim Hunt
9874e7cdd0 MDL-66259 qtype_truefalse: unit test of loading questions from the DB
This is about to be changes, so we need a test first to catch regressions.
2020-04-24 15:56:23 +02:00
sam marshall
111cf93b71 MDL-68492 Behat: Use faster direct link steps in lib/tests/behat 2020-04-24 12:09:15 +01:00
sam marshall
be32dc800d MDL-68492 Behat: Direct URL links for courses, activities 2020-04-24 12:09:14 +01:00
Simey Lameze
e2f12c2220 MDL-67915 core_table: add support for hide and show of columns 2020-04-24 18:23:34 +08:00
Paul Holden
adca2ab629 MDL-66135 customfield: allow calling code to set form category headings. 2020-04-24 08:32:54 +01:00
Paul Holden
1084f8bf79 MDL-66135 customfield: method to allow fields to parse values.
This is useful when the value is coming from an external source (e.g. course upload tool).
2020-04-24 08:32:54 +01:00
Sara Arjona
1bb3663c19 MDL-67797 contentbank: review class_exists uses 2020-04-24 09:28:24 +02:00
Sara Arjona
1f8dfe79ce MDL-67797 contentbank: use the search_contents method 2020-04-24 09:28:24 +02:00
Sara Arjona
fb445c76c8 MDL-67797 contentbank: add search_contents method 2020-04-24 09:28:24 +02:00
Mihail Geshoski
255a62ff88 MDL-68330 media_videojs: Fix videojs player rendering issue 2020-04-24 14:57:02 +08:00
Andrew Nicols
ca69d3875e MDL-68506 core_table: Add a tableContentRefreshed event 2020-04-24 14:53:35 +08:00
Jun Pataleta
f6f1014761 MDL-68465 message_email: Deprecate emaildigestsubject lang string 2020-04-24 11:42:40 +08:00
Jun Pataleta
1f7e9a698a MDL-68465 message_email: Add site name to digest email 2020-04-24 11:41:41 +08:00
Jun Pataleta
9df4a4de18 weekly release 3.9dev 2020-04-24 09:41:01 +08:00
Jun Pataleta
529b53030a Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2020-04-24 09:41:00 +08:00
Eloy Lafuente (stronk7)
b88f74c9ee Merge branch 'MDL-67886' of https://github.com/stronk7/moodle 2020-04-23 16:06:06 +02:00
Eloy Lafuente (stronk7)
543b7bcfd9 Merge branch 'MDL-67795-master' of git://github.com/sarjona/moodle 2020-04-23 13:18:43 +02:00
Sara Arjona
de322e3de6 MDL-67795 contentbank: make consistent $record vs $content 2020-04-23 13:09:40 +02:00
Sara Arjona
45192e9a87 MDL-67795 contentbank: delete content UI 2020-04-23 13:09:40 +02:00
Sara Arjona
58f85a6c6e MDL-67795 contentbank: clean all the content when uninstalling plugin 2020-04-23 13:09:40 +02:00
Sara Arjona
f627173ce3 MDL-67795 contentbank: new external for deleting content 2020-04-23 13:09:40 +02:00
Sara Arjona
c0d615e8f9 MDL-67795 contentbank: delete content API 2020-04-23 13:09:40 +02:00
Sara Arjona
7fc73af69b MDL-67795 contentbank: add generator 2020-04-23 13:09:40 +02:00
Sara Arjona
153c45625d MDL-67795 h5p: move methods from player to helper 2020-04-23 13:09:40 +02:00
Eloy Lafuente (stronk7)
d584d34967 MDL-67886 phpunit: Make tests cross-db
The suggested SQL in some of the assertions was not cross-db
but db-dependent. Now we just keep that part out from the
assertions, because it's not important to verify the
errors that are being asserted.
2020-04-23 13:03:03 +02:00
Eloy Lafuente (stronk7)
172d3ee7ab Merge branch 'MDL-67886_master' of git://github.com/mdjnelson/moodle 2020-04-23 15:01:40 +08:00
Eloy Lafuente (stronk7)
d56c7547d6 Merge branch 'MDL-58018_master-arraycomparison' of git://github.com/mdjnelson/moodle 2020-04-23 15:00:57 +08:00
Jun Pataleta
66ecaa0b0c Merge branch 'MDL-68392' of https://github.com/stronk7/moodle 2020-04-23 15:00:57 +08:00
Jun Pataleta
1dce78d8d2 Merge branch 'MDL-68341-master' of git://github.com/lameze/moodle 2020-04-23 15:00:56 +08:00
Jun Pataleta
31066f91bd Merge branch 'MDL-68356-master' of git://github.com/cescobedo/moodle 2020-04-23 15:00:56 +08:00
Jun Pataleta
53cecde5a8 Merge branch 'MDL-68339' of https://github.com/stronk7/moodle 2020-04-23 15:00:56 +08:00
Jun Pataleta
799572268b Merge branch 'MDL-67095-master' of git://github.com/cescobedo/moodle 2020-04-23 15:00:55 +08:00
Jun Pataleta
62b586e5a0 Merge branch 'MDL-68318-master' of git://github.com/andrewnicols/moodle 2020-04-23 15:00:55 +08:00
Simey Lameze
8bb8c2852d MDL-68477 libraries: add legend option examples to test page 2020-04-23 09:23:21 +08:00
David Thompson
5bc86614a2 MDL-68477 libraries: support for Chart.js legend options. 2020-04-23 09:23:21 +08:00
AMOS bot
e859cf7146 Automatically generated installer lang files 2020-04-23 00:14:29 +00:00
Mark Nelson
fad610045b MDL-67886 tool_xmldb: checks for extra indexes 2020-04-23 00:45:43 +02:00
Mark Nelson
47f3fa131a MDL-67886 core: check_database_schema() checks for extra indexes 2020-04-23 00:45:43 +02:00
Mark Nelson
a8c38ce85b MDL-67886 core: check_database_schema() checks for missing indexes 2020-04-22 23:22:18 +02:00
Bas Brands
ac00aec239 MDL-68383 contentbank: improve css for content bank 2020-04-22 15:50:46 +02:00
Ferran Recio
05da45ccf2 MDL-67701 mod_h5pactivity: new activity icon 2020-04-22 11:31:13 +02:00
Shamim Rezaie
2a14ef789b MDL-68378 core: url_select listens to accessibleChange event 2020-04-22 04:16:44 +10:00
Shamim Rezaie
a97c40cf83 MDL-68378 core: update single_select to listen to accessibleChange event 2020-04-22 04:16:44 +10:00
Shamim Rezaie
df35a03367 MDL-68378 forumreport_summary: action menu listens to accessibleChange 2020-04-22 04:16:44 +10:00
Shamim Rezaie
2858814aaa MDL-68378 user: listen to the accessibleChange event instead of change 2020-04-22 04:16:44 +10:00
Shamim Rezaie
505cc918b7 MDL-68378 lib: Added accessibleChange custom event 2020-04-22 04:16:44 +10:00