Commit Graph

160 Commits

Author SHA1 Message Date
David Mudrak c6b8bbfa9b MDL-27550 workshop: display the feedback for the submission reviewer when the workshop is closed 2011-08-02 23:32:24 +02:00
David Mudrak 308e4280e3 MDL-27550 workshop: display the feedback for the submission author when the workshop is closed
The method user_picture::fields() was not available when these SQL
statements were originally written. Now instead of hard-coding the list
of returned fields, the user_picture is asked for the list.

Together with this change, methods workshop::get_submission_by_id()
and workshop::get_submission_by_author() now return the information
about the user who provided the feedback and overwrote the grade.
2011-08-02 23:32:24 +02:00
David Mudrak 9ddff589df MDL-26147 workshop - added capability to ignore time restrictions 2011-06-10 19:01:27 +02:00
sam marshall 6553cda7c9 MDL-26778 Change to completion should immediately affect nav block
Includes change so that updating completion resets the cache, and a debugging
warning if any module calls the completion viewed thing after it's already
printed navigation (which will mean navigation obviously doesn't update right
away). All existing modules that currently update after printing navigation
were updated.
2011-04-11 12:40:13 +01:00
David Mudrak d67c20b873 MDL-26535 workshop: fixed availability of published and assessed submissions
While working on the new capability to view authors of published
submissions, I realized that published submissions are correctly listed
(implemented in 00bc77ee) but they can't be viewed by submission.php.
This patch fixes submission.php so that it allows to view published
submissions.

Also, I noticed that when the workshop is closed, the submissions that
were assessed by the user are not listed (as they were in the previous
phases) but submission.php provides access to them correctly. So I added
a code that lists assessed submissions in the closed phase.
2011-03-06 23:49:49 +01:00
David Mudrak e13d02f544 MDL-26535 workshop: new capability to control the anonymity of published submissions
Re-using 'mod/workshop:viewauthornames' would not be a happy option here
because teacher would have to change local overrides every time when
they were closing or re-opening the workshop (if they wanted anonymous
assessment but non-anonymous hall of fame).
2011-03-04 14:08:00 +01:00
David Mudrak 757bade1f6 MDL-26684 workshop: fixed missing href attribute in the link to the own submission
This was caused by incorrect construction of workshop_submission_summary.
Instead of direct initiation, the helper method should be used. The
helper adds a property 'url' needed to render 'href' later.
2011-03-04 14:07:50 +01:00
Petr Skoda 516c5eca68 MDL-24698 hopefully fixed all completion_info problems 2010-11-17 06:23:56 +00:00
David Mudrak e7ff48d284 Fixed workshop view logging
add_to_log() used to log whole workshop name instead of just id. Thanks
to Eloy for spotting that.
2010-11-12 11:54:53 +00:00
Sam Hemelryk 367a75fae4 themes lib MDL-24895 Multiple fixes to better handle overflow.
Major tasks undertaken in this patch:
* New format_text argument, overflowdiv.
* New page layout Report.
* Review of all format_text calls.
* Added support for the report layout to all themes.
* Changed forum post display from tables to divs.
2010-11-05 02:53:47 +00:00
David Mudrak c2a3526639 MDL-22507 workshop grading report rendering 2010-10-20 13:13:21 +00:00
David Mudrak 81b2288716 MDL-22507 workshop rendering fixed for submissions and example submissions 2010-10-20 13:12:31 +00:00
Sam Marshall 3a7507d081 chat, workshop MDL-24736 'require view' completion missing from these modules 2010-10-18 14:20:44 +00:00
David Mudrak 65601f04a3 MDL-21249 workshop and its subplugins: fixing phpdocs @package and @subpackage 2010-09-30 14:44:33 +00:00
David Mudrak 2f289d366e MDL-23459 workshop: fixed support for late submissions 2010-07-23 16:15:30 +00:00
David Mudrak bfbca63de3 NOMDL Workshop: Improved detection of filled description and instructions
The function strip_tags() used to be here as a way around a bug in
TinyMCE producing empty <br /> instead of empty string. This lead to the
unwanted behaviour that Workshop description of instructions consisting
of <img> only were considered as empty. The TinyMCE seems to produce
correct string now so this is not needed any more.
2010-07-19 13:20:50 +00:00
David Mudrak e706b9c3f6 NOMDL workshop: added new tool to clear the assessments
This is useful when the grading strategy is changed within workshop
instance.
2010-07-09 10:35:20 +00:00
David Mudrak 32c78bc325 NOMDL workshop: added new toolbox viewlet, first tool lets you to clear aggregated grades 2010-07-09 07:55:23 +00:00
Petr Skoda 3a11c09f5b MDL-21676 user_picture refactoring, reenabling email requirement - towards Gravatar support 2010-07-04 18:36:34 +00:00
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 0aed4a55cd Workshop: access to the own submission when the activity is closed 2010-06-14 14:48:56 +00:00
David Mudrak 5a37249458 Workshop: assessments are available from the submission page 2010-06-14 10:28:35 +00:00
David Mudrak 00bc77eecd Workshop: published submissions are available at the end of the activity 2010-06-14 10:28:24 +00:00
David Mudrak 4d63c194e7 Workshop: display submissions for students during assessment phase 2010-06-14 10:28:14 +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 67ae13d9ad NOBUG workshop: add_allocation() parameters order changed 2010-06-08 23:10:06 +00:00
David Mudrak 55fc1e5997 MDL-22507 workshop: old style rendering fixed for user planner 2010-05-18 20:48:29 +00:00
David Mudrak 4437929e17 NOBUG workshop: fixed missing closing tag 2010-05-18 19:15:05 +00:00
David Mudrak 3dc6a7b9f3 MDL-21695 Yet another help string for workshop, to be described more later 2010-05-04 23:25:23 +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 929d7a8362 MDL-20204 converted paging_bar to new coding style + fixed regressions from recent commits 2010-02-17 16:59:41 +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
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 428a28e12c workshop MDL-21169 removed Update this Workshop button, replaced with settings block node 2010-01-04 18:30:09 +00:00
David Mudrak 581878b8fa workshop displays assessment weight in the grading evaluation report 2010-01-04 18:29:06 +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 ef96efe04d workshop viewlets are collapsible
So far using the obsolete function, to be upgraded to using output renderer
2010-01-04 18:27:52 +00:00
David Mudrak becec954e6 MDL-20652 workshop: more work on example submissions 2010-01-04 18:27:41 +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 f27b70fbbc MDL-20058 totalgrade stuff removed from workshop code 2010-01-04 18:24:03 +00:00
David Mudrak 365c2cc22a MDL-20058 workshop pushed grades into gradebook 2010-01-04 18:23:52 +00:00
David Mudrak f82567aff7 Renamed a param to handle block editing mode 2010-01-04 18:23:42 +00:00
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