moodle.git
2 months agoweekly release 4.0dev
Sara Arjona [Fri, 14 May 2021 09:06:18 +0000 (11:06 +0200)]
weekly release 4.0dev

2 months agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Sara Arjona [Fri, 14 May 2021 09:06:16 +0000 (11:06 +0200)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

2 months agoAutomatically generated installer lang files
AMOS bot [Fri, 14 May 2021 00:07:53 +0000 (00:07 +0000)]
Automatically generated installer lang files

2 months agoMerge branch 'MDL-71569-master_Summarydata' of https://github.com/brickfield/moodle
Víctor Déniz [Thu, 13 May 2021 21:34:11 +0000 (22:34 +0100)]
Merge branch 'MDL-71569-master_Summarydata' of https://github.com/brickfield/moodle

2 months agoMerge branch 'MDL-71611-master_blockaccessreviewupgrade' of https://github.com/brickf...
Sara Arjona [Thu, 13 May 2021 09:45:36 +0000 (11:45 +0200)]
Merge branch 'MDL-71611-master_blockaccessreviewupgrade' of https://github.com/brickfield/moodle

2 months agoMerge branch 'MDL-71612-master' of https://github.com/snake/moodle
Jun Pataleta [Thu, 13 May 2021 06:30:24 +0000 (14:30 +0800)]
Merge branch 'MDL-71612-master' of https://github.com/snake/moodle

2 months agoMerge branch 'MDL-71584-master_Languagestrings' of https://github.com/brickfield...
Jun Pataleta [Thu, 13 May 2021 05:57:22 +0000 (13:57 +0800)]
Merge branch 'MDL-71584-master_Languagestrings' of https://github.com/brickfield/moodle

2 months agoMDL-71612 tool_oauth2: remove erroneous hideIf rules for form fields
Jake Dallimore [Thu, 13 May 2021 04:47:58 +0000 (12:47 +0800)]
MDL-71612 tool_oauth2: remove erroneous hideIf rules for form fields

Some fields were being hidden based on whether the service was set up
for internal service use or was a service shown on the login page.
These fields refer to OAuth 2 logins and must be configurable for both
kinds of services.

2 months agoMerge branch 'MDL-71580-master-enfix' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Wed, 12 May 2021 20:58:12 +0000 (22:58 +0200)]
Merge branch 'MDL-71580-master-enfix' of git://github.com/mudrd8mz/moodle

2 months agoMDL-71611 block_accessreview: Return formats if feature disabled.
Mike Churchward [Wed, 12 May 2021 20:29:09 +0000 (16:29 -0400)]
MDL-71611 block_accessreview: Return formats if feature disabled.

2 months agoMDL-71580 lang: Fix reworded strings in tests
David Mudrák [Wed, 12 May 2021 06:48:00 +0000 (08:48 +0200)]
MDL-71580 lang: Fix reworded strings in tests

2 months agoMDL-71580 lang: Import fixed English strings (en_fix)
Helen Foster [Wed, 12 May 2021 06:34:29 +0000 (08:34 +0200)]
MDL-71580 lang: Import fixed English strings (en_fix)

2 months agoMDL-71584 tool_brickfield: Fixed up language string issues.
Mike Churchward [Tue, 11 May 2021 00:08:40 +0000 (20:08 -0400)]
MDL-71584 tool_brickfield: Fixed up language string issues.

2 months agoMerge branch 'MDL-71590-master' of git://github.com/HuongNV13/moodle
Jun Pataleta [Wed, 12 May 2021 05:25:53 +0000 (13:25 +0800)]
Merge branch 'MDL-71590-master' of git://github.com/HuongNV13/moodle

2 months agoMDL-71590 usertours: Create language string for activity information
Huong Nguyen [Tue, 11 May 2021 08:35:00 +0000 (15:35 +0700)]
MDL-71590 usertours: Create language string for activity information

2 months agoMerge branch 'MDL-71583' of https://github.com/stronk7/moodle
Jake Dallimore [Wed, 12 May 2021 02:35:34 +0000 (10:35 +0800)]
Merge branch 'MDL-71583' of https://github.com/stronk7/moodle

