6 years agoMerge branch 'MDL-51652-master' of
Dan Poltawski [Thu, 15 Oct 2015 12:45:10 +0000 (13:45 +0100)]
Merge branch 'MDL-51652-master' of

6 years agoMerge branch 'MDL-51679-groupmode-ajax' of
Dan Poltawski [Thu, 15 Oct 2015 10:41:26 +0000 (11:41 +0100)]
Merge branch 'MDL-51679-groupmode-ajax' of

6 years agoMerge branch 'MDL-51781_master' of git://
Dan Poltawski [Thu, 15 Oct 2015 10:08:26 +0000 (11:08 +0100)]
Merge branch 'MDL-51781_master' of git://

6 years agoMDL-51781 tool_log: marked log values as NOT_MAPPED if mapping not found
Mark Nelson [Wed, 14 Oct 2015 22:54:12 +0000 (15:54 -0700)]
MDL-51781 tool_log: marked log values as NOT_MAPPED if mapping not found

6 years agoMerge branch 'wip-MDL-51604-master' of git://
David Monllao [Thu, 15 Oct 2015 08:21:07 +0000 (16:21 +0800)]
Merge branch 'wip-MDL-51604-master' of git://

6 years agoMerge branch 'MDL-51790-master' of git://
Andrew Nicols [Thu, 15 Oct 2015 08:04:55 +0000 (16:04 +0800)]
Merge branch 'MDL-51790-master' of git://

6 years agoMerge branch 'wip-mdl-50940' of
Dan Poltawski [Thu, 15 Oct 2015 07:58:23 +0000 (08:58 +0100)]
Merge branch 'wip-mdl-50940' of

6 years agoMerge branch 'MDL-51756-master' of git://
Andrew Nicols [Thu, 15 Oct 2015 07:22:37 +0000 (15:22 +0800)]
Merge branch 'MDL-51756-master' of git://

6 years agoMDL-51756 tests: Refactor test to use data-provider
Andrew Nicols [Thu, 15 Oct 2015 06:40:49 +0000 (14:40 +0800)]
MDL-51756 tests: Refactor test to use data-provider

The benefit is that this becomes one test per external function instead of one
test testing them all - so more information is shown on failure and we get lots
more dots (we love dots!).

6 years agoMDL-51790 block_community: xmlrpc expects correct types
Damyon Wiese [Thu, 15 Oct 2015 07:08:51 +0000 (15:08 +0800)]
MDL-51790 block_community: xmlrpc expects correct types

This is defined as an int on the hub site, so it must be sent as an int.

6 years agoMerge branch 'MDL-51594-master' of git://
Andrew Nicols [Thu, 15 Oct 2015 06:19:10 +0000 (14:19 +0800)]
Merge branch 'MDL-51594-master' of git://

6 years agoMDL-51756 externallib: Show debugging when optional params are wrong
Damyon Wiese [Wed, 14 Oct 2015 04:03:38 +0000 (12:03 +0800)]
MDL-51756 externallib: Show debugging when optional params are wrong

Optional params are not allowed as the top level value for external_function_parameters.
This is because stricter protocols (xmlrpc and soap) cannot handle optional parameters, only
optional properties in a structure.

6 years agoMDL-51260 core_tag: Use new tag autocomplete for related tags
Marina Glancy [Sat, 29 Aug 2015 07:17:05 +0000 (15:17 +0800)]
MDL-51260 core_tag: Use new tag autocomplete for related tags

6 years agoMDL-51260 tags: Update the tags form element to use the autocomplete field
Damyon Wiese [Mon, 31 Aug 2015 09:29:28 +0000 (17:29 +0800)]
MDL-51260 tags: Update the tags form element to use the autocomplete field

    REM [interestslist_help,moodle] Commas are no longer required
    REM [entertags,tag] Commas are no longer required
    REM [othertags,tag] Commas are no longer required

6 years agoMerge branch 'MDL-49545-master' of git://
David Monllao [Thu, 15 Oct 2015 03:54:53 +0000 (11:54 +0800)]
Merge branch 'MDL-49545-master' of git://

6 years agoMDL-49545 backup: Restore does not respect some capabilities
Ryan Wyllie [Thu, 15 Oct 2015 02:23:50 +0000 (02:23 +0000)]
MDL-49545 backup: Restore does not respect some capabilities

