513 Commits

Author SHA1 Message Date
David Mudrak
fa95cb4e77 Call the parent's constructor in renderers 2010-01-04 18:13:17 +00:00
David Mudrak
d10ee0be7f Grading report - columns sorting support 2010-01-04 18:13:04 +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
8a1ba8ac04 MDL-20264 work in progress on grading evaluation support
Also fixes small bugs in workshop api constructor and in using "scales"
instead of "scale" for the core table name.
2010-01-04 18:12:12 +00:00
David Mudrak
89c1aa977b MDL-20058 Grading report, aggregation of submission grades
Not finished yet
2010-01-04 18:11:48 +00:00
David Mudrak
d895c6aaf5 Improved context handling
Getting a context from instance is very cheap and I can actually do it
just once when constructing the workshop API class. In the future, I
will get rid of all $PAGE->context which is actually meant for things
like blocks etc.
2010-01-04 18:11:35 +00:00
David Mudrak
8831ba8037 Assessment weight DEFAULTs to 1 2010-01-04 18:11:22 +00:00
David Mudrak
5aa45d7176 Added an important documentation to a capability 2010-01-04 18:11:11 +00:00
David Mudrak
e807e9a342 Display a button to run aggregation process 2010-01-04 18:11:02 +00:00
David Mudrak
f8236f649b Added timeaggregated time stamp 2010-01-04 18:10:52 +00:00
David Mudrak
2a8c433ed5 Added new helpfile (just for testing purposes) 2010-01-04 18:10:42 +00:00
David Mudrak
5e71cefbba Work in progress: grading report refactoring 2010-01-04 18:10:28 +00:00
David Mudrak
61b737a51c Adding percent_to_value() helper + its unittests 2010-01-04 18:10:18 +00:00
David Mudrak
caee9bfca2 Fixed the id of the string from null to nullgrade 2010-01-04 18:10:08 +00:00
David Mudrak
1f5a559590 Preparing for the future feature to let the user to set users per page 2010-01-04 18:09:58 +00:00
David Mudrak
03625394ce Adding new table workshop_aggregations
This table replaces the recently added workshop_evaluations and will
contain all grades aggregations done within a workshop activity. NULL
grades mean not aggregated yet.
2010-01-04 18:09:48 +00:00
David Mudrak
3f25563298 Fixed an OUTPUT issue 2010-01-04 18:09:38 +00:00
David Mudrak
6cc363f4bf Fixed a bug caused by incorrect comparison of float values 2010-01-04 18:09:28 +00:00
David Mudrak
a3610b08f4 Workshop planner tool now correctly counts the submissions and allocations 2010-01-04 18:09:18 +00:00
David Mudrak
6a8eca30c5 Allows to fake grading 2010-01-04 18:09:08 +00:00
David Mudrak
934329e50c Make sure we do not pass empty arrays to $DB->get_in_or_equal() 2010-01-04 18:08:58 +00:00
David Mudrak
e5d244bac5 Added a column to store the assessment weight 2010-01-04 18:08:48 +00:00
David Mudrak
75ff50df87 Allow submission attachments to be stored in subfolders 2010-01-04 18:08:38 +00:00
David Mudrak
29dc43e7e4 MDL-20058 first prototype of the grading report renderer 2010-01-04 18:08:27 +00:00
David Mudrak
00aca3c14c A lot of work here and there
DB columns userid renamed to authorid or reviewerid to make the value
clear. Improved manual allocation UI. Raw grades are stored as numeric
values from 0.00000 to 100.00000 (instead of the current 0 to 1) to be
more precise. Started to work on the Grading report (it est the overall
report of all grades form submission and grades for assessments).
2010-01-04 18:08:13 +00:00
David Mudrak
b51c55d2f9 Added workshop_evaluations to store aggregated grades for assessments
The gradinggrade can not be stored in workshop_submissions because
participants without their own submission can be reviewers, too.
2010-01-04 18:07:48 +00:00
David Mudrak
aa40adbf9f MDL-19717 workshop manual allocator - pagination support and performance issues 2010-01-04 18:07:38 +00:00
David Mudrak
87a5368df1 Scalability issues
Did not display properly with dozens of users
2010-01-04 18:07:28 +00:00
David Mudrak
15d12b54f0 Instructions for reviewers work 2010-01-04 18:07:17 +00:00
David Mudrak
7ab6f2603a Conform the new interface requirments 2010-01-04 18:07:07 +00:00
David Mudrak
6c7e33d679 Added and re-sorted strings 2010-01-04 18:06:57 +00:00
David Mudrak
7b9b33eb8e Fixed "Edit submission" button link 2010-01-04 18:06:47 +00:00
David Mudrak
dbb3c72801 Fixed pluginfile support 2010-01-04 18:06:37 +00:00
David Mudrak
45d24d396e Added the skelet for grading evaluation subplugins 2010-01-04 18:06:26 +00:00
David Mudrak
f05c168d2e MDL-20236 overall codebase architecture cleanup and fixing regression
See the issue description for more details
2010-01-04 18:05:48 +00:00
David Mudrak
6516b9e9e4 Added instructions for submitting
File API seems to be broken right now so I can't test properly. The new
mod/page code was re-used here.
2010-01-04 18:02:27 +00:00
David Mudrak
ddb59c778f Displays all assigned submissions to be reviewed and saves the calculated grade 2010-01-04 18:02:16 +00:00
David Mudrak
3dc78e5b04 Refactoring some critical parts
Critical issue fixed here: after recent refactorings, I called
get_users_with_capability() inside the loop in another loop! (oops :-)
This was used in my very first code using the renderers. I have learnt
I should follow the core approach (as suggested by Tim) to prepare a
data object and pass it to the renderer. The fact the renderer called
a workshop method indicated something was really wrong...

WIP
2010-01-04 18:02:05 +00:00
David Mudrak
51508f2591 Go workshop, go! 2010-01-04 18:01:50 +00:00
David Mudrak
e9b0f0ab97 Displays the list of submissions 2010-01-04 18:01:40 +00:00
David Mudrak
454e8dd965 Phases can be switched from the Workshop plan tool
There may be more conditions checks written in the future and the
explanation added on what can be expected to happen after the phase
switch.
2010-01-04 18:01:29 +00:00
David Mudrak
3189fb2d42 Uses tabs for all actions, removed temporary links 2010-01-04 18:01:15 +00:00
David Mudrak
da0b1f70c1 More work done on the Workshop Plan UI 2010-01-04 18:01:05 +00:00
David Mudrak
b761e6d9c6 Mostly working on the view.php UI plus some changes 2010-01-04 18:00:54 +00:00
David Mudrak
b13142daee Refactored the Workshop API class
Uses the PHP magic getter to access the underlying database record. Does
not do the serialization goulash, as the passed objects should be clear
database rows.
2010-01-04 18:00:34 +00:00
David Mudrak
095d6e6c9d Reviewed and modified the workshop capabilities 2010-01-04 18:00:24 +00:00
David Mudrak
39861053c4 MDL-20183 Uses some of the new Navigation API 2010-01-04 18:00:12 +00:00
David Mudrak
c333a49ecc MDL-20192 Moving settings.php into suplugins and a small fix 2010-01-04 18:00:02 +00:00