Commit Graph

165 Commits

Author SHA1 Message Date
David Mudrak d183140de8 MDL-20058 workshop grading report fixes and small improvements 2010-01-04 18:22:47 +00:00
David Mudrak 8d57ce649d Do not display given grade before the workshop is closed 2010-01-04 18:22:37 +00:00
David Mudrak f55650e6bc Grading evaluation is now configurable on-the-fly 2010-01-04 18:18:30 +00:00
David Mudrak 1fed6ce39a Workshop total grade calculation support 2010-01-04 18:18:00 +00:00
David Mudrak a880be9b14 Pagination a sorting fix 2010-01-04 18:16:23 +00:00
David Mudrak d10ee0be7f Grading report - columns sorting support 2010-01-04 18:13:04 +00:00
David Mudrak e9a90e6916 aggregate_submission_grades() refactoring to allow unit testing 2010-01-04 18:12:44 +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 e807e9a342 Display a button to run aggregation process 2010-01-04 18:11:02 +00:00
David Mudrak 5e71cefbba Work in progress: grading report refactoring 2010-01-04 18:10: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 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 15d12b54f0 Instructions for reviewers work 2010-01-04 18:07:17 +00:00
David Mudrak 7b9b33eb8e Fixed "Edit submission" button link 2010-01-04 18:06:47 +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 39861053c4 MDL-20183 Uses some of the new Navigation API 2010-01-04 18:00:12 +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 088e75ca19 Replaces deprecated update_module_button() 2010-01-04 17:49:33 +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 547bbeecac Adding a development tools script 2010-01-04 17:48:07 +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 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 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 ffac17dfbc Use the new output approach 2010-01-04 17:45:14 +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 113b6e4b91 Display the strategy name 2010-01-04 17:43:12 +00:00
David Mudrak 33e4dea627 Initial draft of submission support 2010-01-04 17:38:29 +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
moodler 98017ce04a Removing temp files from HEAD (should still be available in MOODLE_20_WORKSHOP branch) 2009-05-27 02:22:05 +00:00
moodler 0a88d0f1c8 Some temp files to create the MOODLE_20_WORKSHOP branch with 2009-05-27 02:18:03 +00:00
Francois Marier 6800d78e06 Drift between CVS and git
- large deletions
- lucene updates
- error() => print_error()
- NO_MOODLE_COOKIES define
- various other things
2008-06-25 17:31:23 +00:00
dongsheng 5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
nicolasconnault 6dac764d18 MDL-13050 Reverting, it's not working out as well as planned 2008-01-21 13:40:47 +00:00
nicolasconnault 406af084a3 MDL-13050 Modules were updated, and grades.php files were added to the lesson and hotpot modules 2008-01-18 14:44:45 +00:00
tjhunt 38e179a4ed MDL-11741 - Convert core modules to take advantage of recent improvements to build_navigation.
This check-in removes about 400 lines of code. I hope I have not screwed anything up. I would be grateful if people could review this change, and keep an eye on the navigation bar in modules.

Any navigation bar bugs you find in the near future, feel free to file them in the tracker and assign them to me. Thanks.

If not to many problems are found, I think I would like to backport this to 1.9 stable, but I am not sure that is a good idea. Opinions to the General Developer Forum please. I am about to start a thread there.
2007-10-12 15:55:49 +00:00
mattc-catalyst 263017bbdd MDL-10888: groupings - mod/workshop - add grouping support 2007-09-06 01:35:37 +00:00