moodle.git
2 years agoMerge branch 'MDL-62279-master' of git://github.com/damyon/moodle
Eloy Lafuente (stronk7) [Tue, 25 Sep 2018 21:25:10 +0000 (23:25 +0200)]
Merge branch 'MDL-62279-master' of git://github.com/damyon/moodle

2 years agoMerge branch 'MDL-62714-boost_course_visibility_in_navbar' of https://github.com...
Eloy Lafuente (stronk7) [Tue, 25 Sep 2018 21:17:52 +0000 (23:17 +0200)]
Merge branch 'MDL-62714-boost_course_visibility_in_navbar' of https://github.com/fskandalis/moodle

2 years agoMerge branch 'MDL-63253-master-adminsearchresults' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Tue, 25 Sep 2018 20:56:11 +0000 (22:56 +0200)]
Merge branch 'MDL-63253-master-adminsearchresults' of git://github.com/mudrd8mz/moodle

2 years agoMerge branch 'MDL-62334-master' of https://github.com/danielneis/moodle
Eloy Lafuente (stronk7) [Tue, 25 Sep 2018 20:50:41 +0000 (22:50 +0200)]
Merge branch 'MDL-62334-master' of https://github.com/danielneis/moodle

2 years agoMDL-62334 admin: add a new course link on admin/search
Daniel Neis Araujo [Tue, 25 Sep 2018 17:31:50 +0000 (14:31 -0300)]
MDL-62334 admin: add a new course link on admin/search

2 years agoMerge branch 'MDL-60028' of https://github.com/paulholden/moodle
Eloy Lafuente (stronk7) [Tue, 25 Sep 2018 14:57:58 +0000 (16:57 +0200)]
Merge branch 'MDL-60028' of https://github.com/paulholden/moodle

2 years agoMerge branch 'wip-MDL-62708-master' of https://github.com/Beedell/moodle
Eloy Lafuente (stronk7) [Tue, 25 Sep 2018 14:52:50 +0000 (16:52 +0200)]
Merge branch 'wip-MDL-62708-master' of https://github.com/Beedell/moodle

2 years agoMDL-57610 assignfeedback_editpdf: add missing UK to install.xml
Eloy Lafuente (stronk7) [Tue, 25 Sep 2018 13:21:42 +0000 (15:21 +0200)]
MDL-57610 assignfeedback_editpdf: add missing UK to install.xml

2 years agoMerge branch 'MDL-57610' of git://github.com/aolley/moodle
Eloy Lafuente (stronk7) [Tue, 25 Sep 2018 10:28:47 +0000 (12:28 +0200)]
Merge branch 'MDL-57610' of git://github.com/aolley/moodle

2 years agoMerge branch 'MDL-63119-master' of git://github.com/lameze/moodle
David Monllao [Tue, 25 Sep 2018 10:36:08 +0000 (12:36 +0200)]
Merge branch 'MDL-63119-master' of git://github.com/lameze/moodle

2 years agoMerge branch 'MDL-62930-master' of git://github.com/damyon/moodle
David Monllao [Tue, 25 Sep 2018 10:28:10 +0000 (12:28 +0200)]
Merge branch 'MDL-62930-master' of git://github.com/damyon/moodle

2 years agoMerge branch 'MDL-62717-master' of https://github.com/lucaboesch/moodle
David Monllao [Tue, 25 Sep 2018 10:18:36 +0000 (12:18 +0200)]
Merge branch 'MDL-62717-master' of https://github.com/lucaboesch/moodle

2 years agoMerge branch 'MDL-61967-master' of git://github.com/sarjona/moodle
David Monllao [Tue, 25 Sep 2018 09:08:53 +0000 (11:08 +0200)]
Merge branch 'MDL-61967-master' of git://github.com/sarjona/moodle

2 years agoMerge branch 'MDL-63346' of https://github.com/stronk7/moodle
Andrew Nicols [Tue, 25 Sep 2018 00:35:08 +0000 (08:35 +0800)]
Merge branch 'MDL-63346' of https://github.com/stronk7/moodle

2 years agoMDL-57610 assignfeedback_editpdf: integration cleanup
Adam Olley [Tue, 25 Sep 2018 00:22:17 +0000 (09:52 +0930)]
MDL-57610 assignfeedback_editpdf: integration cleanup

* Add a note to upgrade.php to notify devs/admins of the new setting.
* Replace update_record with set_field.
* Add missing phpdoc.

