Commit graph

1098 commits

Author SHA1 Message Date
David Mudrak
a80b772864 MDL-32235 scheduled allocation settings form displays the execution status
AMOS BEGIN
 CPY [allocationsettings,workshopallocation_random],[randomallocationsettings,workshopallocation_scheduled]
AMOS END
2012-04-13 04:49:46 +02:00
David Mudrak
2a3aac40e4 MDL-32235 execute scheduled allocation by cron 2012-04-13 04:49:46 +02:00
David Mudrak
782a35e225 MDL-32235 fixing DB schema
Removing the table "scheduled" created by the XMLDB by default (it's a
bug in XMLDB, I'm just too lazy now to fix it). Adding new fields to
hold the result of the most recent execution.
2012-04-13 04:49:46 +02:00
David Mudrak
f6bc60cbe4 MDL-32235 workshop cron support
On every invocation, the workshop will give its subplugins a chance to
to something useful. For now, we know that the scheduled allocator will
use it, no need to load other plugin types yet (until there will be a
real reason for it).
2012-04-13 04:49:46 +02:00
David Mudrak
9f8f380832 MDL-32235 the allocation settings form can be saved and edited 2012-04-13 04:49:46 +02:00
David Mudrak
9862128087 MDL-32235 introducing new workshop scheduled allocation plugin
The idea is to build a plugin that will internally call the random
allocator when the submissions deadline is reached. The teacher is able
to pre-define the configuration for the random allocator.
2012-04-13 04:49:45 +02:00
David Mudrak
b7cd6736e8 MDL-32235 workshop random allocator now uses the new workshop_allocation_result class 2012-04-13 04:49:45 +02:00
David Mudrak
8a62500fd5 MDL-32235 workshop manual allocator now uses the new workshop_allocation_result class 2012-04-13 04:49:45 +02:00
David Mudrak
31cea236af MDL-32235 improving the allocation results rendering
The new renderable class workshop_allocation_result provides a cleaner
interface between the allocator's init() method and the allocation.php
script.
2012-04-13 04:49:45 +02:00
David Mudrak
0ee608e99d MDL-32235 preparing the random allocator's API
The random allocator's init() method was split into two logical
parts. The init() now handles data from the form and executes the new
execute() method to do the actual job. The execute() method will be
called by the future scheduled allocator, too.
2012-04-13 04:49:45 +02:00
Petr Skoda
4c6062ea65 MDL-32149 scale generator and workshop tests 2012-04-03 22:31:00 +02:00
Sam Hemelryk
ef844d0a15 Merge branch 'w12_MDL-32094_m23_phpstrict' of git://github.com/skodak/moodle 2012-03-20 16:47:17 +13:00
Petr Skoda
f20edd5208 MDL-32094 fix various E_STRICT compatibility problems 2012-03-18 18:37:24 +01:00
Tim Hunt
88eca3cd26 MDL-19125 module restrictions: addinstance capabilities for all mods 2012-03-15 17:13:43 +00:00
Petr Skoda
bb88a54d06 MDL-31985 remove text sizes from all install.xml files 2012-03-11 15:55:37 +01:00
Petr Skoda
c3dd6b01fe MDL-27982 drop UNSIGNED attributes from all install.xml files 2012-03-06 12:01:10 +01:00
Eloy Lafuente (stronk7)
5d7bbc22dc MDL-30973 Files API: fix packages for workshopform subplugin 2012-03-01 00:41:58 +01:00
Eloy Lafuente (stronk7)
d8c9ff403b Merge branch 's17_MDL-30973_file_docblock_master' of git://github.com/dongsheng/moodle 2012-03-01 00:25:18 +01:00
Eloy Lafuente (stronk7)
1f256ec5ca Merge branch 'MDL-30982-docblock-backup' of git://github.com/mudrd8mz/moodle 2012-02-29 00:47:10 +01:00
David Mudrak
a75af402af MDL-30982 Activity module stepslib - API documentation 2012-02-27 11:59:43 +01:00
David Mudrak
85aad2ef97 MDL-30982 Documenting some parts of backup settings machinery 2012-02-27 11:59:43 +01:00
David Mudrak
63baccbc54 MDL-30982 Improving phpDocs for the classes that extend backup_activity_task 2012-02-27 11:59:42 +01:00
Petr Skoda
e67bc2a410 MDL-30964 fix phpdocs in access.php files in all plugins 2012-02-27 07:23:10 +01:00
Eloy Lafuente (stronk7)
2a5fa9e64a Merge branch 'MDL-30999_grade_phpdocs' of git://github.com/andyjdavis/moodle 2012-02-20 12:02:18 +01:00
Dongsheng Cai
d2b7803e5a MDL-30973 Files API, check and update DocBlock 2012-02-15 12:48:57 +08:00
Andrew Davis
a153c9f2fe MDL-30999 grade: updated Grade API phpdocs 2012-02-14 14:04:19 +07:00
Ankit Kumar Agarwal
04252d3a13 MDL-30975 Docs Adding correct pacakge information 2012-02-13 11:06:47 +05:30
Eloy Lafuente (stronk7)
7ef4949d9f MDL-31333 backup: reintroduce missing function lost by MDL-30610 2012-01-23 01:56:43 +01:00
Petr Skoda
ad8c5aee72 MDL-31124 reinstroduce accidentally removed restore code for 1.9 backups 2012-01-14 21:24:15 +01:00
David Mudrak
a1373126eb MDL-30865 Workshop method aggregate_grading_grades_process() accepts explicit aggregation timestamp 2012-01-04 02:20:06 +01:00
Petr Skoda
17510ff0fe MDL-30610 remove outdated workshop upgrade code 2011-12-23 10:38:12 +01:00
Petr Skoda
40e4cd435b MDL-30610 remove outdated mod upgrade code 2011-12-23 10:38:11 +01:00
Aparup Banerjee
46f2a9366a MDL-30604 Added upgrade lines to upgrade.php(s) 2011-12-09 01:28:59 +01:00
Sam Hemelryk
6416c6c25b Merge branch 'MDL-30007' of git://github.com/stronk7/moodle 2011-12-01 17:14:52 +13:00
Sam Hemelryk
c9c7b8fb0b Merge branch 'MDL-30453-exassessment-link' of git://github.com/mudrd8mz/moodle 2011-12-01 12:15:29 +13:00
Petr Skoda
4041478751 MDL-30007 standardise workshop subplugin version files 2011-11-29 22:29:14 +01:00
Petr Skoda
633d5a07af MDL-30007 standardise module version files 2011-11-29 21:38:14 +01:00
David Mudrak
cdc8577762 MDL-30453 Use correct renderable classes to represent assessments of example submission 2011-11-25 18:41:07 +01:00
David Mudrak
e30f6ff338 MDL-30453 New renderable classes for assessments of example submissions
The patch introduces two new classes for rendering assessments of
example submission - both the training one and the reference one.
Together with the cooking functions for obtaining instances of these
classes.
2011-11-25 18:41:07 +01:00
David Mudrak
2dce240984 MDL-30271 Inform the user about the example assessment conflict, instead of throwing the exception 2011-11-25 16:01:48 +01:00
David Mudrak
660bc937f0 MDL-30271 Move the page initialization so that we can produce output in param processing sections eventually 2011-11-25 16:01:48 +01:00
David Mudrak
58c447aef0 MDL-29620 workshop table id sequence reset after the upgrade 2011-11-04 13:58:23 +01:00
David Mudrak
8df95cf7f4 MDL-30006 Workshop / Number of errors grading: force graders to actually answer the form
QuickForms do not distinguish non-checked radio from the checked radio
with the value "0". So we map the database grade value "0" to a value
"-1" when displaying the form and vice versa when saving the form. This
allowed us to have none radios checked by default and force the grader
to actually answer the form themselves, using the 'required' rule.
2011-10-30 20:17:54 +01:00
David Mudrak
60a3e801f3 MDL-30006 Workshop / Accumulative grading: force graders to actually pick a grade
This patch introduces a new hidden field with the value "-1". The grade
selectors are compared with this values and must be greater than it.
This should fit well for numerical grades with the range 0..x and scale
items with the range 1..x.
2011-10-30 20:17:50 +01:00
Eloy Lafuente (stronk7)
e135797586 Merge branch 'w38_MDL-29401_m22_frankenstyle' of git://github.com/skodak/moodle 2011-09-27 00:00:20 +02:00
Petr Skoda
aff24313be MDL-29401 introduce new frankenstyle PARAM types
New PARAM_COMPONENT, PARAM_AREA and PARAM_PLUGIN + fixing of hopefully all current incorrect parameter types. This should help with diagnosing of incorrectly named 3rd party plugins too.
2011-09-25 09:59:55 +02:00
David Mudrak
c8f1b818ff MDL-29336 Saving grade mapping table in the Workshop
The Workshop module using the "Number of errors" grading strategy did
not save all items in the grade mapping table. If some assessment form
fields have weight > 1, the number of possible errors is greater that
the number of the assessment form fields. The previous code deleted all
mappings where the number of errors was greater than the number of
fields.

In this patch, the maximum number of possible errors is calculated as a
sum of weights of all fields. Only mappings over this maximum are
deleted now.
2011-09-22 05:33:01 +02:00
sam marshall
3e4c243500 MDL-27001 'Show description' feature part 3: Implementation for all modules
For modules that still used the 'old' generic object return from _get_coursemodule_info instead of returning a cached_cm_info object, I changed them to use the new format as part of this. This made a few areas of code regarding onclick links slightly nicer.
2011-09-06 11:03:06 +01:00
Rajesh Taneja
e9de1cf49c MDL-27896 context - Fixed editor context to observe filter status 2011-08-12 11:33:21 +08:00
David Mudrak
6403358838 MDL-27550 workshop: fixed XHTML strictness of H3 and A combo
H3 is block level element while A is in-line element in XHTML.
Credit goes to Sam Hemelryk for spotting this during the peer-review.
2011-08-02 23:34:04 +02:00