moodle.git
7 years agoMerge branch 'MDL-42069' of https://github.com/appalachianstate/moodle
Eloy Lafuente (stronk7) [Tue, 8 Oct 2013 19:25:46 +0000 (21:25 +0200)]
Merge branch 'MDL-42069' of https://github.com/appalachianstate/moodle

7 years agoMerge branch 'wip-MDL-42141-master' of git://github.com/marinaglancy/moodle
Eloy Lafuente (stronk7) [Tue, 8 Oct 2013 19:23:56 +0000 (21:23 +0200)]
Merge branch 'wip-MDL-42141-master' of git://github.com/marinaglancy/moodle

7 years agoMerge branch 'w41_MDL-42199_m26_rev' of https://github.com/skodak/moodle
Eloy Lafuente (stronk7) [Tue, 8 Oct 2013 08:53:03 +0000 (10:53 +0200)]
Merge branch 'w41_MDL-42199_m26_rev' of https://github.com/skodak/moodle

7 years agoMerge branch 'MDL-40493-master' of git://github.com/damyon/moodle
Dan Poltawski [Tue, 8 Oct 2013 08:42:17 +0000 (16:42 +0800)]
Merge branch 'MDL-40493-master' of git://github.com/damyon/moodle

Conflicts:
lib/db/install.xml
lib/db/upgrade.php
version.php

7 years agoMerge branch 'MDL-40053-master' of git://github.com/ankitagarwal/moodle
Damyon Wiese [Tue, 8 Oct 2013 08:19:25 +0000 (16:19 +0800)]
Merge branch 'MDL-40053-master' of git://github.com/ankitagarwal/moodle

7 years agoMerge branch 'MDL-41792_master' of https://github.com/markn86/moodle
Damyon Wiese [Tue, 8 Oct 2013 08:03:46 +0000 (16:03 +0800)]
Merge branch 'MDL-41792_master' of https://github.com/markn86/moodle

7 years agoMDL-42199 fix course revision test
Petr Škoda [Tue, 8 Oct 2013 07:57:09 +0000 (09:57 +0200)]
MDL-42199 fix course revision test

7 years agoMerge branch 'MDL-41722-master' of git://github.com/sammarshallou/moodle
Dan Poltawski [Tue, 8 Oct 2013 07:19:09 +0000 (15:19 +0800)]
Merge branch 'MDL-41722-master' of git://github.com/sammarshallou/moodle

7 years agoMDL-40053 events: Replace add_to_log() with new events in core_notes
Ankit Agarwal [Wed, 2 Oct 2013 07:45:55 +0000 (15:45 +0800)]
MDL-40053 events: Replace add_to_log() with new events in core_notes

7 years agoMDL-40053 events: Write unit tests for note events
Ankit Agarwal [Thu, 3 Oct 2013 03:11:11 +0000 (11:11 +0800)]
MDL-40053 events: Write unit tests for note events

7 years agoMDL-40053 events: write events for core_notes
Ankit Agarwal [Wed, 2 Oct 2013 08:47:49 +0000 (16:47 +0800)]
MDL-40053 events: write events for core_notes

Following events were added in this commit :-
core\event\note_created
core\event\note_deleted
core\event\note_updated
core\event\notes_viewed

7 years agoMDL-40053 events: Generator for core_notes
Ankit Agarwal [Wed, 2 Oct 2013 08:19:41 +0000 (16:19 +0800)]
MDL-40053 events: Generator for core_notes

7 years agoMerge branch 'MDL-41520-master-mod_lti-completion-view' of github.com:Trii/moodle
Damyon Wiese [Tue, 8 Oct 2013 06:43:14 +0000 (14:43 +0800)]
Merge branch 'MDL-41520-master-mod_lti-completion-view' of github.com:Trii/moodle

7 years agoMerge branch 'MDL-40060-master' of git://github.com/FMCorz/moodle
Dan Poltawski [Tue, 8 Oct 2013 06:33:27 +0000 (14:33 +0800)]
Merge branch 'MDL-40060-master' of git://github.com/FMCorz/moodle

7 years agoMDL-40060 mod_book: Replace add_to_log with events
Frederic Massart [Tue, 1 Oct 2013 05:48:35 +0000 (13:48 +0800)]
MDL-40060 mod_book: Replace add_to_log with events