2 years agoMDL-61967 core_user: Allow filtering by No groups on participants page
Sara Arjona [Fri, 13 Jul 2018 09:28:59 +0000 (11:28 +0200)]
MDL-61967 core_user: Allow filtering by No groups on participants page

A new optional parameter $context has been added to the
core_group::groups_get_members_join() function.
Besides, some core_group methods now accept -1 (USERSWITHOUTHGROUP) for
the groupid field.

2 years agoMDL-63020 tests: ensure that searching for is null values also works ok
Eloy Lafuente (stronk7) [Mon, 24 Sep 2018 15:38:10 +0000 (17:38 +0200)]
MDL-63020 tests: ensure that searching for is null values also works ok

2 years agoMerge branch 'MDL-63020' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Mon, 24 Sep 2018 14:01:21 +0000 (16:01 +0200)]
Merge branch 'MDL-63020' of git://github.com/timhunt/moodle

2 years agoMDL-63020 dml: improve the unit tests
Tim Hunt [Mon, 24 Sep 2018 10:41:25 +0000 (11:41 +0100)]
MDL-63020 dml: improve the unit tests

2 years agoMerge branch 'MDL-61573-master' of https://github.com/Kathrin84/moodle
David Monllao [Mon, 24 Sep 2018 09:24:49 +0000 (11:24 +0200)]
Merge branch 'MDL-61573-master' of https://github.com/Kathrin84/moodle

2 years agoMDL-62708 qformat_xml: phpunit test correction.
John Beedell [Mon, 24 Sep 2018 08:37:12 +0000 (09:37 +0100)]
MDL-62708 qformat_xml: phpunit test correction.

2 years agoMDL-47962 upgrade.txt: Update commit reference
David Monllao [Mon, 24 Sep 2018 07:50:05 +0000 (09:50 +0200)]
MDL-47962 upgrade.txt: Update commit reference

2 years agoMerge branch 'MDL-47962' of git://github.com/timhunt/moodle
David Monllao [Mon, 24 Sep 2018 07:45:47 +0000 (09:45 +0200)]
Merge branch 'MDL-47962' of git://github.com/timhunt/moodle

2 years agoMDL-54035 upgrade.txt: Limit comments to relevant info for upgrades
David Monllao [Mon, 24 Sep 2018 07:41:18 +0000 (09:41 +0200)]
MDL-54035 upgrade.txt: Limit comments to relevant info for upgrades

2 years agoMDL-54035 course: Test reset roles in reset_course_userdata()
Jonathan Champ [Wed, 20 Jun 2018 14:31:25 +0000 (10:31 -0400)]
MDL-54035 course: Test reset roles in reset_course_userdata()

Previously, reset_course_userdata() was deleting the role_capabilities
directly, but has_capability() checks the local capabilities cache
which was still returning the previous value.

2 years agoMDL-54035 accesslib: Add context->get_parent_context_paths()
Jonathan Champ [Thu, 21 Jun 2018 17:23:03 +0000 (13:23 -0400)]
MDL-54035 accesslib: Add context->get_parent_context_paths()

Returns full context paths for parent contexts. Useful for exact
matches, such as when checking dirtycontexts.

2 years agoMDL-54035 accesslib: add mark_user_dirty helper
Jonathan Champ [Tue, 5 Jun 2018 20:37:25 +0000 (16:37 -0400)]
MDL-54035 accesslib: add mark_user_dirty helper

Instead of marking an entire context dirty and affecting all users
of those contexts, mark the user as dirty when the change only
affects that user.

2 years agoMDL-54035 accesslib: only modify role_capabilities in accesslib
Jonathan Champ [Fri, 22 Jun 2018 21:16:14 +0000 (17:16 -0400)]
MDL-54035 accesslib: only modify role_capabilities in accesslib

Whenever the role_capabilities table is changed, we need to remember
to clear the cache for the role(s) being modified. This is far simpler
when all of those changes happen in a single file, i.e. accesslib.php,
allowing other parts of the application to use the public functions
without requiring knowledge of the cache internals.

2 years agoMDL-54035 accesslib: separate role definition cache clear
Jonathan Champ [Tue, 5 Jun 2018 19:13:02 +0000 (15:13 -0400)]
MDL-54035 accesslib: separate role definition cache clear

