moodle.git
12 years agoMDL-21241 theme CSS and JS gzip compression + some more fixes
Petr Skoda [Tue, 5 Jan 2010 20:18:15 +0000 (20:18 +0000)]
MDL-21241 theme CSS and JS gzip compression + some more fixes

12 years agonobug: fixed code completion in eclipse
Petr Skoda [Tue, 5 Jan 2010 17:54:15 +0000 (17:54 +0000)]
nobug: fixed code completion in eclipse

12 years agoMDL-21242 moving yui2 skin away from theme CSS, this improves browser caching and...
Petr Skoda [Tue, 5 Jan 2010 17:29:43 +0000 (17:29 +0000)]
MDL-21242 moving yui2 skin away from theme CSS, this improves browser caching and finally we may load skin from the internet too

12 years agoMDL-20204 eliminating deprecated javascript file because it only adds extra pressure...
Petr Skoda [Tue, 5 Jan 2010 00:43:09 +0000 (00:43 +0000)]
MDL-20204 eliminating deprecated javascript file because it only adds extra pressure on servers

12 years agoUpdated the HEAD build version to 20100105
Moodle Robot [Tue, 5 Jan 2010 00:36:15 +0000 (00:36 +0000)]
Updated the HEAD build version to 20100105

12 years agoMDL-21242 towards removing og yui2 skin sheet from the huge theme css file
Petr Skoda [Tue, 5 Jan 2010 00:33:15 +0000 (00:33 +0000)]
MDL-21242 towards removing og yui2 skin sheet from the huge theme css file

12 years agoMDL-20204 removing duplicate YUI skin CSS, thanks Sam for noticing it
Petr Skoda [Tue, 5 Jan 2010 00:19:50 +0000 (00:19 +0000)]
MDL-20204 removing duplicate YUI skin CSS, thanks Sam for noticing it

12 years agoMDL-20204 fixed moodle logo link on frontpage
Petr Skoda [Mon, 4 Jan 2010 23:55:09 +0000 (23:55 +0000)]
MDL-20204 fixed moodle logo link on frontpage

12 years agoMDL-21123 moved javascript for navigation bar - testing of themes JS and it may...
Petr Skoda [Mon, 4 Jan 2010 23:51:48 +0000 (23:51 +0000)]
MDL-21123 moved javascript for navigation bar - testing of themes JS and  it may need to use different tricks in other themes with CSS column layouts

12 years agoMDL-20786 removing mod javascript.php support, now fulyl replaced by $PAGE->requires...
Petr Skoda [Mon, 4 Jan 2010 23:30:24 +0000 (23:30 +0000)]
MDL-20786 removing mod javascript.php support, now fulyl replaced by $PAGE->requires->js()

12 years agoMDL-19937 migration of form elements and grades - accumulation grading strategy
David Mudrak [Mon, 4 Jan 2010 18:33:23 +0000 (18:33 +0000)]
MDL-19937 migration of form elements and grades - accumulation grading strategy

12 years agoMDL-19937 workshop assessments migration
David Mudrak [Mon, 4 Jan 2010 18:33:03 +0000 (18:33 +0000)]
MDL-19937 workshop assessments migration

12 years agoMDL-19937 workshop submissions migration
David Mudrak [Mon, 4 Jan 2010 18:32:53 +0000 (18:32 +0000)]
MDL-19937 workshop submissions migration

12 years agoworkshop: adding field 'published' into the upgrade script
David Mudrak [Mon, 4 Jan 2010 18:32:43 +0000 (18:32 +0000)]
workshop: adding field 'published' into the upgrade script

12 years agoMDL-19937 workshop migration - keep format of the Introduction field
David Mudrak [Mon, 4 Jan 2010 18:32:33 +0000 (18:32 +0000)]
MDL-19937 workshop migration - keep format of the Introduction field

12 years agoMDL-7218 workshop: remove orphaned assessments on upgrade
David Mudrak [Mon, 4 Jan 2010 18:32:23 +0000 (18:32 +0000)]
MDL-7218 workshop: remove orphaned assessments on upgrade

Clones the upgrade procedure from MOODLE_19_STABLE.

12 years agoField oldid must be nullable for new records
David Mudrak [Mon, 4 Jan 2010 18:32:13 +0000 (18:32 +0000)]
Field oldid must be nullable for new records

12 years agoMDL-19937 workshop migration - initial versions of upgrade scripts
David Mudrak [Mon, 4 Jan 2010 18:32:03 +0000 (18:32 +0000)]
MDL-19937 workshop migration - initial versions of upgrade scripts