7 years agoMerge branch 'MDL-32570-master' of git://github.com/danpoltawski/moodle
Damyon Wiese [Tue, 8 Oct 2013 05:47:49 +0000 (13:47 +0800)]
Merge branch 'MDL-32570-master' of git://github.com/danpoltawski/moodle

7 years agoMerge branch 'MDL-42131-master' of git://github.com/damyon/moodle
Dan Poltawski [Tue, 8 Oct 2013 05:33:25 +0000 (13:33 +0800)]
Merge branch 'MDL-42131-master' of git://github.com/damyon/moodle

7 years agoMerge branch 'MDL-42150-master' of git://github.com/damyon/moodle
Dan Poltawski [Tue, 8 Oct 2013 05:25:12 +0000 (13:25 +0800)]
Merge branch 'MDL-42150-master' of git://github.com/damyon/moodle

7 years agoMerge branch 'MDL-38655' of git://github.com/aolley/moodle
Dan Poltawski [Tue, 8 Oct 2013 05:21:30 +0000 (13:21 +0800)]
Merge branch 'MDL-38655' of git://github.com/aolley/moodle

7 years agoMerge branch 'MDL-42122' of git://github.com/aolley/moodle
Damyon Wiese [Tue, 8 Oct 2013 04:48:10 +0000 (12:48 +0800)]
Merge branch 'MDL-42122' of git://github.com/aolley/moodle

7 years agoMerge branch 'MDL-40962-master' of git://github.com/ankitagarwal/moodle
Damyon Wiese [Tue, 8 Oct 2013 04:45:43 +0000 (12:45 +0800)]
Merge branch 'MDL-40962-master' of git://github.com/ankitagarwal/moodle

7 years agoMerge branch 'MDL-40046-master' of git://github.com/ankitagarwal/moodle
Sam Hemelryk [Tue, 8 Oct 2013 03:04:05 +0000 (16:04 +1300)]
Merge branch 'MDL-40046-master' of git://github.com/ankitagarwal/moodle

7 years agoMDL-23692 login: Revert change to files copyright
Damyon Wiese [Tue, 8 Oct 2013 02:31:56 +0000 (10:31 +0800)]
MDL-23692 login: Revert change to files copyright

7 years agoMerge branch 'passwordreset-2013-10-07-1031Z' of https://github.com/peterbulmer/moodle
Damyon Wiese [Tue, 8 Oct 2013 02:30:57 +0000 (10:30 +0800)]
Merge branch 'passwordreset-2013-10-07-1031Z' of https://github.com/peterbulmer/moodle

Conflicts:
lib/db/install.xml
lib/db/upgrade.php
version.php

7 years agoMerge branch 'MDL-32188' of git://github.com/timhunt/moodle
Sam Hemelryk [Tue, 8 Oct 2013 01:43:36 +0000 (14:43 +1300)]
Merge branch 'MDL-32188' of git://github.com/timhunt/moodle

Conflicts:
lib/db/upgrade.php

7 years agoMDL-41993 Atto: Strip yui ids from generated HTML.
Damyon Wiese [Tue, 1 Oct 2013 04:05:09 +0000 (12:05 +0800)]
MDL-41993 Atto: Strip yui ids from generated HTML.

7 years agoMerge branch 'MDL-25176' of https://github.com/merrill-oakland/moodle
Marina Glancy [Tue, 8 Oct 2013 01:03:15 +0000 (12:03 +1100)]
Merge branch 'MDL-25176' of https://github.com/merrill-oakland/moodle

7 years agoMerge branch 'w41_MDL-37717_m26_enrolwarn' of https://github.com/skodak/moodle
Marina Glancy [Tue, 8 Oct 2013 00:52:39 +0000 (11:52 +1100)]
Merge branch 'w41_MDL-37717_m26_enrolwarn' of https://github.com/skodak/moodle

7 years agoMerge branch 'w41_MDL-42078_m26_uninstallcleanup' of https://github.com/skodak/moodle
Sam Hemelryk [Mon, 7 Oct 2013 22:20:51 +0000 (11:20 +1300)]
Merge branch 'w41_MDL-42078_m26_uninstallcleanup' of https://github.com/skodak/moodle