Thanks to MDL-49398, we can separate the combined user session and role
definition cache clearing function into two separate functions. At the
same time, we want to identify and remove mark_dirty() calls that were
added for role definition changes but were incorrectly left behind.

Change highlights:
 - Remove unnecessary mark_dirty() calls performed after
   assign_capability(), unassign_capability(), delete_role(),
   deleted contexts, brand new contexts
 - Move role definition cache clear from the user-centric
   accesslib_clear_all_caches() to the newly created,
   role-dedicated accesslib_reset_role_cache()

2 years agoMDL-62708 question: Add idnumbers to question and question category
John Beedell [Wed, 4 Jul 2018 11:21:44 +0000 (12:21 +0100)]
MDL-62708 question: Add idnumbers to question and question category

2 years agoMDL-60028 enrol: fix counting of enrolled users in a given context.
Paul Holden [Fri, 7 Sep 2018 13:18:45 +0000 (14:18 +0100)]
MDL-60028 enrol: fix counting of enrolled users in a given context.

Previously users enrolled in a course via multiple enrolment methods
would be counted multiple times.

2 years agoMDL-47962 filter_glossary: changes made during integration review
Tim Hunt [Wed, 19 Sep 2018 13:54:52 +0000 (14:54 +0100)]
MDL-47962 filter_glossary: changes made during integration review

2 years agoMDL-47962 filter_glossary: only create replacement HTML if needed
Tim Hunt [Thu, 13 Sep 2018 17:42:14 +0000 (18:42 +0100)]
MDL-47962 filter_glossary: only create replacement HTML if needed

2 years agoMDL-47962 filter_glossary: only prepare the replacement if used
Tim Hunt [Thu, 13 Sep 2018 17:03:35 +0000 (18:03 +0100)]
MDL-47962 filter_glossary: only prepare the replacement if used

2 years agoMDL-47962 filter_glossary: clean up filterobject class
Tim Hunt [Thu, 13 Sep 2018 16:53:10 +0000 (17:53 +0100)]
MDL-47962 filter_glossary: clean up filterobject class

This is another preliminary commit, rationalising the ->work... fields
and also moving the code that sets them up into a separate function.
This is also to prepare for the next commit.

2 years agoMDL-47962 filter_glossary: only prepare_phrases_for_filtering once
Tim Hunt [Thu, 13 Sep 2018 16:21:02 +0000 (17:21 +0100)]
MDL-47962 filter_glossary: only prepare_phrases_for_filtering once

2 years agoMDL-47962 filter_glossary: use preg features for fullmatch
Tim Hunt [Thu, 13 Sep 2018 16:08:28 +0000 (17:08 +0100)]
MDL-47962 filter_glossary: use preg features for fullmatch

This eliminates a lot of necessary string manipulation for something
that preg can just do with the \b assertion.

The change also extracts all the work to prepare ->work_phrase (renamed
->regexp) into a separate function. This is to pave the way for future
efficiency gains, but for now I have not done them, so it is easier to
verify by inspection that this commit does not change behaviour.

Also, some tidy-ups to the filterobject structure, to eliminate some
redundant fields.

2 years agoMDL-47962 filter_glossary: cache concept list in a MUC static cache
Tim Hunt [Tue, 11 Sep 2018 16:36:29 +0000 (17:36 +0100)]
MDL-47962 filter_glossary: cache concept list in a MUC static cache

This is a slight improvement on a suggestion by David Monllaó

2 years agoMDL-47962 filter_glossary: Fix lang string concatenation
Tim Hunt [Tue, 11 Sep 2018 15:49:10 +0000 (16:49 +0100)]
MDL-47962 filter_glossary: Fix lang string concatenation

2 years agoMDL-47962 filter_glossary: $GLOSSARY_EXCLUDEENTRY shouldn't stop caching
Tim Hunt [Tue, 20 Jan 2015 18:14:29 +0000 (18:14 +0000)]
MDL-47962 filter_glossary: $GLOSSARY_EXCLUDEENTRY shouldn't stop caching

Also, greatly improved unit tests, to test more cases of how the filter
should work.

2 years agoMDL-47962 filterlib: Fix lots of coding style
Tim Hunt [Tue, 20 Jan 2015 18:05:23 +0000 (18:05 +0000)]
MDL-47962 filterlib: Fix lots of coding style

2 years agoMDL-63020 ddl: fix nullable unique indexes in OCI and MS SQL
Tim Hunt [Fri, 7 Sep 2018 14:32:33 +0000 (15:32 +0100)]
MDL-63020 ddl: fix nullable unique indexes in OCI and MS SQL

