Sara Arjona [Wed, 26 Aug 2020 16:02:50 +0000 (18:02 +0200)]
Merge branch 'MDL-69389-master' of git://github.com/junpataleta/moodle into master
Sara Arjona [Wed, 26 Aug 2020 14:26:52 +0000 (16:26 +0200)]
Merge branch 'MDL-69114-master' of git://github.com/bmbrands/moodle into master
Andrew Nicols [Wed, 26 Aug 2020 06:48:36 +0000 (14:48 +0800)]
Merge branch 'master-MDL-69307_v4' of https://github.com/golenkovm/moodle
Mikhail Golenkov [Wed, 26 Aug 2020 04:35:21 +0000 (14:35 +1000)]
MDL-69307 restore: Add CLI script to restore a course.
Co-authored-by: Matt Porritt <mattp@catalyst-au.net>
Jun Pataleta [Tue, 11 Aug 2020 08:16:02 +0000 (16:16 +0800)]
MDL-69389 auth: Add wcag141 test for the login page accessibility test
Jun Pataleta [Mon, 10 Aug 2020 08:57:19 +0000 (16:57 +0800)]
MDL-69389 theme_classic: Make default body font colour darker
Links and normal text should have at least a colour contrast ratio
of 3:1. To achieve this, $body-color will be using the darker
shade of gray $gray-900 (#212529).
Jun Pataleta [Mon, 10 Aug 2020 08:48:22 +0000 (16:48 +0800)]
MDL-69389 theme_boost: Make default body font colour darker
Links and normal text should have at least a colour contrast ratio
of 3:1. To achieve this, $body-color will be using the darker
shade of gray $gray-900 (#212529).
Andrew Nicols [Wed, 26 Aug 2020 01:37:16 +0000 (09:37 +0800)]
Merge branch 'master-MDL-67211_v6' of https://github.com/golenkovm/moodle
Mikhail Golenkov [Tue, 25 Aug 2020 06:49:20 +0000 (16:49 +1000)]
MDL-67211 Tasks: Add cron_enabled setting.
Co-authored-by: Sam Marshall <s.marshall@open.ac.uk>
Mikhail Golenkov [Thu, 13 Aug 2020 07:44:13 +0000 (17:44 +1000)]
MDL-67211 Tasks: Front-end to display currently running tasks.
Co-authored-by: Sam Marshall <s.marshall@open.ac.uk>
Mikhail Golenkov [Tue, 25 Aug 2020 07:08:03 +0000 (17:08 +1000)]
MDL-67211 Tasks: Record when a task is running.
Co-authored-by: Sam Marshall <s.marshall@open.ac.uk>
Andrew Nicols [Tue, 25 Aug 2020 05:21:26 +0000 (13:21 +0800)]
MDL-69464 core_output: Whitespace fix
Andrew Nicols [Tue, 25 Aug 2020 04:39:48 +0000 (12:39 +0800)]
Merge branch 'MDL-69464' of https://github.com/marinaglancy/moodle
Adrian Greeve [Tue, 25 Aug 2020 02:39:28 +0000 (10:39 +0800)]
Merge branch 'MDL-68921-master' of git://github.com/vmdef/moodle
Victor Deniz Falcon [Mon, 24 Aug 2020 23:48:02 +0000 (00:48 +0100)]
MDL-68921 core_h5p: Add H5P libraries metadata settings
Eloy Lafuente (stronk7) [Sat, 22 Aug 2020 15:04:33 +0000 (17:04 +0200)]
Merge branch 'MDL-69493' of https://github.com/paulholden/moodle into master
Eloy Lafuente (stronk7) [Fri, 21 Aug 2020 18:42:56 +0000 (20:42 +0200)]
weekly release 4.0dev
Andrew Nicols [Fri, 21 Aug 2020 00:09:11 +0000 (08:09 +0800)]
MDL-66818 mod_forum: Use cap manager to check exportability
Andrew Nicols [Thu, 20 Aug 2020 23:38:06 +0000 (07:38 +0800)]
MDL-42434 chat: Disable stylelint important check
Sara Arjona [Thu, 20 Aug 2020 20:58:21 +0000 (22:58 +0200)]
MDL-42434 mod_chat: styles for chat themes to view help-icon properly
The styles for the bubble and the compact themes have been reviewed
because there weren't enough contrast for the help icon.
Sara Arjona [Thu, 20 Aug 2020 12:23:20 +0000 (14:23 +0200)]
MDL-42434 mod_chat: display the whole help text
When testing this issue was raised that the help text was cut-off.
This patch should fix this issue changing the placement from
right/left to top.
Andrew Nicols [Tue, 4 Aug 2020 03:21:03 +0000 (11:21 +0800)]
MDL-68705 testing: New CLI args to disable composer features
This commit introduces the following new flags:
--no-composer-self-update Disable composer self-update of the
composer.phar utility
--no-composer-upgrade Disable upgrade of development
dependencies using Composer.
--disable-composer Disable both composer self-update and
composer upgrade
Andrew Nicols [Tue, 4 Aug 2020 03:20:33 +0000 (11:20 +0800)]
MDL-68705 testing: Allow composer updates to be disabled
Marina Glancy [Thu, 13 Aug 2020 10:23:33 +0000 (12:23 +0200)]
MDL-69464 core_output: allow to avoid formatting in page->set_heading
Adrian Greeve [Thu, 20 Aug 2020 04:00:51 +0000 (12:00 +0800)]
Merge branch 'MDL-69055-master' of git://github.com/sarjona/moodle
Andrew Nicols [Thu, 20 Aug 2020 03:59:08 +0000 (11:59 +0800)]
Merge branch 'MDL-69486-grade-idnumber' of https://github.com/Peterburnett/moodle
Andrew Nicols [Thu, 20 Aug 2020 03:50:28 +0000 (11:50 +0800)]
Merge branch 'MDL-69375' of https://github.com/Cvmcosta/moodle
Adrian Greeve [Thu, 20 Aug 2020 03:37:32 +0000 (11:37 +0800)]
Merge branch 'MDL-68964-master' of git://github.com/ferranrecio/moodle
Adrian Greeve [Thu, 20 Aug 2020 03:21:53 +0000 (11:21 +0800)]
Merge branch 'MDL-42434-master' of git://github.com/sarjona/moodle
Adrian Greeve [Thu, 20 Aug 2020 01:54:48 +0000 (09:54 +0800)]
Merge branch 'MDL-68683-master-fix' of git://github.com/lameze/moodle
Andrew Nicols [Thu, 20 Aug 2020 01:23:39 +0000 (09:23 +0800)]
Merge branch 'MDL-69449' of https://github.com/paulholden/moodle
Andrew Nicols [Thu, 20 Aug 2020 01:12:43 +0000 (09:12 +0800)]
Merge branch 'MDL-68889-master' of git://github.com/bmbrands/moodle
Simey Lameze [Thu, 20 Aug 2020 00:54:05 +0000 (08:54 +0800)]
MDL-68683 competencies: fix query to delete stale files
Andrew Nicols [Thu, 20 Aug 2020 00:45:27 +0000 (08:45 +0800)]
Merge branch 'MDL-69170-adhoc-task-timestamp' of https://github.com/Peterburnett/moodle
Andrew Nicols [Thu, 20 Aug 2020 00:40:37 +0000 (08:40 +0800)]
Merge branch 'MDL-68975-master' of git://github.com/sarjona/moodle
Andrew Nicols [Thu, 20 Aug 2020 00:21:45 +0000 (08:21 +0800)]
Merge branch 'MDL-67415' of https://github.com/stronk7/moodle
Andrew Nicols [Thu, 20 Aug 2020 00:16:07 +0000 (08:16 +0800)]
Merge branch 'MDL-66818-master' of git://github.com/lameze/moodle
Simey Lameze [Wed, 19 Aug 2020 23:43:18 +0000 (07:43 +0800)]
MDL-66818 mod_forum: remove unnecessary behat steps
Andrew Nicols [Wed, 19 Aug 2020 23:51:30 +0000 (07:51 +0800)]
Merge branch 'MDL-66900' of https://github.com/paulholden/moodle
gthomas2 [Wed, 5 Feb 2020 14:47:43 +0000 (14:47 +0000)]
MDL-66818 mod_forum: hide portfolio export button based on caps
Andrew Nicols [Wed, 19 Aug 2020 23:39:22 +0000 (07:39 +0800)]
Merge branch 'MDL-69473-master' of git://github.com/sarjona/moodle
Andrew Nicols [Wed, 19 Aug 2020 23:34:18 +0000 (07:34 +0800)]
Merge branch 'MDL-69271' of https://github.com/stronk7/moodle
Andrew Nicols [Wed, 19 Aug 2020 23:28:19 +0000 (07:28 +0800)]
Merge branch 'MDL-69054-master' of git://github.com/sarjona/moodle
Andrew Nicols [Wed, 19 Aug 2020 23:14:15 +0000 (07:14 +0800)]
Merge branch 'MDL-61215-master' of git://github.com/sarjona/moodle
Andrew Nicols [Wed, 19 Aug 2020 23:00:55 +0000 (07:00 +0800)]
Merge branch 'MDL-69401-master' of git://github.com/mihailges/moodle
Victor Deniz Falcon [Wed, 19 Aug 2020 22:28:34 +0000 (23:28 +0100)]
Merge branch 'MDL-69297-master' of git://github.com/peterRd/moodle
Adrian Greeve [Wed, 19 Aug 2020 06:26:50 +0000 (14:26 +0800)]
Merge branch 'MDL-66665-master-POC2' of git://github.com/peterRd/moodle
Peter Dias [Thu, 23 Jul 2020 12:00:36 +0000 (20:00 +0800)]
MDL-66665 assign: Check whether a modified user could actually grade
Adrian Greeve [Wed, 19 Aug 2020 04:51:23 +0000 (12:51 +0800)]
Merge branch 'MDL-68683-master' of git://github.com/lameze/moodle
Peter Dias [Mon, 20 Jul 2020 02:07:31 +0000 (10:07 +0800)]
MDL-69297 assign: Check whether there is content for a submission
Confirm there is some content to be submitted for an assignment when processing it.
Adrian Greeve [Wed, 19 Aug 2020 02:37:51 +0000 (10:37 +0800)]
Merge branch 'MDL-69475' of https://github.com/stronk7/moodle
Andrew Nicols [Wed, 19 Aug 2020 00:50:37 +0000 (08:50 +0800)]
Merge branch 'MDL-26401-master' of git://github.com/lameze/moodle
Andrew Nicols [Wed, 19 Aug 2020 00:39:15 +0000 (08:39 +0800)]
MDL-67735 theme_boost: Fix incorrect whitespace
Andrew Nicols [Wed, 19 Aug 2020 00:28:49 +0000 (08:28 +0800)]
Merge branch 'MDL-67735-master' of git://github.com/bmbrands/moodle
Andrew Nicols [Wed, 19 Aug 2020 00:18:16 +0000 (08:18 +0800)]
Merge branch 'MDL-69089-master' of git://github.com/aanabit/moodle
Eloy Lafuente (stronk7) [Tue, 18 Aug 2020 22:35:18 +0000 (00:35 +0200)]
Merge branch 'MDL-65847-auth_db_error_handling' of git://github.com/leonstr/moodle into master
Eloy Lafuente (stronk7) [Tue, 18 Aug 2020 22:19:43 +0000 (00:19 +0200)]
Merge branch 'MDL-69095-master' of git://github.com/jleyva/moodle into master
Eloy Lafuente (stronk7) [Tue, 18 Aug 2020 22:13:02 +0000 (00:13 +0200)]
Merge branch 'MDL-63375-master' of https://github.com/syxton/moodle into master
Eloy Lafuente (stronk7) [Tue, 18 Aug 2020 17:12:59 +0000 (19:12 +0200)]
Merge branch 'MDL-68444-master' of git://github.com/rezaies/moodle into master
Eloy Lafuente (stronk7) [Tue, 18 Aug 2020 17:01:52 +0000 (19:01 +0200)]
Merge branch 'MDL-68928' of https://github.com/Chocolate-lightning/moodle into master
Victor Deniz Falcon [Tue, 18 Aug 2020 12:03:40 +0000 (13:03 +0100)]
Merge branch 'MDL-69477' of https://github.com/stronk7/moodle
Eloy Lafuente (stronk7) [Tue, 18 Aug 2020 10:22:59 +0000 (12:22 +0200)]
MDL-69475 backup: Proper handling of backup::RELEASE versions
1) Remove any floatval() casting. They are breaking / killing
.10 versions (converting them to .1). Since Moodle 2.0 all the
backup::RELEASE have been 100% numerical values.
2) Use version_compare() always to compare backup::RELEASE values.
They are always versions and the function is aware of versions
> .9, able to clean/ignore alpha chars... and everything else.
Note that I've also changed a couple of cases in formats (topics and
weeks) that were correct, but just added the same comment and used
the same version_compare() comparison parameters style, so all uses
in core are consistent (and safe to be copied out there).
Eloy Lafuente (stronk7) [Tue, 18 Aug 2020 08:58:26 +0000 (10:58 +0200)]
Merge branch 'MDL-69273-master-2' of git://github.com/andrewnicols/moodle into master
Simey Lameze [Fri, 22 May 2020 08:20:53 +0000 (16:20 +0800)]
MDL-68683 competencies: step to delete orphaned evidence files
Simey Lameze [Thu, 14 May 2020 05:02:29 +0000 (13:02 +0800)]
MDL-68683 core: fix DML exception on upgrade step
Andrew Nicols [Mon, 17 Aug 2020 23:47:59 +0000 (07:47 +0800)]
MDL-69273 travis: Use exttests for https too
Andrew Nicols [Tue, 14 Jul 2020 23:36:02 +0000 (07:36 +0800)]
MDL-69273 travis: Move exttests check to after_script
The result of the final command `script` phase determines the build
result.
The cleanup belongs in the `after_script` phase.
Andrew Nicols [Mon, 17 Aug 2020 04:58:13 +0000 (12:58 +0800)]
Merge branch 'MDL-69414' of https://github.com/nadavkav/moodle
Andrew Nicols [Mon, 17 Aug 2020 02:35:08 +0000 (10:35 +0800)]
Merge branch 'MDL-67943-master-1' of git://github.com/mihailges/moodle
Adrian Greeve [Mon, 17 Aug 2020 01:52:12 +0000 (09:52 +0800)]
Merge branch 'MDL-69475' of https://github.com/stronk7/moodle
Eloy Lafuente (stronk7) [Sun, 16 Aug 2020 19:08:54 +0000 (21:08 +0200)]
MDL-69475 versions: main version bump
Eloy Lafuente (stronk7) [Sun, 16 Aug 2020 18:51:40 +0000 (20:51 +0200)]
MDL-69475 versions: bump all versions and requires in master
version =
2021052500 release version
requires=
2021052500 same than version
Why
20210525? (25th May 2021) ?
Because master is going to be Moodle 4.0, to be released
on November 2021. And, until then, we are going to have
a couple of "intermediate" releases:
- Moodle 3.10 to be released 9th November 2020. (
2020110900)
This version will be using versions from today to
2020110900
(once it's released the YYYYMMDD part stops advancing).
- Moodle 3.11 to be released 10th May 2021. (
2021051000)
This version will be using versions from 3.10 release to
2021051000
(once it's released the YYYYMMDD part stops advancing).
That means that all versions from today to
2021051000 are going
to be used by those 2 "intermediate" releases (3.10 and 3.11).
And we cannot use them in master, because it's forbidden to have
any overlapping of versions between branches (or different upgrade
paths will fail).
So, get that
2021051000, let's add it a couple of weeks to cover
the on-sync period (or a 2 weeks delay max!) and, the first version
that master can "own" in exclusive (without any overlap) is, exactly,
25th May 2021, hence our
20210525.
Paul Holden [Mon, 17 Aug 2020 20:14:57 +0000 (21:14 +0100)]
MDL-69493 cohort: remove escaping of return URL params.
Amaia Anabitarte [Mon, 20 Jul 2020 10:41:24 +0000 (12:41 +0200)]
MDL-69089 core_contentbank: Tests for empty content names
Amaia Anabitarte [Mon, 20 Jul 2020 10:41:04 +0000 (12:41 +0200)]
MDL-69089 core_contentbank: Empty content names are not allowed
Bas Brands [Mon, 27 Jan 2020 14:06:29 +0000 (15:06 +0100)]
MDL-67735 theme_boost: remove bs2 and bs4alpha compatibility css
Peter Burnett [Mon, 17 Aug 2020 06:08:43 +0000 (16:08 +1000)]
MDL-69486 webservices: Added user and grade idnumber to grade items
Mihail Geshoski [Fri, 24 Jul 2020 08:16:04 +0000 (16:16 +0800)]
MDL-67943 core: Update timezone list in core_date
Mihail Geshoski [Tue, 4 Aug 2020 01:50:25 +0000 (09:50 +0800)]
MDL-69401 book: Limit character length in chapter title
Eloy Lafuente (stronk7) [Sun, 16 Aug 2020 19:08:54 +0000 (21:08 +0200)]
MDL-69475 versions: main version bump
Eloy Lafuente (stronk7) [Sun, 16 Aug 2020 18:51:40 +0000 (20:51 +0200)]
MDL-69475 versions: bump all versions and requires in master
version =
2021052500 release version
requires=
2021052500 same than version
Why
20210525? (25th May 2021) ?
Because master is going to be Moodle 4.0, to be released
on November 2021. And, until then, we are going to have
a couple of "intermediate" releases:
- Moodle 3.10 to be released 9th November 2020. (
2020110900)
This version will be using versions from today to
2020110900
(once it's released the YYYYMMDD part stops advancing).
- Moodle 3.11 to be released 10th May 2021. (
2021051000)
This version will be using versions from 3.10 release to
2021051000
(once it's released the YYYYMMDD part stops advancing).
That means that all versions from today to
2021051000 are going
to be used by those 2 "intermediate" releases (3.10 and 3.11).
And we cannot use them in mater, because it's forbidden to have
any overlapping of versions between branches (or different upgrade
paths will fail).
So, get that
2021051000, let's add it a couple of weeks to cover
the on-sync period (or a 2 weeks delay max!) and, the first version
that master can "own" in exclusive (without any overlap) is, exactly,
25th May 2021, hence our
20210525.
Eloy Lafuente (stronk7) [Mon, 3 Aug 2020 10:21:37 +0000 (12:21 +0200)]
MDL-69475 install: Version, env. and minimal changes before branching
Note this doesn't aim to be a complete change-set, but just the
minimum to switch to 3-digit $branches and keep installation, checks
and tests running and passing.
carlos [Thu, 30 Jul 2020 14:16:48 +0000 (11:16 -0300)]
MDL-69375 mod_lti: Fix Names and Roles Link header format
- Changed line 469 of memberships.php to build Link header according to the Web Linking specification RFC8288.
Eloy Lafuente (stronk7) [Fri, 14 Aug 2020 15:48:57 +0000 (17:48 +0200)]
MDL-69477 install: Ensure CFG variables are set before using them
On installation (or also phpunit/behat unit) some CFG variables
were being used (on setting validation) before being set.
So this commit just verifies they are set before using them. Note that,
strictly speaking, only one of them ($CFG->searchenginequeryonly)
required the extra check, but I think it's better to apply it to all
them, as a reference and in case validations are run in any other order.
Sara Arjona [Wed, 12 Aug 2020 10:54:00 +0000 (12:54 +0200)]
MDL-42434 mod_chat: add again the usingchat help icon
In Moodle 2.4 the help icon displayed in the chat window was
removed. It has been added to gui_ajax and gui_basic in order to help users.
Sara Arjona [Tue, 11 Aug 2020 10:36:58 +0000 (12:36 +0200)]
MDL-69055 core_badges: display password/oauth fields properly
Sara Arjona [Tue, 11 Aug 2020 06:56:08 +0000 (08:56 +0200)]
MDL-69054 core_badges: allow editing OBv1.0 backpacks
Sara Arjona [Tue, 11 Aug 2020 12:50:06 +0000 (14:50 +0200)]
MDL-61215 core_user: use the new optimised_image filetype group
For the user profile picture (instead of the web_image which includes
SVG files).
Sara Arjona [Tue, 11 Aug 2020 12:38:37 +0000 (14:38 +0200)]
MDL-61215 core_badges: use the new optimised_image filetype group
For the badge picture (instead of the web_image which includes
SVG files).
Sara Arjona [Tue, 11 Aug 2020 10:59:59 +0000 (12:59 +0200)]
MDL-61215 core_files: add new optimised_image group
Currently, PHP getimagesize method doesn't support SVG images.
As some features, such as badges, processs and optimise the images
before using them, a new filetype group has been created to exclude
SVG from there: optimised_image.
SVG can't be removed from web_image because then users won't be
able to add SVG images to their courses using labels, pages...
Eloy Lafuente (stronk7) [Sat, 25 Jul 2020 18:29:02 +0000 (20:29 +0200)]
MDL-69271 auth_ldap: Don't assume any ordering, just verify matches
Both ldap or the DB can return information in a non-consistent
ordering leading to events to be generated in different order.
And current tests are, right now, assuming a given order.
Note this is a rare random, but it's happening, so better
fix it, see the issue for some more details.
So we just do the tests ordering immune, verifying that all the
expected events have been triggered and done. Irrespectively of their order.
Sara Arjona [Fri, 14 Aug 2020 06:53:49 +0000 (08:53 +0200)]
MDL-69473 contentbank: change incorrect ref to size in type column
Andrew Nicols [Fri, 14 Aug 2020 06:42:18 +0000 (14:42 +0800)]
weekly release 4.0dev
Andrew Nicols [Fri, 14 Aug 2020 06:42:17 +0000 (14:42 +0800)]
NOBUG: Fixed SVG browser compatibility
Sara Arjona [Thu, 13 Aug 2020 17:04:51 +0000 (19:04 +0200)]
MDL-68975 contentbank: add author field to file details view
Andrew Nicols [Thu, 13 Aug 2020 07:20:03 +0000 (15:20 +0800)]
Merge branch 'MDL-68666-master' of git://github.com/bmbrands/moodle
Bas Brands [Thu, 14 May 2020 12:31:31 +0000 (14:31 +0200)]
MDL-68666 core_pix: add missing fallback icons
Andrew Nicols [Thu, 13 Aug 2020 03:50:09 +0000 (11:50 +0800)]
Merge branch 'MDL-69253' of https://github.com/timhunt/moodle
Andrew Nicols [Thu, 13 Aug 2020 03:44:13 +0000 (11:44 +0800)]
Merge branch 'MDL-60492-tagcloud_html' of https://github.com/leonstr/moodle
Andrew Nicols [Thu, 13 Aug 2020 03:28:09 +0000 (11:28 +0800)]
Merge branch 'MDL-69381' of https://github.com/marinaglancy/moodle