136 Commits

Author SHA1 Message Date
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
de6aaa7295 MDL-26683 workshop: fixed typos in code comments 2011-03-04 13:03:49 +01:00
David Mudrak
0c3c0de198 MDL-26312 Workshop: unset temporary arrays in upgrade code
Spotted by Petr Skoda during the code review.
2011-02-14 21:38:50 +01:00
David Mudrak
f593111b67 MDL-26312 Workshop: data integrity check to detect eventual course_modules corruption
Because of a bug in Workshop upgrade code, multiple workshop course_modules can
potentially point to a single workshop instance. The chance is pretty low as in most cases,
the upgrade failed. But under certain circumstances, workshop could be upgraded with
this data integrity issue. We want to detect it now and let the admin know.
2011-02-14 10:11:42 +01:00
David Mudrak
d0fb170520 MDL-26312 Workshop: fixed upgrade of module instances from 1.9 to 2.0
The patch changes workshop_upgrade_module_instances() so that it
processes old workshop records ordered by their id and it keeps the
instances id by using import_record() instead of insert_record().
Thanks to this, there is no mapping of workshop ids needed so the
function workshop_upgrade_workshop_id_mappings() is dropped and all
callers use plain workshop record.
2011-02-11 07:43:04 +01:00
David Mudrak
4588b17b2d workshop: create empty legacy tables to keep DB consistency with install.xml 2010-11-12 10:33:13 +00:00
David Mudrak
5450f7b6c5 MDL-24765 workshop logging features reviewed 2010-10-20 13:13:45 +00:00
David Mudrak
65601f04a3 MDL-21249 workshop and its subplugins: fixing phpdocs @package and @subpackage 2010-09-30 14:44:33 +00:00
Petr Skoda
5924db724d fixed a few spelling problems and standardised stdClass 2010-09-18 14:18:39 +00:00
David Mudrak
5452309a58 NOMDL workshop: improved SQL execution, use one query instead of loop 2010-09-17 13:26:10 +00:00
Petr Skoda
dd88de0ebd MDL-14679 fixed remaining old style update_record()s 2010-09-03 18:01:25 +00:00
Petr Skoda
c6d75bffa5 MDL-23628 improved log action support - now similar to handling of capabilities 2010-08-03 10:07:18 +00:00
David Mudrak
c0ce5658eb MDL-23459 workshop: late submission flag 2010-07-23 16:15:11 +00:00
David Mudrak
c2d2eb6ea0 NOBUG workshop: added field evaluation for future usage
The field holds the name of the grading evaluation method recently used
for the workshop or the default one to be used. At the moment there are
no alternatives but 'best' plugin. But I want to have the field there
before 2.0 stable release and also want to include it in workshop
backups.
2010-07-07 21:46:05 +00:00
Eloy Lafuente
ffe5025874 NOBUG DB syntax - fix/improve some uses. I haven't tested completion, have you? 2010-07-05 22:48:07 +00:00
Petr Skoda
a4cdd6d2c8 MDL-23068 removing obsolete $result and removing empty upgrade files that would be probably never used at all + minor cleanup/fixing 2010-07-04 10:27:56 +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
5a37249458 Workshop: assessments are available from the submission page 2010-06-14 10:28:35 +00:00
Sam Marshall
31c9330392 accesslib MDL-22527 Batch change to replace 'legacy' arrays with 'archetypes' arrays in access.php 2010-05-21 11:51:23 +00:00
Petr Skoda
846e4e177e MDL-16438 separating subplugin detection from the plugin_supports code because it was running into infinite loops in get_string() which is often incorrectly used in lib.php files, but the get_string() itself needs to know about subplugins 2010-04-04 19:58:03 +00:00
Petr Skoda
4f0c2d0009 MDL-21655 big scary enrolment and roles improvements - see tacker for list of changes, includes other minor fixes too 2010-03-31 07:41:31 +00:00
David Mudrak
455f42a447 MDL-19937 workshop migration from legacy criterion strategy into the new rubric grading strategy 2010-01-15 13:30:07 +00:00
David Mudrak
25e27d7461 MDL-19937 workshop migration of Number of errors grading strategy and fixed some forgotten todos 2010-01-07 20:57:58 +00:00
David Mudrak
9ec63757d7 MDL-19937 migration of form elements and grades - accumulation grading strategy 2010-01-04 18:33:23 +00:00
David Mudrak
3d8649b1c0 MDL-19937 workshop assessments migration 2010-01-04 18:33:03 +00:00
David Mudrak
067f63c593 MDL-19937 workshop submissions migration 2010-01-04 18:32:53 +00:00
David Mudrak
f2443a42aa workshop: adding field 'published' into the upgrade script 2010-01-04 18:32:43 +00:00
David Mudrak
83012c0c89 MDL-19937 workshop migration - keep format of the Introduction field 2010-01-04 18:32:33 +00:00
David Mudrak
a2d57f96b8 MDL-7218 workshop: remove orphaned assessments on upgrade
Clones the upgrade procedure from MOODLE_19_STABLE.
2010-01-04 18:32:23 +00:00
David Mudrak
a0f49d70c2 Field oldid must be nullable for new records 2010-01-04 18:32:13 +00:00
David Mudrak
b876ab8098 MDL-19937 workshop migration - initial versions of upgrade scripts 2010-01-04 18:32:03 +00:00
David Mudrak
7ba8781635 workshop: preparing possibility to publish selected submissions 2010-01-04 18:29:29 +00:00
David Mudrak
becec954e6 MDL-20652 workshop: more work on example submissions 2010-01-04 18:27:41 +00:00
David Mudrak
ec0753e35b Dropping support for scheduled release of grades - it is gradebook's
duty
2010-01-04 18:24:28 +00:00
David Mudrak
f27b70fbbc MDL-20058 totalgrade stuff removed from workshop code 2010-01-04 18:24:03 +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
77f43e7d1a Frozen grid rubric layout fix 2010-01-04 18:20:10 +00:00
David Mudrak
b4857acb92 Display real grade values in the grading report 2010-01-04 18:17:47 +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
8831ba8037 Assessment weight DEFAULTs to 1 2010-01-04 18:11:22 +00:00
David Mudrak
5aa45d7176 Added an important documentation to a capability 2010-01-04 18:11:11 +00:00
David Mudrak
f8236f649b Added timeaggregated time stamp 2010-01-04 18:10:52 +00:00
David Mudrak
03625394ce Adding new table workshop_aggregations
This table replaces the recently added workshop_evaluations and will
contain all grades aggregations done within a workshop activity. NULL
grades mean not aggregated yet.
2010-01-04 18:09:48 +00:00
David Mudrak
e5d244bac5 Added a column to store the assessment weight 2010-01-04 18:08:48 +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
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
095d6e6c9d Reviewed and modified the workshop capabilities 2010-01-04 18:00:24 +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
f051cee111 wip 2010-01-04 17:54:36 +00:00