moodle.git
3 years agoMDL-73087 blocks: Add a way to fetch my courses via WS 15b416416c1f88e6737e87fa0bd10a94f5762eb2
Mathew May [Tue, 30 Nov 2021 06:06:35 +0000 (14:06 +0800)]
MDL-73087 blocks: Add a way to fetch my courses via WS

3 years agoon-demand release 4.0dev+
Eloy Lafuente (stronk7) [Tue, 30 Nov 2021 18:02:03 +0000 (19:02 +0100)]
on-demand release 4.0dev+

3 years agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Eloy Lafuente (stronk7) [Tue, 30 Nov 2021 18:01:58 +0000 (19:01 +0100)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

3 years agoMerge branch 'MDL-72917-master-fix' of https://github.com/sarjona/moodle
Ilya Tregubov [Tue, 30 Nov 2021 12:49:32 +0000 (14:49 +0200)]
Merge branch 'MDL-72917-master-fix' of https://github.com/sarjona/moodle

3 years agoMDL-72917 course: Change section to avoid behat failure
Sara Arjona [Tue, 30 Nov 2021 12:09:24 +0000 (13:09 +0100)]
MDL-72917 course: Change section to avoid behat failure

3 years agoMerge branch 'MDL-73066-master-fix' of https://github.com/junpataleta/moodle
Eloy Lafuente (stronk7) [Tue, 30 Nov 2021 09:47:41 +0000 (10:47 +0100)]
Merge branch 'MDL-73066-master-fix' of https://github.com/junpataleta/moodle

3 years agoMDL-73066 calendar: Behat test fixes
Jun Pataleta [Tue, 30 Nov 2021 08:49:22 +0000 (16:49 +0800)]
MDL-73066 calendar: Behat test fixes

* Specify which close button is being clicked
* Fill out course field when creating a group event

3 years agoMDL-70197 navigation: Update classic goutte tests
Mathew May [Tue, 30 Nov 2021 04:06:30 +0000 (12:06 +0800)]
MDL-70197 navigation: Update classic goutte tests

3 years agoMerge branch 'MDL-73074' of https://github.com/paulholden/moodle
Eloy Lafuente (stronk7) [Mon, 29 Nov 2021 22:14:48 +0000 (23:14 +0100)]
Merge branch 'MDL-73074' of https://github.com/paulholden/moodle

3 years agoMerge branch 'MDL-73066-master' of https://github.com/lameze/moodle
Eloy Lafuente (stronk7) [Mon, 29 Nov 2021 19:11:24 +0000 (20:11 +0100)]
Merge branch 'MDL-73066-master' of https://github.com/lameze/moodle

3 years agoMerge branch 'MDL-72790-master-3' of git://github.com/mickhawkins/moodle
Sara Arjona [Mon, 29 Nov 2021 11:07:56 +0000 (12:07 +0100)]
Merge branch 'MDL-72790-master-3' of git://github.com/mickhawkins/moodle

3 years agoMerge branch 'MDL-72810-master' of git://github.com/mickhawkins/moodle
Jun Pataleta [Mon, 29 Nov 2021 09:19:28 +0000 (17:19 +0800)]
Merge branch 'MDL-72810-master' of git://github.com/mickhawkins/moodle

3 years agoMerge branch 'MDL-72893-master' of https://github.com/HuongNV13/moodle
Sara Arjona [Mon, 29 Nov 2021 08:58:32 +0000 (09:58 +0100)]
Merge branch 'MDL-72893-master' of https://github.com/HuongNV13/moodle

3 years agoMerge branch 'migration-nov26' of https://github.com/Chocolate-lightning/moodle
Ilya Tregubov [Mon, 29 Nov 2021 08:37:08 +0000 (10:37 +0200)]
Merge branch 'migration-nov26' of https://github.com/Chocolate-lightning/moodle

3 years agoMerge branch 'MDL-73160' of https://github.com/stronk7/moodle
Sara Arjona [Mon, 29 Nov 2021 08:31:04 +0000 (09:31 +0100)]
Merge branch 'MDL-73160' of https://github.com/stronk7/moodle

3 years agoMDL-70197 navigation: Remove old navigation elements and migrate behat
Mathew May [Fri, 27 Aug 2021 08:04:01 +0000 (16:04 +0800)]
MDL-70197 navigation: Remove old navigation elements and migrate behat

3 years agoMerge branch 'MDL-70274-master-2' of https://github.com/lameze/moodle
Jun Pataleta [Mon, 29 Nov 2021 04:16:51 +0000 (12:16 +0800)]
Merge branch 'MDL-70274-master-2' of https://github.com/lameze/moodle

3 years agoMDL-70274 core: fix Validate HTML and WCAG Check links
Simey Lameze [Mon, 29 Nov 2021 03:18:51 +0000 (11:18 +0800)]
MDL-70274 core: fix Validate HTML and WCAG Check links

3 years agoMerge branch 'MDL-72917-master' of https://github.com/lameze/moodle
Jun Pataleta [Mon, 29 Nov 2021 03:31:14 +0000 (11:31 +0800)]
Merge branch 'MDL-72917-master' of https://github.com/lameze/moodle

3 years agoAutomatically generated installer lang files
AMOS bot [Sat, 27 Nov 2021 00:07:40 +0000 (00:07 +0000)]
Automatically generated installer lang files

3 years agoMDL-73160 profiling: Fix links to profiling runs
Eloy Lafuente (stronk7) [Wed, 24 Nov 2021 18:44:30 +0000 (19:44 +0100)]
MDL-73160 profiling: Fix links to profiling runs

When debug_footer_html() was split from standard_footer_html()
in MDL-71965 the $SCRIPT global declaration was left behind.

This just moves it wherever it's needed.

3 years agoon-demand release 4.0dev+
Sara Arjona [Fri, 26 Nov 2021 14:26:21 +0000 (15:26 +0100)]
on-demand release 4.0dev+

3 years agoNOBUG: Fixed SVG browser compatibility
Sara Arjona [Fri, 26 Nov 2021 14:26:18 +0000 (15:26 +0100)]
NOBUG: Fixed SVG browser compatibility

3 years agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Sara Arjona [Fri, 26 Nov 2021 14:26:18 +0000 (15:26 +0100)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

3 years agoMerge branch 'MDL-73092-master' of https://github.com/bmbrands/moodle
Jun Pataleta [Fri, 26 Nov 2021 04:32:33 +0000 (12:32 +0800)]
Merge branch 'MDL-73092-master' of https://github.com/bmbrands/moodle

3 years agoMerge branch 'MDL-70658' of https://github.com/stronk7/moodle
Víctor Déniz [Thu, 25 Nov 2021 22:03:44 +0000 (22:03 +0000)]
Merge branch 'MDL-70658' of https://github.com/stronk7/moodle

3 years agoMerge branch 'MDL-72456-master' of https://github.com/ferranrecio/moodle
Ilya Tregubov [Thu, 25 Nov 2021 18:25:19 +0000 (20:25 +0200)]
Merge branch 'MDL-72456-master' of https://github.com/ferranrecio/moodle

3 years agoMDL-70658 phpunit: never apply for time() in data providers
Eloy Lafuente (stronk7) [Thu, 25 Nov 2021 17:13:51 +0000 (18:13 +0100)]
MDL-70658 phpunit: never apply for time() in data providers

Data providers are executed at the beginning of the execution
of the phpunit run, not when the test is run.

So, setting anything on them being dependent of current time
has high chances or fail when the test is executed (maybe some
hours later in slow databases / systems).

Data provider only can contain the relative values and then,
when the test is effectively run, they are applied to *current* time.

3 years agoMDL-72456 mod_assign: fix behats
Ferran Recio [Tue, 16 Nov 2021 10:16:13 +0000 (11:16 +0100)]
MDL-72456 mod_assign: fix behats

3 years agoMDL-72456 theme_boost: detect drawers scroll
Ferran Recio [Fri, 22 Oct 2021 10:51:34 +0000 (12:51 +0200)]
MDL-72456 theme_boost: detect drawers scroll

3 years agoMDL-72456 core_courseformat: adding page item to course index
Ferran Recio [Tue, 19 Oct 2021 15:51:47 +0000 (17:51 +0200)]
MDL-72456 core_courseformat: adding page item to course index

3 years agoMDL-72456 theme_boost: add tooltips to drawers
Ferran Recio [Fri, 15 Oct 2021 12:04:22 +0000 (14:04 +0200)]
MDL-72456 theme_boost: add tooltips to drawers

3 years agoMerge branch 'MDL-72443' of https://github.com/paulholden/moodle
Jun Pataleta [Thu, 25 Nov 2021 09:32:10 +0000 (17:32 +0800)]
Merge branch 'MDL-72443' of https://github.com/paulholden/moodle

3 years agoMDL-70658 dml: Shorten aliases to make Oracle happy
Eloy Lafuente (stronk7) [Thu, 25 Nov 2021 07:30:30 +0000 (08:30 +0100)]
MDL-70658 dml: Shorten aliases to make Oracle happy

Some columns in the database have already 29 characters, so we
cannot use a prefix of 3 characters because that puts orcle over
the 30 characters max.

3 years agoAutomatically generated installer lang files
AMOS bot [Thu, 25 Nov 2021 00:07:27 +0000 (00:07 +0000)]
Automatically generated installer lang files

3 years agoMerge branch 'MDL-73054' of https://github.com/paulholden/moodle
Eloy Lafuente (stronk7) [Wed, 24 Nov 2021 22:56:52 +0000 (23:56 +0100)]
Merge branch 'MDL-73054' of https://github.com/paulholden/moodle

3 years agoMerge branch 'MDL-72988' of https://github.com/paulholden/moodle
Eloy Lafuente (stronk7) [Wed, 24 Nov 2021 22:49:41 +0000 (23:49 +0100)]
Merge branch 'MDL-72988' of https://github.com/paulholden/moodle

3 years agoMerge branch 'MDL-70658-final' of github.com:vmdef/moodle
Víctor Déniz [Wed, 24 Nov 2021 20:40:52 +0000 (20:40 +0000)]
Merge branch 'MDL-70658-final' of github.com:vmdef/moodle

3 years agoMDL-70658 mod_bigbluebuttonbn: Use core/event_dispatcher
Andrew Nicols [Wed, 29 Sep 2021 05:07:34 +0000 (13:07 +0800)]
MDL-70658 mod_bigbluebuttonbn: Use core/event_dispatcher

3 years agoMDL-70658 mod_bigbluebutton: Include version 2021091407 into core
laurentdavid [Wed, 24 Nov 2021 12:22:08 +0000 (12:22 +0000)]
MDL-70658 mod_bigbluebutton: Include version 2021091407 into core

This commit includes a copy of the bigbluebuttonbn activity module from:
- branch: tags/v2.5-alpha.2^0
- commit:

3 years agoMDL-72790 block_timeline: Set content width consistent with other blocks
Michael Hawkins [Wed, 10 Nov 2021 11:12:05 +0000 (19:12 +0800)]
MDL-72790 block_timeline: Set content width consistent with other blocks

Previously the margins were set with the container class, which meant
the content was narrower than other blocks. This does not need to be
managed by the block since the dashboard will soon manage this with
its own max width.

3 years agoMDL-72790 block_timeline: Ensure overdue badge visible at all widths
Michael Hawkins [Wed, 10 Nov 2021 06:26:24 +0000 (14:26 +0800)]
MDL-72790 block_timeline: Ensure overdue badge visible at all widths

This ensures on narrower screens, the activity title still truncates
but the overdue pill always remains visible where present. There is no
visual change where an item is not overdue, or on wider screens where
there is room to display the full content.

3 years agoMDL-72790 block_timeline: Fix button layout and row wrapping on mobile
Huong Nguyen [Fri, 15 Oct 2021 08:50:53 +0000 (16:50 +0800)]
MDL-72790 block_timeline: Fix button layout and row wrapping on mobile

This ensures all row content wraps nicely on smaller screen sizes, and
forces all action buttons to be displayed in a consistent position
indepdendent of the length of the activity name etc. Buttons are also
now aligned under the text on small screens, to maximise space for the
text content.

Co-authored-by: Michael Hawkins <michaelh@moodle.com>
3 years agoMDL-72790 block_timeline: Improve padding and background in Classic
Michael Hawkins [Wed, 13 Oct 2021 05:14:09 +0000 (13:14 +0800)]
MDL-72790 block_timeline: Improve padding and background in Classic

This ensures in the Classic theme that some padding is appled to both
sides of each item, so titles and action buttons are not flush against
the margin. Dropdowns/inputs in the block are also aligned to this
content, so everything aligns in both Boost and Classic.
This commit also groups related elements with a solid background colour
(eg within the same course in courses view), rather than having
individual row items broken up, to improve readability (and look nicer).

3 years agoMDL-72456 theme_boost: style drawers
Ferran Recio [Thu, 14 Oct 2021 16:23:37 +0000 (18:23 +0200)]
MDL-72456 theme_boost: style drawers

3 years agoMDL-73066 calendar: remove course and cat params from footer links
Simey Lameze [Tue, 16 Nov 2021 06:19:17 +0000 (14:19 +0800)]
MDL-73066 calendar: remove course and cat params from footer links

3 years agoon-demand release 4.0dev+
Ilya Tregubov [Tue, 23 Nov 2021 09:19:14 +0000 (11:19 +0200)]
on-demand release 4.0dev+

3 years agoMerge branch 'MDL-72776-master' of https://github.com/ferranrecio/moodle
Shamim Rezaie [Tue, 23 Nov 2021 03:56:50 +0000 (14:56 +1100)]
Merge branch 'MDL-72776-master' of https://github.com/ferranrecio/moodle

3 years agoMerge branch 'MDL-73069' of https://github.com/paulholden/moodle
Andrew Nicols [Tue, 23 Nov 2021 01:03:59 +0000 (09:03 +0800)]
Merge branch 'MDL-73069' of https://github.com/paulholden/moodle

3 years agoMerge branch 'MDL-73129-master' of https://github.com/dravek/moodle
Sara Arjona [Mon, 22 Nov 2021 16:45:45 +0000 (17:45 +0100)]
Merge branch 'MDL-73129-master' of https://github.com/dravek/moodle

3 years agoMerge branch 'MDL-72934-master' of https://github.com/peterRd/moodle
Sara Arjona [Mon, 22 Nov 2021 16:36:03 +0000 (17:36 +0100)]
Merge branch 'MDL-72934-master' of https://github.com/peterRd/moodle

3 years agoMerge branch 'MDL-72927-master' of https://github.com/junpataleta/moodle
Sara Arjona [Mon, 22 Nov 2021 16:26:01 +0000 (17:26 +0100)]
Merge branch 'MDL-72927-master' of https://github.com/junpataleta/moodle

3 years agoMerge branch 'MDL-73067-master' of https://github.com/lameze/moodle
Eloy Lafuente (stronk7) [Mon, 22 Nov 2021 16:21:45 +0000 (17:21 +0100)]
Merge branch 'MDL-73067-master' of https://github.com/lameze/moodle

3 years agoMerge branch 'MDL-73128-master' of https://github.com/sarjona/moodle
Eloy Lafuente (stronk7) [Mon, 22 Nov 2021 16:03:45 +0000 (17:03 +0100)]
Merge branch 'MDL-73128-master' of https://github.com/sarjona/moodle

3 years agoMerge branch 'MDL-73112' of https://github.com/paulholden/moodle
Sara Arjona [Mon, 22 Nov 2021 11:44:00 +0000 (12:44 +0100)]
Merge branch 'MDL-73112' of https://github.com/paulholden/moodle

3 years agoMerge branch 'MDL-72967-master' of https://github.com/lameze/moodle
Ilya Tregubov [Mon, 22 Nov 2021 11:10:52 +0000 (13:10 +0200)]
Merge branch 'MDL-72967-master' of https://github.com/lameze/moodle

3 years agoMerge branch 'MDL-73095_master_v3' of https://github.com/TomoTsuyuki/moodle
Eloy Lafuente (stronk7) [Mon, 22 Nov 2021 10:34:07 +0000 (11:34 +0100)]
Merge branch 'MDL-73095_master_v3' of https://github.com/TomoTsuyuki/moodle

Added one extra TEXT column so we have it covered too.

3 years agoMerge branch 'master_MDL-72076-bulkactionsui-121' of https://github.com/catalyst...
Sara Arjona [Mon, 22 Nov 2021 09:51:54 +0000 (10:51 +0100)]
Merge branch 'master_MDL-72076-bulkactionsui-121' of https://github.com/catalyst/moodle-MDL-70329

3 years agoMDL-73054 filter_emoticon: re-factor test data providers.
Paul Holden [Mon, 22 Nov 2021 22:16:03 +0000 (22:16 +0000)]
MDL-73054 filter_emoticon: re-factor test data providers.

PHPUnit test dataProvider methods should not modify global state,
such as initializing $OUTPUT, as they can cause failures in
unrelated tests at a distance.

3 years agoMDL-73054 repository_googledocs: avoid $OUTPUT use in data provider.
Paul Holden [Mon, 22 Nov 2021 22:27:51 +0000 (22:27 +0000)]
MDL-73054 repository_googledocs: avoid $OUTPUT use in data provider.

3 years agoMDL-73128 badges: Fix warning with external badges
Sara Arjona [Fri, 19 Nov 2021 11:57:33 +0000 (12:57 +0100)]
MDL-73128 badges: Fix warning with external badges

3 years agoMDL-73074 forms: ensure autocomplete element is enhanced only once.
Paul Holden [Mon, 15 Nov 2021 14:39:33 +0000 (14:39 +0000)]
MDL-73074 forms: ensure autocomplete element is enhanced only once.

This fixes the reportbuilder course filter, which was displayed twice
in response to an AJAX request for the rendered form.

3 years agoMDL-73129 reportbuilder: Remove string with trailing whitespace
David Matamoros [Mon, 22 Nov 2021 09:30:10 +0000 (10:30 +0100)]
MDL-73129 reportbuilder: Remove string with trailing whitespace

3 years agoMDL-73074 reportbuilder: consistent lang strings in course filter.
Paul Holden [Tue, 16 Nov 2021 11:37:58 +0000 (11:37 +0000)]
MDL-73074 reportbuilder: consistent lang strings in course filter.

3 years agoMDL-73069 reportbuilder: filter/condition for selecting user.
Paul Holden [Fri, 12 Nov 2021 10:50:26 +0000 (10:50 +0000)]
MDL-73069 reportbuilder: filter/condition for selecting user.

This allows a report creator to create personalised reports
according to the user who is viewing the report.

3 years agoMDL-73112 reportbuilder: improve handling of concatenated columns.
Paul Holden [Thu, 18 Nov 2021 13:06:40 +0000 (13:06 +0000)]
MDL-73112 reportbuilder: improve handling of concatenated columns.

This change overcomes limitations in certain DB engines (such as
MySQL[1]) which can lead to truncation of data when applying group
concatenation to columns.

Ensure we account for that by validating that we are able to extract
the expected number of fields from each concatenated value.

[1] https://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html#sysvar_group_concat_max_len

3 years agoMDL-72776 theme_boost: new editing progress effect
Ferran Recio [Wed, 3 Nov 2021 08:47:02 +0000 (09:47 +0100)]
MDL-72776 theme_boost: new editing progress effect

3 years agoMDL-72927 core: Make Remember username checkbox look like a checkbox
Jun Pataleta [Mon, 22 Nov 2021 06:50:25 +0000 (14:50 +0800)]
MDL-72927 core: Make Remember username checkbox look like a checkbox

3 years agoMDL-72893 Behat: Fix Behat failures for Timeline block
Huong Nguyen [Mon, 22 Nov 2021 04:22:23 +0000 (11:22 +0700)]
MDL-72893 Behat: Fix Behat failures for Timeline block

3 years agoMDL-72076 bulk actions ui: Implement bulk actions in qbank API
Safat Shahin [Sun, 26 Sep 2021 08:09:01 +0000 (18:09 +1000)]
MDL-72076 bulk actions ui: Implement bulk actions in qbank API

This implementation will introduce bulk actions qbank
plugins which can grab the selected question and perform
actions according to the selected option from dropdown
in the base view.

Co-Authored-By: Safat Shahin <safatshahin@catalyst-au.net>
Co-Authored-By: Matt Porritt <mattp@catalyst-au.net>
3 years agoon-demand release 4.0dev+
Eloy Lafuente (stronk7) [Fri, 19 Nov 2021 18:16:53 +0000 (19:16 +0100)]
on-demand release 4.0dev+

3 years agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Eloy Lafuente (stronk7) [Fri, 19 Nov 2021 18:16:48 +0000 (19:16 +0100)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

3 years agoMerge branch 'MDL-72799' of https://github.com/stronk7/moodle
Sara Arjona [Fri, 19 Nov 2021 14:51:03 +0000 (15:51 +0100)]
Merge branch 'MDL-72799' of https://github.com/stronk7/moodle

3 years agoMDL-72799 behat: Increase allowed size for privacy exports
Eloy Lafuente (stronk7) [Fri, 19 Nov 2021 11:07:07 +0000 (12:07 +0100)]
MDL-72799 behat: Increase allowed size for privacy exports

Because of more moodle.css contents, the total size of the privacy
exports has grown over the allowed size. Just raise it a little bit
more.

Note this commit isn't a problem caused exclusively by this issue,
but as far as this also contributed to the size increase, assigning
the fix to it.

3 years agoMDL-72810 core_calendar: Remove the three-month pseudo block
Michael Hawkins [Thu, 18 Nov 2021 19:12:09 +0000 (03:12 +0800)]
MDL-72810 core_calendar: Remove the three-month pseudo block

This removes the three-month pseudo block from along the side of the
main calendar, and deprecates relevant files/methods which will no
longer be in use.

3 years agoMerge branch 'MDL-69092-patched' of https://github.com/ilyatregubov/moodle
Eloy Lafuente (stronk7) [Fri, 19 Nov 2021 08:13:27 +0000 (09:13 +0100)]
Merge branch 'MDL-69092-patched' of https://github.com/ilyatregubov/moodle

3 years agoMDL-69092 mod_lti: Fix typo.
Ilya Tregubov [Fri, 19 Nov 2021 07:13:03 +0000 (09:13 +0200)]
MDL-69092 mod_lti: Fix typo.

3 years agoMDL-69092 mod_lti: Add js_pending to help behat tests
Andrew Madden [Fri, 19 Nov 2021 06:29:52 +0000 (17:29 +1100)]
MDL-69092 mod_lti: Add js_pending to help behat tests

3 years agoMDL-72917 course: change padding for the add an activity element
Simey Lameze [Fri, 19 Nov 2021 07:08:05 +0000 (15:08 +0800)]
MDL-72917 course: change padding for the add an activity element

3 years agoMerge branch 'MDL-69092' of https://github.com/stronk7/moodle
Ilya Tregubov [Fri, 19 Nov 2021 06:53:44 +0000 (08:53 +0200)]
Merge branch 'MDL-69092' of https://github.com/stronk7/moodle

3 years agoMerge branch 'MDL-73098' of https://github.com/stronk7/moodle
Shamim Rezaie [Fri, 19 Nov 2021 04:19:15 +0000 (15:19 +1100)]
Merge branch 'MDL-73098' of https://github.com/stronk7/moodle

3 years agoMerge branch 'MDL-72826' of git://github.com/paulholden/moodle
Jun Pataleta [Fri, 19 Nov 2021 03:07:03 +0000 (11:07 +0800)]
Merge branch 'MDL-72826' of git://github.com/paulholden/moodle

3 years agoAutomatically generated installer lang files
AMOS bot [Fri, 19 Nov 2021 00:07:28 +0000 (00:07 +0000)]
Automatically generated installer lang files

3 years agoMDL-72988 mod_lti: improved handling of missing tool endpoint.
Paul Holden [Thu, 18 Nov 2021 22:45:06 +0000 (22:45 +0000)]
MDL-72988 mod_lti: improved handling of missing tool endpoint.

3 years agoMerge branch 'MDL-71882-master' of https://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Thu, 18 Nov 2021 22:31:03 +0000 (23:31 +0100)]
Merge branch 'MDL-71882-master' of https://github.com/andrewnicols/moodle

3 years agoMDL-69092 mod_lti: SQL fix for cross-db
Eloy Lafuente (stronk7) [Thu, 18 Nov 2021 19:46:56 +0000 (20:46 +0100)]
MDL-69092 mod_lti: SQL fix for cross-db

3 years agoMerge branch 'MDL-72470-master' of https://github.com/sharidas/moodle
Eloy Lafuente (stronk7) [Thu, 18 Nov 2021 17:37:09 +0000 (18:37 +0100)]
Merge branch 'MDL-72470-master' of https://github.com/sharidas/moodle

3 years agoMerge branch 'MDL-70721-master' of git://github.com/rezaies/moodle
Sara Arjona [Thu, 18 Nov 2021 14:18:51 +0000 (15:18 +0100)]
Merge branch 'MDL-70721-master' of git://github.com/rezaies/moodle

3 years agoMerge branch 'MDL-72887-master' of https://github.com/michael-milette/moodle
Shamim Rezaie [Thu, 18 Nov 2021 11:37:08 +0000 (22:37 +1100)]
Merge branch 'MDL-72887-master' of https://github.com/michael-milette/moodle

3 years agoMDL-73092 theme_boost: increase right drawer width
Bas Brands [Wed, 17 Nov 2021 14:43:16 +0000 (15:43 +0100)]
MDL-73092 theme_boost: increase right drawer width

3 years agoMerge branch 'MDL-69092-master_lti_pagination' of https://github.com/andrewmadden...
Ilya Tregubov [Thu, 18 Nov 2021 06:57:12 +0000 (08:57 +0200)]
Merge branch 'MDL-69092-master_lti_pagination' of https://github.com/andrewmadden/moodle

3 years agoMDL-73095 core_ddl: Fix binary type field check
Tomo Tsuyuki [Thu, 18 Nov 2021 06:53:00 +0000 (17:53 +1100)]
MDL-73095 core_ddl: Fix binary type field check

3 years agoMDL-72887 search: Tooltip added to navbar search icon.
Michael Milette [Thu, 21 Oct 2021 18:50:34 +0000 (14:50 -0400)]
MDL-72887 search: Tooltip added to navbar search icon.

3 years agoMDL-72934 core_navigation: Early return if no nodes to be rendered.
Peter Dias [Thu, 18 Nov 2021 03:17:00 +0000 (11:17 +0800)]
MDL-72934 core_navigation: Early return if no nodes to be rendered.

Do not export any items for templates if the nodecollection does not
have any children.

3 years agoMerge branch 'MDL-73090' of https://github.com/paulholden/moodle
Andrew Nicols [Thu, 18 Nov 2021 02:12:31 +0000 (10:12 +0800)]
Merge branch 'MDL-73090' of https://github.com/paulholden/moodle

3 years agoMerge branch 'MDL-70801-new' of https://github.com/Chocolate-lightning/moodle
Andrew Nicols [Thu, 18 Nov 2021 01:51:02 +0000 (09:51 +0800)]
Merge branch 'MDL-70801-new' of https://github.com/Chocolate-lightning/moodle

3 years agoMDL-73067 block_calendar_month: remove event key filter
Simey Lameze [Tue, 16 Nov 2021 07:07:58 +0000 (15:07 +0800)]
MDL-73067 block_calendar_month: remove event key filter

3 years agoMDL-70801 block_myoverview: Correct the user for course searching in behat
Mathew May [Tue, 16 Nov 2021 07:13:55 +0000 (15:13 +0800)]
MDL-70801 block_myoverview: Correct the user for course searching in behat

3 years agoAutomatically generated installer lang files
AMOS bot [Thu, 18 Nov 2021 00:07:26 +0000 (00:07 +0000)]
Automatically generated installer lang files

3 years agoMDL-73098 install: Detect stale bootstrap.php files and disable them
Eloy Lafuente (stronk7) [Wed, 17 Nov 2021 18:30:42 +0000 (19:30 +0100)]
MDL-73098 install: Detect stale bootstrap.php files and disable them

It's important to say that this bug apparently (till now) only happens
when an *incorrect* instalation of a site happens, reusing the dataroot
from another existing site.

When that happens, the localcache/bootstrap.php file from the old
site is reused, setting siteidentifier and SYSCONTEXTID when it's not
time for them to be defined yet.

Their existenece leads to reusing some other structures from the old
dataroot (that, again, should have been changed or wiped!), ultimately
leading to all sort of errors about non-existent tables (course,
context...).

With this change we ensure that:

1) Whenever any change to the database configuration (prefix, user,
   type..) happens, it's detected and immediately the information
   in the localcache/bootstrap.php is discarded and the file removed.
   This should fix problems like MDL-73098 itself.

2) We only set SYSCONTEXTID if the file is not stale. Main reason
   for doing that check within the localcache/bootstrap.php file
   itself is that we cannot "undefine" it @ setup.php. This should
   prevent errros like MDL-72888 to happen.

3) Finally, little detail, we only define SYSCONTEXTID if it has
   not been defined earlier. In the past, it was recommended to
   define it in config.php (exactly to save one DB read) and, sites
   having them will face "already defined" warnings.