104822 Commits

Author SHA1 Message Date
Andrew Nicols
46bdfc9b93 Merge branch 'MDL-72446' of https://github.com/stronk7/moodle 2022-04-01 10:13:46 +08:00
Andrew Nicols
80ec9a1c92 Merge branch 'MDL-74367-master' of https://github.com/vmdef/moodle 2022-04-01 10:13:44 +08:00
Jun Pataleta
a3958a297e Merge branch 'MDL-74221-master' of https://github.com/andrewnicols/moodle 2022-04-01 10:12:58 +08:00
Eloy Lafuente (stronk7)
b83e35d0ee Merge branch 'MDL-74221-master-fix' of https://github.com/snake/moodle 2022-04-01 10:12:58 +08:00
Ilya Tregubov
d8208e6366 Merge branch 'MDL-73948-master-v4' of https://github.com/golenkovm/moodle 2022-04-01 10:12:58 +08:00
Jake Dallimore
f739a10700 MDL-74221 enrol_lti: fix upgrade code to set correct status default 2022-04-01 10:12:57 +08:00
Ilya Tregubov
6dee96e420 Merge branch 'MDL-73197' of https://github.com/call-learning/moodle 2022-04-01 10:12:57 +08:00
Ilya Tregubov
14dcfbaf75 Merge branch 'MDL-74353' of https://github.com/paulholden/moodle 2022-04-01 10:12:56 +08:00
Andrew Nicols
3ba580e3f2 Merge branch 'MDL-74221-master' of https://github.com/snake/moodle 2022-04-01 10:12:56 +08:00
Jun Pataleta
e4eb3b489f Merge branch 'MDL-74324-master' of https://github.com/ferranrecio/moodle 2022-04-01 10:12:56 +08:00
Jun Pataleta
b5b9067828 Merge branch 'MDL-74294-master' of https://github.com/sarjona/moodle 2022-04-01 10:12:56 +08:00
Andrew Nicols
b2ea2f87d8 Merge branch 'MDL-73900-master-fix' of https://github.com/junpataleta/moodle 2022-04-01 10:12:56 +08:00
Peter Dias
3eb80e7386 MDL-74276 report: Render a new 'Reports Overview' page 2022-04-01 08:56:00 +08:00
Tim Hunt
409b94cf09 MDL-74390 filter admin: log filter order changes in config_log 2022-03-31 16:49:03 +01:00
Andrew Nicols
fa6920327e MDL-74221 enrol_lti: Update tests to match new icon and strings 2022-03-31 23:29:02 +08:00
Jun Pataleta
1c9448bfff MDL-70731 mod_forum: Fix moodle_exception error messages 2022-03-31 22:49:35 +08:00
Tim Hunt
fbbd3d585e MDL-74390 filter admin: modernise coding style in admin/filters.php 2022-03-31 15:48:54 +01:00
Andrew Nicols
73ffa2e067 MDL-74221 enrol_lti: Fix misuse of moodle_url constructor 2022-03-31 21:37:51 +08:00
Eloy Lafuente (stronk7)
c21a82df58 MDL-72446 behat: Ensure that the day reset happens on enabled element
Before this change we were setting the month day to 1 unconditionally
and that was working ok for enabled by default elements.

But in a number or cases we were doing that against disabled elements
so the day reset was not happening. Now we wait for the element to
be enabled and only then proceed with the day reset.

Backed with tests using disabled form elements, so we have now
both enabled and disabled fields covered.
2022-03-31 11:29:22 +02:00
Mikhail Golenkov
e7f8064679 MDL-73948 report_loglive: Fix missing records 2022-03-31 18:34:53 +11:00
Huong Nguyen
b307f3df02 MDL-69552 Quiz: Fix tag filter does not work when adding random question 2022-03-31 11:55:21 +07:00
Jake Dallimore
662c659324 MDL-74221 enrol_lti: change registration workflow to support drafts
This changes the admin pages such that to see the endpoints required
by the platform, an admin user must first create a draft registration.
This allows the registration uniqueid to be generated and included in
the initiate login and dynamic registration URLs.
2022-03-31 12:15:46 +08:00
Jun Pataleta
cd1cec7529 MDL-73900 block_recentlyaccesseditems: Behat fix for "Show more items" 2022-03-31 10:08:17 +08:00
Andrew Nicols
465a300e47 Merge branch 'MDL-74370' of https://github.com/paulholden/moodle 2022-03-31 09:30:28 +08:00
AMOS bot
50f5cf64cf Automatically generated installer lang files 2022-03-31 00:07:35 +00:00
Paul Holden
e5434fac25 MDL-74353 reportbuilder: improvements to report sidebar searching.
* Filter on item textContent instead of dataset, which isn't always
  present;