Thanks to Daniel Neis for the original patch that formed the
basis of these changes.

6 years agoMerge branch 'MDL-51610-master' of git://
Andrew Nicols [Thu, 15 Oct 2015 02:22:18 +0000 (10:22 +0800)]
Merge branch 'MDL-51610-master' of git://

6 years agoMDL-51247 forms: All new aria-pimped autocomplete mform element.
Damyon Wiese [Fri, 18 Sep 2015 02:48:19 +0000 (10:48 +0800)]
MDL-51247 forms: All new aria-pimped autocomplete mform element.

Supports static list of options - or options fetched via ajax.
Has options for single,multi and tags support.

6 years agoMerge branch 'MDL-51399' of
Dan Poltawski [Wed, 14 Oct 2015 14:02:50 +0000 (15:02 +0100)]
Merge branch 'MDL-51399' of

6 years agoMerge branch 'MDL-38214_wipd' of git://
Dan Poltawski [Wed, 14 Oct 2015 13:15:14 +0000 (14:15 +0100)]
Merge branch 'MDL-38214_wipd' of git://

6 years agoMerge branch 'MDL-51467-master' of
Dan Poltawski [Wed, 14 Oct 2015 12:40:19 +0000 (13:40 +0100)]
Merge branch 'MDL-51467-master' of

6 years agoMDL-51679 course: Update groupmode CSS class
Jan C. Dageförde [Wed, 7 Oct 2015 05:48:00 +0000 (07:48 +0200)]
MDL-51679 course: Update groupmode CSS class

Changing groupmode of an activity via AJAX did not change the button's CSS class accordingly.

6 years agoMDL-51594 webservice: Fix typos in choice and SCORM documentation
Juan Leyva [Wed, 14 Oct 2015 12:29:12 +0000 (14:29 +0200)]
MDL-51594 webservice: Fix typos in choice and SCORM documentation

6 years agoweekly release 3.0dev
Dan Poltawski [Wed, 14 Oct 2015 09:49:01 +0000 (10:49 +0100)]
weekly release 3.0dev

6 years agoNOBUG: Fixed file access permissions
Dan Poltawski [Wed, 14 Oct 2015 09:49:01 +0000 (10:49 +0100)]
NOBUG: Fixed file access permissions

6 years agoNOBUG: Fixed SVG browser compatibility
Dan Poltawski [Wed, 14 Oct 2015 09:49:00 +0000 (10:49 +0100)]
NOBUG: Fixed SVG browser compatibility

6 years agoMDL-51536 webservices: fix invalid param definitions
Dan Poltawski [Tue, 13 Oct 2015 18:01:42 +0000 (19:01 +0100)]
MDL-51536 webservices: fix invalid param definitions

6 years agoMerge branch 'MDL-40710-master' of git://
Dan Poltawski [Tue, 13 Oct 2015 14:44:31 +0000 (15:44 +0100)]
Merge branch 'MDL-40710-master' of git://

6 years agoMerge branch 'MDL-51435' of
Dan Poltawski [Tue, 13 Oct 2015 10:39:52 +0000 (11:39 +0100)]
Merge branch 'MDL-51435' of

6 years agoMDL-47494 copyright: missed fixes from last commit
Dan Poltawski [Tue, 13 Oct 2015 08:53:38 +0000 (09:53 +0100)]
MDL-47494 copyright: missed fixes from last commit

With thanks to Tim!

6 years agoMDL-47494 copyright: fix incorrect statement
Dan Poltawski [Tue, 13 Oct 2015 08:36:20 +0000 (09:36 +0100)]
MDL-47494 copyright: fix incorrect statement

(From copy/paste error, blame Tim :P)

6 years agoMerge branch 'MDL-51576-master-2' of git://
Dan Poltawski [Tue, 13 Oct 2015 08:23:31 +0000 (09:23 +0100)]
Merge branch 'MDL-51576-master-2' of git://

6 years agoMDL-48861 assign: Make the requires grading filter consistent
Damyon Wiese [Tue, 13 Oct 2015 06:24:08 +0000 (14:24 +0800)]
MDL-48861 assign: Make the requires grading filter consistent

