Commit Graph

1234 Commits

Author SHA1 Message Date
David Mudrak 2fe703edfc Accumulative grading: calculation of grade given by peer reviewer 2010-01-04 17:52:35 +00:00
David Mudrak 50d79a0d08 Added an unique index on workshop_grades 2010-01-04 17:52:25 +00:00
David Mudrak 7f0666a1bb Removing unittesting of implementation details 2010-01-04 17:52:14 +00:00
David Mudrak 7a0ae478c3 Refactoring and fixing
There was a chaos in dimension masterids and localids
2010-01-04 17:52:04 +00:00
David Mudrak fa159f43c1 Fixed wroing using of static cache 2010-01-04 17:51:54 +00:00
David Mudrak 3d2924e995 Removing static variables. Double quoting SQL. Named param 2010-01-04 17:51:44 +00:00
David Mudrak 05e69e56a4 Prepared a framework for calculating the grade for submission as suggested by the reviewer 2010-01-04 17:51:34 +00:00
David Mudrak bcf6eff795 Fixed regressions 2010-01-04 17:51:22 +00:00
David Mudrak 0715308cd1 Accumulative assessment saves (and loads already saved) evaluation 2010-01-04 17:51:10 +00:00
David Mudrak decfb3bef6 Use standard elements for setting the grades and scales 2010-01-04 17:50:59 +00:00
David Mudrak 18cbfe9b1e Displays embeded files in assessment forms 2010-01-04 17:50:48 +00:00
David Mudrak c2441dd872 Removing TODO.txt file 2010-01-04 17:50:38 +00:00
David Mudrak 9bfea3cda9 Migrated deprecated popup_form() 2010-01-04 17:50:24 +00:00
David Mudrak e05160733e Replacing deprecated print_user_picture() 2010-01-04 17:50:13 +00:00
David Mudrak c1e883bb04 Display "Edit submission" button at submission page 2010-01-04 17:50:03 +00:00
David Mudrak d9a439c01a Deletes the embeded media when deleting the assessment dimension 2010-01-04 17:49:53 +00:00
David Mudrak 91e25af93b Do not support tags yet until the API stabilizes
The generated form uses deprecated calls at the moment.
2010-01-04 17:49:43 +00:00
David Mudrak 088e75ca19 Replaces deprecated update_module_button() 2010-01-04 17:49:33 +00:00
David Mudrak 6405b2549c Assessment dimensions now have unique id which allows to embed media. 2010-01-04 17:49:23 +00:00
David Mudrak 0db82a04db DB structure change
Every dimension has to have its own ID so it may become itemid within
File API framework. Using the same model as we have with course modules
and module instances.
Also, removing some obsolete fields.
2010-01-04 17:49:13 +00:00
David Mudrak a39d7d87aa A lot of changes here and there 2010-01-04 17:49:01 +00:00
David Mudrak b8ead2e6a4 Uses workshop renderer to display assessment page
Some small refactoring like using single function to group users done.
2010-01-04 17:48:33 +00:00
David Mudrak 0dc47fb913 MDL-19941 Submission attachments and embedded files draft support
Plus some cleaning up here and there
2010-01-04 17:48:20 +00:00
David Mudrak 547bbeecac Adding a development tools script 2010-01-04 17:48:07 +00:00
David Mudrak 9ab2d197e5 In response to MDL-19603 changing the text length to big everywhere
Also, the submission wysiwyg part is going to be stored in "content"
instead of current "data".
2010-01-04 17:47:54 +00:00
David Mudrak a7c5b9185a Extending workshop class constructor
Every action script in 99% starts with fetching course, course module,
and module instance record. Workshop class will keep the reference to
the course record in courserecord public member variable (do not confuse
with course integer property).
2010-01-04 17:47:43 +00:00
David Mudrak da92436b2d MDL-19870 Random allocation - work in progress
Random allocation implemented. More testing needed.
2010-01-04 17:47:32 +00:00
David Mudrak 32e3858578 Fix: do not remove allocation if it should be kept 2010-01-04 17:47:22 +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 59ef784763 Use the new output->table() rendering method 2010-01-04 17:46:44 +00:00
David Mudrak 66c9894dbc Manual allocator uses the new subrendering feature 2010-01-04 17:46:33 +00:00
David Mudrak 6e3099730e MDL-19717 First drafts of allocation support 2010-01-04 17:46:05 +00:00
David Mudrak 558587c2ad Added capabilities 2010-01-04 17:45:27 +00:00
David Mudrak ffac17dfbc Use the new output approach 2010-01-04 17:45:14 +00:00
David Mudrak 7a02d1f2e5 Removed anonymity and hidegrades
These will be controlled by capabilities, as suggested by Eloy.
2010-01-04 17:45:03 +00:00
David Mudrak 0968b1a393 First drafts of assessment support 2010-01-04 17:44:52 +00:00
David Mudrak 13778dd77d Renaming {load|save}_grading_form() methods
After I started work on assessment support, I realized that "grading
form" would not be consistent with "assessment form".
2010-01-04 17:44:30 +00:00
David Mudrak ca68206ebd Renaming gradingform.php to edit_form.php 2010-01-04 17:44:07 +00:00
David Mudrak b444b77af0 First drafts of the Number of errors grading strategy 2010-01-04 17:43:31 +00:00
David Mudrak 113b6e4b91 Display the strategy name 2010-01-04 17:43:12 +00:00
David Mudrak a8389d652b Edit grading form refactoring
The previous desing was too "base-class oriented". I have realized that
strategies have to deal with loading and saving dimension definitions in
their own way. Getting rid of all db<->form field mappings as it would
work for very simple strategies only.
2010-01-04 17:43:02 +00:00
David Mudrak f6cd09e042 Added submission form strings 2010-01-04 17:42:49 +00:00
David Mudrak 127032fe3d Some plays with submission, to do 2010-01-04 17:42:37 +00:00
David Mudrak 6867e05d88 Adding formal source code conventions 2010-01-04 17:42:27 +00:00
David Mudrak e256f8c48d Explaining nattachments better 2010-01-04 17:42:17 +00:00
David Mudrak 33e4dea627 Initial draft of submission support 2010-01-04 17:38:29 +00:00
David Mudrak 6d86051250 Some mform refactoring
Uses customdata instead of modified constructor.
2010-01-04 17:37:53 +00:00
David Mudrak 9277982f0f Yay! Saving dimensions works
Cooking dimension editor's raw data is done by the strategy class.
2010-01-04 17:37:31 +00:00
David Mudrak 868177e7bc Fixed the missing table in Error banded strategy and renaming it to Number of errors. 2010-01-04 17:37:04 +00:00
David Mudrak b53f8015cd Use strategy-specific term for assessment dimension 2010-01-04 17:36:43 +00:00