2888 Commits

Author SHA1 Message Date
Ilya Tregubov
435619ac90 Merge branch 'MDL-81866-main' of https://github.com/sarjona/moodle 2024-06-26 10:16:36 +08:00
Sara Arjona
56cdb1a3d3
Merge branch 'MDL-79231-main' of https://github.com/davewoloszyn/moodle 2024-06-25 16:12:55 +02:00
Sara Arjona
cf7cc40f4b
MDL-81866 course: Fix behat errors after improving reset 2024-06-25 12:59:26 +02:00
David Woloszyn
8b71894d62 MDL-79231 mod_assign: Fix Tiny menu in fullscreen mode 2024-06-20 13:05:18 +10:00
Sara Arjona
c28933ef10
Merge branch 'MDL-81730' of https://github.com/paulholden/moodle 2024-06-19 13:31:33 +02:00
Sara Arjona
72f0d10e11
Merge branch 'MDL-80745-main' of https://github.com/rezaies/moodle 2024-06-19 08:48:40 +02: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
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
Huong Nguyen
1f099bfa12
Merge branch 'MDL-80743-main' of https://github.com/rezaies/moodle 2024-06-12 09:41:22 +07:00
Eloy Lafuente (stronk7)
4f7631113c
MDL-81522 phpunit: Add missing void return type to all tests #2
This commit includes more changes, all them also adding the :void
return type to unit tests missing them.

The difference is that all these changes, while also detected
perfectly by the moodle.PHPUnit.TestReturnType sniff, were not
auto-fixed (like the previous commit ones), because all them
do include some "return" statement and, for safety, we don't
fix them.

All the cases have been visually inspected and confirmed that
the existing "return" statements always belong to anon
functions within the test body and not the test own return statement.
2024-06-11 11:55:08 +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
meirzamoodle
6322f15f93
MDL-81890 assign: confirm_sesskey fixed in view_fix_rescaled_null_grades 2024-06-06 22:02:35 +08:00
Huong Nguyen
1d680644c2
Merge branch 'MDL-81955' of https://github.com/paulholden/moodle 2024-06-04 10:33:21 +07:00
Shamim Rezaie
b7e6a176e6 MDL-80743 mod_assign: Add automatic attempt reopening option 2024-05-31 17:40:23 +10:00
Sara Arjona
5d6c6bf81c
NOBUG: Add upgrade notes 2024-05-30 17:00:19 +02:00
Andrew Nicols
b17b4ad4a3
MDL-68262 assignfeedback_editpdf: Correct args to make_request_directory 2024-05-30 09:53:19 +07:00
Frederik Milling Pytlick
3590629dca MDL-54105 mod_assign: Refactored the way that the default is set
Improved the way the default is set, now requiring less code and being more readable
2024-05-29 14:44:47 +02:00
Jun Pataleta
65053f6584
Merge branch 'MDL-68262-main' of https://github.com/andrewnicols/moodle 2024-05-29 16:19:04 +08:00
Huong Nguyen
84a2fdc2c7
MDL-54105 mod_assign: Move upgrade notes 2024-05-28 15:27:21 +07:00
Huong Nguyen
175e48bc08
Merge branch 'MDL-54105-master-default_grade_on_mod_assign' of https://github.com/praxisdigital/moodle 2024-05-28 15:21:39 +07:00
Frederik Milling Pytlick
cf7e43666b MDL-54105 mod_assign: Added default gradetype and gradescale
Added 2 new settings to mod_assign and made moodle core look for them to set the default grade values.
2024-05-28 09:10:20 +02:00
Andrew Nicols
f144ede33c
Merge branch 'MDL-82004' of https://github.com/paulholden/moodle 2024-05-28 14:30:30 +08:00
Andrew Nicols
94d5733a2d
Merge branch 'MDL-81411-main' of https://github.com/ilyatregubov/moodle 2024-05-28 14:14:17 +08:00
Sara Arjona
47cd442dc9
MDL-81872 course: Fix behat errors after improving reset 2024-05-27 16:18:54 +02:00
Sara Arjona
cb72a08193
MDL-81872 course: Improve the summary page for reset 2024-05-27 16:18:54 +02:00
Sara Arjona
22cc975705
MDL-81872 course: Improve wording and workflow for reset 2024-05-27 16:18:54 +02:00
Sara Arjona
6c78f19365
MDL-81872 assign: Fix coding style 2024-05-27 09:23:24 +02:00
Ilya Tregubov
45227cb644 MDL-81411 mod_assign: Use choicelist for Additional attempts. 2024-05-24 19:38:49 +08:00
Ilya Tregubov
8f9e93f5a3 NOBUG: Add upgrade notes 2024-05-24 10:51:52 +08:00
Ilya Tregubov
9d38dcbca4 NOBUG: Fixed file access permissions 2024-05-24 10:51:30 +08:00
Andrew Nicols
a4484911bf
MDL-80741 mod_assign: Move upgrade notes 2024-05-24 09:25:29 +07:00
Paul Holden
9fec520814
MDL-82004 assignsubmission_onlinetext: no concatenation in lang strings. 2024-05-23 13:06:25 +01:00
Huong Nguyen
571d3d8821
Merge branch 'MDL-81862' of https://github.com/paulholden/moodle 2024-05-23 08:47:27 +07:00
Shamim Rezaie
633fde271f Merge branch 'MDL-80741-main' of https://github.com/mihailges/moodle 2024-05-22 01:28:46 +10:00
Mihail Geshoski
d5e7960139 MDL-80741 mod_assign: Remove 'none' from 'attemptreopenmethod' setting
The default option "ASSIGN_ATTEMPT_REOPEN_METHOD_NONE" for the
"attemptreopenmethod" setting, which disallows multiple attempts at the
assignment, has been removed. This option was unnecessary because
limiting attempts to 1 through the "maxattempts" setting achieves the
same behavior.
Apart from removing this setting option (including removal of usage in
code and updating existing data in the DB), these changes include:
- Introducing a more effective progressive disclosure by allowing the
  "maxattempts" setting to control the visibility of the
  "attemptreopenmethod" setting in the form.