12 years agoworkshop: added missing strings
David Mudrak [Mon, 4 Jan 2010 18:31:46 +0000 (18:31 +0000)]
workshop: added missing strings

12 years agoMDL-21198 workshop: rewriting user_picture() calls to respect recent refactoring
David Mudrak [Mon, 4 Jan 2010 18:31:36 +0000 (18:31 +0000)]
MDL-21198 workshop: rewriting user_picture() calls to respect recent refactoring

12 years agoMDL-21198 workshop: replacing old calls to action_icon()
David Mudrak [Mon, 4 Jan 2010 18:31:23 +0000 (18:31 +0000)]
MDL-21198 workshop: replacing old calls to action_icon()

12 years agoworkshop class phpdocumenting all properties loaded from instance DB record
David Mudrak [Mon, 4 Jan 2010 18:31:09 +0000 (18:31 +0000)]
workshop class phpdocumenting all properties loaded from instance DB record

12 years agoworkshop coding style - use stdclass instead of stdClass
David Mudrak [Mon, 4 Jan 2010 18:30:57 +0000 (18:30 +0000)]
workshop coding style - use stdclass instead of stdClass

12 years agoworkshop grading report improved displaying of grades
David Mudrak [Mon, 4 Jan 2010 18:30:20 +0000 (18:30 +0000)]
workshop grading report improved displaying of grades

Weight of assessment is expected to be equal 1 in majority of cases.
Such weight will not be displayed. As the comment says - this logic
should really go to the language pack level.

12 years agoworkshop MDL-21169 removed Update this Workshop button, replaced with settings block...
David Mudrak [Mon, 4 Jan 2010 18:30:09 +0000 (18:30 +0000)]
workshop MDL-21169 removed Update this Workshop button, replaced with settings block node

12 years agoworkshop grading report really needs table cells with border
David Mudrak [Mon, 4 Jan 2010 18:29:59 +0000 (18:29 +0000)]
workshop grading report really needs table cells with border

12 years agoworkshop fixed none participants case
David Mudrak [Mon, 4 Jan 2010 18:29:49 +0000 (18:29 +0000)]
workshop fixed none participants case

12 years agoworkshop: english strings for workshop capabilities
David Mudrak [Mon, 4 Jan 2010 18:29:39 +0000 (18:29 +0000)]
workshop: english strings for workshop capabilities

12 years agoworkshop: preparing possibility to publish selected submissions
David Mudrak [Mon, 4 Jan 2010 18:29:29 +0000 (18:29 +0000)]
workshop: preparing possibility to publish selected submissions

12 years agoworkshop in reply to MDL-20787 switching to pix_url()
David Mudrak [Mon, 4 Jan 2010 18:29:19 +0000 (18:29 +0000)]
workshop in reply to MDL-20787 switching to pix_url()

12 years agoworkshop displays assessment weight in the grading evaluation report
David Mudrak [Mon, 4 Jan 2010 18:29:06 +0000 (18:29 +0000)]
workshop displays assessment weight in the grading evaluation report

12 years agoworkshop fixing incorrect use of logical operators
David Mudrak [Mon, 4 Jan 2010 18:28:56 +0000 (18:28 +0000)]
workshop fixing incorrect use of logical operators

12 years agoworkshop: do not allow editing outside the given frame
David Mudrak [Mon, 4 Jan 2010 18:28:46 +0000 (18:28 +0000)]
workshop: do not allow editing outside the given frame

12 years agoworkshop in reply to MDL-20204 - new output API in example submissions code
David Mudrak [Mon, 4 Jan 2010 18:28:36 +0000 (18:28 +0000)]
workshop in reply to MDL-20204 - new output API in example submissions code

12 years agoMDL-20652 workshop: more work on example submissions
David Mudrak [Mon, 4 Jan 2010 18:28:25 +0000 (18:28 +0000)]
MDL-20652 workshop: more work on example submissions

Important change: teacher's assessments of example submissions (now
known as "reference assessments") are now displayed to students after
they assess example submission.

12 years agoworkshop 2.0: do not register cron job before it is really implemented
David Mudrak [Mon, 4 Jan 2010 18:28:12 +0000 (18:28 +0000)]
workshop 2.0: do not register cron job before it is really implemented