7 years agoMDL-41197 normalize ascii text conversion
Petr Škoda [Mon, 7 Oct 2013 19:57:07 +0000 (21:57 +0200)]
MDL-41197 normalize ascii text conversion

7 years agoMerge branch 'MDL-42188' of git://github.com/stronk7/moodle
Sam Hemelryk [Mon, 7 Oct 2013 19:52:42 +0000 (08:52 +1300)]
Merge branch 'MDL-42188' of git://github.com/stronk7/moodle

7 years agoMerge branch 'MDL-41215-master' of git://github.com/andrewnicols/moodle
Sam Hemelryk [Mon, 7 Oct 2013 19:48:43 +0000 (08:48 +1300)]
Merge branch 'MDL-41215-master' of git://github.com/andrewnicols/moodle

Conflicts:
theme/bootstrapbase/style/moodle.css

7 years agoMDL-42188 shifter: delete some orphaned files
Eloy Lafuente (stronk7) [Mon, 7 Oct 2013 19:44:13 +0000 (21:44 +0200)]
MDL-42188 shifter: delete some orphaned files

7 years agoMerge branch 'MDL-35926_alt_c' of git://github.com/rwijaya/moodle
Sam Hemelryk [Mon, 7 Oct 2013 19:27:46 +0000 (08:27 +1300)]
Merge branch 'MDL-35926_alt_c' of git://github.com/rwijaya/moodle

7 years agoMerge branch 'MDL-41914-weekly' of git://github.com/jleyva/moodle
Eloy Lafuente (stronk7) [Mon, 7 Oct 2013 14:06:32 +0000 (16:06 +0200)]
Merge branch 'MDL-41914-weekly' of git://github.com/jleyva/moodle

7 years agoMDL-42078 multiple uninstall improvements and cleanup
Petr Škoda [Fri, 4 Oct 2013 20:40:44 +0000 (22:40 +0200)]
MDL-42078 multiple uninstall improvements and cleanup

Includes:
* update checker refactored to \core\update\ namespace
* plugininfo classes refactored to \core\plugininfo\ namespace
* plugin_manager renamed to core_plugin_manager
* redirect back to original page after plugin uninstall
* fixed assign subplugin uninstall
* move assign subplugins under the assignment in admin tree
* fixed plugininfo for all question related plugin types
* auth uninstall support
* added missing block dependencies
* added theme uninstall
* subplugin types are following the plugin on plugin overview page
* several performance improvements in plugin manager
* new warnigns when plugininfo are outdated or missing
* multiple fixes and other improvements

7 years agoMDL-23692 forgotpw:adhere to site autocomp setting
Peter Bulmer [Mon, 7 Oct 2013 10:29:29 +0000 (23:29 +1300)]
MDL-23692 forgotpw:adhere to site autocomp setting

7 years agoMDL-31830 course: Remove unused shifter built js files
Damyon Wiese [Mon, 7 Oct 2013 07:58:59 +0000 (15:58 +0800)]
MDL-31830 course: Remove unused shifter built js files

7 years agoMDL-23692 forgotpw: Coding style tidyups.
Peter Bulmer [Mon, 5 Aug 2013 02:14:55 +0000 (14:14 +1200)]
MDL-23692 forgotpw: Coding style tidyups.

7 years agoMerge branch '31830-26' of git://github.com/samhemelryk/moodle
Damyon Wiese [Mon, 7 Oct 2013 07:28:45 +0000 (15:28 +0800)]
Merge branch '31830-26' of git://github.com/samhemelryk/moodle

Conflicts:
theme/bootstrapbase/style/moodle.css

7 years agoMDL-31830 course: fixed up minor points as noted by Damyon's integration review
Sam Hemelryk [Mon, 7 Oct 2013 05:48:52 +0000 (18:48 +1300)]
MDL-31830 course: fixed up minor points as noted by Damyon's integration review

* Fixed typo breaking drag and drop of courses.
* Fixed the ' ' title for the create new button plus two other icons I found as well.
* Adding padding to items displayed in the action menu drop down. base + bootstrapbase.
* Padding adjusted to the same as on the course page. base + bootstrapbase.
* Removed hover icon from categories. base only.
* Fixed categroy typo
* Removed min-width that was being applied to coursename making its clickable area larger than normal.
* The category tree is now presented using aria attributes as per http://www.w3.org/WAI/GL/wiki/Using_ARIA_trees
* Bulk action selectors now use aria-labelledby
* Category course count now given access hidden label.
* Pagination links now have better titles.
* The course action icons now present with role=button

