Jun Pataleta
d5cf25faf5
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.
2023-03-09 08:57:47 +08:00
Jun Pataleta
787278601c
MDL-76849 qtype_shortanswer: Include question number in answer fields
2023-03-09 08:57:47 +08:00
Jun Pataleta
880532c71a
MDL-76849 qtype_numerical: Include question number in answer fields
...
* Also covers its qtype_calculated and qtype_calculatedsimple
which extend its renderer class
2023-03-09 08:57:47 +08:00
Jun Pataleta
03b549f225
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.
2023-03-09 08:57:47 +08:00
Jun Pataleta
7b6ff446f4
MDL-76849 qtype_match: Include question number in answer fields
2023-03-09 08:57:47 +08:00
Jun Pataleta
9ddbc2d7f0
MDL-76849 qtype_truefalse: Include question number in answer fields
...
* Improve accessibility as well by grouping the radio buttons
in a fieldset.
2023-03-09 08:57:47 +08:00
Jun Pataleta
fbffd9b148
MDL-76849 qtype_multichoice: Include question number in answer fields
...
* Improve accessibility as well by grouping the radio buttons/checkboxes
in a fieldset.
2023-03-09 08:57:47 +08:00
Jun Pataleta
2ad0871a82
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.
2023-03-09 08:57:47 +08:00
Jun Pataleta
5847b0026e
MDL-76849 qtype_gapselect: Include question number in answer fields
2023-03-09 08:57:47 +08:00
Jun Pataleta
6c3f1d55a8
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>
2023-03-09 08:57:47 +08:00
Andrew Nicols
04787fbbc9
MDL-77559 js: Revert "MDL-75012 core: Bump NodeJS version requirements"
...
This reverts commit 3416ee9890bdb9e7ea3d4ada44839770a763a00c.
2023-03-09 08:21:36 +08:00
Andrew Nicols
8c13a1b817
MDL-77559 js: Revert "MDL-75012 js: Bump standard dependencies"
...
This reverts commit 456446215e89386c851a5dcfa8243a9cfb53f899.
2023-03-09 08:21:22 +08:00
Andrew Nicols
fefd6f2bd8
MDL-77559 js: Revert "MDL-75012 js: Remove grunt-contrib-uglify"
...
This reverts commit ca4614c2991c2cc2eed0a788f3bfd37b3d686dac.
2023-03-09 08:21:19 +08:00
Andrew Nicols
d209e2cc57
MDL-77559 js: Revert "MDL-75012 js: Bump stylelint and components"
...
This reverts commit 644e9da8bb8418c1223ed394528f48bf2d9dea9c.
2023-03-09 08:21:15 +08:00
Andrew Nicols
a96fcc22ca
MDL-77559 js: Revert "MDL-75012 js: Update browserslist"
...
This reverts commit bf81d5f0ba5aedf74ce8cd4eb05bad372ac996de.
2023-03-09 08:21:12 +08:00
Andrew Nicols
230f8247e8
MDL-77559 js: Revert "MDL-75012 js: Bump node-sass"
...
This reverts commit 0a0266ae5ee2b9a6cd13aec05593245eb85bfa0a.
2023-03-09 08:21:07 +08:00
Andrew Nicols
91eb06347e
MDL-77559 js: Revert "MDL-75012 js: Audit fix"
...
This reverts commit 8960a6ee91dc5d1ec1c8392255c17a7fd6741215.
2023-03-09 08:21:03 +08:00
Andrew Nicols
63ecbc57d6
MDL-77559 js: Revert "MDL-75012 js: Use our own jsdoc wrapper"
...
This reverts commit 89f7402fc28a402e3380066c854f319d5896e97a.
2023-03-09 08:20:57 +08:00
Andrew Nicols
f483380e01
MDL-77559 js: Revert "MDL-75012 js: Bump shifter to new version"
...
This reverts commit c2c1727dd5929c6b1479b866812037702281f543.
2023-03-09 08:20:53 +08:00
Andrew Nicols
0da20453f7
MDL-77559 js: Revert "MDL-75012 js: Put shifter on a diet"
...
This reverts commit 73181c13103d5364da6b25c3b7751b4c74ab7383.
2023-03-09 08:20:49 +08:00
Andrew Nicols
c90a6263bc
MDL-77559 js: Revert "MDL-75012 js: Remove unused babel-preset-minify dependency"
...
This reverts commit 364458e36a082cd6b497a10a786d313fc0a745f8.
2023-03-09 08:20:45 +08:00
Andrew Nicols
df1dc82fee
MDL-77559 js: Revert "MDL-75012 js: Bump Babel dependencies"
...
This reverts commit b963401b8fa83b616fe1784a04c03d8d52d0d5f0.
2023-03-09 08:20:42 +08:00
Andrew Nicols
34cae8d339
MDL-77559 js: Revert "MDL-75012 js: Remove orphaned source maps"
...
This reverts commit 05cdfa4da4b64cf2efe810461c91562d70b1d207.
2023-03-09 08:20:05 +08:00
AMOS bot
733702e72f
Automatically generated installer lang files
2023-03-09 00:07:41 +00:00
Tim Hunt
7db1da61ee
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.
2023-03-08 19:00:43 +00:00
Sara Arjona
6aafa1eea6
Merge branch 'MDL-77464_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-03-08 16:14:47 +01:00
Laurent David
ed08a4ee52
MDL-76940 core_courseformat: Index refreshing when role switch
...
* Hidden sections and content should not visible to students when switching role
2023-03-08 11:51:51 +01:00
Ilya Tregubov
4eb1b67d68
Merge branch 'MDL-77414-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2023-03-08 17:05:13 +08:00
Angelia Dela Cruz
598b18417d
MDL-77463 Behat: Coverage for assign submission notification to teacher
2023-03-08 17:01:35 +08:00
Angelia Dela Cruz
cd609bd915
MDL-77429 Behat: Add coverage for changing course format as teacher
2023-03-08 15:48:28 +08:00
Luca Bösch
5e4d3c4d5b
MDL-77014 course: Single activity format course title multilang.
2023-03-08 08:05:14 +01:00
Angelia Dela Cruz
311eb0ddd2
MDL-77414 Behat: Coverage for "Require all group members submit" setting
2023-03-08 14:47:53 +08:00
Dani Palou
c90c9b04f6
MDL-77550 lesson: Format decimals in feedback page
2023-03-08 07:46:16 +01:00
Sara Arjona
6d70b125a8
Merge branch 'MDL-77440_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-03-08 07:23:43 +01:00
Jun Pataleta
38cc21db3c
Merge branch 'MDL-77472-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-03-08 11:53:41 +08:00
Petr Skoda
3caeef44d2
MDL-77524 filter_algebra: fix error message
2023-03-08 11:26:58 +08:00
Paul Holden
9a6fdc2aeb
MDL-75517 report_participation: filter report by viewable roles only.
2023-03-08 10:37:42 +08:00
Michael Hawkins
5e57bfffac
MDL-77204 mod_wiki: Clean filename in Moodle1 backup
2023-03-08 10:33:34 +08:00
Paul Holden
fac46a19f7
MDL-77046 availability: validate profile field in condition.
2023-03-08 10:24:17 +08:00
Paul Holden
01fc104779
MDL-76809 gradereport_history: pre-filter report userids filter.
...
Ensure current user is able to access each of the provided userids.
2023-03-08 10:00:50 +08:00
Ilya Tregubov
e7e5b659e8
Merge branch 'MDL-77446-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2023-03-08 09:18:54 +08:00
Andrew Nicols
b9f8373e3f
MDL-77470 editor_tiny: Apply upstream security fixes
...
- CVE-2022-23494
2023-03-08 01:00:30 +00:00
Petr Skoda
0292427f51
MDL-76645 filter_data: fix link title attribute
2023-03-08 01:00:30 +00:00
Paul Holden
0518f875cf
MDL-77129 tool_lp: remove redundant call to set page header.
2023-03-08 01:00:30 +00:00
Paul Holden
c2d0c7359d
MDL-77008 mod_data: require sesskey to reset module templates.
2023-03-08 01:00:30 +00:00
Lars Bonczek
d5ec540381
MDL-75659 core: Don't render component argument twice in mustache pix helper
2023-03-08 01:00:30 +00:00
Jun Pataleta
3c00ca0bb2
Merge branch 'MDL-77416-401-enfix' of https://github.com/vmdef/moodle into MOODLE_401_STABLE
2023-03-08 08:50:24 +08:00
AMOS bot
3800bd6cfd
Automatically generated installer lang files
2023-03-08 00:07:44 +00:00
Tim Hunt
bdcf29ab29
MDL-77464 questions: regrading was losing question_attempt metadata
...
This is very similar to MDL-77090, but at the time, I missed that this
also needed to be handled. (Question metadata is, I think, only used
by the quiz 'Try another question like this one' feature.)
2023-03-07 13:45:04 +00:00
Tim Hunt
795e8ac70a
MDL-77464 questions: update comments in question_attempt_step
...
The class comment had some inaccuracies which I fixed.
I also replaced all uses of @link with @see.
2023-03-07 13:44:59 +00:00