12 years agoworkshop 2.0: implement phase-related allowers
David Mudrak [Mon, 4 Jan 2010 18:28:02 +0000 (18:28 +0000)]
workshop 2.0: implement phase-related allowers

12 years agoworkshop viewlets are collapsible
David Mudrak [Mon, 4 Jan 2010 18:27:52 +0000 (18:27 +0000)]
workshop viewlets are collapsible

So far using the obsolete function, to be upgraded to using output renderer

12 years agoMDL-20652 workshop: more work on example submissions
David Mudrak [Mon, 4 Jan 2010 18:27:41 +0000 (18:27 +0000)]
MDL-20652 workshop: more work on example submissions

12 years agoMDL-20652 workshop: initial work on example submissions
David Mudrak [Mon, 4 Jan 2010 18:27:21 +0000 (18:27 +0000)]
MDL-20652 workshop: initial work on example submissions

12 years agoworkshop uses plain checkbox instead of advcheckbox
David Mudrak [Mon, 4 Jan 2010 18:27:07 +0000 (18:27 +0000)]
workshop uses plain checkbox instead of advcheckbox

12 years agoworkshop in reply to MDL-20204 - new output API
David Mudrak [Mon, 4 Jan 2010 18:26:56 +0000 (18:26 +0000)]
workshop in reply to MDL-20204 - new output API

12 years agoworkshop in reply to MDL-20787: module icon moved to the new location
David Mudrak [Mon, 4 Jan 2010 18:26:21 +0000 (18:26 +0000)]
workshop in reply to MDL-20787: module icon moved to the new location

12 years agoworkshop: fixed two grading evaluation errors
David Mudrak [Mon, 4 Jan 2010 18:26:02 +0000 (18:26 +0000)]
workshop: fixed two grading evaluation errors

The first one was caused by the wrong rounding. The second one caused
the best assessment not being recognized properly.

12 years agoFixed deprecated call by reference
David Mudrak [Mon, 4 Jan 2010 18:25:52 +0000 (18:25 +0000)]
Fixed deprecated call by reference

12 years agoYet another MySQL fix
David Mudrak [Mon, 4 Jan 2010 18:25:41 +0000 (18:25 +0000)]
Yet another MySQL fix

12 years agoAn attempt to fix an SQL bug appearing at MySQL
David Mudrak [Mon, 4 Jan 2010 18:25:23 +0000 (18:25 +0000)]
An attempt to fix an SQL bug appearing at MySQL

12 years agoworkshop submission: fixed error preventing to submit at MySQL server
David Mudrak [Mon, 4 Jan 2010 18:25:13 +0000 (18:25 +0000)]
workshop submission: fixed error preventing to submit at MySQL server

12 years agoFixed missing library include when deleting an instance
David Mudrak [Mon, 4 Jan 2010 18:25:03 +0000 (18:25 +0000)]
Fixed missing library include when deleting an instance

12 years agoMDL-19937 workshop migration - setting day zero versions
David Mudrak [Mon, 4 Jan 2010 18:24:52 +0000 (18:24 +0000)]
MDL-19937 workshop migration - setting day zero versions

12 years agoDropping support for scheduled release of grades - it is gradebook's
David Mudrak [Mon, 4 Jan 2010 18:24:28 +0000 (18:24 +0000)]
Dropping support for scheduled release of grades - it is gradebook's
duty

12 years agoVarious fixes found during testing
David Mudrak [Mon, 4 Jan 2010 18:24:17 +0000 (18:24 +0000)]
Various fixes found during testing

12 years agoMDL-20058 totalgrade stuff removed from workshop code
David Mudrak [Mon, 4 Jan 2010 18:24:03 +0000 (18:24 +0000)]
MDL-20058 totalgrade stuff removed from workshop code

12 years agoMDL-20058 workshop pushed grades into gradebook
David Mudrak [Mon, 4 Jan 2010 18:23:52 +0000 (18:23 +0000)]
MDL-20058 workshop pushed grades into gradebook

12 years agoRenamed a param to handle block editing mode
David Mudrak [Mon, 4 Jan 2010 18:23:42 +0000 (18:23 +0000)]
Renamed a param to handle block editing mode

12 years agoMDL-20058 workshop grades can be overridden in grading evaluation phase only
David Mudrak [Mon, 4 Jan 2010 18:23:32 +0000 (18:23 +0000)]
MDL-20058 workshop grades can be overridden in grading evaluation phase only