7 years agoMDL-35926 notification dialog: trap tab focus within dialog modal.
rwijaya [Mon, 7 Oct 2013 04:40:16 +0000 (12:40 +0800)]
MDL-35926 notification dialog: trap tab focus within dialog modal.

7 years agoMerge branch 'w41_MDL-42040_m26_shutdown' of https://github.com/skodak/moodle
Sam Hemelryk [Mon, 7 Oct 2013 04:38:25 +0000 (17:38 +1300)]
Merge branch 'w41_MDL-42040_m26_shutdown' of https://github.com/skodak/moodle

7 years agoMDL-31830 course: management behat tests corrected after fixes
Sam Hemelryk [Sun, 6 Oct 2013 20:13:23 +0000 (09:13 +1300)]
MDL-31830 course: management behat tests corrected after fixes

7 years agoMerge branch 'MDL-42013_master' of git://github.com/dmonllao/moodle
Dan Poltawski [Mon, 7 Oct 2013 03:26:37 +0000 (11:26 +0800)]
Merge branch 'MDL-42013_master' of git://github.com/dmonllao/moodle

7 years agoMerge branch 'w41_MDL-41220_m26_pluginlist' of https://github.com/skodak/moodle
Sam Hemelryk [Mon, 7 Oct 2013 02:51:45 +0000 (15:51 +1300)]
Merge branch 'w41_MDL-41220_m26_pluginlist' of https://github.com/skodak/moodle

7 years agoMerge branch 'MDL-42072_master' of https://github.com/totara/openbadges
Sam Hemelryk [Mon, 7 Oct 2013 02:40:48 +0000 (15:40 +1300)]
Merge branch 'MDL-42072_master' of https://github.com/totara/openbadges

Conflicts:
badges/assertion.php

7 years agoMerge branch 'w41_MDL-41197_m26_convnotices' of https://github.com/skodak/moodle
Sam Hemelryk [Mon, 7 Oct 2013 00:43:08 +0000 (13:43 +1300)]
Merge branch 'w41_MDL-41197_m26_convnotices' of https://github.com/skodak/moodle

7 years agoMerge branch 'MDL-41229-master' of git://github.com/mouneyrac/moodle
Sam Hemelryk [Sun, 6 Oct 2013 23:50:29 +0000 (12:50 +1300)]
Merge branch 'MDL-41229-master' of git://github.com/mouneyrac/moodle

Conflicts:
theme/bootstrapbase/style/moodle.css

7 years agoMDL-31830 course: several management interface improvements
Sam Hemelryk [Thu, 3 Oct 2013 23:59:32 +0000 (12:59 +1300)]
MDL-31830 course: several management interface improvements

* Tidied up course detail permissions so that user is not shown information they couldn't access elsewhere.
* category link dimming now accounts for course creation as an action as well.
* category single select when in courses view mode is now limited to courses user can action in.
* There is now a check at the start of the management page to redirect to course/index.php if the user isn't able to manage in any category.
* Tweaked navigation again, to give the limited users a navbar structure similar to the system cap'd user.
* Cancelling a category delete now takes you back to the category you were viewing.
* Fixed undefined notice
* Improved placement of course request and approval links.
* Several styling tweaks/improvements to the base theme.
* Several styling tweaks/improvements to the bootstrapbase theme.

7 years agoMDL-31830 course: improvements to JS coding style
Sam Hemelryk [Wed, 2 Oct 2013 23:15:34 +0000 (12:15 +1300)]
MDL-31830 course: improvements to JS coding style

7 years agoMDL-31830 course: fixed interface issues with limited user
Sam Hemelryk [Wed, 2 Oct 2013 21:28:58 +0000 (10:28 +1300)]
MDL-31830 course: fixed interface issues with limited user

* Navigation/settings now show best available option.
* Resorting categories works now for limited access user.
* Display of up and down arrows corrected.
* Checkboxes no longer displayed if an action can't be performed.

