David Mudrak [Tue, 18 Oct 2011 23:17:43 +0000 (01:17 +0200)]
Saving a form as a public template
There is a new API method get_definition_copy() that is expected to
return the definition structure as if the form was written from scratch
via the editor. Such a prepared structure is passed to
a controller's update_definition() method in the new target area.
The same mechanism will be used for copying definitions from a shared
area to a normal gradable area.
David Mudrak [Tue, 18 Oct 2011 14:39:54 +0000 (16:39 +0200)]
Trivial rename of the active method selector param
David Mudrak [Tue, 18 Oct 2011 14:27:22 +0000 (16:27 +0200)]
Fixed registering new form definition
David Mudrak [Tue, 18 Oct 2011 14:26:06 +0000 (16:26 +0200)]
Fixed form cancellation handling
Previously, a cancelled form was processed as if all rubric definition
was removed.
David Mudrak [Tue, 18 Oct 2011 14:25:30 +0000 (16:25 +0200)]
Improved management page's integration into the settings block (again)
David Mudrak [Tue, 18 Oct 2011 12:55:25 +0000 (14:55 +0200)]
New capability to share and publish a form as a template
David Mudrak [Mon, 17 Oct 2011 23:05:07 +0000 (01:05 +0200)]
Initial support for the grading management screen
The user is sent to the new grade/grading/manage.php screen when an
advanced grading method is set in the activity mod form or via the
settings block.
The screen is supposed to (1) let the user change the currently active
grading method, (2) open the editor for the selected method, (3) create
new form from a template (4) display a preview of the form.
David Mudrak [Mon, 17 Oct 2011 19:42:04 +0000 (21:42 +0200)]
Initial version of a couple of big icons from Tango Desktop project
David Mudrak [Mon, 17 Oct 2011 09:54:53 +0000 (02:54 -0700)]
Merge pull request #15 from marinaglancy/wip-renderer-rubric
MDL-29481: implemented rubrics renderer, improved rubrics UI
Marina Glancy [Mon, 17 Oct 2011 09:03:25 +0000 (17:03 +0800)]
MDL-29481: implemented rubrics renderer, improved rubrics UI
David Mudrak [Fri, 14 Oct 2011 13:41:08 +0000 (15:41 +0200)]
Improved integration into the settings block
David Mudrak [Fri, 14 Oct 2011 12:34:12 +0000 (14:34 +0200)]
Activity module's settings form redirects to the management screen when advanced grading method was selected to use
David Mudrak [Fri, 14 Oct 2011 11:55:54 +0000 (13:55 +0200)]
Grading manager's set_active_method() returns bool now
David Mudrak [Fri, 14 Oct 2011 11:51:43 +0000 (13:51 +0200)]
Fixing the nullability of levelid field in the gradingform_rubric_fillings table
Credit goes to Marina Glency for spotting this.
David Mudrak [Fri, 14 Oct 2011 11:47:16 +0000 (13:47 +0200)]
Adding a unique key to the gradingform_rubric_fillings table
Credit goes to Marina Glency for the suggestion.
David Mudrak [Fri, 14 Oct 2011 10:22:31 +0000 (12:22 +0200)]
Dropping the uq_rater_per_item from the table grading_instances
It was realized that we may need multiple instances per one rater/item
to be able to 1) implement a draft instance and 2) eventually keep the
history of advanced grading.
David Mudrak [Thu, 13 Oct 2011 20:43:28 +0000 (22:43 +0200)]
Merge branch 'rubric' of github.com:mudrd8mz/moodle into rubric
David Mudrak [Thu, 13 Oct 2011 20:42:47 +0000 (22:42 +0200)]
Merge branch 'master' into rubric
Conflicts:
lib/db/upgrade.php
David Mudrak [Thu, 13 Oct 2011 20:24:37 +0000 (13:24 -0700)]
Merge pull request #14 from marinaglancy/wip-MDL-29481-rubric
MDL-29481: Filling rubric by teacher (first steps)
Marina Glancy [Thu, 13 Oct 2011 08:27:33 +0000 (16:27 +0800)]
MDL-29481: filling rubric by teacher, first steps
Eloy Lafuente (stronk7) [Wed, 12 Oct 2011 21:46:36 +0000 (23:46 +0200)]
weekly release 2.2dev
David Mudrak [Wed, 12 Oct 2011 08:06:27 +0000 (01:06 -0700)]
Merge pull request #13 from marinaglancy/wip-formvalidation-rubric
Initial prototype of integrating advanced grading methods into current forms
There is a new form element called 'grading', which receives grading_controller as an argument and uses it's functions to produce html and validate the value.
The biggest change in grading form is that I included call to new function validate_and_preprocess_feedback, which validates and also fills the xgrade field with value, calculated by controller
Another issue: when the teacher grades the student on offline assignment for the first time, there may be no entry in submission table (and therefore no id). So I create a submission if there is advanced grading otherwise we won't be able to save via AJAX the process of filling rubric, because normal grading will create an entry only on submit.
And as an example I created text field in rubric, that is saved as grade. There is validation that value can not be more than 100.
Marina Glancy [Wed, 12 Oct 2011 07:01:53 +0000 (15:01 +0800)]
Added form element grading and integrated it with grading_controller
Marina Glancy [Wed, 12 Oct 2011 03:48:06 +0000 (11:48 +0800)]
Added validation to grading form, implemented methods in advanced grading to return form contents and process and return the final grade
David Mudrak [Wed, 12 Oct 2011 01:13:55 +0000 (03:13 +0200)]
Merge remote branch 'origin/master' into rubric
David Mudrak [Wed, 12 Oct 2011 01:10:08 +0000 (03:10 +0200)]
Various modifications and tweaks of the rubric editing page
David Mudrak [Tue, 11 Oct 2011 19:37:14 +0000 (21:37 +0200)]
Merged Marina's recent work on rubric plugin
Conflicts:
grade/grading/form/lib.php
grade/grading/form/rubric/lib.php
grade/grading/lib.php
Eloy Lafuente (stronk7) [Tue, 11 Oct 2011 10:10:51 +0000 (12:10 +0200)]
Merge branch 'MDL-29625' of git://github.com/timhunt/moodle
Tim Hunt [Mon, 3 Oct 2011 13:32:34 +0000 (14:32 +0100)]
MDL-29625 new helper function get_plugin_list_with_class.
Based on the existing get_plugin_list_with_function. As part
of implementing this, I refactored out a
get_plugin_list_with_file function, which may also be useful.
Aparup Banerjee [Tue, 11 Oct 2011 05:37:34 +0000 (13:37 +0800)]
Merge branch 'wip-MDL-27058-master' of git://github.com/samhemelryk/moodle.git (solved conflict)
Aparup Banerjee [Tue, 11 Oct 2011 03:19:14 +0000 (11:19 +0800)]
Merge branch 'wip-MDL-27278-master' of git://github.com/samhemelryk/moodle
Aparup Banerjee [Tue, 11 Oct 2011 01:46:16 +0000 (09:46 +0800)]
Merge branch 'wip-MDL-28549-master' of git://github.com/samhemelryk/moodle
Aparup Banerjee [Tue, 11 Oct 2011 01:26:30 +0000 (09:26 +0800)]
Merge branch 'wip-MDL-28582-master' of git://github.com/samhemelryk/moodle
Eloy Lafuente (stronk7) [Mon, 10 Oct 2011 21:34:27 +0000 (23:34 +0200)]
MDL-20306 Add course_category idnumber field: version bump and fix missing add_field() call
Andrew Robert Nicols [Fri, 7 Oct 2011 08:35:17 +0000 (09:35 +0100)]
MDL-20306 Add course_category idnumber field
Sam Hemelryk [Mon, 10 Oct 2011 21:25:33 +0000 (10:25 +1300)]
Merge branch 'MDL-29447' of git://github.com/timhunt/moodle
Sam Hemelryk [Mon, 10 Oct 2011 21:15:46 +0000 (10:15 +1300)]
Merge branch 'MDL-29640_master' of git://github.com/kordan/moodle
Aparup Banerjee [Mon, 10 Oct 2011 15:14:05 +0000 (23:14 +0800)]
Merge branch 'wip-MDL-29224-master' of git://github.com/samhemelryk/moodle
Aparup Banerjee [Mon, 10 Oct 2011 14:45:01 +0000 (22:45 +0800)]
Merge branch 'wip-MDL-29672-master' of git://github.com/samhemelryk/moodle
Kordan [Mon, 10 Oct 2011 11:19:15 +0000 (13:19 +0200)]
MDL-29640 fix for master
Eloy Lafuente (stronk7) [Mon, 10 Oct 2011 11:08:48 +0000 (13:08 +0200)]
MDL-29564 Assignment: whitespace fix
Marina Glancy [Mon, 10 Oct 2011 07:27:15 +0000 (15:27 +0800)]
MDL-29481: start implementing rubric editor
Sam Hemelryk [Mon, 10 Oct 2011 04:56:14 +0000 (17:56 +1300)]
Merge branch 'MDL-16553' of git://github.com/bostelm/moodle
Dan Poltawski [Thu, 6 Oct 2011 11:46:11 +0000 (12:46 +0100)]
MDL-29661 - lib/googleapi.php - Switch to SSL urls
I am not sure why I did not use these in the first instance, I don't
think Google supported SSL in the first versions of their API.
They do now, and it seems that this week they stopped supporting non-ssl
requests.
Ruslan Kabalin [Fri, 7 Oct 2011 09:21:47 +0000 (10:21 +0100)]
MDL-29692 enrol: cohort: Fix default role issue in Chrome
This is related to MDL-24280, the issue still persists in Chrome. The patch
fixes it for Chrome and works fine for the most major browsers.
Sam Hemelryk [Sun, 9 Oct 2011 23:20:38 +0000 (12:20 +1300)]
Merge branch 'w40_MDL-29686_m2_yuicaching' of git://github.com/skodak/moodle
Sam Hemelryk [Sun, 9 Oct 2011 23:09:34 +0000 (12:09 +1300)]
Merge branch 'MDL-29668' of git://github.com/stronk7/moodle
Sam Hemelryk [Sun, 9 Oct 2011 23:03:39 +0000 (12:03 +1300)]
Merge branch 'MDL-29677' of git://github.com/stronk7/moodle
Stephen Bourget [Tue, 4 Oct 2011 17:44:59 +0000 (13:44 -0400)]
MDL-29564 Assignment: Fixed a fatal error caused by a missing include
Sam Hemelryk [Sun, 9 Oct 2011 22:24:44 +0000 (11:24 +1300)]
Merge branch 'master_MDL-29690' of git://github.com/danmarsden/moodle
Sam Hemelryk [Thu, 6 Oct 2011 01:00:13 +0000 (14:00 +1300)]
MDL-27058 navigation: Added a setting to control whether user forum links are added
Sam Hemelryk [Thu, 6 Oct 2011 02:23:19 +0000 (15:23 +1300)]
MDL-28582 course-report: Added a nothing to display notification to the outline and complete activity reports
Sam Hemelryk [Wed, 5 Oct 2011 23:13:13 +0000 (12:13 +1300)]
MDL-28549 navigation: Added a missing login check when adding the calendar link to the navigation
Sam Hemelryk [Thu, 6 Oct 2011 01:19:03 +0000 (14:19 +1300)]
MDL-29672 user: Fixed user edit page for non-admin users
Sam Hemelryk [Sun, 9 Oct 2011 21:17:00 +0000 (10:17 +1300)]
MDL-27278 navigation: Admin users can now set the home page preference like normal users
Eloy Lafuente (stronk7) [Sun, 9 Oct 2011 20:40:35 +0000 (22:40 +0200)]
emergency release 2.2dev
Eloy Lafuente (stronk7) [Sun, 9 Oct 2011 20:15:27 +0000 (22:15 +0200)]
MDL-29520 - mysql multitable delete, outer join some tables
Eloy Lafuente (stronk7) [Sat, 8 Oct 2011 19:49:56 +0000 (21:49 +0200)]
MDL-29668 xmldb editor - fix PHP generation for foreign-unique keys
David Mudrak [Fri, 7 Oct 2011 23:02:31 +0000 (01:02 +0200)]
MDL-29483 Initial draft of advanced grading support in the Assignment module
David Mudrak [Fri, 7 Oct 2011 22:59:01 +0000 (00:59 +0200)]
MDL-29479 The draft of embedding the UI widgets into the page
The patch makes more sense when reviewed together with the parallel work
on gradingform_random (see MDL-29631) where the developed API is
actually tested.
Henning Bostelmann [Sat, 20 Aug 2011 19:17:44 +0000 (20:17 +0100)]
MDL-16553 Assignment, student view: show response files when no grade available
David Mudrak [Fri, 7 Oct 2011 20:43:02 +0000 (22:43 +0200)]
MDL-29480 Adding new fields into grading_definitions
David Mudrak [Fri, 7 Oct 2011 20:07:55 +0000 (22:07 +0200)]
MDL-29480 Making the upgrade.php in sync with recent install.xml
David Mudrak [Fri, 7 Oct 2011 20:01:38 +0000 (22:01 +0200)]
Merge remote branch 'origin/master' into rubric
Conflicts:
lib/db/install.xml
lib/db/upgrade.php
version.php
Dan Marsden [Fri, 7 Oct 2011 08:41:35 +0000 (21:41 +1300)]
MDL-29690 fix usage of select all/deselect all in choice reports
Petr Skoda [Fri, 7 Oct 2011 06:40:42 +0000 (08:40 +0200)]
MDL-29686 obey caching setting for moodle yui modules
Eloy Lafuente (stronk7) [Wed, 5 Oct 2011 23:19:43 +0000 (01:19 +0200)]
MDL-29677 unit tests - missing global was causing tons of incorrect debugging info
Eloy Lafuente (stronk7) [Thu, 6 Oct 2011 22:09:23 +0000 (00:09 +0200)]
weekly release 2.2dev
Eloy Lafuente (stronk7) [Thu, 6 Oct 2011 22:07:15 +0000 (00:07 +0200)]
fix permissions
Eloy Lafuente (stronk7) [Thu, 6 Oct 2011 22:04:52 +0000 (00:04 +0200)]
Merge branch 'install_master' of git://github.com/amosbot/moodle
Sam Hemelryk [Thu, 6 Oct 2011 06:32:27 +0000 (19:32 +1300)]
MDL-29224 navigation: Navigation now respects a modules onclick event when preparing navigation nodes
AMOS bot [Thu, 6 Oct 2011 00:55:31 +0000 (00:55 +0000)]
Automatically generated installer lang files
David Mudrak [Wed, 5 Oct 2011 16:29:21 +0000 (18:29 +0200)]
MDL-29480 Allow null values for format fields
When inserting a record without the associated text, it does not make
sense to force format to be set. And using any hard-coded default is
tricky.
Aparup Banerjee [Wed, 5 Oct 2011 07:14:27 +0000 (15:14 +0800)]
MDL-29089 gradebook: fixed incorrect precision
Aparup Banerjee [Wed, 5 Oct 2011 02:54:05 +0000 (10:54 +0800)]
Merge branch 'wip-MDL-28615-master-squashed' of git://github.com/samhemelryk/moodle
David Mudrak [Wed, 5 Oct 2011 01:51:41 +0000 (03:51 +0200)]
MDL-29479 Improved gradingform_controller base class
David Mudrak [Wed, 5 Oct 2011 01:50:12 +0000 (03:50 +0200)]
MDL-29479 It is now possible to set the active method to null (simple direct grading)
David Mudrak [Wed, 5 Oct 2011 01:49:21 +0000 (03:49 +0200)]
MDL-29479 Improved grading manager factory function
Eloy Lafuente (stronk7) [Tue, 4 Oct 2011 23:13:57 +0000 (01:13 +0200)]
Merge branch 'MDL-28469' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Tue, 4 Oct 2011 23:10:03 +0000 (01:10 +0200)]
Merge branch 'wip-MDL-25697-master' of git://github.com/samhemelryk/moodle
Sam Hemelryk [Tue, 4 Oct 2011 22:08:50 +0000 (11:08 +1300)]
MDL-28615 forum: Fixed up a couple of minor regressions
Tim Hunt [Tue, 4 Oct 2011 21:47:32 +0000 (22:47 +0100)]
MDL-29447 quiz course reset does not reset the quiz_grades table.
Thank to Jean-Michel Vedrine for working out the basic idea of the fix.
Eloy Lafuente (stronk7) [Tue, 4 Oct 2011 21:34:15 +0000 (23:34 +0200)]
Merge branch 'MDL-29644' of git://github.com/timhunt/moodle
Tim Hunt [Tue, 4 Oct 2011 15:50:15 +0000 (16:50 +0100)]
MDL-29644 qtype multianswer, hints lost doing Moodle XML export.
This commit also includes a lot of useful tidying up of some of the unit
test helper code. I turned out that I could not use all the helper code
in my new tests, but despite that it will be useful in the future, so I
am committing it here.
Aparup Banerjee [Tue, 4 Oct 2011 18:44:28 +0000 (02:44 +0800)]
Merge branch 'MDL-29089_grade_history_missing_columns2' of git://github.com/andyjdavis/moodle.git (resolved version.php conflicts)
Eloy Lafuente (stronk7) [Tue, 4 Oct 2011 10:42:32 +0000 (12:42 +0200)]
Merge branch 'MDL-27857-assignment-portfolio' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Tue, 4 Oct 2011 10:31:34 +0000 (12:31 +0200)]
Merge branch 'MDL-29548' of git://github.com/timhunt/moodle
Tim Hunt [Tue, 27 Sep 2011 17:05:38 +0000 (18:05 +0100)]
MDL-29548 allow message plugins to control message
defaults.
At the moment, each message_provider can specify defaults for
each message output, to say whether that message output should be
used for this type of message:
http://docs.moodle.org/dev/Messaging_2.0#Adding_new_message_type.
If the message provider does not set a default, this change allows
the message output to set the default.
Eloy Lafuente (stronk7) [Tue, 4 Oct 2011 10:12:08 +0000 (12:12 +0200)]
Merge branch 'MDL-19575-master' of git://github.com/ankitagarwal/moodle
Tim Hunt [Fri, 30 Sep 2011 10:31:04 +0000 (11:31 +0100)]
MDL-29520 question engine: work-around bad MySQL delete performance.
This is a temporary fix, until the new API from MDL-29589 is available.
(amended to fix comments)
Tim Hunt [Thu, 29 Sep 2011 11:25:10 +0000 (12:25 +0100)]
MDL-29571 questions: improve class=accesshide screen-reader hints.
This changes the hint that comes before the question text. There are
unit tests to verify the new behaviour.
(amended to fix comments)
Tim Hunt [Thu, 29 Sep 2011 11:21:18 +0000 (12:21 +0100)]
MDL-29571 qtype description refactor unit test code a bit.
Sam Hemelryk [Tue, 4 Oct 2011 04:54:00 +0000 (17:54 +1300)]
Merge branch 'MDL-29621_master_wip' of git://github.com/grabs/moodle
Sam Hemelryk [Tue, 4 Oct 2011 03:34:54 +0000 (16:34 +1300)]
MDL-28615 forum: Fixed missing context regression
Sam Hemelryk [Tue, 4 Oct 2011 03:21:16 +0000 (16:21 +1300)]
Merge branch 'MDL-28725_wiki_section2' of git://github.com/andyjdavis/moodle
Sam Hemelryk [Tue, 4 Oct 2011 02:52:57 +0000 (15:52 +1300)]
Merge branch 'wip-mdl-25937-disableif' of git://github.com/rajeshtaneja/moodle
Eloy Lafuente (stronk7) [Mon, 3 Oct 2011 23:11:20 +0000 (01:11 +0200)]
Merge branch 'MDL-29511' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Mon, 3 Oct 2011 20:52:55 +0000 (22:52 +0200)]
Merge branch 'MDL-29216' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Mon, 3 Oct 2011 20:50:18 +0000 (22:50 +0200)]
Merge branch 'MDL-29341' of git://github.com/timhunt/moodle
David Mudrak [Mon, 3 Oct 2011 19:57:16 +0000 (21:57 +0200)]
MDL-29479 Grading method plugins can extend module settings block
As a part of this, new class grading_controller is introduced and bunch
of smaller changes was done here and there.