moodle.git
6 months agoon-demand release 4.0dev+
Sara Arjona [Fri, 26 Nov 2021 14:26:21 +0000 (15:26 +0100)]
on-demand release 4.0dev+

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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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.

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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.

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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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:

6 months 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

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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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.

6 months 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

6 months 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.

6 months 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.

6 months 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

6 months 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

6 months 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.

6 months 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

6 months 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

6 months 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

6 months 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>
6 months agoon-demand release 4.0dev+
Eloy Lafuente (stronk7) [Fri, 19 Nov 2021 18:16:53 +0000 (19:16 +0100)]
on-demand release 4.0dev+

6 months 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

6 months 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

6 months 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.

6 months 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

6 months 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.

6 months 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

6 months 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

6 months 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

6 months 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

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

6 months 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.

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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

6 months 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.

6 months 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.

6 months 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

6 months 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

6 months 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

6 months 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

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

6 months 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.

6 months agoMDL-73090 reportbuilder: confirmation before resetting conditions.
Paul Holden [Tue, 16 Nov 2021 14:26:47 +0000 (14:26 +0000)]
MDL-73090 reportbuilder: confirmation before resetting conditions.

Also prefetch all lang strings used by conditions editor.

6 months agoMDL-72250 core_course: behat fix for targeting close button
Bas Brands [Wed, 17 Nov 2021 11:35:06 +0000 (12:35 +0100)]
MDL-72250 core_course: behat fix for targeting close button

6 months agoMDL-69092 pagination: Add first/last config for paging_content_factory
Andrew Madden [Mon, 15 Nov 2021 00:04:55 +0000 (11:04 +1100)]
MDL-69092 pagination: Add first/last config for paging_content_factory

Allow config toggle for showing first and last button for paging_content_factory.

6 months agoMDL-69092 mod_lti: Add pagination to toolconfigure.php.
Andrew Madden [Sun, 12 Sep 2021 12:30:26 +0000 (22:30 +1000)]
MDL-69092 mod_lti: Add pagination to toolconfigure.php.

* Add local function to access subsets of proxies and types direct from DB.
* Add local function to access count of proxies and types direct from DB.
* Add new external function to get both proxies and types with pagination.
* Add new external function to get count of proxies and types.
* Implement pagination using page factory in JS.
* Added unit tests to cover new external functions.
* Add mod_lti behat generators and tests.
* Show first and last button in paging bar.
* Created helper class to assist with new functions.

6 months agoMerge branch 'MDL-72816-master-nov17' of https://github.com/peterRd/moodle
Ilya Tregubov [Wed, 17 Nov 2021 08:27:15 +0000 (10:27 +0200)]
Merge branch 'MDL-72816-master-nov17' of https://github.com/peterRd/moodle

6 months agoMerge branch 'MDL-72925_master_v2' of https://github.com/TomoTsuyuki/moodle
Jun Pataleta [Wed, 17 Nov 2021 08:05:46 +0000 (16:05 +0800)]
Merge branch 'MDL-72925_master_v2' of https://github.com/TomoTsuyuki/moodle

6 months agoMDL-72816 navigation: Make sure a secondary node is active
Peter Dias [Wed, 27 Oct 2021 02:14:51 +0000 (10:14 +0800)]
MDL-72816 navigation: Make sure a secondary node is active

- Clone nodes shared between nav trees before utilising it.

6 months agoMDL-72816 navigation: Make sure a primary node is active
Peter Dias [Tue, 26 Oct 2021 03:20:33 +0000 (11:20 +0800)]
MDL-72816 navigation: Make sure a primary node is active

- Revert unnecessary primary_active_tab setters
- Modify the navigation nodes to never change text based on default homepage
- Make sure a tab is set active

6 months agoMerge branch 'MDL-71699' of https://github.com/mkassaei/moodle
Sara Arjona [Wed, 17 Nov 2021 07:53:34 +0000 (08:53 +0100)]
Merge branch 'MDL-71699' of https://github.com/mkassaei/moodle

6 months agoMerge branch 'MDL-72799' of https://github.com/Chocolate-lightning/moodle
Shamim Rezaie [Wed, 17 Nov 2021 07:18:17 +0000 (18:18 +1100)]
Merge branch 'MDL-72799' of https://github.com/Chocolate-lightning/moodle

6 months agoMDL-72799 navigation: Improvements to navigation styling
Mathew May [Thu, 21 Oct 2021 05:16:27 +0000 (13:16 +0800)]
MDL-72799 navigation: Improvements to navigation styling

6 months agoMerge branch 'MDL-69496_Master' of https://github.com/1JackBlack1/moodle
Ilya Tregubov [Wed, 17 Nov 2021 07:01:00 +0000 (09:01 +0200)]
Merge branch 'MDL-69496_Master' of https://github.com/1JackBlack1/moodle

6 months agoMerge branch 'MDL-70801-new' of https://github.com/Chocolate-lightning/moodle
Andrew Nicols [Wed, 17 Nov 2021 04:41:32 +0000 (12:41 +0800)]
Merge branch 'MDL-70801-new' of https://github.com/Chocolate-lightning/moodle

6 months agoMDL-71882 grunt: Replace module names
Andrew Nicols [Wed, 9 Jun 2021 10:41:25 +0000 (18:41 +0800)]
MDL-71882 grunt: Replace module names

When a third-party AMD module is provided with an included name we must
replace it with a name that we are able to use.

The structure of an AMD module define function is:

    [name], [dependencies], [callback]
    String, Array,          Function

Each of these is (strangely) optional.

