91 Commits

Author SHA1 Message Date
Ilya Tregubov
faae0874ce MDL-68652 mod_forum: Only include gradable users in grading 2023-12-06 21:11:28 +08:00
Ilya Tregubov
b43ccea792 MDL-68652 core_grades: Add a webservice to retrive only gradable users. 2023-12-05 09:37:24 +08:00
Ilya Tregubov
f591de2b58
MDL-79555 core_grades: Remove copy pasted code.
Seems that data from form was overridden for no reason.
2023-10-02 17:31:43 +08:00
Mihail Geshoski
6cf7908652 MDL-77035 grades: WS that returns the grade tree structure in a course 2023-09-20 23:53:43 +02:00
Huong Nguyen
398bb78fa7
Merge branch 'MDL-78533' of https://github.com/paulholden/moodle 2023-08-24 15:35:14 +07:00
Kevin Percy
4f9e931993 MDL-77640 gradebook: Moved add items to new tertiary nav dropdown 2023-08-22 11:50:34 +08:00
Paul Holden
bdfe13c4fd
MDL-78533 grade: relax param type of itemname in external structures.
Ensure it conforms to the same format as allowed for course modules.
2023-08-21 10:53:40 +01:00
Jun Pataleta
3cfaa97d63
Merge branch 'MDL-78922-master' of https://github.com/ilyatregubov/moodle 2023-08-17 09:11:46 +02:00
Sara Arjona
272109c19a
Merge branch 'MDL-78858' of https://github.com/paulholden/moodle 2023-08-17 09:09:15 +02:00
Ilya Tregubov
8490867291
MDL-78922 core_grades: Add missed element to category modal. 2023-08-16 16:44:00 +08:00
Jun Pataleta
5dbb5cc3ea
Merge branch 'MDL-78872' of https://github.com/paulholden/moodle 2023-08-09 12:10:30 +08:00
Paul Holden
b3d00a8f0a
MDL-78872 grade: fix external class execute method visibility. 2023-08-07 15:19:25 +01:00
Ilya Tregubov
2e18ba8750
Merge branch 'MDL-78550-master' of https://github.com/junpataleta/moodle 2023-08-07 11:34:04 +08:00
Jun Pataleta
1be10f4249
Merge branch 'MDL-77991' of https://github.com/Chocolate-lightning/moodle 2023-08-03 10:23:24 +08:00
Mathew May
a4b3b0d044 MDL-77991 core: Move tertiary search dropdown component 2023-08-03 09:07:18 +08:00
Ilya Tregubov
3f16a97a2d
MDL-78430 core_grades: Support grades categories and outcomes 2023-08-02 10:29:38 +08:00
Sara Arjona
3e4157b21f
Merge branch 'MDL-78430-master-2' of https://github.com/ilyatregubov/moodle 2023-08-01 13:02:47 +02:00
Mathew May
b2e1121fc0
MDL-77639 gradebook_setup: Create outcomes via dyn form 2023-08-01 11:34:04 +07:00
Paul Holden
124113515e
MDL-78858 grade: set types on aggregation form text fields. 2023-07-31 11:27:29 +01:00
Jun Pataleta
ad6d554ac1
MDL-78550 grade: Remove duplicate class for single button 2023-07-28 17:46:56 +08:00
Mihail Geshoski
b5a87c1919
MDL-78430 core_grades: Carry over basic grade item data to advanced form 2023-07-28 16:16:19 +08:00
Ilya Tregubov
1d3f4d631d
MDL-77638 grade: Create add/edit grade category modal. 2023-07-25 17:05:41 +08:00
Jun Pataleta
132cf637f3 Merge branch 'MDL-77637-trimmed' of https://github.com/Chocolate-lightning/moodle 2023-06-27 10:33:34 +08:00
Mathew May
997134f52f MDL-77637 gradebook_setup: Create gradeitems via dyn form 2023-06-27 09:01:25 +08:00
Andrew Nicols
f7f01fe2ab Merge branch 'MDL-78273' of https://github.com/Chocolate-lightning/moodle 2023-06-22 14:29:41 +02:00
Meirza
337bc1554a MDL-78164 lib: Added class properties that are not declared in grade
In PHP 8.2 and later, setting a value to an undeclared class property is
deprecated and emits a deprecation notice.
So we need to add missing class properties that still need to be declared.

