104935 Commits

Author SHA1 Message Date
Sara Arjona
8b7fdc993d Merge branch 'MDL-74486-master' of https://github.com/HuongNV13/moodle 2022-04-13 16:58:52 +02:00
Ilya Tregubov
e39a1fff2c Merge branch 'MDL-74471-master' of https://github.com/junpataleta/moodle 2022-04-13 14:59:21 +06:00
Jun Pataleta
0385178826 Merge branch 'MDL-74489' of https://github.com/paulholden/moodle 2022-04-13 16:35:19 +08:00
Jun Pataleta
cd3e7bf7eb MDL-74471 versions: main version bump 2022-04-13 10:37:57 +08:00
Jun Pataleta
70f6b1605b MDL-74471 versions: bump all versions and requires near release 2022-04-13 10:37:36 +08:00
Huong Nguyen
156f4fe6ce MDL-74486 tool_usertours: Prevent step to inherit theme background image 2022-04-13 09:33:13 +07:00
Ilya Tregubov
65224aa30d Merge branch 'MDL-74470' of https://github.com/timhunt/moodle 2022-04-13 08:21:18 +06:00
Paul Holden
a3a473d644 MDL-74489 admin: consider salt configuration as sensitive to site.
The admin preset tool shouldn't export badge/calendar salt configuration
unless explicitely asked for as changing these values on another site
can be potentially destructive.
2022-04-12 16:19:40 +01:00
Sara Arjona
5423e5f443 Moodle release 4.0rc2 v4.0.0-rc2 2022-04-12 13:15:22 +02:00
Sara Arjona
1e728ad31d Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2022-04-12 13:15:19 +02:00
Andrew Nicols
01b8e81e7d Merge branch 'MDL-74084' of https://github.com/paulholden/moodle 2022-04-12 09:46:48 +08:00
Shamim Rezaie
5e957e5ed1 Merge branch 'MDL-74459' of https://github.com/paulholden/moodle 2022-04-12 11:29:44 +10:00
AMOS bot
b98eff24f2 Automatically generated installer lang files 2022-04-12 00:07:39 +00:00
Tim Hunt
2e1a632302 MDL-74470 quiz: put back random Q description on the Question page
This got lost in the 4.0 question bank work.

We are trying to phase out qtype_random, that is where the old
code and lang strings for describing random questions is, so
OK to add back a call to it. When we get better qbank filtering
we can replace this again.

Note, the asserts in the Behat were copied from my 3.11, checkout,
to really verify we are restoring the previous behaviour.
2022-04-11 19:01:00 +01:00
Paul Holden
27adde9b83 MDL-74084 tool_usertours: ensure presense of tour config in response.
If it's not, then don't try to start the tour. This fix is effectively
the same as that previously made in 3bd9e1e8.

Co-authored-by: Carlos Castillo <carlos.castillo@moodle.com>
2022-04-11 14:15:09 +01:00
Tim Hunt
95b0f86ed3 MDL-74470 quiz: fix typos & small bug from MDL-74255.
I think that, because how PHP works, the MDL-74255 bug (lack
of explode) generally does not break anything, which is why
no tests failed. Still. Good to fix.
2022-04-11 12:21:50 +01:00
Shamim Rezaie
b5236ed40f Merge branch 'MDL-74456' of https://github.com/paulholden/moodle 2022-04-11 13:11:17 +10:00
Jake Dallimore
944566fa12 Merge branch 'MDL-74350-master' of https://github.com/HuongNV13/moodle 2022-04-11 10:28:16 +08:00
Jake Dallimore
39be17d918 Merge branch 'MDL-74386-integration-master' of https://github.com/mihailges/moodle 2022-04-11 10:01:00 +08:00
Shamim Rezaie
a9a9d8e5c2 Merge branch 'MDL-74463-master' of https://github.com/snake/moodle 2022-04-11 11:55:18 +10:00
Jun Pataleta
217fb9ec66 Merge branch 'MDL-74255' of https://github.com/timhunt/moodle 2022-04-08 20:12:17 +08:00
Tim Hunt
5be2fc1ddc MDL-74255 quiz/question versions: update SQL to work in Oracle 2022-04-08 12:19:53 +01:00
Tim Hunt
a43f56836a MDL-74255 quiz: fix redo and regrade question version handling 2022-04-08 12:19:53 +01:00
Tim Hunt
839cccead4 MDL-74255 quiz: handle draft question status correctly
The main issue to fix is that questions vesions which should not have
been used (that is, hidden or draft versions) were getting offered
as an option and acutally being used.

As part of this I was able to substantially un-tangle
mod_quiz\question\bank\qbank_helper, which previously was
a mass of functions calling other functions in a complicated way.
Hopefully, it is now a bit easer to understand, and perhaps
less buggy.
2022-04-08 12:19:53 +01:00
Tim Hunt
5fff990e25 MDL-74255 quiz: clean up lots of stuff mainly in the tests
This fixes lots of stuff like outdated or incomplete PHPdoc comments
or test heler functions where the arguments don't have their types
declared.

