moodle.git
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 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-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-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 agoweekly release 3.6dev
Eloy Lafuente (stronk7) [Fri, 14 Sep 2018 09:06:32 +0000 (11:06 +0200)]
weekly release 3.6dev

2 years agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Eloy Lafuente (stronk7) [Fri, 14 Sep 2018 09:06:29 +0000 (11:06 +0200)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

2 years agoMDL-63354 Group: Rollover text on long group names is not consistent
Huong Nguyen [Thu, 13 Sep 2018 07:15:52 +0000 (14:15 +0700)]
MDL-63354 Group: Rollover text on long group names is not consistent

2 years agoMDL-61169 iplookup: Change to another block still remaining to SF
Eloy Lafuente (stronk7) [Thu, 13 Sep 2018 17:01:09 +0000 (19:01 +0200)]
MDL-61169 iplookup: Change to another block still remaining to SF

2 years agoMerge branch 'MDL-51177-master' of git://github.com/andrewnicols/moodle
Jun Pataleta [Thu, 13 Sep 2018 08:17:02 +0000 (16:17 +0800)]
Merge branch 'MDL-51177-master' of git://github.com/andrewnicols/moodle

2 years agoMDL-51177 atto_html: Check isHTML before hiding editor
Andrew Nicols [Thu, 13 Sep 2018 07:32:20 +0000 (15:32 +0800)]
MDL-51177 atto_html: Check isHTML before hiding editor

2 years agoMDL-62554 tool_dataprivacy: Integration review fixes
Jun Pataleta [Tue, 11 Sep 2018 08:57:40 +0000 (16:57 +0800)]
MDL-62554 tool_dataprivacy: Integration review fixes

2 years agoMerge branch 'MDL-60630-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Wed, 12 Sep 2018 21:14:54 +0000 (23:14 +0200)]
Merge branch 'MDL-60630-master' of git://github.com/andrewnicols/moodle

2 years agoMDL-60630 cachestore: Remove memcache plugin
Andrew Nicols [Thu, 2 Aug 2018 02:23:14 +0000 (10:23 +0800)]
MDL-60630 cachestore: Remove memcache plugin

2 years agoMerge branch 'MDL-63329-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Wed, 12 Sep 2018 08:19:19 +0000 (10:19 +0200)]
Merge branch 'MDL-63329-master' of git://github.com/andrewnicols/moodle

2 years agoMerge branch 'mdl63321-master' of https://github.com/tlock/moodle
Jun Pataleta [Wed, 12 Sep 2018 07:34:59 +0000 (15:34 +0800)]
Merge branch 'mdl63321-master' of https://github.com/tlock/moodle

2 years agoMerge branch 'MDL-51177-master' of git://github.com/andrewnicols/moodle
Jun Pataleta [Wed, 12 Sep 2018 05:30:39 +0000 (13:30 +0800)]
Merge branch 'MDL-51177-master' of git://github.com/andrewnicols/moodle

2 years agoMDL-51177 core: Ignore built files in stylelint
Andrew Nicols [Wed, 12 Sep 2018 04:36:19 +0000 (12:36 +0800)]
MDL-51177 core: Ignore built files in stylelint

2 years agoMDL-51177 atto_html: Import htmlplus functionality
Andrew Nicols [Wed, 5 Sep 2018 02:11:35 +0000 (10:11 +0800)]
MDL-51177 atto_html: Import htmlplus functionality

2 years agoMerge branch 'MDL-63231-set-default-value-for-int-param-MOODLE_Master' of https:...
Jun Pataleta [Wed, 12 Sep 2018 02:00:01 +0000 (10:00 +0800)]
Merge branch 'MDL-63231-set-default-value-for-int-param-MOODLE_Master' of https://github.com/guillalva06/moodle

2 years agoMerge branch 'MDL-50314_master' of git://github.com/do-you-even-curl/moodle
Jun Pataleta [Wed, 12 Sep 2018 01:44:36 +0000 (09:44 +0800)]
Merge branch 'MDL-50314_master' of git://github.com/do-you-even-curl/moodle

2 years agoMDL-63329 core: Remove memcache session support
Andrew Nicols [Mon, 10 Sep 2018 01:50:08 +0000 (09:50 +0800)]
MDL-63329 core: Remove memcache session support

2 years agoMerge branch 'MDL-63130_master' of git://github.com/markn86/moodle
Eloy Lafuente (stronk7) [Tue, 11 Sep 2018 21:55:00 +0000 (23:55 +0200)]
Merge branch 'MDL-63130_master' of git://github.com/markn86/moodle

2 years agoMerge branch 'MDL-63136-master' of git://github.com/rezaies/moodle
Eloy Lafuente (stronk7) [Tue, 11 Sep 2018 21:52:02 +0000 (23:52 +0200)]
Merge branch 'MDL-63136-master' of git://github.com/rezaies/moodle

2 years agoMerge branch 'MDL-62528-master' of git://github.com/bmbrands/moodle
Eloy Lafuente (stronk7) [Tue, 11 Sep 2018 21:02:40 +0000 (23:02 +0200)]
Merge branch 'MDL-62528-master' of git://github.com/bmbrands/moodle

2 years agoMDL-63231 filepicker: Skype validation for null values
Guillermo Alvarez [Fri, 24 Aug 2018 17:40:06 +0000 (12:40 -0500)]
MDL-63231 filepicker: Skype validation for null values

In file_get_all_files_in_draftarea function an integer could get
a null value so it is necessary to execute this function only
when is called with a valid integer value.

2 years agoMerge branch 'wip-MDL-62520_MASTER' of https://github.com/jason-platts/moodle
Jun Pataleta [Mon, 10 Sep 2018 08:22:48 +0000 (16:22 +0800)]
Merge branch 'wip-MDL-62520_MASTER' of https://github.com/jason-platts/moodle

2 years agoMDL-62554 tool_dataprivacy: Bump version for new WS functions
Jun Pataleta [Mon, 10 Sep 2018 03:52:36 +0000 (11:52 +0800)]
MDL-62554 tool_dataprivacy: Bump version for new WS functions

2 years agoMDL-62554 tool_dataprivacy: Fix display of activity options
Jun Pataleta [Tue, 4 Sep 2018 08:52:08 +0000 (16:52 +0800)]
MDL-62554 tool_dataprivacy: Fix display of activity options

2 years agoMDL-62554 tool_dataprivacy: Fix template for Bootstrapbase compatibility
Jun Pataleta [Mon, 3 Sep 2018 03:10:53 +0000 (11:10 +0800)]
MDL-62554 tool_dataprivacy: Fix template for Bootstrapbase compatibility

2 years agoMDL-62554 tool_dataprivacy: Remove defaults form
Jun Pataleta [Fri, 31 Aug 2018 03:29:10 +0000 (11:29 +0800)]
MDL-62554 tool_dataprivacy: Remove defaults form

With the changes in this issue, this form is no longer being used.

2 years agoMDL-62554 tool_dataprivacy: Behat tests for managing registry defaults
Jun Pataleta [Fri, 31 Aug 2018 03:22:45 +0000 (11:22 +0800)]
MDL-62554 tool_dataprivacy: Behat tests for managing registry defaults

* Also new step definitions and generator for:
  - Creating categories and purposes
  - Assigning category and purpose to context instances.

2 years agoMDL-62554 tool_dataprivacy: Unit tests for new WS/API functions
Jun Pataleta [Fri, 31 Aug 2018 03:21:08 +0000 (11:21 +0800)]
MDL-62554 tool_dataprivacy: Unit tests for new WS/API functions

2 years agoMDL-62554 tool_dataprivacy: Fix fetching of default contexts
Jun Pataleta [Fri, 31 Aug 2018 09:06:57 +0000 (17:06 +0800)]
MDL-62554 tool_dataprivacy: Fix fetching of default contexts

* We also need to handle default contexts for activities. If defaults
  for an activity is set, fetch that. If not, fetch the defaults for
  the context level.

2 years agoMDL-62554 tool_dataprivacy: Allow setting of activity defaults
Jun Pataleta [Fri, 31 Aug 2018 03:20:28 +0000 (11:20 +0800)]
MDL-62554 tool_dataprivacy: Allow setting of activity defaults

* Allow the setting of data registry defaults for activity modules.
* Rewrite the defaults page so that it uses templates.
* Use a tabbed layout for the defaults page that shows the default
  category and purpose per context level.
* New API and web service functions that enables the setting of the
  defaults.

2 years agoMDL-63321 block: Fix warning in Calendar month block after MDL-60587
Tim Lock [Fri, 7 Sep 2018 04:24:29 +0000 (13:54 +0930)]
MDL-63321 block: Fix warning in Calendar month block after MDL-60587

2 years agoAutomatically generated installer lang files
AMOS bot [Sat, 8 Sep 2018 00:07:23 +0000 (00:07 +0000)]
Automatically generated installer lang files

2 years agoMDL-50314 mod_quiz: removed hardcoded export columns
Tim Schroeder [Tue, 17 Jul 2018 10:54:06 +0000 (12:54 +0200)]
MDL-50314 mod_quiz: removed hardcoded export columns

* The columns 'institution', 'department' and 'email' are no longer
  automatically included in all quiz result exports.
* These columns can still be used, but have to be configured under
  'showuseridentity'.

2 years agoMDL-63136 mod_data: Check if the module is visible to the user
Shamim Rezaie [Thu, 6 Sep 2018 04:19:43 +0000 (14:19 +1000)]
MDL-63136 mod_data: Check if the module is visible to the user

2 years agoMDL-63136 mod_data: Add userid param to mod_data calendar callbacks
Shamim Rezaie [Mon, 20 Aug 2018 05:10:16 +0000 (15:10 +1000)]
MDL-63136 mod_data: Add userid param to mod_data calendar callbacks

2 years agoweekly release 3.6dev
Jun Pataleta [Fri, 7 Sep 2018 03:10:02 +0000 (11:10 +0800)]
weekly release 3.6dev

2 years agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Jun Pataleta [Fri, 7 Sep 2018 03:09:47 +0000 (11:09 +0800)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

2 years agoMDL-63130 core_message: add unit test
Mark Nelson [Thu, 6 Sep 2018 10:12:21 +0000 (18:12 +0800)]
MDL-63130 core_message: add unit test

2 years agoMDL-63130 message: message_count_unread_message counts sent messages
Pavel Sokolov [Tue, 14 Aug 2018 14:18:55 +0000 (17:18 +0300)]
MDL-63130 message: message_count_unread_message counts sent messages

2 years agoMDL-60820 workshop: Fix default value of submissiontypefile
David Mudrák [Wed, 5 Sep 2018 09:20:54 +0000 (11:20 +0200)]
MDL-60820 workshop: Fix default value of submissiontypefile

2 years agoMDL-62947 mod_feedback: fix feedback so it correctly uses forms API
Jake Dallimore [Thu, 26 Jul 2018 01:56:00 +0000 (09:56 +0800)]
MDL-62947 mod_feedback: fix feedback so it correctly uses forms API

Feedback code was doing the following, which is incompatible with the
sec-patched quickforms lib:
- appending '[0]' to non-group element names, meaning type checks in
getCleanType() were falling back to PARAM_RAW instead of PARAM_INT,
and meaning _findValue() was comparing elements it thought to be arrays
with scalar submit values (worked with eval() implementation as the 0th
element of a string was the character, but not working when patched).
- external unit tests incorrectly testing multichoice questions in the
process_page tests - patched lib highlighted failures.

It was also doing the following:
- actively setting null as default element values instead of 0 for
radio buttons and dropdowns (for 'not selected'). This is incompatible
with more recent quickforms lib (see MDL-63070).
- creating groups using addElement instead of addGroup - not recommended

This patch addresses the above.

2 years agoMDL-62947 core_form: fix remote code execution exploit in QuickForms
Jake Dallimore [Mon, 30 Jul 2018 06:14:54 +0000 (14:14 +0800)]
MDL-62947 core_form: fix remote code execution exploit in QuickForms

Applies the patch found upstream:
https://github.com/pear/HTML_QuickForm/commit/
d3a6d5c44dedf3c164c6c79198e4ef479bcedcd2 and make util methods static
for php7 compatibility.

2 years agoAutomatically generated installer lang files
AMOS bot [Wed, 5 Sep 2018 00:07:20 +0000 (00:07 +0000)]
Automatically generated installer lang files

2 years agoMDL-62748 course: maxsections is a limit
Damyon Wiese [Mon, 16 Jul 2018 07:58:49 +0000 (15:58 +0800)]
MDL-62748 course: maxsections is a limit

For course formats shipped with core, maxsections should be a limit to the number of sections
allowed in the course.

2 years agoMDL-62857 theme_boost: Better filtering on navbar / breadcrumbs
Mihail Geshoski [Mon, 20 Aug 2018 16:48:12 +0000 (18:48 +0200)]
MDL-62857 theme_boost: Better filtering on navbar / breadcrumbs

2 years agoMDL-62880 qtype_ddwtos: drop support for legacy import format
Tim Hunt [Mon, 9 Jul 2018 17:37:45 +0000 (18:37 +0100)]
MDL-62880 qtype_ddwtos: drop support for legacy import format

It was more than 8 years since we wrote in that format.

2 years agoMerge branch 'MDL-63249-master-enfix' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Tue, 4 Sep 2018 20:34:51 +0000 (22:34 +0200)]
Merge branch 'MDL-63249-master-enfix' of git://github.com/mudrd8mz/moodle

2 years agoMerge branch 'MDL-60578-master' of git://github.com/jleyva/moodle
Jun Pataleta [Tue, 4 Sep 2018 13:18:02 +0000 (21:18 +0800)]
Merge branch 'MDL-60578-master' of git://github.com/jleyva/moodle

2 years agoMerge branch 'MDL-62342-master' of git://github.com/mihailges/moodle
David Monllao [Tue, 4 Sep 2018 12:33:50 +0000 (14:33 +0200)]
Merge branch 'MDL-62342-master' of git://github.com/mihailges/moodle

2 years agoMDL-60578 mod_feedback: Handle correctly site feedbacks
Juan Leyva [Thu, 26 Oct 2017 10:43:28 +0000 (12:43 +0200)]
MDL-60578 mod_feedback: Handle correctly site feedbacks

2 years agoMDL-60578 mod_feedback: pass courseid to WS
Marina Glancy [Wed, 25 Oct 2017 05:41:32 +0000 (13:41 +0800)]
MDL-60578 mod_feedback: pass courseid to WS

2 years agoMDL-62347 output: Fix phpdoc param name
David Monllao [Tue, 4 Sep 2018 12:08:50 +0000 (14:08 +0200)]
MDL-62347 output: Fix phpdoc param name

2 years agoMerge branch 'MDL-62347-master' of git://github.com/bmbrands/moodle
David Monllao [Tue, 4 Sep 2018 12:05:41 +0000 (14:05 +0200)]
Merge branch 'MDL-62347-master' of git://github.com/bmbrands/moodle

2 years agoMerge branch 'MDL-60820-master-workshopsubmissiontypes' of git://github.com/mudrd8mz...
David Monllao [Tue, 4 Sep 2018 11:07:00 +0000 (13:07 +0200)]
Merge branch 'MDL-60820-master-workshopsubmissiontypes' of git://github.com/mudrd8mz/moodle

2 years agoMerge branch 'MDL-62944' of https://github.com/NeillM/moodle
David Monllao [Tue, 4 Sep 2018 10:15:36 +0000 (12:15 +0200)]
Merge branch 'MDL-62944' of https://github.com/NeillM/moodle

2 years agoMerge branch 'MDL-55993-master' of https://github.com/albertolarah/moodle
David Monllao [Tue, 4 Sep 2018 08:51:28 +0000 (10:51 +0200)]
Merge branch 'MDL-55993-master' of https://github.com/albertolarah/moodle

2 years agoMDL-63249 lang: Merge English strings from the en_fix language pack
Helen Foster [Tue, 4 Sep 2018 06:40:48 +0000 (08:40 +0200)]
MDL-63249 lang: Merge English strings from the en_fix language pack

Significant string changes:

* completionpass_help, gradetopassnotset in mod_quiz - grade to pass set
  in quiz settings not gradebook
* namecolumnmissing,core_cohort - fixing incorrect message about adding
  users to a cohort

2 years agoMerge branch 'MDL-60901' of git://github.com/stronk7/moodle
Jun Pataleta [Tue, 4 Sep 2018 02:17:23 +0000 (10:17 +0800)]
Merge branch 'MDL-60901' of git://github.com/stronk7/moodle

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

2 years agoMerge branch 'MDL-63255-master' of git://github.com/vmdef/moodle
Eloy Lafuente (stronk7) [Mon, 3 Sep 2018 21:31:00 +0000 (23:31 +0200)]
Merge branch 'MDL-63255-master' of git://github.com/vmdef/moodle

2 years agoMerge branch 'MDL-61742-master-inactiveproviders' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Mon, 3 Sep 2018 21:23:12 +0000 (23:23 +0200)]
Merge branch 'MDL-61742-master-inactiveproviders' of git://github.com/mudrd8mz/moodle

