Commit graph

97405 commits

Author SHA1 Message Date
Mikhail Golenkov
8c287a6696 MDL-67540 quiz: Start transaction before selecting existing slots.
Co-authored-by: Conn <conn@cmrwarwicker.com>
2020-04-26 10:54:14 +10:00
Thiagolivramento
934ad2c869 MDL-65967 tool_recyclebin: add recycle bin link to category edit menu 2020-04-24 17:07:38 -03:00
Eloy Lafuente (stronk7)
74ccea0127 Merge branch 'MDL-68514-master' of git://github.com/sarjona/moodle 2020-04-24 19:23:16 +02:00
David Mudrák
50396bbe4e MDL-68515 admin: Mark the system status report as a standard plugin 2020-04-24 17:16:46 +02:00
Sara Arjona
44642b0a83 MDL-68514 contentbank: fix behat issues with classic 2020-04-24 16:47:02 +02:00
cescobedo
aeacd6c862 MDL-67798 core_contentbank: Add privacy provider 2020-04-24 16:39:41 +02:00
Eloy Lafuente (stronk7)
98cc4d0445 MDL-68445 behat: Bump to 3.6.x
composer.lock generated with PHP 7.2, following:

https://docs.moodle.org/dev/Composer#How_to_prepare_and_submit_composer_changes

Also, ensure Symfony/Process > 4.0 compatibility
(needed for parallel runs)
2020-04-24 15:57:09 +02:00
Eloy Lafuente (stronk7)
486bf50413 MDL-67316 ldap: Pass correct hex chars to hexdec()
Before php74 they were silently discarded, now they
show a deprecation message.
2020-04-24 15:56:38 +02:00
Eloy Lafuente (stronk7)
3b69ed2104 MDL-67316 typo3: Pass correct hex chars to hexdec()
Typo3 was relaying on the feature of base converter
functions silently removing invalid chars so, for example:

'U+00A0' => '00A0' => 160

Since php74, the existence of those invalid chars do produce
a deprecation warning, no matter the outcome continues being the same.

So, here, we are just converting that invalud 'U+' by '0x'
2020-04-24 15:56:38 +02:00
Tim Hunt
a196cf5ac1 MDL-66259 qtypes: Add missing comment on get_random_guess_score
A bit off-topic for this issue number, but I noticed it while
working on this, and though it was not worth creating a
separate MDL for.
2020-04-24 15:56:23 +02:00
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
Jun Pataleta
3c28246234 MDL-68355 gradingform_guide: Fix accessibility issues
* Add sr-only label for criterion information.
* Add sr-only label for frequently used comments picker button.
* Removed unused string grade_help.
* Fixed tags for hidden help texts, changing them from <small> to <span>
* Added aria-label for the score and additional comments fields so that
  the user would know which criterion they are currently working on.
* Added score_help and remark_help lang strings for more description
  for the score and additional comments fields.
* Remove text-muted class for additional comments' field label to avoid
  colour contrast issues.
2020-04-24 15:05:09 +08: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