This works-around the default non-standard behaviour of these DB engines.

2 years agoMDL-63020 xmldb: Improve PHPdoc comments for better IDE autocomplete
Tim Hunt [Fri, 7 Sep 2018 14:30:50 +0000 (15:30 +0100)]
MDL-63020 xmldb: Improve PHPdoc comments for better IDE autocomplete

2 years agoMDL-62717 forum: Create announcements forum with HTML format intro.
Luca Bösch [Thu, 30 Aug 2018 08:22:43 +0000 (10:22 +0200)]
MDL-62717 forum: Create announcements forum with HTML format intro.

2 years agoweekly release 3.6dev
Eloy Lafuente (stronk7) [Thu, 20 Sep 2018 10:11:53 +0000 (12:11 +0200)]
weekly release 3.6dev

2 years agoMDL-63346 nodejs: Bump to created from scratch shrinkwrap file
Eloy Lafuente (stronk7) [Fri, 14 Sep 2018 10:34:02 +0000 (12:34 +0200)]
MDL-63346 nodejs: Bump to created from scratch shrinkwrap file

Steps:

- remove node_modules & npm-shrinkwrap.json
- npm cache clear --force
- npm install
- npm shrinkwrap

2 years agoMDL-23545 question: fix remaining sizes leading to failures
Eloy Lafuente (stronk7) [Wed, 19 Sep 2018 21:07:20 +0000 (23:07 +0200)]
MDL-23545 question: fix remaining sizes leading to failures

2 years agoMerge branch 'MDL-23545-phpunit-fixes' of https://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Wed, 19 Sep 2018 16:10:37 +0000 (18:10 +0200)]
Merge branch 'MDL-23545-phpunit-fixes' of https://github.com/timhunt/moodle

2 years agoMDL-59227 course: Use low level early renaming to avoid dupes
Eloy Lafuente (stronk7) [Wed, 19 Sep 2018 14:55:20 +0000 (16:55 +0200)]
MDL-59227 course: Use low level early renaming to avoid dupes

Instead of using set_coursemodule_name() to proceed with the name
change we perform the change earlier in the process, both to avoid
duplicate events caused by the renaming function and also to get the new
name used by all proper generated events.

2 years agoMerge branch 'MDL-63140-master' of git://github.com/rezaies/moodle
David Monllao [Wed, 19 Sep 2018 11:30:43 +0000 (13:30 +0200)]
Merge branch 'MDL-63140-master' of git://github.com/rezaies/moodle

2 years agoMDL-23545 qformat_xml: fix another Behat test
Tim Hunt [Tue, 18 Sep 2018 12:52:51 +0000 (13:52 +0100)]
MDL-23545 qformat_xml: fix another Behat test

2 years agoMerge branch 'MDL-63135-master' of git://github.com/rezaies/moodle
David Monllao [Wed, 19 Sep 2018 11:12:40 +0000 (13:12 +0200)]
Merge branch 'MDL-63135-master' of git://github.com/rezaies/moodle

2 years agoMerge branch 'MDL-23545-phpunit-fixes' of https://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Tue, 18 Sep 2018 22:26:25 +0000 (00:26 +0200)]
Merge branch 'MDL-23545-phpunit-fixes' of https://github.com/timhunt/moodle

2 years agoMerge branch 'MDL-63116-master-1' of git://github.com/mihailges/moodle
Eloy Lafuente (stronk7) [Tue, 18 Sep 2018 21:26:51 +0000 (23:26 +0200)]
Merge branch 'MDL-63116-master-1' of git://github.com/mihailges/moodle

2 years agoMerge branch 'MDL-59227' of https://github.com/rlorenzo/moodle
Eloy Lafuente (stronk7) [Tue, 18 Sep 2018 21:11:34 +0000 (23:11 +0200)]
Merge branch 'MDL-59227' of https://github.com/rlorenzo/moodle

2 years agoMDL-61908 privacy: Fix heading in data privacy pages
Mihail Geshoski [Thu, 13 Sep 2018 06:44:26 +0000 (14:44 +0800)]
MDL-61908 privacy: Fix heading in data privacy pages

2 years agoMerge branch 'MDL-63109-master' of git://github.com/mihailges/moodle
Eloy Lafuente (stronk7) [Tue, 18 Sep 2018 15:50:13 +0000 (17:50 +0200)]
Merge branch 'MDL-63109-master' of git://github.com/mihailges/moodle