- String improvements to the labels and help text for the "maxattempts"
  and "attemptreopenmethod" settings
- Changing the default value of the "maxattempts" setting from
  "unlimited" to "1"
2024-05-21 23:05:18 +08:00
Huong Nguyen
bd9631bda5
Merge branch 'MDL-81125-main-alt' of https://github.com/andrewnicols/moodle 2024-05-21 15:33:09 +07:00
Paul Holden
62783eeef2
MDL-81862 mod_assign: add activity field files for backup/restore. 2024-05-21 09:05:58 +01:00
Ilya Tregubov
c3453a270c Merge branch 'MDL-81318' of https://github.com/paulholden/moodle 2024-05-21 12:48:51 +08:00
Paul Holden
736e398ea9
MDL-81730 assignsubmission_file: deterministic submission file order. 2024-05-20 20:14:07 +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
2046151a9f
MDL-81955 assignfeedback_editpdf: ensure ghostscript present in tests. 2024-05-17 10:21:36 +01:00
Paul Holden
06723c458d
MDL-81318 assignsubmission_onlinetext: ignore blank content download. 2024-05-15 09:33:15 +01:00
Simey Lameze
26f408ecc2 MDL-70441 mod_assign: change condition to check if variable is not empty 2024-05-15 07:06:47 +08:00
David Balch
726de6ab68 MDL-70441 assign: Freeze workflow states not available to user.
Prior to this, a custom grader role that has mod/assign:grade but not
mod/assign:releasegrades or mod/assign:managegrades would see a select
with only the states available to them - not the current state, and
could reset a grade from released to Not marked/In marking/Marking
completed.
2024-05-14 12:53:27 +08:00
Andrew Nicols
98ee60401c
MDL-68262 assignfeedback_editpdf: Update unit test for latest coding style 2024-05-09 10:36:43 +08:00
Andrew Nicols
5d539f423b
MDL-68262 assignfeedback_editpdf: Switch to request dirs 2024-05-09 10:14:25 +08:00
Tim Hunt
a64c23c045 MDL-81423 assign: improve valdation message for submissionstatement 2024-05-03 10:32:50 +01:00
Mark Johnson
7cc089a457
MDL-81611 assign: Close session early in gradingpanel fragment 2024-04-25 16:14:43 +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
a180dba314
MDL-81549 versions: bump all versions and requires near release 2024-04-17 00:03:29 +08:00