19 Commits

Author SHA1 Message Date
David Mudrak
65601f04a3 MDL-21249 workshop and its subplugins: fixing phpdocs @package and @subpackage 2010-09-30 14:44:33 +00:00
Petr Skoda
5924db724d fixed a few spelling problems and standardised stdClass 2010-09-18 14:18:39 +00:00
David Mudrak
7a789aa8cc workshop coding style - use stdclass instead of stdClass 2010-01-04 18:30:57 +00:00
David Mudrak
10bc4bce2b Various fixes found during testing 2010-01-04 18:24:17 +00:00
David Mudrak
f27b70fbbc MDL-20058 totalgrade stuff removed from workshop code 2010-01-04 18:24:03 +00:00
David Mudrak
f6e8b31802 workshop: general cleanup
Moving stuff from lib.php into static methods in localib.php. Removing
things from workshop core that were implemented in a subplugin. Dropping
stuff related to features not to be implemented in 2.0.
2010-01-04 18:22:10 +00:00
David Mudrak
1696f36cf2 Fixed submission grade aggregation
Overriding the submission grade influence the total grade, not the
aggregated one.
2010-01-04 18:19:48 +00:00
David Mudrak
1fed6ce39a Workshop total grade calculation support 2010-01-04 18:18:00 +00:00
David Mudrak
39411930fa Grading grades aggregations 2010-01-04 18:17:37 +00:00
David Mudrak
d5506aac98 Moving some helper functions from the renderer to the workshop API 2010-01-04 18:15:48 +00:00
David Mudrak
ff41eb7b1f Unit tests for workshop::aggregate_submission_grades_process() 2010-01-04 18:12:54 +00:00
David Mudrak
e9a90e6916 aggregate_submission_grades() refactoring to allow unit testing 2010-01-04 18:12:44 +00:00
David Mudrak
4efd7b5d5f Improved the workshop constructor to support unit testing
Thanks to Tim Hunt for the hint.
2010-01-04 18:12:32 +00:00
David Mudrak
61b737a51c Adding percent_to_value() helper + its unittests 2010-01-04 18:10:18 +00:00
David Mudrak
a39d7d87aa A lot of changes here and there 2010-01-04 17:49:01 +00:00
David Mudrak
53fad4b90c MDL-19870 Initial work on random allocator
Initial sketches of random allocator. Refactoring of the rest of the
module here and there. Also, this commit removes trailing whitespace and
running empty lines.
2010-01-04 17:47:09 +00:00
David Mudrak
6e3099730e MDL-19717 First drafts of allocation support 2010-01-04 17:46:05 +00:00
David Mudrak
6d86051250 Some mform refactoring
Uses customdata instead of modified constructor.
2010-01-04 17:37:53 +00:00
David Mudrak
4eab2e7fbb MDL-17827 workshop: initial check in of the files
Exported from David's git repository
2010-01-04 17:34:08 +00:00