56 Commits

Author SHA1 Message Date
David Mudrak
708684332d MDL-19936 workshopform_accumulative restore improvements 2010-09-29 23:10:48 +00:00
Petr Skoda
5924db724d fixed a few spelling problems and standardised stdClass 2010-09-18 14:18:39 +00:00
Petr Skoda
88bfbb926f fixed $newdimension typos 2010-09-18 14:02:11 +00:00
Petr Skoda
edef454e08 exception typos fixed 2010-09-18 14:01:13 +00:00
Petr Skoda
b6aad59910 fixed css syntax errors 2010-09-18 13:57:24 +00:00
David Mudrak
1149b075c7 MDL-24091 workshop: deleting orphaned subplugins data in an upgrade step 2010-09-17 13:25:45 +00:00
David Mudrak
346af1a431 MDL-24091 workshop: deleting subplugins data together with the workshop instance 2010-09-17 13:24:52 +00:00
Petr Skoda
ef14c1e724 MDL-24090 new detection of plugins that were not upgraded to work with Moodle 2.x (uses $plugin->requires) + bumping ancient versions of plugins 2010-09-05 20:36:18 +00:00
David Mudrak
ca7b6997a6 NOMDL Workshop: adding explicit type declaration for hidden form elements 2010-08-18 16:41:58 +00:00
Eloy Lafuente
8b494c68d3 MDL-19936 backup - added restore of eval->best and form->accumulative 2010-08-06 16:13:58 +00:00
Eloy Lafuente
a713e27db0 MDL-19936 backup - added missing "scale" annotation in accumulative subplugin 2010-08-06 16:12:59 +00:00
David Mudrak
2d3522ae1e NOMDL Fixed incorrect throwing of exceptions - missing 'new' or unknown exception class 2010-07-18 12:30:49 +00:00
David Mudrak
26b51f4e9d MDL-19936 MDL-22151 MDL-22245 backup/moodle2 support for workshopform_comments 2010-07-09 11:21:04 +00:00
David Mudrak
a4f2129dd1 MDL-19936 MDL-22151 MDL-22245 backup/moodle2 support for workshopform_numerrors 2010-07-09 11:20:40 +00:00
David Mudrak
f29917c590 MDL-19936 MDL-22151 MDL-22245 backup/moodle2 support for workshopform_rubric 2010-07-09 11:20:15 +00:00
David Mudrak
0fc5a5faf1 MDL-19936 MDL-22151 MDL-22245 backup/moodle2 support for mod_workshop, workshopeval_best and workshopform_accumulative 2010-07-09 11:19:39 +00:00
David Mudrak
0047a64f68 NOMDL workshop: rubric grid layout fixed after recent addition of assessment setting form 2010-07-08 14:08:27 +00:00
David Mudrak
2ffc732709 NOMDL workshop: CSS for rubric grading strategy moved to the plugin space 2010-07-08 13:19:35 +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
c6b784f09d Workshop: assessment weight can be set 2010-06-11 23:02:35 +00:00
David Mudrak
7a2d0f6125 MDL-17827 Workshop 2.0 supports scale usage checks now 2010-06-01 14:55:33 +00:00
David Mudrak
30c8dd34f7 MDL-15252 Re-committing all English strings exported from AMOS
From now on, all English strings use the new syntax. They are not
eval()'ed any more and the only valid placeholders are {$a} and
{$a->foobar}. No extra quotes escaping, dollar sign escaping and putting
double percent signs.

The modified files were exported from AMOS database repository in the
new syntax and were re-ordered by stringid. Standard GNU/GPL and PHPdoc
blocks are added. Where there was no copyright note so far, I added the
default one with Martin Dougiamas as the copyright holder.

Live long and prosper.
2010-04-10 14:01:45 +00:00
Petr Skoda
3a915b0667 MDL-21693 Dropping _utf8 suffix from language codes and folder names; enabling new string managers - please note the transition is not yet fully complete because we need to wait for git to recognize the renames in cvs 2010-04-10 07:24:56 +00:00
David Mudrak
f9b827d86e MDL-19937 workshop: migration of comments (no grading) strategy 2010-01-15 17:28:14 +00:00
David Mudrak
f5be71a379 MDL-19937 workshop migration from rubric 1.9 into rubric 2.0 2010-01-15 17:01:00 +00:00
David Mudrak
b188a4b3b0 MDL-19937 workshop: typo fixing and getting rid of forgotten variable 2010-01-15 13:36:43 +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
b370027832 MDL-19937 workshop: fixed function names in form/accumulative migration code 2010-01-07 20:57:30 +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
7a789aa8cc workshop coding style - use stdclass instead of stdClass 2010-01-04 18:30:57 +00:00
David Mudrak
e1aa152246 Yet another MySQL fix 2010-01-04 18:25:41 +00:00
David Mudrak
fc399336b3 An attempt to fix an SQL bug appearing at MySQL 2010-01-04 18:25:23 +00:00
David Mudrak
aabf73b7a1 MDL-19937 workshop migration - setting day zero versions 2010-01-04 18:24:52 +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
d84d06ceff MDL-19930 workshop: comments grading strategy 2010-01-04 18:21:42 +00:00
David Mudrak
6f3535ac9c Rough search and replace accumulative > comments 2010-01-04 18:21:24 +00:00
David Mudrak
669314615f Initial copy of form/accumulative code 2010-01-04 18:21:04 +00:00
David Mudrak
37f37237c8 Allow opening assessment forms in read-only mode 2010-01-04 18:19:13 +00:00
David Mudrak
1accb520a0 Fixed regression and broken interafce implementation 2010-01-04 18:17:17 +00:00
David Mudrak
5c397bab92 Getting rid of supports_evaluation()
This seems to be over-desing-patternized. Methods needed by standard
eval plugins (ie part of standard distribution) are part of strategy
API. Contributed eval methods will have to patch strategy plugins if
they need some other data from them.
2010-01-04 18:17:03 +00:00
David Mudrak
9df08ee894 Methods to get info about assessments and dimensions are part of strategy API 2010-01-04 18:16:41 +00:00
David Mudrak
63bf545a7f Rubric: fixed best evaluation support 2010-01-04 18:16:13 +00:00
David Mudrak
d524173efe MDL-19932 Rubric grading strategy implemented
The only weak point here is that we store a raw grade into
workshop_grades and not a direct id of the selected level. Therefore,
when re-assessing, we need to actually guess what level the assessor
chose previously. This is not problem if there are not two levels with
the same grade. Such case is not common when using Rubric. In the
future, this may get refactored so Rubric would use its own storage of
filled assessment forms.
2010-01-04 18:16:02 +00:00
David Mudrak
a84cc57f26 MDL-19932 First drafts of Rubric strategy
Assessment form editing should work
2010-01-04 18:15:38 +00:00
David Mudrak
eabe229959 Constant name fixed and improved empty input check 2010-01-04 18:15:14 +00:00
David Mudrak
4e594ca280 Fixed a table name 2010-01-04 18:15:00 +00:00
David Mudrak
80844e4390 Initial commit of rubric code, copied from accumulative 2010-01-04 18:14:49 +00:00
David Mudrak
ad6a8f6911 Grading evaluation - best subplugin
I am not happy with the algorithm at all. We should replace it with some
more sophisticated subplugin, using ICC or some similar statistics.
2010-01-04 18:14:01 +00:00
David Mudrak
b286b6efe4 Renamed unittest files and a small change due to evaluation 2010-01-04 18:13:42 +00:00