2 years agoMerge branch 'MDL-63138-master' of git://github.com/rezaies/moodle
David Monllao [Tue, 18 Sep 2018 14:39:58 +0000 (16:39 +0200)]
Merge branch 'MDL-63138-master' of git://github.com/rezaies/moodle

2 years agoMerge branch 'MDL-63139-master' of git://github.com/rezaies/moodle
David Monllao [Tue, 18 Sep 2018 14:36:55 +0000 (16:36 +0200)]
Merge branch 'MDL-63139-master' of git://github.com/rezaies/moodle

2 years agoMerge branch 'MDL-63117-master' of git://github.com/rezaies/moodle
David Monllao [Tue, 18 Sep 2018 14:32:58 +0000 (16:32 +0200)]
Merge branch 'MDL-63117-master' of git://github.com/rezaies/moodle

2 years agoMDL-23545 qformat_xml: don't allow irrelevant DB differences to break tests
Tim Hunt [Tue, 18 Sep 2018 12:52:51 +0000 (13:52 +0100)]
MDL-23545 qformat_xml: don't allow irrelevant DB differences to break tests

Also slightly improve formatting of the exported file.

2 years agoMerge branch 'MDL-63333_master' of git://github.com/markn86/moodle
David Monllao [Tue, 18 Sep 2018 10:17:46 +0000 (12:17 +0200)]
Merge branch 'MDL-63333_master' of git://github.com/markn86/moodle

2 years agoMDL-63109 privacy: Add behat tests
Mihail Geshoski [Tue, 18 Sep 2018 07:06:23 +0000 (15:06 +0800)]
MDL-63109 privacy: Add behat tests

2 years agoMDL-61573 user: Changes to pix path for better support of fa mapping
Kathrin Osswald [Thu, 7 Jun 2018 11:04:16 +0000 (13:04 +0200)]
MDL-61573 user: Changes to pix path for better support of fa mapping

2 years agoMerge branch 'm36_MDL-63319_MySQL_MSSQL_Rename_Field_Reserved_Word' of https://github...
Jun Pataleta [Tue, 18 Sep 2018 06:10:11 +0000 (14:10 +0800)]
Merge branch 'm36_MDL-63319_MySQL_MSSQL_Rename_Field_Reserved_Word' of https://github.com/scara/moodle

2 years agoMDL-63109 privacy: Fix the initialisation of the policy acceptance modal
Mihail Geshoski [Thu, 30 Aug 2018 05:48:00 +0000 (13:48 +0800)]
MDL-63109 privacy: Fix the initialisation of the policy acceptance modal

2 years agoMDL-57610 assignfeedback_editpdf: Add test coverage for conversion task
Adam Olley [Tue, 18 Sep 2018 04:44:23 +0000 (14:14 +0930)]
MDL-57610 assignfeedback_editpdf: Add test coverage for conversion task

Without this, we have no coverage of the convert_submissions task. This test
validates it both works normally, and that it also skips queued items that have
exceeded the conversion attempt limit introduced in this improvement.

2 years agoMDL-63119 calendar: now showing event end in modal
Tim Schroeder [Tue, 18 Sep 2018 03:39:46 +0000 (11:39 +0800)]
MDL-63119 calendar: now showing event end in modal

    When clicking on an event in the month view, a modal opens with
    information about it. That modal did previously only show the start time
    of the event. It now also shows the end (if the event has one).

2 years agoMerge branch 'MDL-23545-master-fix' of git://github.com/junpataleta/moodle
Jun Pataleta [Tue, 18 Sep 2018 02:07:56 +0000 (10:07 +0800)]
Merge branch 'MDL-23545-master-fix' of git://github.com/junpataleta/moodle

2 years agoMDL-23545 question_format: Replace tabs with spaces in upgrade.txt
Jun Pataleta [Tue, 18 Sep 2018 02:04:03 +0000 (10:04 +0800)]
MDL-23545 question_format: Replace tabs with spaces in upgrade.txt

2 years agoMerge branch 'wip-MDL-23545-master' of https://github.com/Beedell/moodle
Jun Pataleta [Tue, 18 Sep 2018 01:47:38 +0000 (09:47 +0800)]
Merge branch 'wip-MDL-23545-master' of https://github.com/Beedell/moodle