12 years agoMDL-20058 workshop allows override grade for submission
David Mudrak [Mon, 4 Jan 2010 18:23:22 +0000 (18:23 +0000)]
MDL-20058 workshop allows override grade for submission

12 years agoRefactor submission.php a bit to prepare for feedback form
David Mudrak [Mon, 4 Jan 2010 18:23:08 +0000 (18:23 +0000)]
Refactor submission.php a bit to prepare for feedback form

12 years agoworkshop: fixed link to the attachment in a folder
David Mudrak [Mon, 4 Jan 2010 18:22:58 +0000 (18:22 +0000)]
workshop: fixed link to the attachment in a folder

12 years agoMDL-20058 workshop grading report fixes and small improvements
David Mudrak [Mon, 4 Jan 2010 18:22:47 +0000 (18:22 +0000)]
MDL-20058 workshop grading report fixes and small improvements

12 years agoDo not display given grade before the workshop is closed
David Mudrak [Mon, 4 Jan 2010 18:22:37 +0000 (18:22 +0000)]
Do not display given grade before the workshop is closed

12 years agoReplaced develtools with a temporary loginas tab
David Mudrak [Mon, 4 Jan 2010 18:22:27 +0000 (18:22 +0000)]
Replaced develtools with a temporary loginas tab

12 years agoworkshop: general cleanup
David Mudrak [Mon, 4 Jan 2010 18:22:10 +0000 (18:22 +0000)]
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.

12 years agoMDL-19930 workshop: comments grading strategy
David Mudrak [Mon, 4 Jan 2010 18:21:42 +0000 (18:21 +0000)]
MDL-19930 workshop: comments grading strategy

12 years agoRough search and replace accumulative > comments
David Mudrak [Mon, 4 Jan 2010 18:21:24 +0000 (18:21 +0000)]
Rough search and replace accumulative > comments

12 years agoInitial copy of form/accumulative code
David Mudrak [Mon, 4 Jan 2010 18:21:04 +0000 (18:21 +0000)]
Initial copy of form/accumulative code

12 years agoAssessments overrides and feedbacks
David Mudrak [Mon, 4 Jan 2010 18:20:24 +0000 (18:20 +0000)]
Assessments overrides and feedbacks

This requires the patch of MDL-20623 to be applied

12 years agoFrozen grid rubric layout fix
David Mudrak [Mon, 4 Jan 2010 18:20:10 +0000 (18:20 +0000)]
Frozen grid rubric layout fix

12 years agoVIP Assessment review
David Mudrak [Mon, 4 Jan 2010 18:19:58 +0000 (18:19 +0000)]
VIP Assessment review

12 years agoFixed submission grade aggregation
David Mudrak [Mon, 4 Jan 2010 18:19:48 +0000 (18:19 +0000)]
Fixed submission grade aggregation

Overriding the submission grade influence the total grade, not the
aggregated one.

12 years agoAssessment form preview handled by a dedicated script
David Mudrak [Mon, 4 Jan 2010 18:19:37 +0000 (18:19 +0000)]
Assessment form preview handled by a dedicated script

This was part of assessment.php but it makes the things too complicated.

12 years agoeval/best/ is officially called 'Comparison with the best assessment'
David Mudrak [Mon, 4 Jan 2010 18:19:24 +0000 (18:19 +0000)]
eval/best/ is officially called 'Comparison with the best assessment'

12 years agoAllow opening assessment forms in read-only mode
David Mudrak [Mon, 4 Jan 2010 18:19:13 +0000 (18:19 +0000)]
Allow opening assessment forms in read-only mode

12 years agoRemember the recently used grading evaluation settings
David Mudrak [Mon, 4 Jan 2010 18:18:53 +0000 (18:18 +0000)]
Remember the recently used grading evaluation settings

12 years agoGrading evaluation is now configurable on-the-fly
David Mudrak [Mon, 4 Jan 2010 18:18:30 +0000 (18:18 +0000)]
Grading evaluation is now configurable on-the-fly

12 years agoWorkshop total grade calculation support
David Mudrak [Mon, 4 Jan 2010 18:18:00 +0000 (18:18 +0000)]
Workshop total grade calculation support

12 years agoDisplay real grade values in the grading report
David Mudrak [Mon, 4 Jan 2010 18:17:47 +0000 (18:17 +0000)]
Display real grade values in the grading report

12 years agoGrading grades aggregations
David Mudrak [Mon, 4 Jan 2010 18:17:37 +0000 (18:17 +0000)]
Grading grades aggregations

