8529 Commits

Author SHA1 Message Date
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
David Mudrak
7e109b56ae Dropping obsolete function call 2010-01-04 17:59:46 +00:00
David Mudrak
ed597c7756 MDL-20192 Allocators and grading strategies are proper subplugins now 2010-01-04 17:59:34 +00:00
David Mudrak
0121d6302c Removed the Dummy grading strategy
This was here for the code reviewing purposes only.
2010-01-04 17:58:45 +00:00
David Mudrak
4eae27fda8 MDL-19931 Number of errors - grading strategy logic implemented 2010-01-04 17:58:26 +00:00
David Mudrak
1dbbccb7a2 Fixed SQL quoting - double quotes needed here 2010-01-04 17:58:16 +00:00
David Mudrak
7a79469c75 Fixed a unittest bug 2010-01-04 17:58:06 +00:00
David Mudrak
f9cb8ea72f MDL-20192 Allocation and grading methods are proper subplugins now.
Still, some areas to be finished - strings and settings
2010-01-04 17:57:54 +00:00
David Mudrak
bdb78faa21 WIP template for unit testing 2010-01-04 17:56:56 +00:00
David Mudrak
b29f0c7d9d Get rid of old navigation stuff (to finish yet) and use OUTPUT 2010-01-04 17:56:44 +00:00
David Mudrak
235b31c887 Reverts the double quotes surrounding SQL 2010-01-04 17:56:34 +00:00
David Mudrak
bc40ea0a9e Better explanation of the returned value 2010-01-04 17:56:23 +00:00
David Mudrak
0371fd0f2c Displays the radio to evaluate the assertion
Also offers all possible numbers of errors, if weighted ones are
counted. Reverts the double quotes coding style for SQL.
2010-01-04 17:56:13 +00:00
David Mudrak
42140421db Work in progress on "Number of errors" grading strategy. Does not work yet. 2010-01-04 17:56:01 +00:00
David Mudrak
7f8312728b Added a dummy grading strategy to demonstrate the basic structure of the component 2010-01-04 17:55:45 +00:00
David Mudrak
8d54587610 Puttting a TODO note - return to this code once working on the Scheduled allocation 2010-01-04 17:55:23 +00:00
David Mudrak
e724e3e5f2 Fixing the rendering of remove icon 2010-01-04 17:55:13 +00:00
David Mudrak
65ba104c5d Reverting Petr's suggestion - using stdClass instead of object again
I do not agree with using object() class for no real reason.
2010-01-04 17:55:02 +00:00
David Mudrak
2c3a86b0f7 Fixed function name typo 2010-01-04 17:54:46 +00:00
David Mudrak
f051cee111 wip 2010-01-04 17:54:36 +00:00
David Mudrak
c46e753305 Fixing regression
Raw database records and $USER are stdClasses (grrr I wonder why we ever
started with this object class)
2010-01-04 17:54:23 +00:00
David Mudrak
dfd3497a75 Fixing the type for grades to number(10,5) 2010-01-04 17:54:13 +00:00
David Mudrak
b398c4c28d Dropping support for Workshop password
Discussed with Petr. Password protection should be sorted out at the
core level (conditionlib maybe).
2010-01-04 17:54:03 +00:00
David Mudrak
3fd2b0e1ac Petr's review: private member variables do not have underscore prefix 2010-01-04 17:53:53 +00:00