Co-authored-by: Andrew Nicols <andrew@nicols.co.uk>
2023-06-21 14:41:35 +07:00
Mathew May
e027a0ef03 MDL-78273 gradereport: Feedback modal styling 2023-06-20 10:34:05 +08:00
Paul Holden
9aa23e4aff
MDL-78093 grade: standardize additional external parameter type. 2023-05-02 16:17:11 +01:00
Mathew May
1a1939ac29 MDL-75274 gradereport_grader: Column collapsing 2023-04-13 11:45:17 +08:00
Kevin Percy
b976b3bed0 MDL-77030 gradereport_grader: Display feedback in grader report 2023-04-11 13:16:06 +08:00
Mathew May
d80fb6ce2c MDL-76143 gradebook: Add search into graderreport 2023-03-30 11:29:01 +08:00
Shamim Rezaie
02471ef1cd MDL-76246 core_grades: Remove url param from ws 2023-03-22 20:59:14 +11:00
Paul Holden
44d140d20c Merge branch 'MDL-76869-master' of https://github.com/cameron1729/moodle 2023-02-03 14:58:24 +00:00
Jun Pataleta
8b88c61b70 Merge branch 'MDL-69690-master' of https://github.com/ilyatregubov/moodle 2023-02-02 10:35:02 +08:00
Laurent David
fc72a1d7b1 MDL-75337 core: Single button - core changes
* Change all core calls toward single_button to use single_button::BUTTON_PRIMARY
    when needed
2023-01-24 06:01:35 +01:00
Andrew Nicols
a3cc26f8bb MDL-76583 core: Update uses of external_* classes 2023-01-19 07:34:09 +08:00
Cameron Ball
6bf955ca9e MDL-76869 gradebook: Pass exception to rollback 2023-01-12 16:31:46 +08:00
Ilya Tregubov
93a70ba807 MDL-69690 mod_workshop: Fix fieldname for workshop. 2023-01-12 15:01:11 +07:00
Ilya Tregubov
9934ec1363 Merge branch 'MDL-76134-abstract' of https://github.com/Chocolate-lightning/moodle 2023-01-09 14:39:28 +07:00
Mathew May
6b0d3b3eae MDL-76134 gradebook: Add a bare dropdown component 2023-01-09 09:22:20 +08:00
Luca Bösch
864a1eba5a MDL-76781 gradebook: support multilingual group names. 2023-01-05 13:27:39 +01:00
Mathew May
57e65480a3 MDL-75837 gradebook: accessibility improvements 2022-11-14 10:19:45 +08:00
Mathew May
ee71eae12a MDL-75362 gradebook: add group selector into reports 2022-10-20 21:24:51 +08:00
Mathew May
e7c1c2841d MDL-75362 gradereport_user: Roll in zero state work for user report 2022-10-20 21:24:51 +08:00
Mihail Geshoski
0e1cdfde1d MDL-75153 grade: Update the general tertiary nav selector in gradebook
Updates the general tertiary nav selector in gradebook to use the new
structure that utilizes the existing select_menu output component.
2022-09-20 00:17:56 +08:00
Shamim Rezaie
3505cb0fd2 MDL-75155 grades: Removed $exportactiveurl and $importactiveurl
The parameters $exportactiveurl and $importactiveurl are removed from
export_action_bar and import_action_bar classes. Not only passing them
were redundant and it was possible to generate them by having
$activeplugin (also passed to the mentioned class constructors), but
also we had a bug there. The value of $PAGE->url was passed as those
parameters, but $PAGE->url can sometimes include additional parameters
and as a result, its value may not match any of the available
export/import plugins.
2022-09-06 21:41:04 +10:00
Shamim Rezaie
fa59f35ca4 MDL-75155 grades: Use the select_menu widget 2022-09-06 13:38:28 +10:00
Eloy Lafuente (stronk7)
e2821bf1ce MDL-73824 gradebook: Stricter float check to some gradelib functions
It has been detected that, right now, some localised floats are
being passed to those functions (say comma separator, say thousands)
and that's leading to all sort of problems later when comparing,
processing or storing those "wrong-floats" (user entered).

This just makes all those functions to be stricter, so any attempt
of passing to them a wrong float will fail with a clear TypeError.

Any existing case must be converted to a corrrect (X.Y) format, using
unformat_float() or PARAM_LOCALISEDFLOAT before any processing.

Localised floats cannot be used.

Also, fix all the places where those functions are called from
files having strict_types enabled because, with that, now float-like
strings are not accepted any more. Luckily, there is only case,
within the grade/classes/component_gradeitem.php file, and it has
been fixed by casting the float-like string coming from DB to float.
2022-03-03 12:19:02 +01:00
Mihail Geshoski
eb0b022bb7 MDL-72873 core_grades: Add tertiary navigation in grade scales 2021-12-16 00:10:13 +08:00
Mihail Geshoski
afbc8b2586 MDL-72873 core_grades: Add tertiary navigation in grade outcomes 2021-12-16 00:10:13 +08:00