3010 Commits

Author SHA1 Message Date
Jun Pataleta
c9356e039f
MDL-83374 upgrade: add the 4.5.0 separation line to all upgrade scripts 2024-10-05 21:16:13 +08:00
Jun Pataleta
5b421c6db6
NOBUG: Add upgrade notes 2024-10-05 15:08:28 +08:00
Huong Nguyen
3a6640c461
NOBUG: Add upgrade notes 2024-10-04 21:06:11 +07:00
Jun Pataleta
f24e0ecf53
MDL-83309 versions: Bump all versions and requires near release 2024-10-02 17:04:53 +08:00
Huong Nguyen
4d1c0cb04b
NOBUG: Add upgrade notes 2024-10-01 19:37:15 +07:00
Huong Nguyen
282421ce6c
NOBUG: Change upgrade notes version 2024-09-27 19:16:56 +07:00
Huong Nguyen
7b4ed9096f
NOBUG: Add upgrade notes 2024-09-27 18:45:07 +07:00
Jun Pataleta
f2e601c39f
Merge branch 'MDL-83148' of https://github.com/paulholden/moodle 2024-09-26 11:16:25 +08:00
Jake Dallimore
9a293aae34
Merge branch 'MDL-80746-main-update-rebased' of https://github.com/mihailges/moodle 2024-09-25 14:45:26 +08:00
Jake Dallimore
b62aff2c3a MDL-80746 mod_assign: fix action bar rendering
As per prior commit, this fixes the export_for_template() method as
well as the template itself, ensuring no rendering is done in the
renderable, and ensuring the template defers to the comboboxsearch
or dialog partials with the data-only (no html) contexts.
2024-09-25 12:47:07 +08:00
Jake Dallimore
c648839070 MDL-80746 core_course: fix group_selector rendering
This change:
- Fixes the group_selector constructor, removing the unnecessarily
deprecated param (this code is main-only, so no need to deprecate) and
fixes all calling code.
- moves the button and content into separate named_templatable
renderables, cleaning up the group_selector code so that it only needs
to make a single call to render and doesn't concern itself with contexts
of other renderables.
2024-09-25 12:47:07 +08:00
Jake Dallimore
8d1cdf6f8e MDL-80746 core_course: fix initial_selector rendering
This change:
- Fixes naming of initials_selector class (making plural to match its
predecessor), and addresses relevant calling code.
- Adds an initials_dropdown_form renderable, templatable
- Removes superfluous course/classes/output/actionbar renderer
- Replaces the rendering logic inside initial_selector with calls to
render the new renderable
- Simplifies the initials_selector class, using instance vars instead of
passing args to helpers, removing unnecessary vars, etc.
2024-09-25 12:47:07 +08:00
Kevin Percy
67379e7607 MDL-80746 behat: Update initials bar behat selector to core_course 2024-09-25 12:47:07 +08:00
Kevin Percy
303b226f6b MDL-80746 mod_assign: Move grading page initials selector to action bar 2024-09-25 12:47:07 +08:00
Huong Nguyen
9de70c3b5b
Merge branch 'MDL-74050-main' of https://github.com/durenadev/moodle 2024-09-25 09:03:09 +07:00
Sara Arjona
3140928651
NOBUG: Add upgrade notes 2024-09-24 16:54:09 +02:00
Daniel Ureña
b4770461f7 MDL-74050 mod_assign: New WS remove_submission 2024-09-24 16:47:55 +02:00
Sara Arjona
65fc64aa19
Merge branch 'MDL-81612' of https://github.com/timhunt/moodle 2024-09-23 07:36:07 +02:00
Sara Arjona
303d17ba9b
Merge branch 'MDL-82681-main-3' of https://github.com/mihailges/moodle 2024-09-23 07:17:03 +02:00
Sara Arjona
15f4091392
NOBUG: Add upgrade notes 2024-09-20 17:12:53 +02:00
Mihail Geshoski
2c2e9982d6 MDL-82681 mod_assign: Deprecate process_save_grading_options() 2024-09-20 22:54:02 +08:00
Mihail Geshoski
8f3ca13260 MDL-82681 mod_assign: Modify mod_assign_grading_options_form deprecation
This form class has been deprecated in MDL-82857, following the standard
class deprecation policy. It is highly unlikely that any external code
is using it; therefore, the form class has been removed, while the file
remains to prevent fatal errors from attempts to require or include it.
This approachy aligns with recent form deprecations in the quiz module.
Additionally, any code using this form and its supporting functions,
such as M.mod_assign.init_grading_options, has been removed.
2024-09-20 22:54:02 +08:00
Tim Hunt
d5fe176df1 MDL-81612 assign: show current value when editing a student's extension
Also, if there is not currently an extension set, the set extension form
will default to whatever is the latest out of the due date, the cut-off date
and midnight tonight (in the server time-zone).
2024-09-20 12:19:57 +01:00
Tim Hunt
076be52682 MDL-81612 assign: test generation of extensions
Also, some other improvements.

* In Behat you can now use either idnumber of name to identify an
  assignment you are generating things for.
* create_submission generator methods now wants the cmid in $data['cmid']
  not the confusingly named 'assignid'. The old name is accepted, but
  generates a debugging warning. (That will fail the test, but in a way
  that explains how to fix it.)