7 years agoMDL-31830 course: management interface fixes as noted
Sam Hemelryk [Wed, 2 Oct 2013 02:32:09 +0000 (15:32 +1300)]
MDL-31830 course: management interface fixes as noted

* Fixed the highlighing of the default category when no categories have been selected.
* Fixed the bug preventing the action menu for AJAX loaded categories from functioning.
* Repositioned course idnumber infront of course actions.
* Fixed display of moveup on first item and movedown on last item (courses and categories)
* Fixed up resort selected categories string.

7 years agoMDL-31830 course: renamed functions for consistency
Sam Hemelryk [Mon, 30 Sep 2013 20:40:29 +0000 (09:40 +1300)]
MDL-31830 course: renamed functions for consistency

* course_move_by_one => course_change_sortorder_by_one
* course_move_after_course => course_move_after_course
* helper::action_course_move_after_course  => helper::action_course_change_sortorder_after_course
* helper::action_course_moveup     => helper::action_course_change_sortorder_up_one
* helper::action_course_movedown     => helper::action_course_change_sortorder_down_one
* helper::action_course_moveup_by_record   => helper::action_course_change_sortorder_up_one_by_record
* helper::action_course_movedown_by_record => helper::action_course_change_sortorder_down_one_by_record
* helper::action_category_movedown         => helper::action_category_change_sortorder_down_one
* helper::action_category_movedown_by_id   => helper::action_category_change_sortorder_down_one_by_id
* helper::action_category_moveup     => helper::action_category_change_sortorder_up_one
* helper::action_category_moveup_by_id     => helper::action_category_change_sortorder_up_one_by_id
* coursecat::move_by_one             => coursecat::change_sortorder_by_one

7 years agoMDL-31830 course: several small code improvements
Sam Hemelryk [Mon, 30 Sep 2013 20:02:08 +0000 (09:02 +1300)]
MDL-31830 course: several small code improvements

* I can rebase this for you/the integrator before it goes in for sure no probs :)
* Fixed double phpdoc block of course_change_visibility
* Moved permission checks out of course_move_after_course and into helper function.
* Reviewed setType calls for editcategory_form.php.
* Reviewed all uses of can_resort and added more specific methods.
* Fixed method mentioned in exception for resort methods.
* Converted calls to fetch courses to call get_course.
* Exceptions now thrown when trying to move courses and problems arise.
* Fixed unnecessary namespace hinting in core_course_management_renderer.
* Abstracted common logic of can_resort_any and can_change_parent_any.
* Removed check for system level capability from has_manage_capability_on_any.
* Reviewed debugging calls I've introduced.

7 years agoMDL-31830 course: added behat test of category creation
Sam Hemelryk [Mon, 30 Sep 2013 02:31:46 +0000 (15:31 +1300)]
MDL-31830 course: added behat test of category creation

7 years agoMDL-31830 core_course: new course category management interface
Sam Hemelryk [Sun, 29 Sep 2013 20:08:07 +0000 (09:08 +1300)]
MDL-31830 core_course: new course category management interface

* Implemented a new course and category management page.
* Deprecated the old management interface.
* Unit tests to cover the new API and core functions.
* Behat tests to cover the new interface.

7 years agoMDL-32188 question CBM: use short certainty name in response summaries.
Tim Hunt [Thu, 3 Oct 2013 15:25:39 +0000 (16:25 +0100)]
MDL-32188 question CBM: use short certainty name in response summaries.

7 years agoMDL-32188 question CBM: minimal handling of certainty -1
Tim Hunt [Thu, 3 Oct 2013 15:17:16 +0000 (16:17 +0100)]
MDL-32188 question CBM: minimal handling of certainty -1

Certainty -1 has never been used in standard Moodle, but is
used in Tony-Gardiner Medwin's patches to mean 'No idea' which
we intend to implement: MDL-42077. In the mean time, these changes
avoid errors for people who have used TGM's patches.

7 years agoMDL-32188 question CBM: compute summary stats for CBM behaviours
Tim Hunt [Mon, 30 Sep 2013 15:26:21 +0000 (16:26 +0100)]
MDL-32188 question CBM: compute summary stats for CBM behaviours

We now compute the average CBM score, accuracy, CBM bonus and enhanced
accuracy, both for the entire quiz, and for just the questions answered.