2 years agoMerge branch 'MDL-62848-master-placeholderwidth' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Mon, 3 Sep 2018 20:52:31 +0000 (22:52 +0200)]
Merge branch 'MDL-62848-master-placeholderwidth' of git://github.com/mudrd8mz/moodle

2 years agoMerge branch 'MDL-38301-master' of git://github.com/junpataleta/moodle
David Monllao [Mon, 3 Sep 2018 10:44:50 +0000 (12:44 +0200)]
Merge branch 'MDL-38301-master' of git://github.com/junpataleta/moodle

2 years agoMerge branch 'MDL-55744-master_atto_should_not_autosave_on_not_loggedin_users' of...
David Monllao [Mon, 3 Sep 2018 10:27:25 +0000 (12:27 +0200)]
Merge branch 'MDL-55744-master_atto_should_not_autosave_on_not_loggedin_users' of https://github.com/dravek/moodle

2 years agoMerge branch 'MDL-55993-master' of https://github.com/albertolarah/moodle into MDL...
Alberto Lara Hernández [Mon, 3 Sep 2018 10:18:58 +0000 (12:18 +0200)]
Merge branch 'MDL-55993-master' of https://github.com/albertolarah/moodle into MDL-55993-master

2 years agoMDL-55993 mod_assign: web services don´t set a URL.
Alberto Lara Hernández [Fri, 24 Aug 2018 10:47:20 +0000 (12:47 +0200)]
MDL-55993 mod_assign: web services don´t set a URL.