A few more significant fixes, like places were a silly method
was used to get a context which was readily available.
2022-04-08 12:19:52 +01:00
Tim Hunt
37e8faf0ed MDL-74255 quiz: Remove un-needed method question_array_sort 2022-04-08 12:19:52 +01:00
Ilya Tregubov
f62cd4484e Moodle release 4.0rc1 v4.0.0-rc1 2022-04-08 16:40:14 +06:00
Ilya Tregubov
50e9313a01 Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2022-04-08 16:40:12 +06:00
Mihail Geshoski
8d0ca00e95 MDL-74386 navigation: Remove redundant set_secondary_navigation() calls
Removes $PAGE->set_secondary_navigation(false) calls which certain pages
were using to prevent displaying secondary navigation menu in the system
context. This logic is now generally handled within the secondary
navigation class.
2022-04-08 15:11:31 +08:00
Mihail Geshoski
d08c351701 MDL-74386 contentbank: Set the page context to frontpage
Sets the page context to frontpage when viewing or editing site
contenbank files. This logic was already applied in
contentbank/index.php, so this change will bring consistency in
the contenbanks pages when it comes to setting the page context.
2022-04-08 15:04:58 +08:00
Mihail Geshoski
93aa5ab03e MDL-74386 navigation: Do not load course navigation in system context 2022-04-08 15:02:01 +08:00
Jake Dallimore
75328ec1a8 MDL-74463 enrol_lti: fix location of scopes in registration json 2022-04-08 14:45:30 +08:00
Ilya Tregubov
49eb6ed755 Merge branch 'MDL-74339' of https://github.com/call-learning/moodle 2022-04-08 09:57:41 +06:00
Huong Nguyen
d506386d32 MDL-74350 usertours: Prevent adding unnecessary breaktags to the content 2022-04-08 10:56:45 +07:00
Ilya Tregubov
bc170bba61 Merge branch 'MDL-73555_master_toolbrickfieldsummaryprocessing' of https://github.com/brickfield/moodle 2022-04-08 09:24:11 +06:00
Andrew Nicols
0098da8239 Merge branch 'MDL-74438-master' of https://github.com/cameron1729/moodle 2022-04-08 11:03:43 +08:00
Shamim Rezaie
af77f81522 Merge branch 'MDL-73874-master' of https://github.com/BruceGoodGuy/moodle 2022-04-08 12:38:55 +10:00
Paul Holden
6e85e01d3b MDL-74459 forms: replace import of jqueryui with native code.
We used the import for ensuring collapsible section elements
contained an ID attribute (efbe1530). This conflicted with use
of Bootstrap tooltips.
2022-04-07 22:38:46 +01:00
Sara Arjona
d32bb45e43 Merge branch 'MDL-74398' of https://github.com/call-learning/moodle 2022-04-07 22:45:05 +02:00
Víctor Déniz
384f6712bb Merge branch 'MDL-74419-master' of https://github.com/sarjona/moodle 2022-04-07 20:20:54 +01:00
Laurent David
978bdb5b4d MDL-74398 mod_bigbluebuttonbn: Fix issue with Visible groups
* In visible group user should see all recordings. This fixes an issue while integrating
MDL-74052 with this issue.
2022-04-07 19:25:50 +02:00
Sara Arjona
2ce8437d8e Merge branch 'MDL-74297-master' of https://github.com/peterRd/moodle 2022-04-07 17:32:56 +02:00
Eloy Lafuente (stronk7)
bdf12da661 Merge branch 'MDL-74434-master' of https://github.com/mihailges/moodle 2022-04-07 17:12:08 +02:00
Jun Pataleta
ac3e77b1b1 Merge branch 'MDL-74271-master-squashed' of https://github.com/andrewnicols/moodle 2022-04-07 20:52:10 +08:00
Jun Pataleta
d848bc7ece Merge branch 'MDL-74329' of https://github.com/odeialba/moodle 2022-04-07 20:14:14 +08:00
Paul Holden
509bdf4bc5 MDL-74456 reportbuilder: format report/schedule names in actions.
Ensure audience names are also formatted in scheduling form.
2022-04-07 13:10:24 +01:00
Laurent David
8d3f6e7133 MDL-74339 mod_bigbluebuttonbn: Fix upgrade recording from 2.4
* Only delete "Create" or "Update" logs when a recording has been effectively created
* Reschedule task if fail or logs are left over
* One task per meetingid
2022-04-07 13:02:12 +02:00
Odei Alba
9446af726d MDL-74329 mod_quiz: scroll to top and to question container
When reviewing the answers:
1- When there are all the questions in one page and you click in the first question,
it will scroll to the first question.
2- When there is one question per page and you click in the question number,
it will go to that question page and scroll to the top.
If you click again the question number, it will scroll to the question container.
2022-04-07 12:49:42 +02:00
Khoa Nguyen Dang
c0e53d297f MDL-73874 Questions: Add new validation for Drag and drop into text 2022-04-07 17:27:23 +07:00
Ilya Tregubov
fa1d1ea378 Merge branch 'MDL-74235-patch' of https://github.com/ilyatregubov/moodle 2022-04-07 13:53:44 +06:00