Note that these calculations must work correctly in the presence of
descriptions, ungraded questions, and manually graded questions. For
example, imagine a essay added at the end of the quiz "Summarise what
you learned attempting this exercise." This might have max mark zero or
non-zero. The CBM statistics just ignores questions like that.

7 years agoMDL-32188 question CBM: improve display of the certainty choices
Tim Hunt [Fri, 17 Aug 2012 16:57:10 +0000 (17:57 +0100)]
MDL-32188 question CBM: improve display of the certainty choices

Switch to the neutral C=1, 2, 3 mode. Also add a helpicon, and improve
line-wrapping.

7 years agoMDL-32188 question CBM: alter score handling.
Tim Hunt [Wed, 2 Oct 2013 16:33:14 +0000 (17:33 +0100)]
MDL-32188 question CBM: alter score handling.

We now change so that minfraction is -6 and maxfraction is 3, so getting
the question right a low certainty gives maxmark marks, and you get a
bonus for being more confident (rather than being penalised for being
unconfident). Mathematically it is the same, but the difference is
importnat psychologically.

We also change how partially correct scores are handled.
It is too harsh to penalise a partially correct score with full
certainty by doing a linear interpolation between -6 and +3. Instead,
any partially correct score (e.g. 0.5) becomes that fraction of the
correct score (e.g. 0.5 * 3 = 1.5). Also, any incorrect score is treated
as 0, so if you have a multiple choice question that normally gives a
negative score for a wrong choice, this will now never give a score of
less than -6.

Finally we change how this is displayed to students beside the question.
Rather than saying "Marked out of 1.00", we say "Base mark 1.00", and
then later we say "CBM mark 3.00" (or whatever it is).

7 years agoMDL-32188 question CBM: fix hard-coded numbers -> constants.
Tim Hunt [Wed, 2 Oct 2013 16:15:27 +0000 (17:15 +0100)]
MDL-32188 question CBM: fix hard-coded numbers -> constants.

7 years agoMDL-32188 question CBM: fix typos in comments.
Tim Hunt [Mon, 30 Sep 2013 17:35:09 +0000 (18:35 +0100)]
MDL-32188 question CBM: fix typos in comments.

Also one method name.

7 years agoMDL-32188 question rendering: let behaviours control mark display.
Tim Hunt [Wed, 2 Oct 2013 16:32:41 +0000 (17:32 +0100)]
MDL-32188 question rendering: let behaviours control mark display.

Then use this in the CBM behaviours to change how the question marks are
displayed there.

7 years agoMDL-42105 questions: let attempts have a max fraction > 1.
Tim Hunt [Wed, 2 Oct 2013 13:48:33 +0000 (14:48 +0100)]
MDL-42105 questions: let attempts have a max fraction > 1.

This parallels question_attempt->minfraction, which allows the
fractional mark to go below zere.

This is needed to allow the certainty-base marking behaviours to work
better.

7 years agoMDL-32188 quiz/question: behaviours can add to the review summary.
Tim Hunt [Thu, 16 Aug 2012 13:18:58 +0000 (14:18 +0100)]
MDL-32188 quiz/question: behaviours can add to the review summary.

At the top of the quiz reivew page, there is a table that summarises
infomration about the quiz attempt as a whole. For some question
behaviours, we would like to be able to add additional information to
that summary.

This commit introduces a generic method for the behaviour to provide
summary information about an entire question usage.

7 years agoMDL-37717 warn teachers before disabling or deleting their enrolment method
Petr Škoda [Sat, 28 Sep 2013 15:26:40 +0000 (17:26 +0200)]
MDL-37717 warn teachers before disabling or deleting their enrolment method

7 years agoMDL-41220 fix test_get_plugin_list_with_file
Petr Škoda [Mon, 30 Sep 2013 20:55:51 +0000 (22:55 +0200)]
MDL-41220 fix test_get_plugin_list_with_file

7 years agoMDL-41520 LTI: Does not track page views for completion
Joshua Johnston [Fri, 27 Sep 2013 19:56:13 +0000 (15:56 -0400)]
MDL-41520 LTI: Does not track page views for completion

Add the missing code for completion_info::set_module_viewed() since LTI
says that it offers completion tracking on view