Consistently include submissions with a null grade (see MDL-47694).

6 years agoMDL-48861 assign: Fix unit tests and behat tests
Damyon Wiese [Tue, 13 Oct 2015 04:57:10 +0000 (12:57 +0800)]
MDL-48861 assign: Fix unit tests and behat tests

The tests were not working with the change to the needs grading filter.

6 years agoMerge branch 'MDL-46455-master-20151012' of git://
David Monllao [Tue, 13 Oct 2015 03:42:40 +0000 (11:42 +0800)]
Merge branch 'MDL-46455-master-20151012' of git://

6 years agoMerge branch 'MDL-51302-master' of git://
Andrew Nicols [Tue, 13 Oct 2015 03:33:23 +0000 (11:33 +0800)]
Merge branch 'MDL-51302-master' of git://

6 years agoMerge branch 'wip-MDL-49515-master' of git://
Andrew Nicols [Tue, 13 Oct 2015 03:05:05 +0000 (11:05 +0800)]
Merge branch 'wip-MDL-49515-master' of git://

6 years agoMerge branch 'MDL-51517_master' of git://
Andrew Nicols [Tue, 13 Oct 2015 02:33:32 +0000 (10:33 +0800)]
Merge branch 'MDL-51517_master' of git://

6 years agoMerge branch 'MDL-51427-master' of git://
Andrew Nicols [Tue, 13 Oct 2015 02:13:43 +0000 (10:13 +0800)]
Merge branch 'MDL-51427-master' of git://

6 years agoMerge branch 'MDL-51568-master' of git://
David Monllao [Tue, 13 Oct 2015 02:11:55 +0000 (10:11 +0800)]
Merge branch 'MDL-51568-master' of git://

6 years agoMDL-51576 navigation: stop course nav duplication
Ryan Wyllie [Tue, 13 Oct 2015 01:46:25 +0000 (01:46 +0000)]
MDL-51576 navigation: stop course nav duplication

The course navigation was getting duplicate nodes because
it was loading the nav tree plugin functions twice. Once
specifically for the reports and then a second time more generally.

The code will now explicitly skip loading the report plugin
functions on the second load.

6 years agoMerge branch 'MDL-40442-master' of git://
Andrew Nicols [Tue, 13 Oct 2015 01:45:41 +0000 (09:45 +0800)]
Merge branch 'MDL-40442-master' of git://

6 years agoMDL-49515 libraries: Update to editpdf/classes/pdf.php
Adrian Greeve [Tue, 13 Oct 2015 01:10:18 +0000 (09:10 +0800)]
MDL-49515 libraries: Update to editpdf/classes/pdf.php

This updates fpdi_bridge to extend our Moodle pdf class
as was done before.

6 years agoMerge branch 'MDL-50079-master' of git://
Andrew Nicols [Tue, 13 Oct 2015 01:24:31 +0000 (09:24 +0800)]
Merge branch 'MDL-50079-master' of git://

6 years agoMerge branch 'MDL-50788-master' of git://
Andrew Nicols [Tue, 13 Oct 2015 00:08:51 +0000 (08:08 +0800)]
Merge branch 'MDL-50788-master' of git://

6 years agoMDL-51467 Availability: Course reset should change restrict dates
sam marshall [Fri, 2 Oct 2015 11:06:16 +0000 (12:06 +0100)]
MDL-51467 Availability: Course reset should change restrict dates

6 years agoMerge branch 'MDL-51375' of git://
Dan Poltawski [Mon, 12 Oct 2015 16:01:41 +0000 (17:01 +0100)]
Merge branch 'MDL-51375' of git://

6 years agoMDL-51610 course: Change section menu to "Edit" and order buttons
Eric Merrill [Mon, 12 Oct 2015 15:11:39 +0000 (11:11 -0400)]
MDL-51610 course: Change section menu to "Edit" and order buttons

6 years agoMerge branch 'MDL-48861-master' of git://
Dan Poltawski [Mon, 12 Oct 2015 15:53:18 +0000 (16:53 +0100)]
Merge branch 'MDL-48861-master' of git://

6 years agoMerge branch 'MDL-36606-master' of git://
Dan Poltawski [Mon, 12 Oct 2015 11:41:03 +0000 (12:41 +0100)]
Merge branch 'MDL-36606-master' of git://

