3563 Commits

Author SHA1 Message Date
Huong Nguyen
56b58d6434
Merge branch 'MDL-81761' of https://github.com/paulholden/moodle 2024-06-20 09:54:21 +07:00
Sara Arjona
72f0d10e11
Merge branch 'MDL-80745-main' of https://github.com/rezaies/moodle 2024-06-19 08:48:40 +02:00
Huong Nguyen
ebae7fbae4
Merge branch 'MDL-81523' of https://github.com/stronk7/moodle 2024-06-19 09:52:10 +07:00
Huong Nguyen
51e7fe3b75
Merge branch 'MDL-81249-main' of https://github.com/andelacruz/moodle 2024-06-19 09:18:14 +07:00
Shamim Rezaie
859a54b1c0 MDL-80745 mod_assign: Move group selector on grading page to action bar
AMOS BEGIN
 MOV [clearall,gradereport_grader],[clearall,core]
AMOS END
2024-06-19 00:41:05 +10:00
Shamim Rezaie
c1a2436cb5 MDL-80745 core_grades: deprecate core_grades_renderer::group_selector 2024-06-19 00:41:05 +10:00
Angelia Dela Cruz
0cc5f72f82 MDL-81249 gradingform: Behat test that grades are retained 2024-06-18 17:44:59 +08:00
Angelia Dela Cruz
f86157f901 MDL-81249 gradingform: Enhance Behat test for deleting marking guide 2024-06-18 16:45:59 +08:00
lameze
f7d942e94a MDL-81431 behat: set grade item checkboxes one at the time 2024-06-18 13:57:03 +08:00
Eloy Lafuente (stronk7)
674497a12c
MDL-81523 phpunit: Add all missing setUp/tearDown parent calls
All setUp(), tearDown(), setUpBeforeClass() and tearDownAfterClass()
must, always, call to parent, to ensure that everything is properly
set and cleaned.

While in a lot of situations this is not needed (parents may not
have anything to run), with PHPUnit >= 10 this can become more
important because we are going to move the reset code from current
placement @ runBare() to setUp()/tearDown().

Note that all the changes performed in this commit have been detected
and fixed by moodle-cs (ParentSetUpTearDownSniffTest).
2024-06-14 16:04:57 +02:00
Eloy Lafuente (stronk7)
01148a0816
MDL-81522 phpunit: Add missing void return type to all tests
While this change is not 100% required now, it's good habit
and we are checking for it since Moodle 4.4.

All the changes in this commit have been applied automatically
using the moodle.PHPUnit.TestReturnType sniff and are, exclusively
adding the ": void" return types when missing.
2024-06-11 11:55:07 +02:00
Ilya Tregubov
6e89016c30 Merge branch 'MDL-77685' of https://github.com/paulholden/moodle 2024-05-31 09:04:17 +08:00
Sara Arjona
5d6c6bf81c
NOBUG: Add upgrade notes 2024-05-30 17:00:19 +02:00
Andrew Nicols
c14253b2eb
Merge branch 'MDL-80831-main' of https://github.com/junpataleta/moodle 2024-05-29 14:26:53 +08:00
Jun Pataleta
1085bf7897
MDL-80831 gradereport_grader: Remove unnecessary setting of aria-hidden
- If an element is being hidden visually with `display: none;` (e.g. by
using the class `.d-none`), there's no need to set `aria-hidden` because
it is already hidden from the accessibility tree.
- Setting `aria-hidden=false` is also not recommended and it's better to
remove the `aria-hidden` attribute instead of setting it to false.
2024-05-29 10:39:17 +08:00
Huong Nguyen
77bb82fb87
Merge branch 'MDL-78768_import-multiple-new-grade-items' of https://github.com/ziegenberg/moodle 2024-05-28 12:32:02 +07:00
Andrew Nicols
e8f8a4c494
Merge branch 'MDL-74582' of https://github.com/paulholden/moodle 2024-05-28 09:52:14 +08:00
Sara Arjona
22cc975705
MDL-81872 course: Improve wording and workflow for reset 2024-05-27 16:18:54 +02:00
Ilya Tregubov
8f9e93f5a3 NOBUG: Add upgrade notes 2024-05-24 10:51:52 +08:00
Daniel Ziegenberg
6cdbcda8fd
MDL-78768 grade: fix import multiple new grade items
Prior to this change, when importing grades from .csv (or another
method) and you choose to map the grades to a 'New grade item', you get
the following error message:
```
"Mapping collision detected - two fields maps to the same grade item
new."
```
A workaround existed that required users to import one column at a time,
which was cumbersome.

