41 Commits

Author SHA1 Message Date
Petr Skoda
64f93798d4 MDL-22950 adding new component column to the files table, unfortunately this change requires changes in all 2.0dev code, please review all custom code that was already upgraded to 2.0; fixing multiple problems and regressions in mod/assignment 2010-07-03 13:37:13 +00:00
David Mudrak
5a37249458 Workshop: assessments are available from the submission page 2010-06-14 10:28:35 +00:00
David Mudrak
232175e43a Workshop: submissions can be marked as published 2010-06-14 10:28:03 +00:00
David Mudrak
c6b784f09d Workshop: assessment weight can be set 2010-06-11 23:02:35 +00:00
David Mudrak
cff28ef080 Workshop: fixed checking of examples assessment before own assessment 2010-06-11 23:02:04 +00:00
David Mudrak
514d8c2269 Workshop: fixed checking of examples assessment before own submission 2010-06-10 09:54:25 +00:00
David Mudrak
ac239eba05 NOBUG workshop: allows instant assessment for the teachers
If a user is allowed to allocate a submission to herself for assessment,
there is now a button that she can press to immediately allocate and
assess the submission.
This patch also contains various cleanups spotted during the work.
2010-06-08 23:10:43 +00:00
David Mudrak
08af32afbd Workshop: uses navigation block + settings block instead of own tabs 2010-05-04 22:56:22 +00:00
Petr Skoda
a685593466 MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions 2010-01-16 15:39:56 +00:00
David Mudrak
c5abdea368 workshop: fixed another regression typo in output method 2010-01-15 10:48:05 +00:00
Petr Skoda
3ba60ee16a MDL-21235 new single button rendering 2010-01-14 19:18:04 +00:00
David Mudrak
7a789aa8cc workshop coding style - use stdclass instead of stdClass 2010-01-04 18:30:57 +00:00
David Mudrak
090a7907da workshop fixing incorrect use of logical operators 2010-01-04 18:28:56 +00:00
David Mudrak
a0aa8b2c01 workshop: do not allow editing outside the given frame 2010-01-04 18:28:46 +00:00
David Mudrak
cbf87967c7 MDL-20652 workshop: more work on example submissions
Important change: teacher's assessments of example submissions (now
known as "reference assessments") are now displayed to students after
they assess example submission.
2010-01-04 18:28:25 +00:00
David Mudrak
81eccf0a36 MDL-20652 workshop: initial work on example submissions 2010-01-04 18:27:21 +00:00
David Mudrak
6adbcb8015 workshop in reply to MDL-20204 - new output API 2010-01-04 18:26:56 +00:00
David Mudrak
f1b4b38774 workshop submission: fixed error preventing to submit at MySQL server 2010-01-04 18:25:13 +00:00
David Mudrak
4f16959f58 MDL-20058 workshop grades can be overridden in grading evaluation phase only 2010-01-04 18:23:32 +00:00
David Mudrak
557a11009e MDL-20058 workshop allows override grade for submission 2010-01-04 18:23:22 +00:00
David Mudrak
67cd00ba5b Refactor submission.php a bit to prepare for feedback form 2010-01-04 18:23:08 +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
407b1e9177 VIP Assessment review 2010-01-04 18:19:58 +00:00
David Mudrak
75ff50df87 Allow submission attachments to be stored in subfolders 2010-01-04 18:08:38 +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
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
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
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
c1e883bb04 Display "Edit submission" button at submission page 2010-01-04 17:50:03 +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
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
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
33e4dea627 Initial draft of submission support 2010-01-04 17:38:29 +00:00