6 years agoMerge branch 'MDL-51536-master' of git://
Dan Poltawski [Mon, 12 Oct 2015 10:47:45 +0000 (11:47 +0100)]
Merge branch 'MDL-51536-master' of git://

6 years agoMerge branch 'MDL-51586-master' of git://
Dan Poltawski [Mon, 12 Oct 2015 09:47:13 +0000 (10:47 +0100)]
Merge branch 'MDL-51586-master' of git://

6 years agoMDL-51652 Availability: OR conditions fail when filtering user lists
sam marshall [Fri, 9 Oct 2015 10:05:54 +0000 (11:05 +0100)]
MDL-51652 Availability: OR conditions fail when filtering user lists

When filtering a user list, if there is an OR tree where one of the
conditions does not restrict user lists such as a date condition,
then the overall result should include all users (not be filtered).
This was not working correctly.

6 years agoMerge branch 'MDL-51637-master' of git://
David Monllao [Mon, 12 Oct 2015 09:08:27 +0000 (17:08 +0800)]
Merge branch 'MDL-51637-master' of git://

6 years agoMerge branch 'MDL-51083-master' of git://
David Monllao [Mon, 12 Oct 2015 08:57:06 +0000 (16:57 +0800)]
Merge branch 'MDL-51083-master' of git://

6 years agoMerge branch 'MDL-51605-master' of git://
Dan Poltawski [Mon, 12 Oct 2015 08:46:00 +0000 (09:46 +0100)]
Merge branch 'MDL-51605-master' of git://

6 years agoMDL-46455 Events: Add db mapping info even if not part of backup
Damyon Wiese [Mon, 12 Oct 2015 08:23:39 +0000 (16:23 +0800)]
MDL-46455 Events: Add db mapping info even if not part of backup

We can return db mapping info even for objects that are not included
in backup/restore and it may be useful in future (no use in core yet).

6 years agoMDL-51637 forum: Make forum_get_discussions_paginated return group post
Juan Leyva [Fri, 2 Oct 2015 08:21:33 +0000 (10:21 +0200)]
MDL-51637 forum: Make forum_get_discussions_paginated return group post

6 years agoMDL-51568 self_enrol: New Web Service enrol_self_enrol_user
Juan Leyva [Mon, 28 Sep 2015 12:04:04 +0000 (14:04 +0200)]
MDL-51568 self_enrol: New Web Service enrol_self_enrol_user

6 years agoMDL-49682 mod_forum: Correct arguments to format_message_text
Andrew Nicols [Mon, 12 Oct 2015 06:54:34 +0000 (14:54 +0800)]
MDL-49682 mod_forum: Correct arguments to format_message_text

This feeds straight into context_module::instance() and I was inadvertantly
using the forum->id, rather than the cm->id.

6 years agoMerge branch 'MDL-51528-int-fix-1' of
Andrew Nicols [Mon, 12 Oct 2015 06:15:14 +0000 (14:15 +0800)]
Merge branch 'MDL-51528-int-fix-1' of

6 years agoMDL-49682 mod_forum: Bump version for caches
David Monllao [Mon, 12 Oct 2015 06:07:55 +0000 (14:07 +0800)]
MDL-49682 mod_forum: Bump version for caches

6 years agoMerge branch 'MDL-49682-master' of git://
David Monllao [Mon, 12 Oct 2015 06:05:02 +0000 (14:05 +0800)]
Merge branch 'MDL-49682-master' of git://

6 years agoMDL-51528 themes: bootstrap v2.3.2 in thirdpartylibs
Ryan Wyllie [Mon, 12 Oct 2015 05:45:13 +0000 (05:45 +0000)]
MDL-51528 themes: bootstrap v2.3.2 in thirdpartylibs

Increase the bootstrap version from v2.3.0 to v2.3.2
in the thirdpartylibs.xml file.

6 years agoMDL-46497 atto: Whitespace/coding style fix
Andrew Nicols [Mon, 12 Oct 2015 05:37:14 +0000 (13:37 +0800)]
MDL-46497 atto: Whitespace/coding style fix

