Tim Hunt
5bf8a1695d
MDL-32322 quiz reports: defines -> class constants.
2012-04-20 10:07:17 +01:00
Tim Hunt
2639a68ad5
MDL-32322 quiz reports: refactor the settings forms to eliminate duplication.
2012-04-20 10:07:15 +01:00
Tim Hunt
4747c788c0
MDL-32322 quiz reports: edit to increase duplication, before refactoring.
2012-04-20 10:07:14 +01:00
Tim Hunt
768a758854
MDL-32322 quiz reports: Appease the great god codechecker.
2012-04-20 10:07:12 +01:00
Tim Hunt
90fbad644b
MDL-32322 quiz reports: fix more strict syntax issues.
2012-04-20 10:07:11 +01:00
Tim Hunt
8d76124c5b
MDL-32322 quiz reports: fix up PHP doc comments.
2012-04-20 10:07:09 +01:00
Tim Hunt
6b4e2d76a3
MDL-32322 quiz reports: rename classes, and fix one strict syntax.
2012-04-20 10:07:08 +01:00
Tim Hunt
f5e42695bd
MDL-32322 quiz reports: split attemptsrepor.php into one file per class.
2012-04-20 10:07:06 +01:00
Tim Hunt
26aded5581
MDL-32322 quiz reports: get_context_instance -> new classes.
...
Also, eliminate unnecessary use of global $COURSE.
2012-04-20 10:07:05 +01:00
Tim Hunt
34b037dec6
MDL-32396 more quiz strict syntax problems.
2012-04-18 16:05:13 +08:00
Eloy Lafuente (stronk7)
099aaa8d51
Merge branch 'MDL-32061-master-2' of git://git.luns.net.uk/moodle
2012-04-18 02:31:47 +02:00
Dan Poltawski
bb0bd8cb58
Merge branch 'MDL-25660-workshop-calendar' of git://github.com/mudrd8mz/moodle
...
Conflicts:
mod/workshop/lang/en/workshop.php
mod/workshop/version.php
mod/workshop/db/upgrade.php
2012-04-17 16:31:41 +08:00
Eloy Lafuente (stronk7)
bf8086623d
Merge branch 'MDL-32359' of git://github.com/timhunt/moodle
2012-04-17 00:16:28 +02:00
Andrew Robert Nicols
38a8779d81
MDL-32061 Use old lesson_answer ID and correct when restoring lesson attempts
2012-04-16 13:39:43 +01:00
Dan Poltawski
54e4d1b3a1
Merge branch 'w16_MDL-32400_m23_phpunit4' of git://github.com/skodak/moodle
2012-04-16 16:12:35 +08:00
Dan Poltawski
ef4965afe4
Merge branch 'MDL-32396' of git://github.com/timhunt/moodle
2012-04-16 13:55:25 +08:00
Dan Poltawski
5599620feb
Merge branch 'MDL-32438-master' of git://github.com/micaherne/moodle
2012-04-16 13:46:03 +08:00
Sam Hemelryk
6669669fdb
Merge branch 'MDL-29174-master' of git://github.com/raymanuk/moodle
2012-04-16 17:37:06 +12:00
Sam Hemelryk
e3d34313ab
Merge branch 'MDL-26099-workshop-phase-switch' of git://github.com/mudrd8mz/moodle
2012-04-16 15:00:20 +12:00
Sam Hemelryk
448cebee57
Merge branch 'master_MDL-32388' of git://github.com/danmarsden/moodle
2012-04-16 12:23:23 +12:00
Sam Hemelryk
b9afb90b7f
Merge branch 'MDL-32316_master_wip' of git://github.com/grabs/moodle
2012-04-16 11:00:43 +12:00
Petr Skoda
6b04fdc0b6
MDL-32400 improve module generators
...
Module generators are using standard *_add_instance() methods which helps with testing, it also updates grades and calendar events if used.
2012-04-15 14:16:59 +02:00
Tim Hunt
c691f2f513
MDL-32396 quiz: Strict syntax notice on the quiz attempt page.
2012-04-14 15:58:47 +01:00
Tim Hunt
f9e41d206d
MDL-32359 Forum usability: reduce accidental clicks on mark thread read
...
I hope this little CSS change does not break anybody's theme. I is a big
usability win, at least as far as I am concerned.
2012-04-14 15:58:39 +01:00
Michael Aherne
b09912f8ab
MDL-32438 choice: fix fatal error on making choice
2012-04-13 15:16:12 +01:00
David Mudrak
2fc04a4b9b
MDL-26099 fixing the strict standards warning
...
The signature of mod_workshop_mod_form::validation() is now compatible
with that of moodleform_mod::validation() even though the parent's
declaration sucks. No one can choose their parents.
2012-04-13 14:04:43 +02:00
David Mudrak
33d0cb3ce1
MDL-25660 workshop removes its calendar events on instance deletion
2012-04-13 13:10:04 +02:00
David Mudrak
cb48a42ada
MDL-25660 recreate all workshop calendar events
...
Due to complex workshop upgrade path from 1.9 and missing calendar events
support in 2.x, the only safe way to get rid of potentially invalid
calendar events (such as those reported in MDL-26687) is to remove all
current workshop events and recreate them from scratch.
2012-04-13 04:58:10 +02:00
David Mudrak
ac069aeb9d
MDL-25660 workshop registers events in the calendar
2012-04-13 04:52:40 +02:00
David Mudrak
9260bb3c48
MDL-26099 workshop can be switched into the assessment phase automatically
2012-04-13 04:49:46 +02:00
David Mudrak
3fe6d62289
MDL-26099 workshop planner tool displays info about the automatic phase switching
2012-04-13 04:49:46 +02:00
David Mudrak
3ff0805726
MDL-26099 new workshop DB field phaseswitchassessment
...
Note that most line changes in the patch are caused by the recent
changes in the XMLDB TEXT fields handling (no size specified now) and by
the change in the indentation.
2012-04-13 04:49:46 +02:00
David Mudrak
df558765a4
MDL-26099 validate the phases open dates and deadlines
2012-04-13 04:49:46 +02:00
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
Dan Marsden
b952d27517
MDL-32388 SCORM: Fix chrome pop-ups
2012-04-11 20:46:53 +12:00
Sam Hemelryk
3211569a6a
Revert "MDL-30843 and MDL-30842 - accessibility compliance: Add <label> for form input text and select tag"
...
This reverts commit f9f281b8fee75c2416d71bae7583fd026b9ccabb.
2012-04-11 17:18:58 +12:00
Dan Poltawski
7a1ed64587
Merge branch 'w15_MDL-32323_m23_phpunit3' of git://github.com/skodak/moodle
2012-04-11 09:32:58 +08:00
Petr Skoda
c691274bf9
MDL-32323 use new loadDataSet in mod_data and fix typos in last commit
2012-04-10 21:07:56 +02:00
Petr Skoda
5b8d5c19fd
MDL-32323 convert mod_data search test
2012-04-10 15:27:13 +02:00
Petr Skoda
9bb2b515ce
MDL-32323 fix generator file name typos
2012-04-10 15:27:12 +02:00
Petr Skoda
cbdf52baa5
MDL-32323 add basic mod_data data generator
2012-04-10 15:27:10 +02:00