2 years agoMDL-62930 theme_boost: Remove custom-select styles
Damyon Wiese [Fri, 20 Jul 2018 08:41:02 +0000 (16:41 +0800)]
MDL-62930 theme_boost: Remove custom-select styles

These styles cause the custom select fields to overlap their containers. See the license field in the file picker single file info dialogue for an example.

2 years agoMDL-59227 course: add (copy) to duplicated modules
Rohan Khajuria [Mon, 10 Sep 2018 22:02:00 +0000 (15:02 -0700)]
MDL-59227 course: add (copy) to duplicated modules

2 years agoMerge branch 'MDL-63279_master' of https://github.com/aanabit/moodle
Eloy Lafuente (stronk7) [Mon, 17 Sep 2018 21:56:37 +0000 (23:56 +0200)]
Merge branch 'MDL-63279_master' of https://github.com/aanabit/moodle

2 years agoMerge branch 'MDL-58781_master' of https://github.com/aanabit/moodle
Eloy Lafuente (stronk7) [Mon, 17 Sep 2018 21:39:35 +0000 (23:39 +0200)]
Merge branch 'MDL-58781_master' of https://github.com/aanabit/moodle

2 years agoMerge branch 'MDL-63009-master' of git://github.com/mickhawkins/moodle
Eloy Lafuente (stronk7) [Mon, 17 Sep 2018 21:30:13 +0000 (23:30 +0200)]
Merge branch 'MDL-63009-master' of git://github.com/mickhawkins/moodle

2 years agoMerge branch 'MDL-63184-master-2' of git://github.com/junpataleta/moodle
Eloy Lafuente (stronk7) [Mon, 17 Sep 2018 21:10:39 +0000 (23:10 +0200)]
Merge branch 'MDL-63184-master-2' of git://github.com/junpataleta/moodle

2 years agoMerge branch 'MDL-63371' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Mon, 17 Sep 2018 21:09:20 +0000 (23:09 +0200)]
Merge branch 'MDL-63371' of git://github.com/timhunt/moodle

2 years agoMerge branch 'MDL-63354-master' of https://github.com/HuongNV13/moodle
Eloy Lafuente (stronk7) [Mon, 17 Sep 2018 21:05:31 +0000 (23:05 +0200)]
Merge branch 'MDL-63354-master' of https://github.com/HuongNV13/moodle

2 years agoMDL-63253 admin: Show location of the found items at search results page
David Mudrák [Tue, 28 Aug 2018 09:00:00 +0000 (11:00 +0200)]
MDL-63253 admin: Show location of the found items at search results page

The search results page showed just the titles of the found matching
pages / sections but not their location within the admin tree. In
certain cases, we even have multiple admin pages with the same title -
making it impossible to distinguish which is which.

The patch makes it so that the path of the found admin page / section is
displayed below the title.

2 years agoMDL-63184 tool_dataprivacy: Ensure PO roles have correct capability
Jun Pataleta [Mon, 20 Aug 2018 06:36:28 +0000 (14:36 +0800)]
MDL-63184 tool_dataprivacy: Ensure PO roles have correct capability

2 years agoMerge branch 'MDL-62554-master' of git://github.com/junpataleta/moodle
David Monllao [Mon, 17 Sep 2018 11:44:49 +0000 (13:44 +0200)]
Merge branch 'MDL-62554-master' of git://github.com/junpataleta/moodle

2 years agoMerge branch 'MDL-63215-master' of https://github.com/lucaboesch/moodle
Eloy Lafuente (stronk7) [Mon, 17 Sep 2018 08:40:41 +0000 (10:40 +0200)]
Merge branch 'MDL-63215-master' of https://github.com/lucaboesch/moodle

2 years agoMerge branch 'MDL-63379-master' of git://github.com/junpataleta/moodle
Eloy Lafuente (stronk7) [Mon, 17 Sep 2018 07:54:31 +0000 (09:54 +0200)]
Merge branch 'MDL-63379-master' of git://github.com/junpataleta/moodle

2 years agoMDL-63379 user: Fix Behat tests for participants filtering
Jun Pataleta [Mon, 17 Sep 2018 03:25:37 +0000 (11:25 +0800)]
MDL-63379 user: Fix Behat tests for participants filtering

2 years agoMDL-63333 core: removed unused setting 'messaginghidereadnotifications'
Mark Nelson [Tue, 11 Sep 2018 04:57:30 +0000 (12:57 +0800)]
MDL-63333 core: removed unused setting 'messaginghidereadnotifications'