7 years agoMDL-42069 mod_quiz add lastname sort for manual grading
Fred Woolard [Mon, 30 Sep 2013 19:51:35 +0000 (15:51 -0400)]
MDL-42069 mod_quiz add lastname sort for manual grading

7 years agoMDL-32188 question engine: behaviour static methods -> new classes
Tim Hunt [Thu, 9 Aug 2012 18:42:57 +0000 (19:42 +0100)]
MDL-32188 question engine: behaviour static methods -> new classes

It was always a bit of a hack to use static methods on the
qbehaviour_whatever classes to return metadata about the behaviour. It
is better design to have real qbehaviour_whatever_type classes to report
that metadata, particularly now that we are planning to add more such.

For example, inheritance works better with real classes. See, for
example, the improvements in
question_engine::get_behaviour_unused_display_options().

This change has been implemented in a backwards-compatbile way. Old
behaviours will continue to work. There will just be some developer debug
output to prompt people to upgrade their code properly.

7 years agoMDL-41611 mod_quiz: Offer to return to course when supported
Frederic Massart [Fri, 4 Oct 2013 03:35:47 +0000 (11:35 +0800)]
MDL-41611 mod_quiz: Offer to return to course when supported

7 years agoMDL-41611 mod_forum: Display inline available when supported
Frederic Massart [Fri, 4 Oct 2013 03:19:53 +0000 (11:19 +0800)]
MDL-41611 mod_forum: Display inline available when supported

7 years agoMDL-41611 format_singleactivity: Only hide unnecessary elements
Frederic Massart [Thu, 3 Oct 2013 06:44:07 +0000 (14:44 +0800)]
MDL-41611 format_singleactivity: Only hide unnecessary elements

7 years agoMDL-41611 format_singleactivity: Ignore unsupported modules
Frederic Massart [Fri, 4 Oct 2013 02:44:48 +0000 (10:44 +0800)]
MDL-41611 format_singleactivity: Ignore unsupported modules

7 years agoMDL-41914 New webservice core_user_add_user_device
Juan Leyva [Fri, 4 Oct 2013 09:43:45 +0000 (11:43 +0200)]
MDL-41914 New webservice core_user_add_user_device

7 years agoMDL-23692 forgotpw: Simplify forgotpw process.
Peter Bulmer [Sat, 14 Sep 2013 09:39:04 +0000 (21:39 +1200)]
MDL-23692 forgotpw: Simplify forgotpw process.

7 years agoMDL-42040 refactor core Moodle shutdown handlers logic
Petr Škoda [Fri, 27 Sep 2013 20:41:08 +0000 (22:41 +0200)]
MDL-42040 refactor core Moodle shutdown handlers logic

7 years agoMDL-41914 New table user_devices
Juan Leyva [Fri, 4 Oct 2013 09:36:04 +0000 (11:36 +0200)]
MDL-41914 New table user_devices

7 years agoMDL-41722 Backup: Very large course times out on user interface pages
sam marshall [Wed, 11 Sep 2013 13:27:52 +0000 (14:27 +0100)]
MDL-41722 Backup: Very large course times out on user interface pages

Adds 'Preparing page display' progress bars for user interface pages
if they take a long time to display.

Also adds changes where other parts of the backup progress timed out on
long backups. After this change, and MDL-41838, it is finally possible on
my dev server to successfully back up the 'XL' test course.

7 years agoMDL-41197 ignore all problems when converting texts
Petr Škoda [Fri, 4 Oct 2013 08:59:41 +0000 (10:59 +0200)]
MDL-41197 ignore all problems when converting texts

7 years agoMDL-41792 core_calendar: added some behat tests to cover calendar functionality
Mark Nelson [Tue, 1 Oct 2013 10:51:18 +0000 (18:51 +0800)]
MDL-41792 core_calendar: added some behat tests to cover calendar functionality

7 years agoMDL-41792 core_calendar: added missing abstract functions to test calendar
Mark Nelson [Thu, 26 Sep 2013 09:47:50 +0000 (17:47 +0800)]
MDL-41792 core_calendar: added missing abstract functions to test calendar