2 years agoMerge branch 'MDL-63238-master' of git://github.com/bmbrands/moodle
David Monllao [Mon, 3 Sep 2018 08:36:16 +0000 (10:36 +0200)]
Merge branch 'MDL-63238-master' of git://github.com/bmbrands/moodle

2 years agoMDL-60901 environment: 3.6 requirements
Eloy Lafuente (stronk7) [Mon, 3 Sep 2018 00:15:17 +0000 (02:15 +0200)]
MDL-60901 environment: 3.6 requirements

Changes include:
- MySQL 5.6 is required.
- PostgreSQL 8.4 is required.
- Oracle 11.2 is required.
- 64bits architecture is recommended.

2 years agoMDL-63255 core_user: fix harcoded sql table aliases
Víctor Déniz Falcón [Mon, 3 Sep 2018 05:53:40 +0000 (06:53 +0100)]
MDL-63255 core_user: fix harcoded sql table aliases

2 years agoMDL-62342 privacy: Fix strings used in the consent on behalf modal
Mihail Geshoski [Wed, 29 Aug 2018 03:48:55 +0000 (11:48 +0800)]
MDL-62342 privacy: Fix strings used in the consent on behalf modal

2 years agoMDL-62342 privacy: Use singular/plural form in labels
Mihail Geshoski [Wed, 25 Jul 2018 07:50:41 +0000 (15:50 +0800)]
MDL-62342 privacy: Use singular/plural form in labels

