107758 Commits

Author SHA1 Message Date
Simey Lameze
76cb263244 MDL-77574 myoverview: wait until next button exists before clicking 2023-03-13 14:12:26 +08:00
Jun Pataleta
033858e249 Moodle release 4.1.2 v4.1.2 2023-03-11 13:10:39 +08:00
Jun Pataleta
83c3ac53bf weekly release 4.1.1+ 2023-03-10 22:09:52 +08:00
Jun Pataleta
1e5f8ee1a2 Merge branch 'install_401_STABLE' of https://git.in.moodle.com/amosbot/moodle-install into MOODLE_401_STABLE 2023-03-10 22:09:50 +08:00
Ilya Tregubov
d5d64e1c8b Merge branch 'MDL-77429-401-fix' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE 2023-03-10 14:52:02 +08:00
Andrew Nicols
f8b1b4092f 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.
2023-03-10 14:11:23 +08:00
Andrew Nicols
ca01668e32 MDL-77037 core_course: Add new courseindex test to classic excludelist 2023-03-10 13:32:04 +08:00
Jun Pataleta
70108cf09b Merge branch 'MDL-77458-401' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE 2023-03-10 12:06:10 +08:00
Jake Dallimore
b9dedcd53e Merge branch 'MDL-77517-401' of https://github.com/juancs/moodle into MOODLE_401_STABLE 2023-03-10 11:39:52 +08:00
Andrew Nicols
aca52fa5f0 Merge branch 'MDL-77530-tool-task-checks-MOODLE_401_STABLE' of https://github.com/brendanheywood/moodle into MOODLE_401_STABLE 2023-03-10 11:30:45 +08:00
Jake Dallimore
65cb8e0792 Merge branch 'MDL-77219-401' of https://github.com/sarjona/moodle into MOODLE_401_STABLE 2023-03-10 10:36:25 +08:00
Jun Pataleta
9bdbff4f3a Merge branch 'MDL-76603-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE 2023-03-10 10:14:57 +08:00
Shamim Rezaie
47a1789f12 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)
2023-03-10 10:11:34 +08:00
Shamim Rezaie
394a0520d0 MDL-76603 mod_assign: Move advanced grading grades out of the tables 2023-03-10 10:11:34 +08:00
Shamim Rezaie
79491b8a90 MDL-76603 gradingform_rubric: preserve bg colour on hover 2023-03-10 10:11:34 +08:00
Shamim Rezaie
68460cad9b 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
2023-03-10 10:11:34 +08:00
Andrew Nicols
23e2b0358c Merge branch 'MDL-76849-401-5' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE 2023-03-10 09:29:40 +08:00
Jun Pataleta
98f95845b1 Merge branch 'MDL-70613-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-03-10 09:19:39 +08:00
Sara Arjona
69a91b30cc Merge branch 'MDL-77323-401' of https://github.com/NashTechOpenUniversity/moodle into MOODLE_401_STABLE 2023-03-09 16:48:39 +01:00
Paul Holden
2ff317ac8a
MDL-70613 mod_feedback: cast feedback text values for table sorting.
Specifically avoids Oracle ORA-00932 (inconsistent CLOB datatype).
2023-03-09 14:59:11 +00:00
Andrew Nicols
8112ce8376 Merge branch 'MDL-77329-401-clr' of https://github.com/ferranrecio/moodle into MOODLE_401_STABLE 2023-03-09 22:19:08 +08:00
Andrew Nicols
5feea19e46 Merge branch 'MDL-77463-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE 2023-03-09 22:10:25 +08:00
Andrew Nicols
d5b43c03a5 Merge branch 'MDL-77429-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE 2023-03-09 22:03:46 +08:00
Andrew Nicols
f262b2223f MDL-77037 core_course: Coding style fix in Behat feature 2023-03-09 21:59:41 +08:00
Andrew Nicols
3c1c543c53 Merge branch 'MDL-77037-401' of https://github.com/laurentdavid/moodle into MOODLE_401_STABLE 2023-03-09 21:59:37 +08:00
James C
370c67e7dc MDL-77329 course: Prevent collapse state loss 2023-03-09 11:56:00 +01:00
Sara Arjona
ab34f215a9 Merge branch 'MDL-76940-401' of https://github.com/laurentdavid/moodle into MOODLE_401_STABLE 2023-03-09 10:54:50 +01:00
Jun Pataleta
002f9eb7da Merge branch 'MDL-77533-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-03-09 16:35:24 +08:00
Jun Pataleta
bb61d8392b Merge branch 'MDL-77559-401-2' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE 2023-03-09 15:57:44 +08:00
Laurent David
bdd1708455 MDL-77037 core_courseformat: Refresh course index
* Refresh course index when language change
2023-03-09 08:44:22 +01:00
Brendan Heywood
3c86170a8d MDL-77530 tool_task: Fix coding errors in checks 2023-03-09 15:44:01 +11:00
Andrew Nicols
155f08fc68 Merge branch 'MDL-77420-401' of https://github.com/ferranrecio/moodle into MOODLE_401_STABLE 2023-03-09 11:58:41 +08:00
Andrew Nicols
3a8b5523d5 Merge branch 'MDL-77014-401' of https://github.com/lucaboesch/moodle into MOODLE_401_STABLE 2023-03-09 11:42:03 +08:00
Andrew Nicols
fbc3f7f245 Merge branch '76945-bootstrap-dropdowns-401' of https://github.com/DSI-Universite-Rennes2/moodle into MOODLE_401_STABLE 2023-03-09 10:54:35 +08:00
Tim Hunt
42f41fc174 MDL-77467 retore: add progress tracking to potentially slow steps 2023-03-09 10:46:51 +08:00
Jun Pataleta
ed6b43b4f2 Merge branch 'MDL-77225_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE 2023-03-09 10:43:06 +08:00
Andrew Nicols
6a25c5c8d0 Merge branch 'MDL-77418-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-03-09 10:36:06 +08:00
Andrew Nicols
3a363d0eec Merge branch 'MOODLE_401_STABLE' of https://github.com/fcbsd/moodle into MOODLE_401_STABLE 2023-03-09 10:29:43 +08:00
Andrew Nicols
783c542d31 Merge branch 'MDL-77539-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-03-09 10:09:41 +08:00
Andrew Nicols
cd48ae56c7 MDL-77559 js: Rebuild all JS with Node 16 2023-03-09 09:53:19 +08:00
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