We know that the name is the only String and will always be the first,
and we can use AST to remove a provided name before adding the
Moodle-specific name.

This should be a safe change and not lead to any changes in built code,
but will make it easier to include third-party code.

An additional logging line is also included to inform developers that a
change was made.

6 months agoAutomatically generated installer lang files
AMOS bot [Wed, 17 Nov 2021 00:07:32 +0000 (00:07 +0000)]
Automatically generated installer lang files

6 months agoMDL-69496 quiz: Only validate completion if unlocked
PraiseSatan [Thu, 11 Nov 2021 20:29:21 +0000 (07:29 +1100)]
MDL-69496 quiz: Only validate completion if unlocked

Quiz completion settings are only validated if they are unlocked.
Undefined behaviour in the forms API results in the completion
settings 'require passing grade' and 'completion attempts exhausted'
not being sent to the process options function if completion
settings are locked. This resulted in the completion attempts
exhausted setting being disabled whenever the quiz was saved
as it did not detect the require passing grade setting.
This changes the behaviour so that validation is only performed
if the completion settings are unlocked.
A behat test is included to ensure the setting does not change.

6 months agoMerge branch 'MDL-72250-master-3' of https://github.com/bmbrands/moodle
Shamim Rezaie [Tue, 16 Nov 2021 20:30:54 +0000 (07:30 +1100)]
Merge branch 'MDL-72250-master-3' of https://github.com/bmbrands/moodle

6 months agoMerge branch 'MDL-72907-master' of https://github.com/sarjona/moodle
Shamim Rezaie [Tue, 16 Nov 2021 15:02:51 +0000 (02:02 +1100)]
Merge branch 'MDL-72907-master' of https://github.com/sarjona/moodle

6 months agoMDL-72826 reportbuilder: per-report option to show only unique rows.
Paul Holden [Fri, 12 Nov 2021 15:57:01 +0000 (15:57 +0000)]
MDL-72826 reportbuilder: per-report option to show only unique rows.

This option allows report creators to avoid duplicate data being
displayed in their report. It is applied only when no columns in the
report currently have aggregation methods applied.

6 months agoon-demand release 4.0dev+
Eloy Lafuente (stronk7) [Tue, 16 Nov 2021 13:00:24 +0000 (14:00 +0100)]
on-demand release 4.0dev+

6 months agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Eloy Lafuente (stronk7) [Tue, 16 Nov 2021 13:00:20 +0000 (14:00 +0100)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

6 months agoMDL-72907 core_repository: Fix enable_plugin function
Amaia Anabitarte [Mon, 8 Nov 2021 17:21:47 +0000 (18:21 +0100)]
MDL-72907 core_repository: Fix enable_plugin function

6 months agoMDL-72250 tool_usertours: behat update for new drawer toggle button
Bas Brands [Mon, 25 Oct 2021 13:01:22 +0000 (15:01 +0200)]
MDL-72250 tool_usertours: behat update for new drawer toggle button

6 months agoMDL-72250 theme_boost: add mobile nav drawer
Bas Brands [Wed, 20 Oct 2021 07:16:17 +0000 (09:16 +0200)]
MDL-72250 theme_boost: add mobile nav drawer

6 months agoMDL-72925 mod_forum: Filter discussion when grading
Tomo Tsuyuki [Tue, 16 Nov 2021 04:23:51 +0000 (15:23 +1100)]
MDL-72925 mod_forum: Filter discussion when grading

6 months agoMerge branch 'MDL-72966-master' of https://github.com/NashTechOpenUniversity/moodle
Jun Pataleta [Tue, 16 Nov 2021 03:38:35 +0000 (11:38 +0800)]
Merge branch 'MDL-72966-master' of https://github.com/NashTechOpenUniversity/moodle

6 months agoMDL-72967 lib: fix typo in excellib insert_bitmap() method
Faisal Kaleem [Sun, 14 Nov 2021 18:46:19 +0000 (23:46 +0500)]
MDL-72967 lib: fix typo in excellib insert_bitmap() method

6 months agoAutomatically generated installer lang files
AMOS bot [Tue, 16 Nov 2021 00:07:27 +0000 (00:07 +0000)]
Automatically generated installer lang files

6 months agoMDL-70721 output: Remove redundant title
Shamim Rezaie [Wed, 11 Aug 2021 05:38:11 +0000 (15:38 +1000)]
MDL-70721 output: Remove redundant title

The format_string() function does half html escaping. It escapes < and >
characters, but does not escape ". Therefore, it put us in a situation
where neither {{}}, nor {{{}}} are suitable in templates. If we use {{}}
for an attribute (like title or aria-label), then < and > characters
will be double escaped. On the other hand, if we use {{{}}} there, a
double quote character will break HTML when it is used in an attribute.
Therefore, neither {{}}, nore {{{}}} are usable in html attributes.

Moreover, The title attribute here was redundant because it had the same
value as the link's text.

6 months agoMDL-70721 output: remove {{#quote}} wherever it was misused
Shamim Rezaie [Mon, 9 Aug 2021 11:40:20 +0000 (21:40 +1000)]
MDL-70721 output: remove {{#quote}} wherever it was misused

Also use the new {{#cleanstr}} helper where it was more appropriate
than the {{#str} helper.

6 months agoMerge branch 'MDL-72096-master' of https://github.com/mickhawkins/moodle
Eloy Lafuente (stronk7) [Mon, 15 Nov 2021 18:02:13 +0000 (19:02 +0100)]
Merge branch 'MDL-72096-master' of https://github.com/mickhawkins/moodle