This change fixes importing multiple new grade items and adds a behat
test.

Co-authored-by: hehe009 <max_kan@hotmail.com>
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2024-05-22 12:21:22 +02:00
Huong Nguyen
37c79e282d
MDL-74581 grade: Update upgrade.txt file to document new upgrade note 2024-05-21 16:51:30 +07:00
Huong Nguyen
5fb2dd40fa
Merge branch 'MDL-74581' of https://github.com/paulholden/moodle 2024-05-21 16:45:35 +07:00
Paul Holden
e69e9adf9f
MDL-81761 gradingform_guide: remove duplicate click of frequent comment. 2024-05-20 17:39:06 +01:00
Andrew Nicols
0964cd5b69
MDL-81125 core: Update upgrade.txt files to document new upgrade notes 2024-05-20 22:26:45 +08:00
Paul Holden
5f701e1055
MDL-77685 grade: remove Behat specific report rendering hacks.
These changes follow the same approach as that taken elsewhere in
the Gradebook in 3643f48e0f.
2024-05-08 12:29:38 +01:00
Sara Arjona
a787203295
Merge branch 'MDL-78889-main' of https://github.com/ilyatregubov/moodle 2024-04-30 17:09:45 +02:00
Ilya Tregubov
7721ddb679 MDL-78889 gradereport_user: Fix pass/fail icon for totals
When the category has a 'grade to pass' set, the pass/fail icon
was displayed even when the category total grade values was hidden.
2024-04-29 14:42:00 +08:00
Paul Holden
2f0141ff57
MDL-74581 grade: final removal of deprecated Behat step helpers. 2024-04-25 19:32:56 +01:00
Huong Nguyen
862b41d833
Merge branch 'MDL-80107-master' of https://github.com/andelacruz/moodle 2024-04-24 08:35:19 +07:00
Angelia Dela Cruz
da5de9e91e MDL-80107 gradingform: Behat test for defining marking guide 2024-04-23 11:41:03 +08:00
Paul Holden
08575fdc56
MDL-74582 lang: final removal of deprecated 401 strings. 2024-04-22 19:06:18 +01:00
Jun Pataleta
78e5814a0f
MDL-81616 upgrade: add the 4.4.0 separation line to all upgrade scripts 2024-04-20 21:01:04 +08:00
Jun Pataleta
94f5e7e66f
Merge branch 'MDL-81584-main' of https://github.com/mihailges/moodle 2024-04-19 11:03:19 +08:00
Mihail Geshoski
907a7c5786 MDL-81584 gradereport_grader: Pin the last row only when necessary
Fixes the current behavior where the last row in the grader report is
always 'pinned', ensuring it is pinned only when necessary.
2024-04-18 16:06:28 +08:00
Jun Pataleta
a180dba314
MDL-81549 versions: bump all versions and requires near release 2024-04-17 00:03:29 +08:00
Didier 'OdyX' Raboud
74a582c502 MDL-65381 grade_report: fix empty separate groups own grades access
On separate groups' courses, users without groups could not access
their own grade items.
2024-04-08 17:01:07 +02:00
Andrew Nicols
14ca464910
Merge branch 'MDL-80397-main' of https://github.com/roland04/moodle 2024-04-03 12:53:03 +08:00
Huong Nguyen
10e1504135
Merge branch 'MDL-81315-main' of https://github.com/mihailges/moodle 2024-04-01 10:14:06 +07:00
Mikel Martín
b28f3b7666 MDL-80397 theme: Refactor card-deck class dropped in BS5
- Refactor recentlyaccessedcourses, starredcourses and myovervew blocks
  removing card-deck helper class occurrences
