Commit graph

170 commits

Author SHA1 Message Date
David Mudrák
85f1c2d68b MDL-37781 Check for switching the workshop phase without waiting for cron
Now we are checking for the need to switch the phase when the main
view.php is displayed to any user (previously this was done via cron
only). To give our subplugins (such as the scheduled allocation method)
a chance to do what they need to do, the workshop_viewed event is
triggered before the phase is actually switched.
2013-01-31 11:41:55 +01:00
Frederic Massart
94972ccae1 MDL-36629 usability: CSS adaptations for Workshop 2012-11-27 15:23:13 +08:00
David Mudrák
3cb4ce45c7 MDL-26349 Display the workshop final grades to participants when the activity is closed 2012-11-07 09:08:38 +01:00
David Mudrák
4c61fcd825 MDL-35421 Display the conclusion when the workshop is closed
There is a new task implemented for the teachers so they are expected to
provide the conclusion at the end of the assessment phase.
2012-11-01 17:36:40 +01:00
David Mudrák
a93dc3ecb7 MDL-36135 Display the workshop grading evaluation method chooser
Teachers can now choose the actual grading evaluation method to use
during the grading evaluation phase. The workshopeval_best is still used
as the default one (this may be made configurable later, although there
is no big benefit of it).
2012-10-20 00:17:13 +08:00
David Mudrak
dda42a19cd MDL-27508 workshop::prepare_grading_report_data() accepts $groupid
Workshop grades reports in all three last phases were fixed to support
the group selection. They layout of the report has been unified to be
consistent across all phases.
2012-04-27 14:41:59 +02:00
David Mudrak
11a97e66e8 MDL-27508 workshop supports configurable page size for items pagination 2012-04-27 14:41:59 +02:00
David Mudrak
0d2331cce3 MDL-27508 workshop supports pagination at the submissions list in the submission phase 2012-04-27 14:41:58 +02:00
David Mudrak
8a23733753 MDL-27508 common pagination and sorting interface across all phases in view.php 2012-04-27 14:41:58 +02:00
David Mudrak
1c0c3ef5ee MDL-27508 workshop shows submissions per group in the submission phase 2012-04-27 14:41:58 +02:00
David Mudrak
f68648e982 MDL-27550 workshop: display the feedback for the submission reviewer when the workshop is closed 2011-08-02 23:33:32 +02:00
David Mudrak
0dfb4bad56 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:33:32 +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