* Fix hiding of cards when they have no matching items
2022-03-30 21:17:45 +01:00
Paul Holden
7ca314023a MDL-74370 reportbuilder: fix permission check to edit own reports. 2022-03-30 16:26:33 +01:00
Sara Arjona
920946808d MDL-74294 theme: Update boost and classic screenshots
This patch updates the screenshots for boost and classic
themes, displayed in the theme selector.
These images have been created by Mary Cooch.

Co-authored by: Mary Cooch <mary@moodle.com>
2022-03-30 16:59:49 +02:00
Jun Pataleta
23b625340e Merge branch 'MDL-74295' of https://github.com/timhunt/moodle 2022-03-30 19:48:26 +08:00
Laurent David
52fdeaf112 MDL-73197 mod_bigbluebuttonbn: Fix activity join message
* When schedule is assigned to an activity, the Room still shows as ready to be joined, even if the room is still not open.
2022-03-30 13:41:34 +02:00
Ferran Recio
4d5395d27b MDL-74324 contentbank: fix RTL dropdown menu 2022-03-30 12:40:00 +02:00
Víctor Déniz
c32c3e89ef MDL-74367 recentlyaccesseditems: full name in item card tooltip 2022-03-30 11:28:21 +01:00
Ilya Tregubov
67ac38811e Merge branch 'MDL-74245-master' of https://github.com/bmbrands/moodle 2022-03-30 15:10:24 +06:00
Víctor Déniz
c6c99abe7a Merge branch 'MDL-74205-master' of https://github.com/ilyatregubov/moodle 2022-03-30 09:51:50 +01:00
Jun Pataleta
a4d0770b87 Merge branch 'MDL-71801-master' of https://github.com/snake/moodle 2022-03-30 16:14:11 +08:00
Ilya Tregubov
337f727d39 Merge branch 'MDL-74342' of https://github.com/paulholden/moodle 2022-03-30 12:31:23 +06:00
Jun Pataleta
3ec0b7848d Merge branch 'MDL-74231' of https://github.com/stronk7/moodle 2022-03-30 14:28:28 +08:00
Jake Dallimore
6b071a03db Merge branch 'MDL-73105' of https://github.com/paulholden/moodle 2022-03-30 13:54:11 +08:00
Ilya Tregubov
053785ff5f MDL-74205 navigation: Don't show participants link to user if he has no permission. 2022-03-30 10:42:11 +06:00
Jun Pataleta
bf13032bf7 Merge branch 'MDL-73900-master' of https://github.com/vmdef/moodle 2022-03-30 11:08:05 +08:00
Peter Dias
62c086ee72 MDL-74313 badge: Disable secondary navigation in badges 2022-03-30 09:17:53 +08:00
Eloy Lafuente (stronk7)
4e2b4a138d MDL-74231 grader report: Fix case where old settings are empty / null
There is an edge case in the conversion from old collapse/expand
settings (stored as user preference) to the new ones that can lead
to notices / warnings / errors.

Before PHP 8, they weren't being detected, but now they are.

Basically, if some of the expected components of the preferences
are missing, then some array (array_diff(), array_intersect()..)
operations now are failing, because now those parameter functions
do require to be arrays (so empty strings or nulls aren't allowed).

Also, there were some cases where the old preference was not being
removed ever, so its removal has been moved to a common place at
the end of the function, where it's always evaluated in case
the preference still exists but is empty of contents.

I've tried to cover all the cases I've been able to imagine with
unit tests (empty information, some component not set, all components
not set...), have moved it to a new unit test because the one
already performing some tests with those old preferences was
already too long to add more cases.
2022-03-29 23:46:45 +02:00
Eloy Lafuente (stronk7)
7ce003b666 on-demand release 4.0beta+ 2022-03-29 17:54:11 +02:00
Eloy Lafuente (stronk7)
37026d69bd Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2022-03-29 17:54:07 +02:00
Paul Holden
949212ffda MDL-73105 qbank_managecategories: correct category edit URL. 2022-03-29 16:52:26 +01:00
Víctor Déniz
e5d207a518 MDL-73900 recentlyaccesseditems: vertical display in blocks drawer 2022-03-29 11:50:17 +01:00
Paul Holden
dcda9c08e2 MDL-74342 reportbuilder: remove unnecessary template/dataset values. 2022-03-29 09:46:55 +01:00
Jake Dallimore
a1e763e670 MDL-71801 mod_lti: set default keytype value when upgrading tool types
MDL-66920 added this field but didn't set defaults for upgrading tool
types. This patch fixes that for any 1.3 tools which don't yet have a
value for this field.
2022-03-29 14:10:55 +08:00
Jun Pataleta
32f44c3534 Merge branch 'MDL-74291-master' of https://github.com/andrewnicols/moodle 2022-03-29 11:57:06 +08:00
Jun Pataleta
a646e7999e Merge branch 'MDL-74243-master' of https://github.com/dravek/moodle 2022-03-29 11:33:28 +08:00