12 years agoFaking assessments reworked
David Mudrak [Mon, 4 Jan 2010 18:17:27 +0000 (18:17 +0000)]
Faking assessments reworked

12 years agoFixed regression and broken interafce implementation
David Mudrak [Mon, 4 Jan 2010 18:17:17 +0000 (18:17 +0000)]
Fixed regression and broken interafce implementation

12 years agoGetting rid of supports_evaluation()
David Mudrak [Mon, 4 Jan 2010 18:17:03 +0000 (18:17 +0000)]
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.

12 years agoMethods to get info about assessments and dimensions are part of strategy API
David Mudrak [Mon, 4 Jan 2010 18:16:41 +0000 (18:16 +0000)]
Methods to get info about assessments and dimensions are part of strategy API

12 years agoPagination a sorting fix
David Mudrak [Mon, 4 Jan 2010 18:16:23 +0000 (18:16 +0000)]
Pagination a sorting fix

12 years agoRubric: fixed best evaluation support
David Mudrak [Mon, 4 Jan 2010 18:16:13 +0000 (18:16 +0000)]
Rubric: fixed best evaluation support

12 years agoMDL-19932 Rubric grading strategy implemented
David Mudrak [Mon, 4 Jan 2010 18:16:02 +0000 (18:16 +0000)]
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.

12 years agoMoving some helper functions from the renderer to the workshop API
David Mudrak [Mon, 4 Jan 2010 18:15:48 +0000 (18:15 +0000)]
Moving some helper functions from the renderer to the workshop API

12 years agoMDL-19932 First drafts of Rubric strategy
David Mudrak [Mon, 4 Jan 2010 18:15:38 +0000 (18:15 +0000)]
MDL-19932 First drafts of Rubric strategy

Assessment form editing should work

12 years agoParameter consistency check
David Mudrak [Mon, 4 Jan 2010 18:15:24 +0000 (18:15 +0000)]
Parameter consistency check

12 years agoConstant name fixed and improved empty input check
David Mudrak [Mon, 4 Jan 2010 18:15:14 +0000 (18:15 +0000)]
Constant name fixed and improved empty input check

12 years agoFixed a table name
David Mudrak [Mon, 4 Jan 2010 18:15:00 +0000 (18:15 +0000)]
Fixed a table name

12 years agoInitial commit of rubric code, copied from accumulative
David Mudrak [Mon, 4 Jan 2010 18:14:49 +0000 (18:14 +0000)]
Initial commit of rubric code, copied from accumulative

12 years agoFixed a phpDoc param type
David Mudrak [Mon, 4 Jan 2010 18:14:12 +0000 (18:14 +0000)]
Fixed a phpDoc param type

12 years agoGrading evaluation - best subplugin
David Mudrak [Mon, 4 Jan 2010 18:14:01 +0000 (18:14 +0000)]
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.

12 years agoRenamed unittest files and a small change due to evaluation
David Mudrak [Mon, 4 Jan 2010 18:13:42 +0000 (18:13 +0000)]
Renamed unittest files and a small change due to evaluation

12 years agoCall the parent's constructor in renderers
David Mudrak [Mon, 4 Jan 2010 18:13:17 +0000 (18:13 +0000)]
Call the parent's constructor in renderers

12 years agoGrading report - columns sorting support
David Mudrak [Mon, 4 Jan 2010 18:13:04 +0000 (18:13 +0000)]
Grading report - columns sorting support

12 years agoUnit tests for workshop::aggregate_submission_grades_process()
David Mudrak [Mon, 4 Jan 2010 18:12:54 +0000 (18:12 +0000)]
Unit tests for workshop::aggregate_submission_grades_process()

12 years agoaggregate_submission_grades() refactoring to allow unit testing
David Mudrak [Mon, 4 Jan 2010 18:12:44 +0000 (18:12 +0000)]
aggregate_submission_grades() refactoring to allow unit testing

12 years agoImproved the workshop constructor to support unit testing
David Mudrak [Mon, 4 Jan 2010 18:12:32 +0000 (18:12 +0000)]
Improved the workshop constructor to support unit testing

Thanks to Tim Hunt for the hint.

12 years agoMDL-20264 work in progress on grading evaluation support
David Mudrak [Mon, 4 Jan 2010 18:12:12 +0000 (18:12 +0000)]
MDL-20264 work in progress on grading evaluation support

Also fixes small bugs in workshop api constructor and in using "scales"
instead of "scale" for the core table name.