Paul Holden [Tue, 16 Jun 2020 21:38:46 +0000 (22:38 +0100)]
MDL-63387 user: show both role names on course participants page.
Paul Holden [Tue, 1 Sep 2020 10:34:40 +0000 (11:34 +0100)]
MDL-63387 enrol_cohort: show both roles names in instance config form.
Paul Holden [Fri, 16 Aug 2019 15:43:50 +0000 (16:43 +0100)]
MDL-63387 enrol_manual: show both role names in enrol users dialog.
Paul Holden [Wed, 27 Mar 2019 16:03:00 +0000 (16:03 +0000)]
MDL-63387 access: add parameter to define how role names are returned.
Sara Arjona [Thu, 27 Aug 2020 15:36:21 +0000 (17:36 +0200)]
weekly release 3.10dev
Andrew Nicols [Thu, 27 Aug 2020 04:48:33 +0000 (12:48 +0800)]
Merge branch 'MOODLE_310_MDL-67211_v6' of https://github.com/golenkovm/moodle into MOODLE_310_STABLE
Mihail Geshoski [Mon, 24 Aug 2020 01:28:44 +0000 (09:28 +0800)]
MDL-69458 report_insights: Respect perpage value in pagination bar
Adrian Greeve [Thu, 27 Aug 2020 03:40:11 +0000 (11:40 +0800)]
Merge branch 'MDL-69479-310' of git://github.com/mihailges/moodle into MOODLE_310_STABLE
Andrew Nicols [Thu, 27 Aug 2020 03:30:53 +0000 (11:30 +0800)]
Merge branch 'MDL-69501-310-enfix' of git://github.com/mudrd8mz/moodle into MOODLE_310_STABLE
eWallah [Fri, 21 Aug 2020 09:43:24 +0000 (11:43 +0200)]
MDL-67413 competencies: do nothing upon activity completion
Mikhail Golenkov [Thu, 27 Aug 2020 03:02:36 +0000 (13:02 +1000)]
MDL-67211 phpunit: Do not test the order of the running adhoc tasks.
Mikhail Golenkov [Tue, 11 Aug 2020 11:01:44 +0000 (21:01 +1000)]
MDL-69358 backup: Do not clean up records for incomplete adhoc tasks.
Co-authored-by: Heena Agheda <heenaagheda@catalyst-au.net>
Andrew Nicols [Thu, 27 Aug 2020 02:23:25 +0000 (10:23 +0800)]
Merge branch 'MDL-66810-310' of git://github.com/peterRd/moodle into MOODLE_310_STABLE
Justin Hunt [Tue, 1 Oct 2019 06:40:04 +0000 (15:40 +0900)]
MDL-66810 mod_lti: Reinstate deprecated default permissions on iframe
microphone, webcam, camera, midi, encrypted-media, geolocation
Andrew Nicols [Thu, 27 Aug 2020 01:44:24 +0000 (09:44 +0800)]
MDL-66222 report_antivirus: Correct version number
Andrew Nicols [Thu, 27 Aug 2020 01:36:33 +0000 (09:36 +0800)]
Merge branch 'MDL-66222-antivirus-reporting' of https://github.com/Peterburnett/moodle into MOODLE_310_STABLE
Adrian Greeve [Thu, 27 Aug 2020 00:08:07 +0000 (08:08 +0800)]
Merge branch 'MDL-69419-310' of git://github.com/andrewnicols/moodle into MOODLE_310_STABLE
Sara Arjona [Wed, 26 Aug 2020 16:02:55 +0000 (18:02 +0200)]
Merge branch 'MDL-69389-310' of git://github.com/junpataleta/moodle into MOODLE_310_STABLE
Bas Brands [Mon, 3 Aug 2020 09:33:53 +0000 (11:33 +0200)]
MDL-69114 theme_boost: improve the color contrast for .*-info classes
Andrew Nicols [Wed, 26 Aug 2020 07:03:01 +0000 (15:03 +0800)]
Merge branch 'MOODLE_310_MDL-69307_v4' of https://github.com/golenkovm/moodle into MOODLE_310_STABLE
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, 19 Aug 2020 02:25:17 +0000 (10:25 +0800)]
MDL-69419 core: Task reset tests cannot use random test times
If a scheduled task which uses a 'R' field is picked, then the reset of
updated task times will not necessarily be correctly determined as the
randomisation is picked during reset.
This can lead to some random test failures.
Actively specifying a test which does not make use of the 'R' random
field time addresses this issue.
Andrew Nicols [Wed, 26 Aug 2020 01:41:07 +0000 (09:41 +0800)]
Merge branch 'MOODLE_310_MDL-67211_v6' of https://github.com/golenkovm/moodle into MOODLE_310_STABLE
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 [Thu, 13 Aug 2020 08:25:50 +0000 (18:25 +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
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 [Tue, 25 Aug 2020 01:43:31 +0000 (09:43 +0800)]
Merge branch 'MDL-68921-310' of git://github.com/vmdef/moodle into MOODLE_310_STABLE
Victor Deniz Falcon [Thu, 6 Aug 2020 11:17:12 +0000 (12:17 +0100)]
MDL-68921 core_h5p: Add H5P libraries metadata settings
An upgrade step updates installed H5P libraries
Helen Foster [Fri, 21 Aug 2020 12:12:57 +0000 (14:12 +0200)]
MDL-69501 lang: Import fixed English strings (en_fix)
Mihail Geshoski [Mon, 24 Aug 2020 06:03:52 +0000 (14:03 +0800)]
MDL-69479 core: Change 4.0 to 3.10 in theme/upgrade.txt
Eloy Lafuente (stronk7) [Thu, 20 Aug 2020 23:19:03 +0000 (01:19 +0200)]
MDL-69479 upgrade: Change all 4.0 occurrences to 3.10
Under parallel development, when something is worth being commented
in upgrade.txt notes, it will be applied to all the development branches
using the "earliest" one to be released. So, if something changes
in 3.10 (and also is applied to master), the upgrade.txt notes will
show 3.10 in both branches.
Of course, if something only goes to one dev branch (say master), then the
master version will be used in the notes (4.0 in this case).
Paul Holden [Mon, 17 Aug 2020 20:14:57 +0000 (21:14 +0100)]
MDL-69493 cohort: remove escaping of return URL params.
Eloy Lafuente (stronk7) [Fri, 21 Aug 2020 18:42:59 +0000 (20:42 +0200)]
weekly release 3.10dev
Adrian Greeve [Fri, 21 Aug 2020 06:41:09 +0000 (14:41 +0800)]
MDL-68683 competencies: Update previous bad bump update.
I made a mistake with the previous version bump and updated the
line below what I should have changed. This fixes it to the
intended version numbers.
Jun Pataleta [Fri, 21 Aug 2020 03:32:21 +0000 (11:32 +0800)]
Merge branch 'MDL-66818-310' of git://github.com/andrewnicols/moodle into MOODLE_310_STABLE
Peter Burnett [Wed, 27 May 2020 00:57:33 +0000 (10:57 +1000)]
MDL-66222 antivirus: Improved error email capture
Nathan Nguyen [Sun, 15 Mar 2020 09:09:48 +0000 (20:09 +1100)]
MDL-66222 antivirus: Added antivirus failure reporting
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
Sara Arjona [Tue, 11 Aug 2020 10:36:58 +0000 (12:36 +0200)]
MDL-69055 core_badges: display password/oauth fields properly
Peter Burnett [Mon, 17 Aug 2020 06:08:43 +0000 (16:08 +1000)]
MDL-69486 webservices: Added user and grade idnumber to grade items
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.
Ferran Recio [Wed, 29 Jul 2020 09:27:41 +0000 (11:27 +0200)]
MDL-68964 mod_chat: fix theme param
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.
Adrian Greeve [Thu, 20 Aug 2020 03:01:31 +0000 (11:01 +0800)]
MDL-68683 competencies: Fix bad version bump.
Simey Lameze [Thu, 20 Aug 2020 00:54:05 +0000 (08:54 +0800)]
MDL-68683 competencies: fix query to delete stale files
Paul Holden [Tue, 11 Aug 2020 22:33:20 +0000 (23:33 +0100)]
MDL-69449 block_timeline: use dayslimit context data in template.
Ensures the correct value is used when initially rendering the
course timeline.
Bas Brands [Tue, 2 Jun 2020 13:51:44 +0000 (15:51 +0200)]
MDL-68889 block_recentlyaccessedcourses: small viewport issues
- on small devices the recentlyaccessedcourses does not show any courses
Peter Burnett [Tue, 7 Jul 2020 05:17:08 +0000 (15:17 +1000)]
MDL-69170 task: Added timecreated field to adhoc task table
Sara Arjona [Thu, 13 Aug 2020 17:04:51 +0000 (19:04 +0200)]
MDL-68975 contentbank: add author field to file details view
Eloy Lafuente (stronk7) [Wed, 12 Aug 2020 23:22:44 +0000 (01:22 +0200)]
MDL-67415 environment: change requirements
- mysql requirement up to 5.7
- postgres requirement up to 9.6
Eloy Lafuente (stronk7) [Wed, 12 Aug 2020 23:20:41 +0000 (01:20 +0200)]
MDL-67415 environment: 3.10 base information
This is a direct copy of the 3.9 branch to have
changes under control easier for next commits.
Simey Lameze [Wed, 19 Aug 2020 23:43:18 +0000 (07:43 +0800)]
MDL-66818 mod_forum: remove unnecessary behat steps
gthomas2 [Wed, 5 Feb 2020 14:47:43 +0000 (14:47 +0000)]
MDL-66818 mod_forum: hide portfolio export button based on caps
Paul Holden [Tue, 28 Apr 2020 23:25:45 +0000 (00:25 +0100)]
MDL-66900 course: don't clean category description when editing.
Sara Arjona [Fri, 14 Aug 2020 06:53:49 +0000 (08:53 +0200)]
MDL-69473 contentbank: change incorrect ref to size in type column
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 [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...
Mihail Geshoski [Tue, 4 Aug 2020 01:50:25 +0000 (09:50 +0800)]
MDL-69401 book: Limit character length in chapter title
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.
Peter Dias [Thu, 23 Jul 2020 12:00:36 +0000 (20:00 +0800)]
MDL-66665 assign: Check whether a modified user could actually grade
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
Simey Lameze [Thu, 30 Jul 2020 10:15:29 +0000 (18:15 +0800)]
MDL-26401 group: add delimiter and encoding fields to import
Amaia Anabitarte [Mon, 20 Jul 2020 10:41:04 +0000 (12:41 +0200)]
MDL-69089 core_contentbank: Empty content names are not allowed
Adrian Greeve [Wed, 19 Aug 2020 02:42:51 +0000 (10:42 +0800)]
Merge branch 'MDL-69475_310' of https://github.com/stronk7/moodle into MOODLE_310_STABLE
Simey Lameze [Thu, 2 Apr 2020 02:27:04 +0000 (10:27 +0800)]
MDL-26401 group: change import to use csv_import_reader class
Andrew Nicols [Wed, 19 Aug 2020 00:39:15 +0000 (08:39 +0800)]
MDL-67735 theme_boost: Fix incorrect whitespace
Bas Brands [Mon, 27 Jan 2020 14:06:29 +0000 (15:06 +0100)]
MDL-67735 theme_boost: remove bs2 and bs4alpha compatibility css
Amaia Anabitarte [Mon, 20 Jul 2020 10:41:24 +0000 (12:41 +0200)]
MDL-69089 core_contentbank: Tests for empty content names
Leon Stringer [Mon, 3 Aug 2020 10:51:08 +0000 (11:51 +0100)]
MDL-65847 auth_db: user_update() handle errors
The external database authentication plugin (auth_db) can update the
external database if mapped fields are set to Update external: On
update. This change adds error handling in case this update fails.
Juan Leyva [Tue, 30 Jun 2020 11:59:15 +0000 (13:59 +0200)]
MDL-69095 tool_mobile: Display warning if not allowed to use qr login
Juan Leyva [Tue, 30 Jun 2020 11:56:51 +0000 (13:56 +0200)]
MDL-69095 tool_mobile: Avoid non-https sites using qrlogin by default
Matt Davidson [Fri, 24 Jul 2020 18:27:20 +0000 (14:27 -0400)]
MDL-63375 workshop: fix rubric grid view
Shamim Rezaie [Tue, 7 Jul 2020 00:04:54 +0000 (10:04 +1000)]
MDL-68444 calendar: Improve how screenreaders say week titles
Also removed the scope attribute from the mini-calendar table
because according to https://www.w3.org/TR/WCAG20-TECHS/H63.html
it was not needed:
Note 1: For simple tables that have the headers in the first row
or column then it is sufficient to simply use the TH elements without
scope.
Shamim Rezaie [Mon, 6 Jul 2020 23:12:43 +0000 (09:12 +1000)]
MDL-68444 calendar: Improve how screenreaders read day titles
Screenreaders now know if each day has any event or not
Mathew May [Fri, 7 Aug 2020 08:27:24 +0000 (16:27 +0800)]
MDL-68928 core_course: Select activity chooser footer
Victor Deniz Falcon [Tue, 18 Aug 2020 11:48:09 +0000 (12:48 +0100)]
Merge branch 'MDL-69477_310' of https://github.com/stronk7/moodle into MOODLE_310_STABLE
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).
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.
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.
Nadav Kavalerchik [Sat, 8 Aug 2020 17:46:34 +0000 (20:46 +0300)]
MDL-69414 qtype/ddimageortext: Fix dropzones display in RTL mode
Mihail Geshoski [Fri, 24 Jul 2020 08:16:04 +0000 (16:16 +0800)]
MDL-67943 core: Update timezone list in core_date
Adrian Greeve [Mon, 17 Aug 2020 01:49:54 +0000 (09:49 +0800)]
Merge branch 'MDL-69475_310' of https://github.com/stronk7/moodle into MOODLE_310_STABLE
Eloy Lafuente (stronk7) [Mon, 3 Aug 2020 10:21:37 +0000 (12:21 +0200)]
MDL-69475 install: Version, env. and minimal changes before branching
- Also bump travis to get builds against 310_STABLE.
- And backup release to match 3.10
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.
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