6 years agoMerge branch 'MDL-46497_master' of
Andrew Nicols [Mon, 12 Oct 2015 05:35:24 +0000 (13:35 +0800)]
Merge branch 'MDL-46497_master' of

6 years agoMDL-49682 mod_forum: Build forum email templates
Andrew Nicols [Fri, 25 Sep 2015 11:57:05 +0000 (19:57 +0800)]
MDL-49682 mod_forum: Build forum email templates

6 years agoMerge branch 'MDL-51528-master' of git://
Andrew Nicols [Mon, 12 Oct 2015 02:42:15 +0000 (10:42 +0800)]
Merge branch 'MDL-51528-master' of git://

6 years agoMerge branch 'MDL-51524-master' of git://
David Monllao [Mon, 12 Oct 2015 02:36:05 +0000 (10:36 +0800)]
Merge branch 'MDL-51524-master' of git://

6 years agoMerge branch 'MDL-51451-master' of
Andrew Nicols [Mon, 12 Oct 2015 02:10:51 +0000 (10:10 +0800)]
Merge branch 'MDL-51451-master' of

6 years agoMDL-46455 events: added more mapping
Mark Nelson [Tue, 6 Oct 2015 23:44:18 +0000 (16:44 -0700)]
MDL-46455 events: added more mapping

Also fixed a few bugs.

6 years agoMDL-51524 tests: Fix broken tests
Andrew Nicols [Fri, 9 Oct 2015 05:03:33 +0000 (13:03 +0800)]
MDL-51524 tests: Fix broken tests

The upgraded version of HTML2Text highlighted some bugs in our unit tests.

In the IOS test, the HTML content includes a couple of patches of  
In the previous version of HTML2Text, these were being converted to
breaking spaces. In one of these cases, it was then removed due to a trim.
The expected texts have been converted to use the correct non-breaking spaces.
In the case of the trimmed one, it is no longer trimmed as non-breaking
spaces are not trimmed.
This gives a truer reflection of the actual text.

In the case of the Outlook test, this trailing whitespace is not present in
the source. It was likely caused by a bug in the previous version of

In the case of the weblib change, the test was just wrong. Both of the
actual characters are encodings for an HTML bullet (decimal and hex) and
should both be converted to the relevant UTF8 representation of this

6 years agoMDL-51524 libraries: Update to latest version of html2text
Andrew Nicols [Thu, 1 Oct 2015 06:04:15 +0000 (14:04 +0800)]
MDL-51524 libraries: Update to latest version of html2text

We were previously using an ancient version of html2text from RoundCube
with many customisations.

This patchset moves to the version included in the latest version of
HTML2Text, and wraps the library in a moodle-provided class. This
moves all previous hacks away from that class.

Unfortunately, two hacks still remain - two of the functions in the
RoundCube class are private, and must be modified to protected in order to
use the class effectively.

6 years agoMDL-46455 restore: Add debug messages when log records cannot be mapped
Damyon Wiese [Thu, 24 Sep 2015 07:03:26 +0000 (15:03 +0800)]
MDL-46455 restore: Add debug messages when log records cannot be mapped

6 years agoMDL-46455 logstores: Do not try and map empty fields on restore.
Damyon Wiese [Thu, 24 Sep 2015 06:32:39 +0000 (14:32 +0800)]
MDL-46455 logstores: Do not try and map empty fields on restore.

6 years agoMDL-46455 event: Make the debugging messages print the event class.
Damyon Wiese [Thu, 24 Sep 2015 06:27:24 +0000 (14:27 +0800)]
MDL-46455 event: Make the debugging messages print the event class.

Because they are in the base class, it was impossible to find which event
triggered the debugging.

6 years agoMDL-46455 events: Add mapping info to events
Damyon Wiese [Wed, 23 Sep 2015 08:00:33 +0000 (16:00 +0800)]
MDL-46455 events: Add mapping info to events

This commit covers all events outside of /mod/. It adds mapping info for restoring
events, or the default implementation which returns false if mapping is not required.

6 years agoMDL-46455 mod_*: added restore mapping to events
Mark Nelson [Fri, 25 Sep 2015 00:02:57 +0000 (17:02 -0700)]
MDL-46455 mod_*: added restore mapping to events

