David Mudrak [Tue, 8 Nov 2011 15:25:58 +0000 (16:25 +0100)]
MDL-29793 Advanced grading forms attached to activity modules are included in the backup now
David Mudrak [Tue, 8 Nov 2011 08:23:45 +0000 (00:23 -0800)]
Merge pull request #24 from marinaglancy/wip-nov08-rubric
Marina Glancy [Tue, 8 Nov 2011 06:09:50 +0000 (14:09 +0800)]
MDL-30161: link from gradebook (grading analysis) only appears now in Grader report but for all items; in User report the link under activity name contains userid
Marina Glancy [Tue, 8 Nov 2011 02:34:23 +0000 (10:34 +0800)]
Fixed small bug in displaying locked outcomes in assignment grade form
Marina Glancy [Tue, 8 Nov 2011 02:06:33 +0000 (10:06 +0800)]
MDL-30061: advanced grading evaluation freezes now if grade is locked or overriden
Marina Glancy [Tue, 8 Nov 2011 01:14:45 +0000 (09:14 +0800)]
fixed bug that appeared when teacher grades student with a rubric for the first time
David Mudrak [Tue, 8 Nov 2011 00:54:36 +0000 (01:54 +0100)]
MDL-30162 The grading method can be selected when creating new instance of the activity module
David Mudrak [Tue, 8 Nov 2011 00:06:47 +0000 (01:06 +0100)]
Files embedded into the form description are now served by the core itself
The grading form description is in the core scope so it should be served
by the core, not by the plugin.
David Mudrak [Mon, 7 Nov 2011 22:23:38 +0000 (23:23 +0100)]
MDL-30111 Rubric - reordered English strings by stringid
Martin Dougiamas [Mon, 7 Nov 2011 22:19:51 +0000 (23:19 +0100)]
MDL-30111 Rubric - some English strings rewording
David Mudrak [Mon, 7 Nov 2011 12:47:29 +0000 (04:47 -0800)]
Merge pull request #23 from marinaglancy/wip-nov07-rubric
Marina Glancy [Mon, 7 Nov 2011 07:55:08 +0000 (15:55 +0800)]
MDL-29481: when student is being regraded we try to pick up the latest saved but not submitted version of grading
There are no visible changes yet because at the moment rubric is only saved when it is submitted but this is a base for AJAX saving
Marina Glancy [Mon, 7 Nov 2011 06:37:58 +0000 (14:37 +0800)]
MDL-30159: fixed bug: When evaluating by advanced grading extra entries are inserted in grading_instances
Marina Glancy [Mon, 7 Nov 2011 05:07:43 +0000 (13:07 +0800)]
MDL-30023: rubric editor usability - automatically set scores for added levels
Marina Glancy [Mon, 7 Nov 2011 05:07:30 +0000 (13:07 +0800)]
Fixed small bug resulting in a warning message when creating new rubric
David Mudrak [Fri, 4 Nov 2011 07:42:52 +0000 (00:42 -0700)]
Merge pull request #22 from marinaglancy/wip-nov04_1-rubric
Marina Glancy [Fri, 4 Nov 2011 06:58:05 +0000 (14:58 +0800)]
MDL-30023: rubric editor usability - support for tab key and adding multiple levels
Marina Glancy [Fri, 4 Nov 2011 03:29:01 +0000 (11:29 +0800)]
MDL-30023: rubriceditor usability - skip buttons for reorder and delete in tabindex
David Mudrak [Thu, 3 Nov 2011 12:51:45 +0000 (13:51 +0100)]
MDL-29920 User report may display the grade analysis link, too
The original idea was to use the link in the row header (the activity
link). However, for both unified user experience and the overall patch
design reasons, I finally decided not to alter the activity link but to
append the analysis icon. The user experience should be the same as in
the grader report.
David Mudrak [Thu, 3 Nov 2011 12:50:34 +0000 (13:50 +0100)]
MDL-29920 Grader report does not need to cache grade.php existence flags any more
This caching is now performed by the underlying methods.
David Mudrak [Thu, 3 Nov 2011 12:44:41 +0000 (13:44 +0100)]
MDL-29920 Performance improvements in the gradebook reports
Both methods get_activity_link() and get_grade_analysis_url() now cache
the results of the check whether the activity module provides grade.php
or not. Previously, get_activity_link() called file_exists() in every
call and get_grade_analysis_url() did not check the existence at all.
Note that this solution is still sub-optimal as apparently both methods
do very similar job. This should be refactored one day by a brave
developer who works on gradebook. Meanwhile, even this suboptimal
solution is more effective than the previous one for most courses.
David Mudrak [Thu, 3 Nov 2011 09:52:53 +0000 (02:52 -0700)]
Merge pull request #21 from marinaglancy/wip-nov03-rubric
Display warnings if used rubric is being updated and mark instances for regrade
Marina Glancy [Thu, 3 Nov 2011 08:08:36 +0000 (16:08 +0800)]
MDL-30112: marking rubric filling instances for regrading
- If a used rubric being updated, teacher (moderator) is notified
- If the changes are significant, all instances automatically marked for regrade
- if the changes are minor (texts, options or sortorder), teacher can choose whether to mark for regrade or not
- The instances marked for regrade can be re-graded but students are not able to see the rubric
- when grading a message appears if the instance is marked for regrade and is not visible to students
David Mudrak [Wed, 2 Nov 2011 22:35:05 +0000 (23:35 +0100)]
Replaced deprecated get_system_context() with the new context_system::instance()
David Mudrak [Wed, 2 Nov 2011 22:17:08 +0000 (23:17 +0100)]
Merge remote branch 'origin/master' into rubric
Conflicts:
lib/db/upgrade.php
version.php
David Mudrak [Wed, 2 Nov 2011 21:29:47 +0000 (22:29 +0100)]
Improved handling of occupied target issue
If the target area already contains a form, we can't pick anything to
use there. If the user works in two windows or there are several
teachers modifying the same course, it can happen that the form suddenly
appears in the target area while we have the form picker still open. In
such case, we simply redirects the user to the target area instead of
displaying the pooky exception.
David Mudrak [Wed, 2 Nov 2011 21:25:32 +0000 (22:25 +0100)]
MDL-29483 The list of gradable areas is now obtained from the module
At the moment, only activity modules are supported.
David Mudrak [Wed, 2 Nov 2011 20:57:24 +0000 (21:57 +0100)]
MDL-29794 It is now possible to re-use a form without sharing it as a template
The patch also improves displaying tags-like status information next to
the grading form titles.
Eloy Lafuente (stronk7) [Wed, 2 Nov 2011 18:52:31 +0000 (19:52 +0100)]
weekly release 2.2dev
Eloy Lafuente (stronk7) [Wed, 2 Nov 2011 18:48:26 +0000 (19:48 +0100)]
Merge branch 'install_master' of git://github.com/amosbot/moodle
Eloy Lafuente (stronk7) [Wed, 2 Nov 2011 18:07:52 +0000 (19:07 +0100)]
MDL-29213 - add clarification note + todo once MDL-30039 arrives
David Mudrak [Wed, 2 Nov 2011 10:41:12 +0000 (03:41 -0700)]
Merge pull request #20 from marinaglancy/wip-nov02-rubric
Marina Glancy [Tue, 1 Nov 2011 00:48:33 +0000 (08:48 +0800)]
MDL-29920: grade.php in assignment now can show submission/feedback for a particular user (also when submission did not exist yet)
Marina Glancy [Wed, 2 Nov 2011 03:38:00 +0000 (11:38 +0800)]
MDL-30037: fixed bug with grade calculation
Marina Glancy [Wed, 2 Nov 2011 03:12:02 +0000 (11:12 +0800)]
MDL-29482: error message is displayed to graders if grading form is unavailable
Marina Glancy [Wed, 2 Nov 2011 02:45:32 +0000 (10:45 +0800)]
MDL-29482, MDL-29794, MDL-30037: supporting form status in rubriceditor and forms sharing; fixed bug with grade calculation
Marina Glancy [Wed, 2 Nov 2011 00:31:10 +0000 (08:31 +0800)]
MDL-29482: added validation to rubric editor and the 'work in progress' status
Marina Glancy [Tue, 1 Nov 2011 00:48:53 +0000 (08:48 +0800)]
MDL-29481: added css border around selected rubric level
Marina Glancy [Thu, 27 Oct 2011 06:39:43 +0000 (14:39 +0800)]
MDL-29920: now complete report properly calls view_feedback in assignment
David Mudrak [Tue, 1 Nov 2011 19:53:48 +0000 (20:53 +0100)]
MDL-29920 Gradebook grader report now supports grade analysis link
When grade analysis link is enabled, an icon is displayed next to each
grade of a module that supports grade.php file. The parameters needed to
identify the particular user and grade are passed to the grade.php
script.
Eloy Lafuente (stronk7) [Tue, 1 Nov 2011 19:12:45 +0000 (20:12 +0100)]
Merge branch 'MDL-29879' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Tue, 1 Nov 2011 19:09:10 +0000 (20:09 +0100)]
MDL-29283 import TCPDF to 5.9.133 - clean whitespace
Dan Marsden [Mon, 31 Oct 2011 01:52:07 +0000 (14:52 +1300)]
MDL-29213 - fix for bug with flash player and IE 9
(cherry-picked and amended with 1-line whitespace)
David Mudrak [Tue, 1 Nov 2011 17:18:45 +0000 (18:18 +0100)]
MDL-29920 The link from gradebook back to the activity contains itemnumber
The activity module must have a chance to display appropriate grades
report per itemnumber. Most activity modules have just one grade items
si they can ignore the param. Complex modules like the Workshop need this.
David Mudrak [Tue, 1 Nov 2011 17:04:31 +0000 (18:04 +0100)]
MDL-29482 The rubric editor is now able to save the status of the form definition
Eloy Lafuente (stronk7) [Tue, 1 Nov 2011 16:27:26 +0000 (17:27 +0100)]
MDL-29283 import TCPDF to 5.9.133 - fix permissions
Eloy Lafuente (stronk7) [Tue, 1 Nov 2011 16:23:20 +0000 (17:23 +0100)]
Merge branch 'w43_MDL-29283_m22_tcpdf' of git://github.com/skodak/moodle
David Mudrak [Tue, 1 Nov 2011 15:25:58 +0000 (16:25 +0100)]
MDL-29794 Rename templates.php back to pick.php
We will need the general management page implemented in a separate
script. This one will be used for picking an existing form only.
David Mudrak [Tue, 1 Nov 2011 13:15:55 +0000 (14:15 +0100)]
MDL-29794 Do not offer re-sharing of unmodified forms
The patch introduces a new field 'timecopied' that holds the timestamp
of when the given form was cloned last time. Using this field, we can
decide whether the form can be actually re-shared or not.
Note that the logic just hides the icon. It is meant as a usability
feature, not any real protection from sharing.
David Mudrak [Tue, 1 Nov 2011 13:05:11 +0000 (14:05 +0100)]
MDL-29794 Shared grading form templates can be deleted now
There is a new capability to manage all shared templates. Without this
capability, the user is allowed to delete just templates they previously
shared.
In the future, an option to edit the template directly might be added.
At the moment, the workaround is to pick the template into a temporary
assignment, edit it there and re-save it as a new template.
David Mudrak [Tue, 1 Nov 2011 11:32:06 +0000 (12:32 +0100)]
MDL-29108 Improved support for form definition status
Every grading form can be basically in either DRAFT state (currently
being edited) or READY state (available for usage). For shared
templates, the status is not relevant at the moment and they are
automatically in the READY state.
Eloy Lafuente (stronk7) [Tue, 1 Nov 2011 11:26:31 +0000 (12:26 +0100)]
Merge branch 'w43_MDL-29982_m22_canaccess' of git://github.com/skodak/moodle
Tim Hunt [Tue, 1 Nov 2011 10:37:48 +0000 (10:37 +0000)]
MDL-29879 qbehaviour missing. Fix bad lang string.
Aparup Banerjee [Tue, 1 Nov 2011 07:18:44 +0000 (15:18 +0800)]
Merge branch 'w43_MDL-30005_m22_uri' of git://github.com/skodak/moodle
Petr Skoda [Tue, 1 Nov 2011 06:56:33 +0000 (07:56 +0100)]
MDL-30005 regression fix for non http/ftp urls
Aparup Banerjee [Tue, 1 Nov 2011 05:23:03 +0000 (13:23 +0800)]
Merge branch 'MDL-29983' of git://github.com/timhunt/moodle
Sam Hemelryk [Tue, 1 Nov 2011 04:50:01 +0000 (17:50 +1300)]
MDL-28720 calendar: Quick fix of a regression in set.php
Sam Hemelryk [Tue, 1 Nov 2011 04:36:50 +0000 (17:36 +1300)]
Merge branch 'w43_MDL-29964_m22_fixenrolevents' of git://github.com/skodak/moodle
Aparup Banerjee [Tue, 1 Nov 2011 04:15:40 +0000 (12:15 +0800)]
Merge branch 'w43_MDL-29990_m22_navcontinue' of git://github.com/skodak/moodle
Aparup Banerjee [Tue, 1 Nov 2011 04:00:57 +0000 (12:00 +0800)]
Merge branch 'MDL-29787' of git://github.com/lazydaisy/moodle
Sam Hemelryk [Tue, 1 Nov 2011 03:52:02 +0000 (16:52 +1300)]
Merge branch 'w43_MDL-29980_m22_flowcss' of git://github.com/skodak/moodle
Sam Hemelryk [Tue, 1 Nov 2011 03:47:16 +0000 (16:47 +1300)]
Merge branch 'MDL-29164' of git://github.com/timhunt/moodle
Sam Hemelryk [Tue, 1 Nov 2011 03:11:58 +0000 (16:11 +1300)]
Merge branch 'MDL-29197' of git://github.com/lazydaisy/moodle
Sam Hemelryk [Tue, 1 Nov 2011 02:56:55 +0000 (15:56 +1300)]
Merge branch 'MDL-25760' of git://github.com/lazydaisy/moodle
David Mudrak [Tue, 1 Nov 2011 02:16:54 +0000 (03:16 +0100)]
MDL-29794 Initial support for re-using a shared grading form
The patch introduces a new script templates.php that allows to search
for a previously shared form (template) and re-use it.
The patch also modifies the preview rendering of grading forms. Now
plugins are responsible for rendering the form itselft, without any
headers, descriptions etc (we need to embed the form preview into
various places so the caller looks after the frame).
AMOS bot [Tue, 1 Nov 2011 00:55:16 +0000 (00:55 +0000)]
Automatically generated installer lang files
Sam Hemelryk [Mon, 31 Oct 2011 20:38:24 +0000 (09:38 +1300)]
Merge branch 'w43_MDL-29925_m22_calendar' of git://github.com/skodak/moodle
Tim Hunt [Mon, 31 Oct 2011 15:35:07 +0000 (15:35 +0000)]
MDL-29164 question import, missing lang string.
AMOS BEGIN
MOV [noquestionsinfile,mod_quiz],[noquestionsinfile,question]
AMOS END
Aparup Banerjee [Mon, 31 Oct 2011 09:19:14 +0000 (17:19 +0800)]
Merge branch 'w43_MDL-29922_m22_smarty' of git://github.com/skodak/moodle
Aparup Banerjee [Mon, 31 Oct 2011 09:08:32 +0000 (17:08 +0800)]
Merge branch 'w43_MDL-29921_m22_qti2' of git://github.com/skodak/moodle
Aparup Banerjee [Mon, 31 Oct 2011 08:10:00 +0000 (16:10 +0800)]
Merge branch 'w43_MDL-29972_m22_langreset' of git://github.com/skodak/moodle
Aparup Banerjee [Mon, 31 Oct 2011 08:05:12 +0000 (16:05 +0800)]
Merge branch 'w43_MDL-29966_m22_grouploading' of git://github.com/skodak/moodle
Aparup Banerjee [Mon, 31 Oct 2011 07:25:55 +0000 (15:25 +0800)]
Merge branch 'w43_MDL-29984_m22_enroltoday' of git://github.com/skodak/moodle
Aparup Banerjee [Mon, 31 Oct 2011 07:12:45 +0000 (15:12 +0800)]
MDL-30005 URL : fixed typos
Aparup Banerjee [Mon, 31 Oct 2011 06:13:46 +0000 (14:13 +0800)]
Merge branch 'w43_MDL-30005_m22_uri' of git://github.com/skodak/moodle
Sam Hemelryk [Mon, 31 Oct 2011 05:02:03 +0000 (18:02 +1300)]
Merge branch 'w43_MDL-29883_m22_mp3player' of git://github.com/skodak/moodle
Sam Hemelryk [Mon, 31 Oct 2011 04:59:11 +0000 (17:59 +1300)]
Merge branch 'w43_MDL-29824_m22_enrolmax' of git://github.com/skodak/moodle
Sam Hemelryk [Mon, 31 Oct 2011 04:28:57 +0000 (17:28 +1300)]
Merge branch 'w43_MDL-28720_m22_calendarreturn' of git://github.com/skodak/moodle
Sam Hemelryk [Mon, 31 Oct 2011 04:18:13 +0000 (17:18 +1300)]
Merge branch 'MDL-27919' of git://github.com/jamiepratt/moodle
Sam Hemelryk [Mon, 31 Oct 2011 04:11:08 +0000 (17:11 +1300)]
Merge branch 'MDL-29810' of git://github.com/bostelm/moodle
Sam Hemelryk [Mon, 31 Oct 2011 03:53:24 +0000 (16:53 +1300)]
Merge branch 'MDL-29994' of git://github.com/stronk7/moodle
Aparup Banerjee [Mon, 31 Oct 2011 02:23:59 +0000 (10:23 +0800)]
Merge branch 'w43_MDL-29923_m22_removesearch' of git://github.com/skodak/moodle
Sam Hemelryk [Mon, 31 Oct 2011 02:19:31 +0000 (15:19 +1300)]
Merge branch 'MDL-29993' of git://github.com/stronk7/moodle
Sam Hemelryk [Mon, 31 Oct 2011 01:56:06 +0000 (14:56 +1300)]
Merge branch 'MDL-29992' of git://github.com/stronk7/moodle
Mary Evans [Mon, 31 Oct 2011 01:43:17 +0000 (01:43 +0000)]
MDL-29197 FIX for content displacment when clicking anchor elements in course page
Sam Hemelryk [Mon, 31 Oct 2011 00:51:07 +0000 (13:51 +1300)]
Merge branch 'MDL-29978' of git://github.com/stronk7/moodle
Sam Hemelryk [Mon, 31 Oct 2011 00:06:10 +0000 (13:06 +1300)]
Merge branch 'MDL-30006-workshop-grades' of git://github.com/mudrd8mz/moodle
Sam Hemelryk [Sun, 30 Oct 2011 23:59:35 +0000 (12:59 +1300)]
Merge branch 'master_MDL-28559' of git://github.com/danmarsden/moodle
Sam Hemelryk [Sun, 30 Oct 2011 23:55:57 +0000 (12:55 +1300)]
Merge branch 'master_MDL-29965' of git://github.com/danmarsden/moodle
Sam Hemelryk [Sun, 30 Oct 2011 23:47:21 +0000 (12:47 +1300)]
Merge branch 'master_MDL-30009' of git://github.com/danmarsden/moodle
Sam Hemelryk [Sun, 30 Oct 2011 23:44:05 +0000 (12:44 +1300)]
Merge branch 'MDL-29898-master-1' of git://git.luns.net.uk/moodle
Petr Skoda [Sun, 30 Oct 2011 11:55:08 +0000 (12:55 +0100)]
MDL-30005 bump up version after lang string change
Petr Skoda [Sun, 30 Oct 2011 22:53:17 +0000 (23:53 +0100)]
MDL-30005 fix general URI support in URL module
The recent change completely removed support for general URIs and enforced strict URL validation which was breaking backwards compatibility and was not user friendly at all.
This patch finally adds full URI support with basic validation and fixes some older xhtml strict issues.
Please note we do not try to explain the difference between URL and URI to our users. Also keep in mind that mod/url has XSS risk and does not do any security validation of the data.
Dan Marsden [Sun, 30 Oct 2011 22:04:20 +0000 (11:04 +1300)]
SCORM MDL-30009 fix issue with started on/last accessed when iterating through users.
David Mudrak [Sun, 30 Oct 2011 19:05:27 +0000 (20:05 +0100)]
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.
David Mudrak [Sun, 30 Oct 2011 17:57:57 +0000 (18:57 +0100)]
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.
Petr Skoda [Sun, 30 Oct 2011 12:35:12 +0000 (13:35 +0100)]
MDL-29824 bump up version after new lang string
Petr Skoda [Sun, 30 Oct 2011 12:34:23 +0000 (13:34 +0100)]
MDL-29824 improve notification of max number of enrolled users
Petr Skoda [Sun, 30 Oct 2011 09:53:42 +0000 (10:53 +0100)]
MDL-29982 fixed missing $userid
Thanks Eloy!
Eloy Lafuente (stronk7) [Sun, 30 Oct 2011 01:35:59 +0000 (02:35 +0100)]
MDL-29994 filters - prevent mod/data and mod/glossary to be re-added