7 years agoMDL-41792 core_form: used the new get_name() calendar function in the date selectors
Mark Nelson [Thu, 26 Sep 2013 09:36:55 +0000 (17:36 +0800)]
MDL-41792 core_form: used the new get_name() calendar function in the date selectors

7 years agoMDL-41792 core_calendar: refactored the calendar to allow the use of multiple calenda...
Mark Nelson [Mon, 16 Sep 2013 09:30:59 +0000 (17:30 +0800)]
MDL-41792 core_calendar: refactored the calendar to allow the use of multiple calendar types

7 years agoMDL-41215 Filepicker: Fix issues with dynamic loading on fullscreen filepicker
Andrew Nicols [Fri, 4 Oct 2013 07:57:41 +0000 (15:57 +0800)]
MDL-41215 Filepicker: Fix issues with dynamic loading on fullscreen filepicker

7 years agoMDL-40060 mod_book: Data generator for module and chapters
Frederic Massart [Tue, 1 Oct 2013 05:43:31 +0000 (13:43 +0800)]
MDL-40060 mod_book: Data generator for module and chapters

7 years agoMDL-42131 editpdf: Add missing require_login() to entry pages
Damyon Wiese [Fri, 4 Oct 2013 03:29:08 +0000 (11:29 +0800)]
MDL-42131 editpdf: Add missing require_login() to entry pages

Also:
* change require_once(config) to require(config)
* always define AJAX_SCRIPT
* Add full crumb trail to navbar for testgs.php

7 years agoMDL-42150 Edit PDF: Fix error on saving annotations + comments.
Damyon Wiese [Fri, 4 Oct 2013 07:15:58 +0000 (15:15 +0800)]
MDL-42150 Edit PDF: Fix error on saving annotations + comments.

Everything is an instanceof stdClass - need to reverse the logic.

7 years agoMDL-42013 behat: Fixing related tests
David Monllao [Mon, 30 Sep 2013 07:49:26 +0000 (15:49 +0800)]
MDL-42013 behat: Fixing related tests

We had no false positives because of this
issue, but some checking have been restricted
to specific DOM parts.

7 years agoMDL-42013 behat: Fixing problem with should not see
David Monllao [Fri, 27 Sep 2013 02:51:42 +0000 (10:51 +0800)]
MDL-42013 behat: Fixing problem with should not see

Using 'should see' outputs rather than an incorrect
xpath query. Also our custom selectors are not properly
used by WebAssert so switching to find xpath.

7 years agoMDL-41792 block_calendar_upcoming: tidy existing code
Mark Nelson [Wed, 25 Sep 2013 07:40:23 +0000 (15:40 +0800)]
MDL-41792 block_calendar_upcoming: tidy existing code

7 years agoMDL-41792 block_calendar_month: tidy existing code
Mark Nelson [Mon, 16 Sep 2013 08:33:36 +0000 (16:33 +0800)]
MDL-41792 block_calendar_month: tidy existing code

7 years agoMDL-41229 Filepicker: ie9 css - the picker content were displayed outside the picker
Jerome Mouneyrac [Fri, 4 Oct 2013 03:01:04 +0000 (11:01 +0800)]
MDL-41229 Filepicker: ie9 css - the picker content were displayed outside the picker

7 years agoweekly release 2.6dev
Sam Hemelryk [Fri, 4 Oct 2013 02:43:58 +0000 (15:43 +1300)]
weekly release 2.6dev

7 years agoNOBUG: Fixed file access permissions
Sam Hemelryk [Fri, 4 Oct 2013 02:43:58 +0000 (15:43 +1300)]
NOBUG: Fixed file access permissions

7 years agoNOBUG: Fixed SVG browser compatibility
Sam Hemelryk [Fri, 4 Oct 2013 02:43:53 +0000 (15:43 +1300)]
NOBUG: Fixed SVG browser compatibility

7 years agoMerge branch 'install_master' of git://git.moodle.org/moodle-install
Sam Hemelryk [Fri, 4 Oct 2013 02:43:52 +0000 (15:43 +1300)]
Merge branch 'install_master' of git://git.moodle.org/moodle-install

7 years agoMDL-42141 Change wrong spacing from MDL-41725
Marina Glancy [Fri, 4 Oct 2013 02:03:03 +0000 (12:03 +1000)]
MDL-42141 Change wrong spacing from MDL-41725