Paul Holden [Tue, 28 Mar 2023 14:55:22 +0000 (15:55 +0100)]
weekly release 4.0.7+
Jun Pataleta [Tue, 28 Mar 2023 10:48:31 +0000 (18:48 +0800)]
MDL-77105 core: Cast custom data to an array when evaluating filtericon
Since other modules may treat custom data as an object, we need to make
cast it to an array before evaluating for the `filtericon` custom data.
Meirza [Tue, 28 Mar 2023 02:42:07 +0000 (09:42 +0700)]
MDL-77630 mod_forum: correct typo in variable names
Juan Leyva [Thu, 16 Mar 2023 15:56:07 +0000 (16:56 +0100)]
MDL-73226 files: Add quota checks to core_user_add_user_private_files
Jun Pataleta [Mon, 13 Feb 2023 05:17:18 +0000 (13:17 +0800)]
MDL-77105 core: Add upgrade.txt notes
Jun Pataleta [Fri, 10 Feb 2023 14:34:45 +0000 (22:34 +0800)]
MDL-77105 mod_url: Declare filtericon custom data
* Set a custom data `filtericon` when the icon being rendered for the
URL resource is not equal to the default plugin icon.
Jun Pataleta [Fri, 10 Feb 2023 11:06:59 +0000 (19:06 +0800)]
MDL-77105 mod_lti: Add 'nofilter' class for custom tool icons
Add a '.nofilter' class when rendering custom tool icons in order
to render them as is and without CSS filter on the activity chooser.
Jun Pataleta [Fri, 10 Feb 2023 14:33:37 +0000 (22:33 +0800)]
MDL-77105 core_course: Add 'nofilter' class for non-monologo icons
When rendering content items, check whether the plugin has monologo
icons. If so, add a 'nofilter' class so the plugin icon can be
rendered as is and without the CSS filter.
Jun Pataleta [Fri, 10 Feb 2023 10:43:25 +0000 (18:43 +0800)]
MDL-77105 block_timeline: Add 'nofilter' class when necessary
Add the `.nofilter` class for activity icons when the icon URL's
`filtericon` parameter is not set, so they get rendered as they are on
the timeline block.
Jun Pataleta [Fri, 10 Feb 2023 10:42:47 +0000 (18:42 +0800)]
MDL-77105 block_recentlyaccesseditems: Add 'nofilter' class
Add the `.nofilter` class for activity icons when the icon URL's
`filtericon` parameter is not set, so they get rendered as they are on
the recently accessed items block.
Jun Pataleta [Fri, 10 Feb 2023 08:59:31 +0000 (16:59 +0800)]
MDL-77105 theme_boost: Add 'nofilter' class when necessary
Add the `.nofilter` class for activity icons when the icon URL's
`filtericon` parameter is not set, so they get rendered as they are on
the context header on the activity page.
Jun Pataleta [Fri, 10 Feb 2023 08:21:43 +0000 (16:21 +0800)]
MDL-77105 course_format: Add 'nofilter' class when necessary
Add the `.nofilter` class for activity icons when the icon URL's
`filtericon` parameter is not set, so they get rendered as they are on
the course homepage.
Jun Pataleta [Fri, 10 Feb 2023 08:19:54 +0000 (16:19 +0800)]
MDL-77105 core: Conditionally apply icon filter
* Apply the filter CSS property only to activity icons
that don't have the ".nofilter" class. This will allow
activities with non-SVG icons to be rendered as they are.
Jun Pataleta [Fri, 10 Feb 2023 08:17:34 +0000 (16:17 +0800)]
MDL-77105 core: Add a filtericon parameter to course mod icon URLs
* If a plugin defines a `filtericon` custom data or uses its monologo
version of the icon, a `filtericon` parameter is being added to the
icon's URL. This information can help plugins determine whether to
render the activity icon as is or with CSS filtering.
Jun Pataleta [Mon, 27 Mar 2023 02:30:26 +0000 (10:30 +0800)]
MDL-77105 core: Method to determine whether a plugin has monolog icons
AMOS bot [Sun, 26 Mar 2023 00:07:38 +0000 (00:07 +0000)]
Automatically generated installer lang files
Tim Hunt [Sat, 25 Mar 2023 15:38:04 +0000 (15:38 +0000)]
MDL-77729 qformat_missingword: fix form of help link
Sara Arjona [Fri, 24 Mar 2023 12:59:36 +0000 (13:59 +0100)]
weekly release 4.0.7+
Simey Lameze [Thu, 23 Mar 2023 01:44:46 +0000 (09:44 +0800)]
MDL-77561 behat: add step to accept dpa and enable bigbluebutton
The step i_enable_plugin cannot be used as bigbluebuttonbn_default_dpa_accepted
setting needs to be enable in order for the BigBlueButton plugin to be enabled.
Shamiso.Jaravaza [Fri, 10 Mar 2023 18:23:50 +0000 (11:23 -0700)]
MDL-76303 mod_bigbluebuttonbn: Fix userlimit
Stephan Robotta [Tue, 14 Mar 2023 15:17:20 +0000 (16:17 +0100)]
MDL-77392 calendar: calendar items are hidden because of settings
Ilya Tregubov [Wed, 22 Mar 2023 01:37:13 +0000 (09:37 +0800)]
weekly release 4.0.7+
Mikel Martín [Mon, 20 Mar 2023 12:54:47 +0000 (13:54 +0100)]
MDL-77691 behat: Add step to navigate to profile page directly
Simey Lameze [Wed, 8 Mar 2023 02:34:35 +0000 (10:34 +0800)]
MDL-77380 block_myoverview: improve show toggle functionality test
Meirza [Fri, 16 Dec 2022 13:52:11 +0000 (20:52 +0700)]
MDL-77669 dml: Added extrainfo in the DB options config.
extrainfo is an extra information for the DB driver, e.g. SQL Server,
has additional configuration according to its environment,
which the administrator can specify to alter and override any connection options.
Co-authored-by: LukeCarrier <luke@carrier.im>
This is a backport of MDL-64153.
Paul Holden [Mon, 20 Mar 2023 16:09:25 +0000 (16:09 +0000)]
MDL-77692 reportbuilder: format custom field condition/filter names.
Anupama Sarjoshi [Fri, 17 Mar 2023 17:20:27 +0000 (17:20 +0000)]
MDL-77659 core_reportbuilder: fix user profile fields phpunit tests
Mark Sharp [Fri, 7 Oct 2022 04:37:39 +0000 (15:37 +1100)]
MDL-72533 core_calendar: improve calendar event table peformance
- Filter searchable courses if set.
- Sites with large groups should now experience better performance.
- Applies and optimises query against a proper date range.
Co-authored-by: Mark Sharp <mark.sharp@solent.ac.uk>
Co-authored-by: Peter Sistrom <petersistrom@catalyst-au.net>
Co-authored-by: Kevin Pham <keevan.pham@gmail.com>
AMOS bot [Mon, 20 Mar 2023 00:07:37 +0000 (00:07 +0000)]
Automatically generated installer lang files
AMOS bot [Sat, 18 Mar 2023 00:07:38 +0000 (00:07 +0000)]
Automatically generated installer lang files
Juan Segarra Montesinos [Fri, 17 Mar 2023 05:49:50 +0000 (06:49 +0100)]
MDL-77670 course: Preserve course summary format
Sara Arjona [Fri, 17 Mar 2023 16:58:33 +0000 (17:58 +0100)]
weekly release 4.0.7+
AMOS bot [Fri, 17 Mar 2023 00:07:40 +0000 (00:07 +0000)]
Automatically generated installer lang files
Paul Holden [Thu, 16 Mar 2023 23:04:35 +0000 (23:04 +0000)]
MDL-77666 contentbank: format category names for display.
Paul Holden [Wed, 15 Mar 2023 19:15:53 +0000 (19:15 +0000)]
MDL-76339 mod_bigbluebuttonbn: correct upgrade note fix versions.
AMOS bot [Wed, 15 Mar 2023 00:07:36 +0000 (00:07 +0000)]
Automatically generated installer lang files
Tim Hunt [Tue, 14 Mar 2023 16:29:12 +0000 (16:29 +0000)]
MDL-77626 quiz statistics: Divide by zero if a random Q has max mark 0
Mark Johnson [Fri, 16 Sep 2022 01:51:34 +0000 (11:51 +1000)]
MDL-75746 mod_quiz: Fix backup and restore of quiz slots
Mark Johnson [Tue, 14 Mar 2023 15:39:42 +0000 (15:39 +0000)]
MDL-72124 question: Fix system-level URLs in question events
Eloy Lafuente (stronk7) [Tue, 14 Mar 2023 15:07:41 +0000 (16:07 +0100)]
weekly release 4.0.7+
Juan Segarra Montesinos [Tue, 7 Mar 2023 14:44:00 +0000 (15:44 +0100)]
MDL-76257 core: Activity intro should honor user preference on creation
AMOS bot [Tue, 14 Mar 2023 00:07:38 +0000 (00:07 +0000)]
Automatically generated installer lang files
Tim Hunt [Mon, 13 Mar 2023 13:31:33 +0000 (13:31 +0000)]
MDL-77611 tool_uploaduser: fix phpunit assumptions about profile fields
Paul Holden [Mon, 13 Mar 2023 09:36:40 +0000 (09:36 +0000)]
MDL-77608 mod_h5pactivity: namespace component lib testcase.
Simey Lameze [Thu, 9 Mar 2023 02:29:21 +0000 (10:29 +0800)]
MDL-77574 myoverview: wait until next button exists before clicking
AMOS bot [Sun, 12 Mar 2023 00:07:44 +0000 (00:07 +0000)]
Automatically generated installer lang files
Petr Skoda [Sun, 5 Mar 2023 10:12:31 +0000 (11:12 +0100)]
MDL-76680 core: disable $USER->ignoresesskey on next page
Jun Pataleta [Sat, 11 Mar 2023 05:10:44 +0000 (13:10 +0800)]
Moodle release 4.0.7
Jun Pataleta [Fri, 10 Mar 2023 14:09:56 +0000 (22:09 +0800)]
weekly release 4.0.6+
Andrew Nicols [Fri, 10 Mar 2023 06:11:21 +0000 (14:11 +0800)]
MDL-77429 course: Change course date to previous day
When a test runs just after midnight, and the user time zone is not the
same as the server timezone, and the course is created using a generator
(which runs in server time zone) but the UI presented in the user
timezone, the course start time is still in the future.
We need to create the course a day earlier to ensure that the "This
week" indicator is in the correct day.
Andrew Nicols [Fri, 10 Mar 2023 05:31:29 +0000 (13:31 +0800)]
MDL-77037 core_course: Add new courseindex test to classic excludelist
Shamim Rezaie [Thu, 9 Feb 2023 18:23:23 +0000 (05:23 +1100)]
MDL-76603 gradingforms: Some A11y fixes on editing form
- Use span instead of dummy input elements because form elements need a
label
- Sufficient size for target is at least 24px by 24px (Success Criteria
2.5.8)
Shamim Rezaie [Thu, 9 Feb 2023 12:01:14 +0000 (23:01 +1100)]
MDL-76603 mod_assign: Move advanced grading grades out of the tables
Shamim Rezaie [Sat, 14 Jan 2023 19:52:27 +0000 (06:52 +1100)]
MDL-76603 gradingform_rubric: preserve bg colour on hover
Shamim Rezaie [Thu, 5 Jan 2023 11:16:20 +0000 (22:16 +1100)]
MDL-76603 gradingform_rubric: fix roles
- set the role of table to none
- moved aria-label from <table> element (that doesn't has role="none")
to the element that has the radiogroup role
- if it's not radiogroup/radio, it is list/listitem
- removed aria-label from the rubric table and used caption instead
Paul Holden [Mon, 5 Sep 2022 20:35:27 +0000 (21:35 +0100)]
MDL-70613 mod_feedback: cast feedback text values for table sorting.
Specifically avoids Oracle ORA-00932 (inconsistent CLOB datatype).
Andrew Nicols [Thu, 9 Mar 2023 13:59:29 +0000 (21:59 +0800)]
MDL-77037 core_course: Coding style fix in Behat feature
James C [Thu, 9 Mar 2023 02:57:16 +0000 (15:57 +1300)]
MDL-77329 course: Prevent collapse state loss
Laurent David [Tue, 28 Feb 2023 10:42:18 +0000 (11:42 +0100)]
MDL-77037 core_courseformat: Refresh course index
* Refresh course index when language change
Brendan Heywood [Mon, 6 Mar 2023 23:33:51 +0000 (10:33 +1100)]
MDL-77530 tool_task: Fix coding errors in checks
Tim Hunt [Wed, 1 Mar 2023 18:06:53 +0000 (18:06 +0000)]
MDL-77467 retore: add progress tracking to potentially slow steps
Andrew Nicols [Thu, 9 Mar 2023 00:18:54 +0000 (08:18 +0800)]
MDL-77559 js: Rebuild all JS with Node 16
Jun Pataleta [Wed, 1 Mar 2023 02:48:33 +0000 (10:48 +0800)]
MDL-76849 qtype_essay: Allow question number inclusion in answer fields
* Have the following classes extend qtype_essay_format_renderer_base
as they have been meant to:
- qtype_essay_format_editor_renderer
- qtype_essay_format_noinline_renderer
- qtype_essay_format_plain_renderer
* Add a question_display_options instance variable for
qtype_essay_format_renderer_base so its subclasses can use it to
generate the label for their respective answer fields.
Jun Pataleta [Fri, 17 Feb 2023 07:32:21 +0000 (15:32 +0800)]
MDL-76849 qtype_shortanswer: Include question number in answer fields
Jun Pataleta [Fri, 17 Feb 2023 07:32:02 +0000 (15:32 +0800)]
MDL-76849 qtype_numerical: Include question number in answer fields
* Also covers its qtype_calculated and qtype_calculatedsimple
which extend its renderer class
Jun Pataleta [Fri, 17 Feb 2023 07:31:45 +0000 (15:31 +0800)]
MDL-76849 qtype_multianswer: Include question number in answer fields
* Add the question number to the answer fields if it's available.
* Improve multiple choice question accessibility:
- Label the multiple choice question groups appropriately by
enclosing them in fieldset tags and applying sr-only legend tags to
label them.
- Apply Bootstrap form-check classes to the radio buttons, so they
are rendered better and become responsive as well. This also helps
avoid the use of the table element for layout purposes when
rendering horizontal multiple choice sub-questions.
Jun Pataleta [Fri, 17 Feb 2023 07:31:13 +0000 (15:31 +0800)]
MDL-76849 qtype_match: Include question number in answer fields
Jun Pataleta [Fri, 17 Feb 2023 05:28:32 +0000 (13:28 +0800)]
MDL-76849 qtype_truefalse: Include question number in answer fields
* Improve accessibility as well by grouping the radio buttons
in a fieldset.
Jun Pataleta [Fri, 17 Feb 2023 03:58:06 +0000 (11:58 +0800)]
MDL-76849 qtype_multichoice: Include question number in answer fields
* Improve accessibility as well by grouping the radio buttons/checkboxes
in a fieldset.
Jun Pataleta [Fri, 17 Feb 2023 03:06:03 +0000 (11:06 +0800)]
MDL-76849 qtype_ddwtos: Include question number in answer fields
* Plus include the item number so users will have an idea which blank
numbers they are currently on.
Jun Pataleta [Fri, 17 Feb 2023 02:53:20 +0000 (10:53 +0800)]
MDL-76849 qtype_gapselect: Include question number in answer fields
Jun Pataleta [Fri, 17 Feb 2023 03:56:26 +0000 (11:56 +0800)]
MDL-76849 qtype: Add a questionidentifier instance variable
* Add an instance variable to question_display_options to store the
identifier associated with the question being rendered.
* This information can be used by question type plugins to improve the
accessibility of the answer fields being rendered by adding the
question identifier to the answer fields' labels.
* Adding the question identifier to the label can be achieved by using
question_display_options::add_question_identifier_to_label().
Co-authored-by: Tim Hunt <t.j.hunt@open.ac.uk>
Andrew Nicols [Thu, 9 Mar 2023 00:11:22 +0000 (08:11 +0800)]
MDL-77559 js: Revert "MDL-75012 core: Bump NodeJS version requirements"
This reverts commit
7dc9c54ff6c3c090bea2889c118b04f0b7c8632c.
Andrew Nicols [Thu, 9 Mar 2023 00:11:18 +0000 (08:11 +0800)]
MDL-77559 js: Revert "MDL-75012 js: Bump standard dependencies"
This reverts commit
86cc29f021f9270b6c0e3347006c372573593bc5.
Andrew Nicols [Thu, 9 Mar 2023 00:11:15 +0000 (08:11 +0800)]
MDL-77559 js: Revert "MDL-75012 js: Remove grunt-contrib-uglify"
This reverts commit
415c9de634b270a9adab76ef0f5ac8a30ef9c4a2.
Andrew Nicols [Thu, 9 Mar 2023 00:11:13 +0000 (08:11 +0800)]
MDL-77559 js: Revert "MDL-75012 js: Bump stylelint and components"
This reverts commit
e431f3a4d66a9cd70b241f85a08167c0bee8697c.
Andrew Nicols [Thu, 9 Mar 2023 00:11:04 +0000 (08:11 +0800)]
MDL-77559 js: Revert "MDL-75012 js: Update browserslist"
This reverts commit
a1d646d62163a4e87aa6fc37b90e28d979644a1b.
Andrew Nicols [Thu, 9 Mar 2023 00:11:02 +0000 (08:11 +0800)]
MDL-77559 js: Revert "MDL-75012 js: Bump node-sass"
This reverts commit
d418ca209e12e15306a8be15887746f82b1ab694.
Andrew Nicols [Thu, 9 Mar 2023 00:10:47 +0000 (08:10 +0800)]
MDL-77559 js: Revert "MDL-75012 js: Audit fix"
This reverts commit
73d25ec0c6793e0b4a6968b7786dfc270e48062f.
Andrew Nicols [Thu, 9 Mar 2023 00:10:45 +0000 (08:10 +0800)]
MDL-77559 js: Revert "MDL-75012 js: Use our own jsdoc wrapper"
This reverts commit
b7c2924b68c7ea91c59cda0da67c91fdbec3e75f.
Andrew Nicols [Thu, 9 Mar 2023 00:10:37 +0000 (08:10 +0800)]
MDL-77559 js: Revert "MDL-75012 js: Bump shifter to new version"
This reverts commit
95b47d2432888230dd53b9490ab55f9f5aeaa77f.
Andrew Nicols [Thu, 9 Mar 2023 00:10:35 +0000 (08:10 +0800)]
MDL-77559 js: Revert "MDL-75012 js: Put shifter on a diet"
This reverts commit
77d822898a332e8ae39c6e0d312f1f8f51bdba8d.
Andrew Nicols [Thu, 9 Mar 2023 00:10:34 +0000 (08:10 +0800)]
MDL-77559 js: Revert "MDL-75012 js: Remove unused babel-preset-minify dependency"
This reverts commit
8412495f5e77eec0d6de9bb598dc0ce42ca8eaa4.
Andrew Nicols [Thu, 9 Mar 2023 00:10:32 +0000 (08:10 +0800)]
MDL-77559 js: Revert "MDL-75012 js: Bump Babel dependencies"
This reverts commit
c90054e98ec5cc90b1c3aac21d1c5aebb71f057a.
Andrew Nicols [Thu, 9 Mar 2023 00:09:44 +0000 (08:09 +0800)]
MDL-77559 js: Revert "MDL-75012 js: Remove orphaned source maps"
This reverts commit
181e8f76864889d7c7b4e27fd406aa870a5fe765.
AMOS bot [Thu, 9 Mar 2023 00:07:38 +0000 (00:07 +0000)]
Automatically generated installer lang files
Tim Hunt [Mon, 13 Feb 2023 15:36:24 +0000 (15:36 +0000)]
MDL-77225 questions: fix regrade of descriptions in finished attempts
The added logic is similar to the logic in other behaviours, and the new test fails without it.
Laurent David [Tue, 28 Feb 2023 12:46:22 +0000 (13:46 +0100)]
MDL-76940 core_courseformat: Index refreshing when role switch
* Hidden sections and content should not visible to students when switching role
Angelia Dela Cruz [Tue, 7 Mar 2023 02:46:51 +0000 (10:46 +0800)]
MDL-77463 Behat: Coverage for assign submission notification to teacher
Angelia Dela Cruz [Tue, 28 Feb 2023 08:54:04 +0000 (16:54 +0800)]
MDL-77429 Behat: Add coverage for changing course format as teacher
Luca Bösch [Tue, 24 Jan 2023 11:07:30 +0000 (12:07 +0100)]
MDL-77014 course: Single activity format course title multilang.
Angelia Dela Cruz [Mon, 27 Feb 2023 09:29:47 +0000 (17:29 +0800)]
MDL-77414 Behat: Coverage for "Require all group members submit" setting
Dani Palou [Tue, 7 Mar 2023 14:56:26 +0000 (15:56 +0100)]
MDL-77550 lesson: Format decimals in feedback page
Petr Skoda [Sun, 5 Mar 2023 11:20:25 +0000 (12:20 +0100)]
MDL-77524 filter_algebra: fix error message
Paul Holden [Wed, 7 Sep 2022 17:26:31 +0000 (18:26 +0100)]
MDL-75517 report_participation: filter report by viewable roles only.
Michael Hawkins [Thu, 2 Mar 2023 04:38:43 +0000 (12:38 +0800)]
MDL-77204 mod_wiki: Clean filename in Moodle1 backup
Paul Holden [Fri, 3 Feb 2023 00:20:40 +0000 (00:20 +0000)]
MDL-77046 availability: validate profile field in condition.
Paul Holden [Mon, 9 Jan 2023 19:16:55 +0000 (19:16 +0000)]
MDL-76809 gradereport_history: pre-filter report userids filter.
Ensure current user is able to access each of the provided userids.
Petr Skoda [Sun, 5 Mar 2023 10:59:00 +0000 (11:59 +0100)]
MDL-76645 filter_data: fix link title attribute
Paul Holden [Thu, 2 Feb 2023 22:35:17 +0000 (22:35 +0000)]
MDL-77129 tool_lp: remove redundant call to set page header.