Mathew May
712f219c7c
MDL-76134 gradebook: Hook into tertiary dropdown item
2023-01-09 09:22:20 +08:00
Mathew May
6b0d3b3eae
MDL-76134 gradebook: Add a bare dropdown component
2023-01-09 09:22:20 +08:00
Mathew May
d83fcf1976
MDL-76134 core: Provide a option to render initials bars smaller
2023-01-09 09:22:20 +08:00
Mathew May
9af57b7180
MDL-76134 core: User story behat test
2023-01-09 09:21:19 +08:00
Meirza
b79231361b
MDL-61789 auth_oauth2: Update profile fields based on data mapping.
...
After the user creation, the system must call an update function to update profile_fields_*.
We also provided two functions into user/profile/lib.php to get available from other areas.
We added PHP unit testing for new public functions and
the Behat tests for custom profile fields with locked and unlocked statuses.
Co-authored-by: Matt Porritt <matt.porritt@moodle.com>
2023-01-07 20:59:26 +07:00
Jun Pataleta
08a2781607
MDL-76597 mod_quiz: Set presentation role for the question list
...
Since the <ul> and <li> elements for listing the quiz questions and
elements are mainly used for layout purposes, it is better to set the
role of these elements to presentation only.
The aria-label for the <li> element is inappropriate and can also cause
confusion to screen reader users. Better to remove this. Though this is
being used in the confirmation modal so better to just change it to a
data attribute.
2023-01-06 22:37:54 +08:00
Jun Pataleta
317dd19f02
MDL-76597 mod_quiz: Set presentation role for the question list
...
Since the <ul> and <li> elements for listing the quiz questions and
elements are mainly used for layout purposes, it is better to set the
role of these elements to presentation only.
2023-01-06 22:37:54 +08:00
Jun Pataleta
f7bcd8304f
MDL-76597 mod_quiz: Add label for question checkboxes
2023-01-06 22:37:54 +08:00
Jun Pataleta
beac221ac4
MDL-76597 mod_quiz: Darken section heading on quiz questions page
2023-01-06 22:37:54 +08:00
Jun Pataleta
384e40a750
MDL-76597 mod_quiz: Add label for version selector
2023-01-06 22:37:54 +08:00
Jun Pataleta
e4f1f254c9
MDL-76597 mod_quiz: Add a default sr-only section heading
...
Add a default sr-only section heading in order to prevent having an
empty heading for the quiz section which is not good for accessibility.
Plus:
- There's also an existing issue where filters are never applied to
section headings on load. This has been fixed in this commit as well.
- Button role added for the edit section button which enables it to
take advantage of the theme highlighting when it receives focus.
2023-01-06 22:37:54 +08:00
Tim Hunt
a02497f942
MDL-76614 quiz: clean up view.php script
2023-01-06 14:35:55 +00:00
Tim Hunt
ca7fb1eb02
MDL-76614 quizaccess_seb: rename access_manager & quiz_settings classes
...
This is to avoid confusion between the main mod_quiz classes and SEB's own.
2023-01-06 14:35:55 +00:00
Tim Hunt
58e4bc9a3e
MDL-76614 quiz: clean up the quiz_settings class
2023-01-06 14:35:54 +00:00
Tim Hunt
a9f8547599
MDL-76614 quiz: rename quiz => mod_quiz\quiz_settings
2023-01-06 14:35:54 +00:00
Tim Hunt
ae6a1c0391
MDL-76614 quiz: clean up the quiz_attempt class
2023-01-06 14:35:52 +00:00
Tim Hunt
5682c8c70e
MDL-76614 quiz: move class quiz_attempt => mod_quiz\quiz_attempt
...
I thought about renaming the class to just plain attempt, but I
acutally think quiz_attempt makes it clearer what this is. Also
not changing the name massively reduces the pain for everyone
updating their code (including me right now!)
2023-01-06 14:35:51 +00:00
Tim Hunt
79a29d243c
MDL-76614 quiz: remove unneeded MOODLE_INTERNAL
2023-01-06 14:35:51 +00:00
Tim Hunt
03116995d5
MDL-76614 quiz: move quiz_review_nav_panel to classes
2023-01-06 14:35:51 +00:00
Tim Hunt
ccbb5da784
MDL-76614 quiz: move quiz_attempt_nav_panel to classes
2023-01-06 14:35:51 +00:00
Tim Hunt
adbd0daddb
MDL-76614 quiz: clean up navigation_panel_base class
2023-01-06 14:35:50 +00:00
Tim Hunt
74c6823bac
MDL-76614 quiz: move quiz_nav_panel_base to classes folder
2023-01-06 14:35:50 +00:00
Tim Hunt
600b17db21
MDL-76614 quiz: move quiz_nav_section_heading to classes folder
2023-01-06 14:35:50 +00:00
Tim Hunt
6833a902df
MDL-76614 quiz: move quiz_nav_question_button to classes folder
2023-01-06 14:35:50 +00:00
Tim Hunt
89f97a7e2a
MDL-76614 quiz: code cleanup in mod_quiz\output\renderer
2023-01-06 14:35:50 +00:00
Tim Hunt
5ef8b6978e
MDL-76614 quiz: mod_quiz_renderer => mod_quiz\output\renderer
2023-01-06 14:35:49 +00:00
Tim Hunt
6c989eb24c
MDL-76614 quiz: Final deprecation of view_page::$startattemptwarning
...
This waas deprecated in Moodle 3.1 MDL-46091
2023-01-06 14:35:49 +00:00
Tim Hunt
abeeaef10a
MDL-76614 quiz: mod_quiz_view_object => mod_quiz\output\view_page
2023-01-06 14:35:49 +00:00
Tim Hunt
aceae3a4fa
MDL-76614 quiz: move mod_quiz_links_to_other_attempts => classes\output
2023-01-06 14:35:49 +00:00
Tim Hunt
581a3bc7e9
MDL-76614 quiz: quiz_add_random_form => mod_quiz\form\add_random_form
2023-01-06 14:35:49 +00:00
Tim Hunt
dd41b972c0
MDL-76614 quiz: clean up edit_override_form class
2023-01-06 14:35:49 +00:00
Tim Hunt
8af8ef3b9f
MDL-76614 quiz: clean up access_rule_base class
2023-01-06 14:35:48 +00:00
Tim Hunt
2ff112c688
MDL-76614 quiz: quiz_access_rule_base => mod_quiz\local\access_rule_base
2023-01-06 14:35:48 +00:00
Tim Hunt
dda9ba07f3
MDL-76614 quiz: quiz_override_form => mod_quiz\form\edit_override_form
2023-01-06 14:35:48 +00:00
Tim Hunt
f83181d397
MDL-76614 quiz: deprecate class moodle_quiz_exception
...
Code should just directly use moodle_execption.
Note, some of the existing uses (in web services) were passing a
literal message, not a language string identifier, but I decided
now was not the time to try to fix that.
2023-01-06 14:35:48 +00:00
Tim Hunt
f6ae83f40e
MDL-76614 quiz: clean up update_overdue_attempts class
2023-01-06 14:35:48 +00:00
Tim Hunt
4ae4d8d1b6
MDL-76614 quiz: merge mod_quiz_overdue_attempt_updater into task
...
The only place this code was used was in
mod_quiz\task\update_overdue_attempts so neater to combine them into one
class.
2023-01-06 14:35:48 +00:00
Tim Hunt
91c913debc
MDL-76614 quiz: move mod_quiz_preflight_check_form to classes & clean up
2023-01-06 14:35:47 +00:00
Tim Hunt
b3d59e5ad8
MDL-76614 quiz: clean up class access_manager
2023-01-06 14:35:47 +00:00
Tim Hunt
fed4a7fbd4
MDL-76614 quiz: move quiz_access_manager -> mod_quiz\access_manager
2023-01-06 14:35:47 +00:00
Paul Holden
15286a56d5
MDL-64153 dml: fix trailing comma and whitespace in upgrade note.
2023-01-06 11:35:04 +00:00
Paul Holden
e395dff081
Merge branch 'MDL-32114-master' of https://github.com/srobotta/moodle
2023-01-06 11:20:46 +00:00
Paul Holden
bb0369fd65
Merge branch 'MDL-64153-master' of https://github.com/meirzamoodle/moodle
2023-01-06 10:57:10 +00:00
Paul Holden
bb95badd99
Merge branch 'MDL-76578-master' of https://github.com/aanabit/moodle
2023-01-06 10:41:35 +00:00
Paul Holden
982dbee359
Merge branch 'MDL-76781-master' of https://github.com/lucaboesch/moodle
2023-01-06 10:23:54 +00:00
Paul Holden
6183ad3c22
MDL-76812 reportbuilder: ensure audience key is incremented correctly.
2023-01-06 09:57:14 +00:00
Ilya Tregubov
db1b807270
MDL-76251 mod_forum: Fix illegal whitespace. Another try.
2023-01-06 16:41:59 +07:00
Paul Holden
0e742a2fc9
MDL-69643 message: final removal of deprecated 310 methods.
2023-01-06 09:28:40 +00:00
Ilya Tregubov
8bcf50cfe3
Merge branch 'MDL-76251-patch' of https://github.com/ilyatregubov/moodle
2023-01-06 16:14:23 +07:00
Ilya Tregubov
f6a3144275
MDL-76251 mod_forum: Fix illegal whitespace.
2023-01-06 16:08:17 +07:00