2 months agoMDL-71569 Accessibility toolkit: Fix Summary data task failure
Karen Holland [Fri, 7 May 2021 18:51:45 +0000 (19:51 +0100)]
MDL-71569 Accessibility toolkit: Fix Summary data task failure

2 months agoMDL-71583 versions: Add all the missing full-stops to version/requires
Eloy Lafuente (stronk7) [Tue, 11 May 2021 18:11:07 +0000 (20:11 +0200)]
MDL-71583 versions: Add all the missing full-stops to version/requires

It seems that the new phpcs3 checker is now controlling those
line comments that previously were ignored.

This commit just looks for all the cases and bulk-add
them when needed. The bash script (mac) used to add all them is:

while read -r line; do
    arr=(${line//:/ })
    if [[ -n ${arr[0]} ]] && [[ -n ${arr[1]} ]]; then
        echo "  file ${arr[0]}, line ${arr[1]}"
        sed -i "${arr[1]}s/\$/\./" ${arr[0]}
    fi
done < <(find . -name version.php | xargs ag --nomultiline '>(version|requires) *=.*//.*[^;\.]$')

2 months agoweekly release 4.0dev
Sara Arjona [Tue, 11 May 2021 10:42:28 +0000 (12:42 +0200)]
weekly release 4.0dev

2 months agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Sara Arjona [Tue, 11 May 2021 10:42:25 +0000 (12:42 +0200)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

2 months agoAutomatically generated installer lang files
AMOS bot [Tue, 11 May 2021 00:07:55 +0000 (00:07 +0000)]
Automatically generated installer lang files

2 months agoMerge branch 'MDL-71060-master' of https://github.com/NashTechOpenUniversity/moodle
Víctor Déniz [Mon, 10 May 2021 22:40:53 +0000 (23:40 +0100)]
Merge branch 'MDL-71060-master' of https://github.com/NashTechOpenUniversity/moodle

2 months agoMerge branch 'MDL-70900' of https://github.com/stronk7/moodle
Víctor Déniz [Mon, 10 May 2021 21:47:13 +0000 (22:47 +0100)]
Merge branch 'MDL-70900' of https://github.com/stronk7/moodle

2 months agoMerge branch 'MDL-71543-master_toggleicon' of https://github.com/brickfield/moodle
Víctor Déniz [Mon, 10 May 2021 21:06:59 +0000 (22:06 +0100)]
Merge branch 'MDL-71543-master_toggleicon' of https://github.com/brickfield/moodle

2 months agoMerge branch 'MDL-71570-master' of git://github.com/mihailges/moodle
Sara Arjona [Mon, 10 May 2021 13:38:24 +0000 (15:38 +0200)]
Merge branch 'MDL-71570-master' of git://github.com/mihailges/moodle

2 months agoMerge branch 'MDL-71533' of git://github.com/danmarsden/moodle
Sara Arjona [Mon, 10 May 2021 09:37:58 +0000 (11:37 +0200)]
Merge branch 'MDL-71533' of git://github.com/danmarsden/moodle

2 months agoMerge branch 'MDL-71552-master_heatmaptoggle' of https://github.com/brickfield/moodle
Jun Pataleta [Mon, 10 May 2021 09:23:05 +0000 (17:23 +0800)]
Merge branch 'MDL-71552-master_heatmaptoggle' of https://github.com/brickfield/moodle

2 months agoMDL-71570 mod_forum: Avoid using deprecated string in forum templates
Mihail Geshoski [Mon, 10 May 2021 04:21:31 +0000 (12:21 +0800)]
MDL-71570 mod_forum: Avoid using deprecated string in forum templates

2 months agoMDL-71570 core_grades: Avoid using deprecated string in grade templates
Mihail Geshoski [Mon, 10 May 2021 04:17:15 +0000 (12:17 +0800)]
MDL-71570 core_grades: Avoid using deprecated string in grade templates

2 months agoMDL-71060 Questions: Duplicates 'Current category' text.
Thong Bui [Sun, 9 May 2021 17:22:22 +0000 (00:22 +0700)]
MDL-71060 Questions: Duplicates 'Current category' text.

2 months agoMerge branch 'MDL-71544-master_Errorspage' of https://github.com/brickfield/moodle
Víctor Déniz [Sat, 8 May 2021 19:30:31 +0000 (20:30 +0100)]
Merge branch 'MDL-71544-master_Errorspage' of https://github.com/brickfield/moodle

2 months agoMDL-70900 ci: Move highest PHP to 8.0 (from current 7.4)
Eloy Lafuente (stronk7) [Fri, 12 Feb 2021 11:04:31 +0000 (12:04 +0100)]
MDL-70900 ci: Move highest PHP to 8.0 (from current 7.4)

Also adds xmlrpc-beta from PECL (PHP8 moved the extension there)
and setups max_input_vars=5000 as initial value (see MDL-71390).

Note that this also includes a tiny modification when configuring
redis sessions, because there was some outdated code from old issue,
now fixed (MDL-60978), so that info has been removed.

2 months agoweekly release 4.0dev
Eloy Lafuente (stronk7) [Fri, 7 May 2021 14:54:26 +0000 (16:54 +0200)]
weekly release 4.0dev

2 months agoNOBUG: Fixed file access permissions
Eloy Lafuente (stronk7) [Fri, 7 May 2021 14:54:26 +0000 (16:54 +0200)]
NOBUG: Fixed file access permissions

2 months agoNOBUG: Fixed SVG browser compatibility
Eloy Lafuente (stronk7) [Fri, 7 May 2021 14:54:23 +0000 (16:54 +0200)]
NOBUG: Fixed SVG browser compatibility

2 months agoMerge branch 'MDL-71234-master' of git://github.com/HuongNV13/moodle
Jun Pataleta [Fri, 7 May 2021 04:21:33 +0000 (12:21 +0800)]
Merge branch 'MDL-71234-master' of git://github.com/HuongNV13/moodle

2 months agoMDL-71234 usertours: Create tours for the activity completion output
Huong Nguyen [Tue, 4 May 2021 08:18:27 +0000 (15:18 +0700)]
MDL-71234 usertours: Create tours for the activity completion output

2 months agoMerge branch 'MDL-68747-master' of https://github.com/dcai/moodle
abgreeve [Fri, 7 May 2021 03:15:50 +0000 (11:15 +0800)]
Merge branch 'MDL-68747-master' of https://github.com/dcai/moodle

2 months agoMDL-70622 mod_lti: Tighten redirect param typing
Mathew May [Thu, 22 Apr 2021 05:26:10 +0000 (13:26 +0800)]
MDL-70622 mod_lti: Tighten redirect param typing

2 months agoMDL-70622 mod_lti: Prevent xss on lti 1.3 authentication script
Adam Olley [Fri, 16 Apr 2021 04:28:28 +0000 (13:58 +0930)]
MDL-70622 mod_lti: Prevent xss on lti 1.3 authentication script

Without this, people can craft URLs that other users might use not realising
what they do - and as a XSS vulnerability, it could do any number of things the
clicking-user has access to do on the site.

Change-Id: I82adc71e8706d8929011b4b24523d5b62b8ccea1

2 months agoMerge branch 'MDL-71395-master-2' of git://github.com/marinaglancy/moodle
Jun Pataleta [Fri, 7 May 2021 02:30:23 +0000 (10:30 +0800)]
Merge branch 'MDL-71395-master-2' of git://github.com/marinaglancy/moodle

2 months agoMerge branch 'MDL-70181' of https://github.com/stronk7/moodle
abgreeve [Fri, 7 May 2021 02:21:46 +0000 (10:21 +0800)]
Merge branch 'MDL-70181' of https://github.com/stronk7/moodle

2 months agoMDL-71533 lib: Remove libraries that already exist in core.
Dan Marsden [Tue, 4 May 2021 22:43:25 +0000 (10:43 +1200)]
MDL-71533 lib: Remove libraries that already exist in core.

2 months agoMerge branch 'MDL-71303' of https://github.com/StudiUM/moodle
Víctor Déniz [Thu, 6 May 2021 22:32:05 +0000 (23:32 +0100)]
Merge branch 'MDL-71303' of https://github.com/StudiUM/moodle

2 months agoMDL-71543 block_accessreview: Toggling the heatmap icon image.
Mike Churchward [Thu, 6 May 2021 21:30:49 +0000 (17:30 -0400)]
MDL-71543 block_accessreview: Toggling the heatmap icon image.

2 months agoMerge branch 'MDL-70049-master_count_submissions' of https://github.com/agrowe/moodle
Eloy Lafuente (stronk7) [Thu, 6 May 2021 21:26:50 +0000 (23:26 +0200)]
Merge branch 'MDL-70049-master_count_submissions' of https://github.com/agrowe/moodle

2 months agoMerge branch 'MDL-70772' of git://github.com/paulholden/moodle
Eloy Lafuente (stronk7) [Thu, 6 May 2021 21:19:55 +0000 (23:19 +0200)]
Merge branch 'MDL-70772' of git://github.com/paulholden/moodle

2 months agoMerge branch 'MDL-71313' of https://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Thu, 6 May 2021 21:14:50 +0000 (23:14 +0200)]
Merge branch 'MDL-71313' of https://github.com/timhunt/moodle

2 months agoMerge branch 'MDL-71343-master' of https://github.com/rjnl/moodle
Eloy Lafuente (stronk7) [Thu, 6 May 2021 21:07:29 +0000 (23:07 +0200)]
Merge branch 'MDL-71343-master' of https://github.com/rjnl/moodle

2 months agoMDL-71552 block_accessreview: Removed 'alert' class when toggling off.
Mike Churchward [Thu, 6 May 2021 19:23:15 +0000 (15:23 -0400)]
MDL-71552 block_accessreview: Removed 'alert' class when toggling off.

2 months agoMDL-70926 core: getuserdate() shoud show debugging if null was passed
Marina Glancy [Wed, 17 Feb 2021 11:41:12 +0000 (12:41 +0100)]
MDL-70926 core: getuserdate() shoud show debugging if null was passed

passing null to getdate() has different results in PHP7 and PHP8

2 months agoMerge branch 'MDL-70110-fix' of github.com:sarjona/moodle
Eloy Lafuente (stronk7) [Thu, 6 May 2021 17:38:01 +0000 (19:38 +0200)]
Merge branch 'MDL-70110-fix' of github.com:sarjona/moodle

2 months agoMDL-70110 mod_assign: make phpunit test DB order agnostic
Sara Arjona [Thu, 6 May 2021 17:05:25 +0000 (19:05 +0200)]
MDL-70110 mod_assign: make phpunit test DB order agnostic

2 months agoMDL-71544 tool_brickfield: Allowing text to break in table.
Mike Churchward [Thu, 6 May 2021 17:12:39 +0000 (13:12 -0400)]
MDL-71544 tool_brickfield: Allowing text to break in table.

2 months agoMerge branch 'MDL-71491' of git://github.com/paulholden/moodle
Sara Arjona [Thu, 6 May 2021 16:42:18 +0000 (18:42 +0200)]
Merge branch 'MDL-71491' of git://github.com/paulholden/moodle

2 months agoMerge branch 'MDL-71420' of https://github.com/stronk7/moodle
Sara Arjona [Thu, 6 May 2021 15:58:02 +0000 (17:58 +0200)]
Merge branch 'MDL-71420' of https://github.com/stronk7/moodle

2 months agoMerge branch 'MDL-71402' of git://github.com/paulholden/moodle
Víctor Déniz [Thu, 6 May 2021 15:46:19 +0000 (16:46 +0100)]
Merge branch 'MDL-71402' of git://github.com/paulholden/moodle

2 months agoMDL-71491 repository_flickr: return more file data.
Paul Holden [Tue, 4 May 2021 19:08:56 +0000 (20:08 +0100)]
MDL-71491 repository_flickr: return more file data.

See also 643b0cca.

2 months agoMerge branch 'MDL-71268-master' of git://github.com/lucaboesch/moodle
Sara Arjona [Thu, 6 May 2021 15:11:16 +0000 (17:11 +0200)]
Merge branch 'MDL-71268-master' of git://github.com/lucaboesch/moodle

2 months agoMDL-71395 core: fix bug in google lib wrapper
Marina Glancy [Thu, 6 May 2021 11:44:30 +0000 (13:44 +0200)]
MDL-71395 core: fix bug in google lib wrapper

because of changes in PHP8 the '' == 0 is no longer true and the error in the google api wrapper was discovered

2 months agoMDL-71402 availability: fix group restriction button in mod form.
Paul Holden [Wed, 21 Apr 2021 22:58:32 +0000 (23:58 +0100)]
MDL-71402 availability: fix group restriction button in mod form.

 * The button to "Add group/grouping access restriction" under
   common module settings should only be present if corresponding
   availability plugins are enabled; and
 * Prevent the same button behaving as a submit button, which
   intercepted the user hitting return in the form and added a
   restriction without deliberate action taken by the user.

2 months agoMDL-71395 block_tag_youtube: sometimes exception may have empty message
Marina Glancy [Wed, 21 Apr 2021 14:19:21 +0000 (16:19 +0200)]
MDL-71395 block_tag_youtube: sometimes exception may have empty message

2 months agoMDL-71420 environment: Add some strategic comments and todos.
Eloy Lafuente (stronk7) [Thu, 6 May 2021 12:29:33 +0000 (14:29 +0200)]
MDL-71420 environment: Add some strategic comments and todos.

This isn't really a deprecations where something is replaced
by another and all uses must adapt to. Instead it's just a
fallback functionality that will stop working in Moodle 4.2.

Because of that, I've tried to add TODO/@todo comments to
the places that will need to modified, always pointing to
MDL-71421 that is where the removal will happen.

Also, haven't added any debugging() output, after thinking
a lot about it, because this isn't anything that developers
can be using but a internal implementation detail (a fallback)
that we want to remove in some versions.

2 months agoMerge branch 'MDL-70110-master' of https://github.com/septatrix/moodle
Sara Arjona [Thu, 6 May 2021 11:15:59 +0000 (13:15 +0200)]
Merge branch 'MDL-70110-master' of https://github.com/septatrix/moodle

2 months agoMerge branch 'MDL-71434' of git://github.com/paulholden/moodle
Víctor Déniz [Thu, 6 May 2021 10:11:40 +0000 (11:11 +0100)]
Merge branch 'MDL-71434' of git://github.com/paulholden/moodle

2 months agoMerge branch 'MDL-71390-master' of git://github.com/marinaglancy/moodle
Sara Arjona [Thu, 6 May 2021 06:01:47 +0000 (08:01 +0200)]
Merge branch 'MDL-71390-master' of git://github.com/marinaglancy/moodle

2 months agoMerge branch 'MDL-71518-master' of git://github.com/rezaies/moodle
Jun Pataleta [Thu, 6 May 2021 03:38:48 +0000 (11:38 +0800)]
Merge branch 'MDL-71518-master' of git://github.com/rezaies/moodle

2 months agoMDL-71518 behat: Remove %P and AM/PM
Shamim Rezaie [Thu, 6 May 2021 02:31:42 +0000 (12:31 +1000)]
MDL-71518 behat: Remove %P and AM/PM

The %P modifier is not supported in the macOS (MDL-71549)

2 months agoMerge branch 'MDL-70786-master' of git://github.com/lucaboesch/moodle
Adrian Greeve [Thu, 6 May 2021 02:06:02 +0000 (10:06 +0800)]
Merge branch 'MDL-70786-master' of git://github.com/lucaboesch/moodle

2 months agoMerge branch 'MDL-69863' of https://github.com/stronk7/moodle
Jun Pataleta [Thu, 6 May 2021 02:02:04 +0000 (10:02 +0800)]
Merge branch 'MDL-69863' of https://github.com/stronk7/moodle

2 months agoMerge branch 'MDL-27193_glossaryDB' of https://github.com/andyjdavis/moodle
Jake Dallimore [Thu, 6 May 2021 01:49:14 +0000 (09:49 +0800)]
Merge branch 'MDL-27193_glossaryDB' of https://github.com/andyjdavis/moodle

2 months agoMerge branch 'MDL-71492-master' of git://github.com/jleyva/moodle
Jake Dallimore [Thu, 6 May 2021 01:15:47 +0000 (09:15 +0800)]
Merge branch 'MDL-71492-master' of git://github.com/jleyva/moodle

2 months agoMDL-69863 database: Fix oracle and sqlsrv problems
Eloy Lafuente (stronk7) [Wed, 5 May 2021 22:03:03 +0000 (00:03 +0200)]
MDL-69863 database: Fix oracle and sqlsrv problems

1) The GROUP BY statement must include all fields in the SELECT
   not being aggregated or constant cols.
2) There was a missing space causing problems to databases
   using named parameters.

2 months agoMDL-71513 mobile: Fix last access visibility
Juan Leyva [Wed, 5 May 2021 07:59:02 +0000 (09:59 +0200)]
MDL-71513 mobile: Fix last access visibility

2 months agoMDL-71420 environment: Lower sodium requirement to recommended
Eloy Lafuente (stronk7) [Sat, 24 Apr 2021 19:38:54 +0000 (21:38 +0200)]
MDL-71420 environment: Lower sodium requirement to recommended

2 months agoMerge branch 'MDL-71539_master_PHP8optionalparams' of https://github.com/brickfield...
Eloy Lafuente (stronk7) [Wed, 5 May 2021 18:00:17 +0000 (20:00 +0200)]
Merge branch 'MDL-71539_master_PHP8optionalparams' of https://github.com/brickfield/moodle

2 months agoMerge branch 'MDL-71532_master_illegalwhitespace' of https://github.com/brickfield...
Sara Arjona [Wed, 5 May 2021 17:05:42 +0000 (19:05 +0200)]
Merge branch 'MDL-71532_master_illegalwhitespace' of https://github.com/brickfield/moodle

2 months agoMDL-71539 tool_brickfield: PHP8 optional param error fixed.
Mike Churchward [Wed, 5 May 2021 15:28:09 +0000 (11:28 -0400)]
MDL-71539 tool_brickfield: PHP8 optional param error fixed.

2 months agoMDL-71532 tool_brickfield: Removing tabs and unneeded files.
Mike Churchward [Wed, 5 May 2021 15:34:35 +0000 (11:34 -0400)]
MDL-71532 tool_brickfield: Removing tabs and unneeded files.

2 months agoMDL-27193 mod_glossary: reducing system setting db queries
Andrew Davis [Thu, 15 Apr 2021 13:02:43 +0000 (21:02 +0800)]
MDL-27193 mod_glossary: reducing system setting db queries

2 months agoMDL-71492 mod_quiz: Include missing gradepass in WebService
Juan Leyva [Mon, 3 May 2021 19:17:10 +0000 (21:17 +0200)]
MDL-71492 mod_quiz: Include missing gradepass in WebService

2 months agoMerge branch 'MDL-71517' of https://github.com/paulholden/moodle
Sara Arjona [Wed, 5 May 2021 10:17:31 +0000 (12:17 +0200)]
Merge branch 'MDL-71517' of https://github.com/paulholden/moodle

2 months agoMerge branch 'MDL-71187-master' of git://github.com/lucaboesch/moodle
Sara Arjona [Wed, 5 May 2021 10:13:59 +0000 (12:13 +0200)]
Merge branch 'MDL-71187-master' of git://github.com/lucaboesch/moodle

2 months agoMerge branch 'MDL-71460-master' of git://github.com/peterRd/moodle
Víctor Déniz [Wed, 5 May 2021 09:16:44 +0000 (10:16 +0100)]
Merge branch 'MDL-71460-master' of git://github.com/peterRd/moodle

2 months agoMDL-71187 quizaccess_seb: Change "Launch Safe Exam Browser" to a href.
Luca Bösch [Tue, 4 May 2021 22:18:22 +0000 (00:18 +0200)]
MDL-71187 quizaccess_seb: Change "Launch Safe Exam Browser" to a href.

In order to allow for correct seb:// or sebs:// calls without browser
warnings of insecure links, it is not possible to send a get request
with an attached cmid parameter to the unknown seb:// or sebs://
URL via a form button.
We've got to use a <a href> link outside a form to circumvent
browsers warning of an insecure link and call Safe Exam Browser
correctly.

2 months agoMDL-71390 core: raise max_input_vars requirement
Marina Glancy [Wed, 21 Apr 2021 09:49:57 +0000 (11:49 +0200)]
MDL-71390 core: raise max_input_vars requirement

2 months agoMDL-70786 report_loglive: respect fullname setting.
Luca Bösch [Sat, 6 Feb 2021 16:54:22 +0000 (17:54 +0100)]
MDL-70786 report_loglive: respect fullname setting.

2 months agoMDL-70181 database: Quote database object names
Leon Stringer [Thu, 12 Nov 2020 14:44:11 +0000 (14:44 +0000)]
MDL-70181 database: Quote database object names

Table names and database name now enclosed in backticks.
admin/cli/mysql_collation.php failed if $CFG->prefix was blank with
MySQL 8.0 because table 'groups' conflicted with a new reserved word.

Note that this quotes both mysql_collation.php and mysql_compressed_rows.php
but only the former was mal-functioning.

The case of mysql_compressed_rows.php is a little bit special because
not all tables are processed, only those having big rows. And the groups
table is not one of them. In any case, better add the quotes there for
any future case.

Also, when testing this patch https://tracker.moodle.org/browse/MDL-71512
was discovered and will need to be fixed to make core 100% compliant
with MySQL 8.0 and MariaDB 10.6 and up.

2 months agoMerge branch 'MDL-71518-master' of git://github.com/rezaies/moodle
Jun Pataleta [Wed, 5 May 2021 05:26:29 +0000 (13:26 +0800)]
Merge branch 'MDL-71518-master' of git://github.com/rezaies/moodle

2 months agoMDL-71518 core: Add weekday to activity dates
Shamim Rezaie [Tue, 4 May 2021 00:32:18 +0000 (10:32 +1000)]
MDL-71518 core: Add weekday to activity dates

2 months agoMDL-71460 hub: Use checkboxes instead of dropdowns
Peter Dias [Wed, 28 Apr 2021 02:04:07 +0000 (10:04 +0800)]
MDL-71460 hub: Use checkboxes instead of dropdowns

Change the yes/no dropdowns to a checkbox. Defaults to unchecked.

2 months agoMerge branch 'MDL-71530' of https://github.com/paulholden/moodle
Adrian Greeve [Wed, 5 May 2021 01:29:29 +0000 (09:29 +0800)]
Merge branch 'MDL-71530' of https://github.com/paulholden/moodle

2 months agoMerge branch 'MDL-70864-master-zip_packer_windows' of git://github.com/mudrd8mz/moodle
Víctor Déniz [Tue, 4 May 2021 23:01:28 +0000 (00:01 +0100)]
Merge branch 'MDL-70864-master-zip_packer_windows' of git://github.com/mudrd8mz/moodle

2 months agoMerge branch 'MDL-71425-master-enfix' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Tue, 4 May 2021 21:39:32 +0000 (23:39 +0200)]
Merge branch 'MDL-71425-master-enfix' of git://github.com/mudrd8mz/moodle