6 years agoMDL-46455 mod_*: added additional mapping to be used by events
Mark Nelson [Fri, 25 Sep 2015 00:03:41 +0000 (17:03 -0700)]
MDL-46455 mod_*: added additional mapping to be used by events

6 years agoMDL-46455 restore: added restore support for 'other' in events
Mark Nelson [Tue, 22 Sep 2015 23:25:19 +0000 (16:25 -0700)]
MDL-46455 restore: added restore support for 'other' in events

6 years agoMDL-51517 theme_bootstrapbase: Clean up buttons.less
lazydaisy [Sat, 10 Oct 2015 10:02:38 +0000 (11:02 +0100)]
MDL-51517 theme_bootstrapbase: Clean up buttons.less

6 years agoMDL-46455 restore: added restore support for the 'objectid' in events
Mark Nelson [Mon, 21 Sep 2015 23:43:44 +0000 (16:43 -0700)]
MDL-46455 restore: added restore support for the 'objectid' in events

6 years agoMDL-46455 backup: Keep external database logstore code self-contained.
Damyon Wiese [Mon, 21 Sep 2015 05:39:51 +0000 (13:39 +0800)]
MDL-46455 backup: Keep external database logstore code self-contained.

General backup/restore does not need to handle external data sources natively - so
any changes needed to achieve this should be contained to the plugin that needs it.

6 years agoMDL-46455 logstore_database: added backup/restore support
Mark Nelson [Fri, 18 Sep 2015 23:00:08 +0000 (16:00 -0700)]
MDL-46455 logstore_database: added backup/restore support

6 years agoMDL-46455 restore: Implement restore of standard logstore
Eloy Lafuente (stronk7) [Sun, 29 Mar 2015 23:19:01 +0000 (01:19 +0200)]
MDL-46455 restore: Implement restore of standard logstore

Using standard subplugin support, this commits implements
the restore of logstore subplugins in general and the
standard logstore is particular. Notes:

- TODO: Decide about these 2 pending issues:

1) Some logs are already created (events fired) by the restore process itself. Every time
   an API is used and it fires events... corresponding (and actual!)
   logs are created. We need to prevent restore to duplicate them (or,
   alternatively, stop firing events when restore is happening).

2) There are 2 pieces of information in the logs that, right now, can
   not be restored, because the process does not know enough to be able
   to remap that information to its new counterparts. We are talking
   about objectid and other columns. So we need to specify, in some way
   understandable by restore, to which existing mappings they correspond

6 years agoMDL-46455 backup: Implement backup of standard logstore
Eloy Lafuente (stronk7) [Sun, 29 Mar 2015 14:53:07 +0000 (16:53 +0200)]
MDL-46455 backup: Implement backup of standard logstore

Using standard subplugin support, this commit implements
the backup of logstore subplugins in general and the
standard logstore in particular. Notes:

- Uses a custom final element (base64_encode_final_element) to
  support the storage of serialized 'other' information in logs.
- Organization: Instead of directly extending backup_subplugin,
  every logstore extends backup_tool_log_logstore_subplugin just
  in case any shared code is needed in the future.
- Implements both course and activity logs, sharing the structure
  completely (both are based in contextid to pick the target
  information, from database or whatever other logstores use).

6 years agoMDL-46455 restore: Extend support for subplugins to any plugin.
Eloy Lafuente (stronk7) [Mon, 16 Mar 2015 02:08:44 +0000 (03:08 +0100)]
MDL-46455 restore: Extend support for subplugins to any plugin.

In order to implement the backup and restore of log stores, that
are created as subplugins of the tool_log plugin , we need to
extend subplugins support from activities to virtually any plugin.

Basically that implies moving the add_subplugin_structure() method from
its current, restricted, activity level to general restore_structure_step.

This commit implements the change in restore, covered with tests verifying
old, bc behavior and also new, general one.

6 years agoMDL-46455 backup: Extend support for subplugins to any plugin.
Eloy Lafuente (stronk7) [Sun, 8 Mar 2015 18:38:44 +0000 (19:38 +0100)]
MDL-46455 backup: Extend support for subplugins to any plugin.

In order to implement the backup and restore of log stores, that
are created as subplugins of the tool_log plugin , we need to
extend subplugins support from activities to virtually any plugin.