2 years agoMDL-56998 blog: Remove associated blog posts when module is deleted
Mihail Geshoski [Thu, 30 Aug 2018 06:45:09 +0000 (14:45 +0800)]
MDL-56998 blog: Remove associated blog posts when module is deleted

2 years agoAutomatically generated installer lang files
AMOS bot [Sun, 2 Sep 2018 00:07:18 +0000 (00:07 +0000)]
Automatically generated installer lang files

2 years agoAutomatically generated installer lang files
AMOS bot [Sat, 1 Sep 2018 00:07:18 +0000 (00:07 +0000)]
Automatically generated installer lang files

2 years agoMDL-62848 form: Fix width of the autocomplete input field
David Mudrák [Mon, 16 Jul 2018 19:50:49 +0000 (21:50 +0200)]
MDL-62848 form: Fix width of the autocomplete input field

Make sure that the autcomplete input field is wide enough to display the
placeholder text.

2 years agoMDL-62848 form: Fix missing support for {{#js}} helper in autocomplete
David Mudrák [Mon, 16 Jul 2018 19:45:13 +0000 (21:45 +0200)]
MDL-62848 form: Fix missing support for {{#js}} helper in autocomplete

The form-autocomplete module uses three Mustache templates
core/form_autocomplete_input, core/form_autocomplete_suggestions and
core/form_autocomplete_selection. However, it did not support executing
the JS that is eventually part of those templates.

2 years agoMDL-60820 workshop: Allow teacher to specify submission types
Mark Johnson [Fri, 17 Nov 2017 10:21:47 +0000 (10:21 +0000)]
MDL-60820 workshop: Allow teacher to specify submission types

This allows the teacher to define what students are supposed to submit
(online text and/or attachment) and if the given submission part is
required or optional.

2 years agoMDL-48846 filter: Stop reffering to invalid moodle.org/download/mimetex
Dan Poltawski [Fri, 31 Aug 2018 10:35:12 +0000 (12:35 +0200)]
MDL-48846 filter: Stop reffering to invalid moodle.org/download/mimetex

2 years agoMDL-61742 messaging: Do not send messages from inactive providers
David Mudrák [Thu, 15 Feb 2018 19:34:50 +0000 (20:34 +0100)]
MDL-61742 messaging: Do not send messages from inactive providers

Before this patch, we only checked that the given provider has been
configured in the user or system preferences. However, if the provider's
component is disabled, it does not even appear in these preferences.
Additionally, there was no check that the message / notification
provider is among providers allowed to be consumed by the recipient.

The patch checks that the message origin is among providers returned by
the message_get_providers_for_user() so disabled plugins can't act as
sources of messages and users can't receive messages from providers they
do not have capability for. This mitigates the risk of abusing a plugin
as a source of spam, for example.

Unit test is fixed and extended. When the $CFG->messaging is disabled,
no messages between users should be sent (I can't understand why the
unit test was written in an opposite way). Added assertions for the
raised debugging message.

2 years agoMDL-62944 calendar: Clarify the intended use of $checkcapability
Neill Magill [Fri, 24 Aug 2018 09:06:11 +0000 (10:06 +0100)]
MDL-62944 calendar: Clarify the intended use of $checkcapability

2 years agoMDL-62944 calendar: Fix actionevent logic on template
Simey Lameze [Mon, 6 Aug 2018 04:55:17 +0000 (12:55 +0800)]
MDL-62944 calendar: Fix actionevent logic on template

During the calendar work, we have added the feature of
drag and drop activity event or "action events".

The problem at that time was, action events could not be
editable through the calendar UI, but should be allowed
to drag and drop. So, we couldn't use the return of
calendar_edit_event_allowed() because it can return true
(in case of teachers, that have permission to change the
activity) and the attribute isactionevent was created to
control on the UI if the user is viewing an action event.

So what my patch does is just add the check if we are
viewing an action event, and in this case, it won't display
the cog to edit that event.

2 years agoMDL-62944 activities: Activities should not require capability
Neill Magill [Thu, 19 Jul 2018 09:55:32 +0000 (10:55 +0100)]
MDL-62944 activities: Activities should not require capability

Activities should not require the user manipulating them to have
calendar capabilities for their events to be added to the Moodle
calendar

2 years agoMDL-62944 activities: Test adding activities with no calendar capability
Neill Magill [Fri, 3 Aug 2018 13:26:57 +0000 (14:26 +0100)]
MDL-62944 activities: Test adding activities with no calendar capability

2 years agoMDL-62944 completion: Calendar capabilities should not be required
Neill Magill [Thu, 19 Jul 2018 09:46:02 +0000 (10:46 +0100)]
MDL-62944 completion: Calendar capabilities should not be required

The completion API should not require a user to have the capability to
add calendar events for it to function correctly.

2 years agoMDL-62944 completion: Test that completion dates add events to calendar
Neill Magill [Fri, 3 Aug 2018 13:26:14 +0000 (14:26 +0100)]
MDL-62944 completion: Test that completion dates add events to calendar

When a user does not have calendar capabilities completion dates should
still be created correctly.

2 years agoMDL-62944 mod_data: Action menu missing from database pages
Neill Magill [Mon, 6 Aug 2018 08:46:44 +0000 (09:46 +0100)]
MDL-62944 mod_data: Action menu missing from database pages

The action menu was missing from many of the database activity pages,
which meant that it could not be accessed until enough had been done to
the activity to make the editing tabs that used view.php accessible.

2 years agoweekly release 3.6dev
Eloy Lafuente (stronk7) [Thu, 30 Aug 2018 17:03:58 +0000 (19:03 +0200)]
weekly release 3.6dev

2 years agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Eloy Lafuente (stronk7) [Thu, 30 Aug 2018 17:03:55 +0000 (19:03 +0200)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

2 years agoMerge branch 'MDL-62535-master-fix' of github.com:abgreeve/moodle
Andrew Nicols [Thu, 30 Aug 2018 05:49:15 +0000 (13:49 +0800)]
Merge branch 'MDL-62535-master-fix' of github.com:abgreeve/moodle

2 years agoMDL-62535 grading methods: Unit test update for fix.
Adrian Greeve [Thu, 30 Aug 2018 05:19:21 +0000 (13:19 +0800)]
MDL-62535 grading methods: Unit test update for fix.

2 years agoMDL-62535 grading methods: Fix for multiple intances.
Adrian Greeve [Thu, 30 Aug 2018 03:35:52 +0000 (11:35 +0800)]
MDL-62535 grading methods: Fix for multiple intances.

We were only exporting the one instance per item id.
Instead we should have been exporting all instances for each
item id.

2 years agoAutomatically generated installer lang files
AMOS bot [Thu, 30 Aug 2018 00:07:55 +0000 (00:07 +0000)]
Automatically generated installer lang files