2 months agoMerge branch 'MDL-71397-master' of git://github.com/marinaglancy/moodle
Eloy Lafuente (stronk7) [Tue, 4 May 2021 21:37:33 +0000 (23:37 +0200)]
Merge branch 'MDL-71397-master' of git://github.com/marinaglancy/moodle

2 months agoMDL-69863 tool_brickfield: Final version adjustments to current
Eloy Lafuente (stronk7) [Tue, 4 May 2021 17:50:24 +0000 (19:50 +0200)]
MDL-69863 tool_brickfield: Final version adjustments to current

In master, fixed to 2021052500

2 months agoMDL-69863 block_accessreview: Better error display.
Mike Churchward [Fri, 30 Apr 2021 14:54:06 +0000 (10:54 -0400)]
MDL-69863 block_accessreview: Better error display.

2 months agoMDL-69863 tool_brickfield: Better instance name displayed in error list.
Mike Churchward [Fri, 30 Apr 2021 14:10:07 +0000 (10:10 -0400)]
MDL-69863 tool_brickfield: Better instance name displayed in error list.

2 months agoMDL-69863 tool_brickfield: Add 'periodically' to data message.
Mike Churchward [Thu, 29 Apr 2021 18:23:44 +0000 (14:23 -0400)]
MDL-69863 tool_brickfield: Add 'periodically' to data message.

2 months agoMDL-69863 tool_brickfield: Change public to private.
Mike Churchward [Thu, 29 Apr 2021 16:09:38 +0000 (12:09 -0400)]
MDL-69863 tool_brickfield: Change public to private.