2024-09-20 12:19:57 +01:00
Mihail Geshoski
f86a9fd520 MDL-82681 mod_assign: Remove temporary class grading_options_temp_form
The grading_options_temp_form class and
process_save_grading_options_temp() method were temporarily introduced
to migrate form elements across the submission page while preserving
the original class and method, as they are part of the public API and
may be used by external code. Now that the migration is complete, both
the temporary class and method can be removed.
2024-09-19 23:17:54 +08:00
Mihail Geshoski
15fc229e77 MDL-82681 mod_assign: Revert improper code removal
The grading_options_form class was deprecated in 4.5, and a temporary
copy of this class was introduced to facilitate the migration of its
elements across different areas of the submission page, ensuring no
breakages if any external code is using this form (MDL-82857).
However, the process_save_grading_options() method, which processes
data from this form, was modified and this should not have occurred.
To maintain proper backward compatibility, a similar approach should
be taken by introducing a temporary copy of the method. Both the
temporary method and temporary form class should be removed once the
migration of elements is complete.
2024-09-19 23:17:43 +08:00
Mihail Geshoski
ca293159e7 MDL-82681 mod_assign: Clean up old filters
Removes the old Marker and Suspended participants filters from the
assignment submissions page, along with all associated logic.
Also, cleans up residual code from the old marking workflow filter
that was not properly removed in MDL-82508.
2024-09-19 23:17:28 +08:00
Mihail Geshoski
a97231fc06 MDL-82681 mod_assign: Reset Marker and Suspended participants filters
Extends the functionality of the 'Clear all' filters option to reset
the new 'Marker' and 'Suspended participants' filters on the
assignment submissions page.
2024-09-19 23:17:01 +08:00
Mihail Geshoski
9265ab5ca8 MDL-82681 mod_assign: Add Suspended participants to Advanced filters
Adds 'Suspended participants' filter to the 'Advanced' filters
component on the assignment submissions page.
2024-09-19 23:16:49 +08:00
Mihail Geshoski
ac1d386443 MDL-82681 mod_assign: Add Marker to Advanced submission filters
Adds 'Marker' filter to the 'Advanced' filters component on the
assignment submissions page.
2024-09-19 23:16:35 +08:00
Mihail Geshoski
a8d3d64ae2 MDL-80750 core: Define deselect action in bulk actions subclasses
The base bulk actions class supports deselecting all selected items but
lacks knowledge of the element types. To enhance flexibility and
maintain the class's generic nature, this change introduces a mechanism
that allows each subclass to explicitly define how to reset the
attributes indicating a selected state.
2024-09-18 15:48:10 +08:00
Mihail Geshoski
431e7961a8 MDL-80750 mod_assign: Move 'notify students' option into sticky footer 2024-09-18 15:48:09 +08:00
Mihail Geshoski
d62f653e47 MDL-80750 mod_assign: Generic bulk action form template 2024-09-18 15:48:09 +08:00
Shamim Rezaie
35cabfcc7e MDL-80750 core: Use roving tabindex to manage focus for bulk actions
Implement roving focus for toolbars.
See https://www.w3.org/WAI/ARIA/apg/patterns/toolbar/
2024-09-18 15:48:09 +08:00
Shamim Rezaie
6bc8bf6360 MDL-80750 core: Limit bulk action buttons in sticky footer to 5 2024-09-18 15:48:09 +08:00
Shamim Rezaie
512f163309 MDL-80750 mod_assign: Move quick grading submit button to sticky footer 2024-09-18 15:48:09 +08:00
Shamim Rezaie
fc5b396a69 MDL-80750 mod_assign: Show bulk action controls on the sticky footer 2024-09-18 15:48:09 +08:00
Shamim Rezaie
5f6fe3e02f MDL-80750 mod_assign: gradingtable should not print paging bar 2024-09-18 15:48:09 +08:00
Shamim Rezaie
5a5b16d207 MDL-80750 mod_assign: Show sticky footer with pagination on grading page 2024-09-18 15:48:09 +08:00
Paul Holden
71a55aa368
MDL-83148 assignfeedback_editpdf: style icons in comment editing menu. 2024-09-15 11:05:04 +01:00
Huong Nguyen
45b42a325c
Merge branch 'MDL-68676-main' of https://github.com/rhell4/moodle 2024-09-11 15:49:52 +07:00
Huong Nguyen
c9a4cfcda3
Merge branch 'MDL-81909-main' of https://github.com/rezaies/moodle 2024-09-05 14:49:32 +07:00
Shamim Rezaie
7662c15e56 MDL-81909 mod_assign: Additional doc and styling fixes 2024-09-05 03:25:12 +10:00
Shamim Rezaie
46cbbe1d6a MDL-81909 mod_assign: Automatic phpcbf styling with moodle-extra ruleset 2024-09-05 03:19:41 +10:00
Shamim Rezaie
cc5f6f222d MDL-81909 mod_assign: fix test_attempt_reopen_method_untilpass 2024-09-05 03:15:31 +10:00
Paul Holden
445fe37166
Merge branch 'MDL-82987-main' of https://github.com/mihailges/moodle into main 2024-09-04 09:58:19 +01:00
Mihail Geshoski
2ff6e9a2ae MDL-82987 mod_assign: Restore magnifying glass icon in preview link
The icon used in the full preview link for submissions and feedback was
inadequately replaced with an eye icon, which is typically associated
with visibility toggling or state indication. The previous magnifying
glass icon was more appropriate for this purpose, so this issue restores
it.
2024-09-03 10:43:11 +08:00
Huong Nguyen
18058972f0
Merge branch 'MDL-82684-main' of https://github.com/rezaies/moodle 2024-09-03 09:36:02 +07:00
Ilya Tregubov
d38fa6e579 Merge branch 'MDL-80751-main-2' of https://github.com/mihailges/moodle 2024-09-03 09:18:00 +08:00
Kevin Percy
990d54fc98 MDL-80751 behat: Combined Grade action into one step 2024-09-02 17:46:20 +08:00