- Refactor card-deck helper class occurrences with utility classes
2024-03-27 10:10:22 +01:00
Ilya Tregubov
24347e3309 Merge branch 'MDL-80828-main' of https://github.com/roland04/moodle 2024-03-27 11:14:02 +08:00
Mihail Geshoski
ae3dc21bf5 MDL-81315 grade: Ensure grade action menus do not display chevron icons
The grade action menu is currently using the 'core:i/moremenu' icon to
trigger the dropdown. However, the chevron icons that usually appear in
dropdown menus are not being properly excluded. Adding the '.no-caret'
css class to the dropdown trigger element will improve the default
appearance.
2024-03-26 23:25:19 +08:00
Mihail Geshoski
5c1968ae46 MDL-81315 gradereport_user: Add the missing 'Grade analysis' link
The following change adds the missing 'Grade analysis' link that some
activities such as quizzes, LTI external tools, etc. need so support.
The link to the relevant 'Grade analysis' page is now located in a
contextual menu within the grade column of the gradebook's user report.
2024-03-26 23:25:19 +08:00
Jun Pataleta
281fecbd54
Merge branch 'MDL-78885-main' of https://github.com/rezaies/moodle 2024-03-25 23:37:57 +08:00
Mikel Martín
cd8a089d7a MDL-80828 core_courseformat: Modify availability subpanel visibility
In the activity action menu, show only the subpanel when the options are different
than show or hide. In those cases the show/hide option will be directly displayed
in the menu instead of a subpanel.

Co-authored-by: ferran@moodle.com
2024-03-25 13:54:42 +01:00
Mathew May
68bf0f5b77 MDL-78885 comboboxsearch: Points from review 2024-03-22 05:50:06 +11:00
Shamim Rezaie
2ac9dc9108 MDL-78885 comboboxsearch: Deprecate trigger 2024-03-22 05:49:52 +11:00
Shamim Rezaie
c9a81b7165 MDL-78885 gradereport_grader: minor fixes to the collapse columns 2024-03-22 05:49:17 +11:00
Shamim Rezaie
893a9e43d1 MDL-78885 comboboxsearch: Some small fixes
- Remove aria-busy
- Remove aria-label from the listbox element. A listbox that is part of
  a combobox does not need to be labelled.
- No need for the aria-label for the select all checkbox because it is
  already enclosed in the <label> tag.

- Having "view results for ..." as aria-label of listbox options is not
  helpful and only creates noise.
- Deprecated (viewresults,core) as it was not used anymore
- aria-hidden="true" should not be used on .d-none elements
- 'noresults' was falsely documented as a required context variable for
  resultset.mustache. Not only it was not required, it was not even
  provided!

- Remove duplicate code from user_selector.mustache
- Remove the redundant aria-label from search_input_auto. It already has
  a label.
- Fix placeholder missing from one case
2024-03-22 04:25:01 +11:00
Shamim Rezaie
c122998463 MDL-78885 comboboxsearch: Comboboxes should have a meaningful label
Also, used the combobox's label as the dialogue's label as well
2024-03-22 04:24:23 +11:00
Shamim Rezaie
ee5c4f8f99 MDL-78885 comboboxsearch: Reset status of filters to a zero state
Most of this is automatically handled by aria.js for other comboboxes.
But the search combobox inside the grade and group dropdowns are special
cases because they are not the same as the toggle element of the
dropdown.
2024-03-22 04:23:57 +11:00