14 Commits

Author SHA1 Message Date
David Mudrak
6832a10264 Initial support for the grading management screen
The user is sent to the new grade/grading/manage.php screen when an
advanced grading method is set in the activity mod form or via the
settings block.

The screen is supposed to (1) let the user change the currently active
grading method, (2) open the editor for the selected method, (3) create
new form from a template (4) display a preview of the form.
2011-10-18 01:05:07 +02:00
David Mudrak
8168299d7e Improved integration into the settings block 2011-10-16 19:40:47 +02:00
David Mudrak
03d448e5ff Activity module's settings form redirects to the management screen when advanced grading method was selected to use 2011-10-16 19:40:47 +02:00
David Mudrak
3bd217aaa4 Grading manager's set_active_method() returns bool now 2011-10-16 19:40:46 +02:00
Marina Glancy
18e6298c7b Added validation to grading form, implemented methods in advanced grading to return form contents and process and return the final grade 2011-10-12 11:48:06 +08:00
David Mudrak
21d37aa623 MDL-29479 The draft of embedding the UI widgets into the page
The patch makes more sense when reviewed together with the parallel work
on gradingform_random (see MDL-29631) where the developed API is
actually tested.
2011-10-08 00:59:01 +02:00
David Mudrak
3e43eff5dc MDL-29479 Improved gradingform_controller base class 2011-10-05 03:51:41 +02:00
David Mudrak
8cd65f1657 MDL-29479 It is now possible to set the active method to null (simple direct grading) 2011-10-05 03:50:12 +02:00
David Mudrak
fb13a1484d MDL-29479 Improved grading manager factory function 2011-10-05 03:49:21 +02:00
David Mudrak
9b8550f8d9 MDL-29479 Grading method plugins can extend module settings block
As a part of this, new class grading_controller is introduced and bunch
of smaller changes was done here and there.
2011-10-03 22:26:53 +02:00
David Mudrak
6440286719 MDL-29479 Active grading method can be set for the given area 2011-10-03 22:26:52 +02:00
David Mudrak
8a4acb3aca MDL-29479 Cosmetic rename of some methods in grading manager API 2011-10-03 22:26:52 +02:00
David Mudrak
6c9e506ca5 MDL-29479 List of available grading methods returned properly 2011-10-03 22:26:52 +02:00
David Mudrak
4333580e80 MDL-29479 Added new core subsystem "grading" 2011-09-29 00:09:58 +02:00