2 years agoMDL-63116 privacy: Add bulk actions to the privacy request table
Mihail Geshoski [Mon, 10 Sep 2018 07:33:02 +0000 (15:33 +0800)]
MDL-63116 privacy: Add bulk actions to the privacy request table

2 years agoMDL-63116 privacy: Add behat tests
Mihail Geshoski [Tue, 4 Sep 2018 05:08:12 +0000 (13:08 +0800)]
MDL-63116 privacy: Add behat tests

2 years agoMDL-63116 privacy: Add unit tests
Mihail Geshoski [Fri, 24 Aug 2018 07:47:55 +0000 (15:47 +0800)]
MDL-63116 privacy: Add unit tests

2 years agoMDL-57610 assignfeedback_editpdf: remove queued jobs that keep failing
Adam Olley [Fri, 6 Jul 2018 05:26:21 +0000 (14:56 +0930)]
MDL-57610 assignfeedback_editpdf: remove queued jobs that keep failing

Without this, its possible to get a document in the editpdf conversion queue
that keeps failing - and in some cases completely crashing the PHP script
despite exception handling - which ends up blocking the processing of the queue
entirely.

This change allows for a configurable number of attempts the conversion
task will perform before removing the item from the queue.

2 years agoMDL-63215 block_rss_client: Escaping tags in RSS entries
Michelle Melton [Mon, 27 Aug 2018 19:06:48 +0000 (21:06 +0200)]
MDL-63215 block_rss_client: Escaping tags in RSS entries

2 years agoMDL-63319 ddl: Added getRenameFieldSQL() coverage
Matteo Scaramuccia [Thu, 13 Sep 2018 19:59:03 +0000 (21:59 +0200)]
MDL-63319 ddl: Added getRenameFieldSQL() coverage

2 years agoMDL-63319 ddl: Improved rename_field() coverage
Matteo Scaramuccia [Thu, 13 Sep 2018 19:55:17 +0000 (21:55 +0200)]
MDL-63319 ddl: Improved rename_field() coverage

DB API should allow to rename fields, including renaming
those columns named using a reserved word.

2 years agoMDL-63319 ddl: MSSQL should rename reserved words
Matteo Scaramuccia [Sat, 8 Sep 2018 22:19:08 +0000 (00:19 +0200)]
MDL-63319 ddl: MSSQL should rename reserved words

2 years agoMDL-63319 ddl: MySQL should rename reserved words
Matteo Scaramuccia [Sun, 9 Sep 2018 05:38:34 +0000 (07:38 +0200)]
MDL-63319 ddl: MySQL should rename reserved words

2 years agoMDL-23545 question: XML import/export add category description
John Beedell [Fri, 3 Aug 2018 08:53:54 +0000 (09:53 +0100)]
MDL-23545 question: XML import/export add category description

2 years agoMDL-63371 question: USE_RAW_DATA case in check_qt_var_name_restrictions
Tim Hunt [Fri, 14 Sep 2018 15:02:08 +0000 (16:02 +0100)]
MDL-63371 question: USE_RAW_DATA case in check_qt_var_name_restrictions

2 years agoMDL-63279 messaging: Add admin setting for toggling site-wide messaging
Amaia Anabitarte [Wed, 5 Sep 2018 17:17:23 +0000 (18:17 +0100)]
MDL-63279 messaging: Add admin setting for toggling site-wide messaging

2 years agoMDL-58781 mod_feedback: Inconsistency in analysis exported to excel
Amaia Anabitarte [Thu, 9 Aug 2018 15:01:39 +0000 (16:01 +0100)]
MDL-58781 mod_feedback: Inconsistency in analysis exported to excel

2 years agoMDL-63346 travis: GRUNT job immune to npm-shrinkwrap.json changes
Eloy Lafuente (stronk7) [Thu, 13 Sep 2018 22:21:57 +0000 (00:21 +0200)]
MDL-63346 travis: GRUNT job immune to npm-shrinkwrap.json changes

When upgrading nodejs/npm versions, there are modifications to
different packages or to the format of the npm-shrinkwrap.json
file. Usually that leads to failed jobs untill the bundled file
is updated.

To avoid that, we just ignore the npm-shrinkwrap.json file, so
just the REAL modifications in css/js/ignore stuff are considered.