Basically that implies moving the add_subplugin_structure() method from
its current, restricted, activity level to general backup_structure_step.

This commit implements the change in backup, covered with tests verifying
old, bc behavior and also new, general one.

6 years agoMDL-46497 Atto: Fix adding redundant p elements in rtl/ltr actions
Lior Gil [Fri, 9 Oct 2015 22:26:42 +0000 (01:26 +0300)]
MDL-46497 Atto: Fix adding redundant p elements in rtl/ltr actions

6 years agoMDL-40710 Icon: More identifiable backpack icon
Barbara Ramiro [Fri, 9 Oct 2015 10:34:10 +0000 (18:34 +0800)]
MDL-40710 Icon: More identifiable backpack icon

6 years agoMDL-50079 atto_link: respect new window option when creating from repo
Dan Poltawski [Fri, 9 Oct 2015 10:22:26 +0000 (11:22 +0100)]
MDL-50079 atto_link: respect new window option when creating from repo

Previously users had to go back and edit their link to set the new
window option.

6 years agoMDL-50788 classloader: Prevent cryptic errors on unreadable classes dir
Dan Poltawski [Fri, 9 Oct 2015 09:31:17 +0000 (10:31 +0100)]
MDL-50788 classloader: Prevent cryptic errors on unreadable classes dir

Do not attempt to read an unreadable directory because previously the generated
errors were hard to fathom.

Thanks to James McQuillan for the basis of the patch.

6 years agoMDL-51302 scorm: do not use invalid course urls
Dan Poltawski [Fri, 9 Oct 2015 07:58:33 +0000 (08:58 +0100)]
MDL-51302 scorm: do not use invalid course urls

Previous behaviour of setting an empty sectionid was incorrect and we
were doing work which course_get_url() does for us.

6 years agoMDL-51435 Web Services: E_WARNING in core_webservice_get_site_info
Neill Magill [Wed, 16 Sep 2015 15:18:21 +0000 (16:18 +0100)]
MDL-51435 Web Services: E_WARNING in core_webservice_get_site_info

$plugin was not being set before the version file was included.
This caused an E_WARNING: Creating default object from empty value

This change creates the plugin object before the version file sets its parameters.

6 years agoMDL-51605 Atto: Fix deprecation warnings from upgraded rangy
Damyon Wiese [Fri, 9 Oct 2015 07:42:10 +0000 (15:42 +0800)]
MDL-51605 Atto: Fix deprecation warnings from upgraded rangy

6 years agoMDL-51586 enrol: Enrolment table displays fullname properly.
John Okely [Thu, 8 Oct 2015 06:56:44 +0000 (14:56 +0800)]
MDL-51586 enrol: Enrolment table displays fullname properly.

When the alternatefullnamedisplay was set to something that
didn't contain 'firstname' then nothing would be displayed
for the user's name.

6 years agoMDL-48861 mod_assign: use >= for requires grading filter
Damyon Wiese [Fri, 9 Oct 2015 07:08:06 +0000 (15:08 +0800)]
MDL-48861 mod_assign: use >= for requires grading filter

If the grade and submission were modified at exactly the same time,
assume that this means the grade was automatically created for the submission
and is not a real grade from a teacher interaction.

6 years agoMDL-49515 libraries: Update FPDI to 1.5.4
Adrian Greeve [Wed, 30 Sep 2015 07:07:45 +0000 (15:07 +0800)]
MDL-49515 libraries: Update FPDI to 1.5.4

6 years agoMDL-51528 themes: active tab cursor
Ryan Wyllie [Fri, 9 Oct 2015 06:34:43 +0000 (06:34 +0000)]
MDL-51528 themes: active tab cursor

Set the cursor to a pointer for an active tab with a link to
indicate that the tab is still clickable, even though it is
active. See also MDL-46470 and MDL-51207.

6 years agoMDL-51528 themes: Moodle changes to Bootstrap
Ryan Wyllie [Wed, 7 Oct 2015 05:13:22 +0000 (05:13 +0000)]
MDL-51528 themes: Moodle changes to Bootstrap

Applying the upstream Bootstrap changes required for Moodle. Please
see MDL-42195 and MDL-48328 for more defails.