Commit graph

53277 commits

Author SHA1 Message Date
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
kordan
275526d27a MDL-32433_master theme_formal_white: increased the line spacing in plugin list page 2012-04-13 13:24:05 +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
40ff3ce33c MDL-26099 New i/scheduled icon
Based on http://commons.wikimedia.org/wiki/File:Appointment-new.svg
(public domain Tango! Desktop Project icon)
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
Eric Merrill
eba9236cea MDL-32353 backup: Flaw in settings logic for user info and anonymise 2012-04-12 11:01:08 -04:00
Kordan
c9aeac6299 MDL-32356_master theme_formal_white: swapped style and color in css border style 2012-04-12 16:40:37 +02:00
Andrew Robert Nicols
f15d451549 MDL-32426 Add unit test generators for groups and groupings 2012-04-12 15:32:19 +01:00
Marina Glancy
061eeed5df MDL-32381: Fixed Accessing non-static methods in repository class as static (causing php notices) 2012-04-12 15:05:20 +08:00
Jerome Mouneyrac
803ed74166 MDL-31694 Fix XSS security issue with service name accepting javascript 2012-04-12 14:44:16 +08:00
Dan Poltawski
668a499d89 weekly release 2.3dev 2012-04-12 13:29:01 +08:00
Dan Poltawski
86be24f5a6 Merge branch 'install_master' of git://github.com/amosbot/moodle 2012-04-12 12:59:33 +08:00
AMOS bot
5e937e8da1 Automatically generated installer lang files 2012-04-12 00:31:23 +00:00
Eloy Lafuente (stronk7)
7823af0994 MDL-32323 tests: check both deletion with truncate and with delete 2012-04-12 00:13:38 +02:00
Petr Skoda
5a798e7eac MDL-32323 improve SQL Server test reset performance 2012-04-11 23:21:05 +02:00
Petr Skoda
bd42a2657e MDL-32323 do try to fetch all other grade objects with existing test fields 2012-04-11 22:56:27 +02:00
Petr Skoda
15db9f7d66 MDL-32323 do try to fetch grades with existing test fields 2012-04-11 22:41:37 +02:00
Petr Skoda
8eaa21e195 MDL-32323 fix issues breaking phpunit tests for sqlsrv driver 2012-04-11 22:14:18 +02:00
Kordan
e78356a095 MDL-32356_master theme_formal_white: fixed a typo in a comment 2012-04-11 13:56:59 +02:00
Dan Marsden
b952d27517 MDL-32388 SCORM: Fix chrome pop-ups 2012-04-11 20:46:53 +12:00
Jerome Mouneyrac
bc81eadb19 MDL-27547 When deleting a local plugin containing a built-in service, the built-in service is not deleted 2012-04-11 14:49:14 +08:00
Sam Hemelryk
3211569a6a Revert "MDL-30843 and MDL-30842 - accessibility compliance: Add <label> for form input text and select tag"
This reverts commit f9f281b8fe.
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
Dan Poltawski
4a59665b9f Merge branch 'MDL-32217' of git://github.com/ppichet/moodle 2012-04-11 09:27:29 +08:00
Eloy Lafuente (stronk7)
6565d55a34 MDL-22895 backup: minor fixes 2012-04-11 01:47:53 +02:00
Eloy Lafuente (stronk7)
f229d83c11 Merge branch 'MDL-22895-master' of git://github.com/ankitagarwal/moodle 2012-04-11 01:44:39 +02:00
Sam Hemelryk
9315a5fb59 MDL-32395 dml: Minor phpdoc fixes 2012-04-11 09:47:50 +12:00
Sam Hemelryk
e19dc11e51 MDL-30843 editor: Fixed up out of place if 2012-04-11 09:22:14 +12:00
Eloy Lafuente (stronk7)
97d00c9f51 MDL-32368 pgsql: bytea_output only available in 9.0 and upwards 2012-04-10 21:32:56 +02:00
Eloy Lafuente (stronk7)
7b74fb7071 MDL-32392 cleanup: adding @todo about unused is_min_version() method 2012-04-10 21:26:00 +02:00
Petr Skoda
4e5ff72ea7 MDL-32323 always verify that database PHPUnit extension is available 2012-04-10 21:15:33 +02: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
Eloy Lafuente (stronk7)
7475638c2a Merge branch 'w15_MDL-32368_m23_bytea' of git://github.com/skodak/moodle 2012-04-10 20:59:34 +02:00
Petr Skoda
e396e8ed5f MDL-32323 implement data set loader support in advanced_testcase 2012-04-10 20:58:27 +02:00