moodle.git
2 years agoon-demand release 3.7dev+
Eloy Lafuente (stronk7) [Tue, 2 Apr 2019 13:54:35 +0000 (15:54 +0200)]
on-demand release 3.7dev+

2 years agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Eloy Lafuente (stronk7) [Tue, 2 Apr 2019 13:54:29 +0000 (15:54 +0200)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

2 years agoMerge branch 'MDL-64331-master' of git://github.com/damyon/moodle
Jun Pataleta [Tue, 2 Apr 2019 02:58:15 +0000 (10:58 +0800)]
Merge branch 'MDL-64331-master' of git://github.com/damyon/moodle

2 years agoMerge branch 'MDL-65138-master' of git://github.com/lameze/moodle
Adrian Greeve [Tue, 2 Apr 2019 02:37:34 +0000 (10:37 +0800)]
Merge branch 'MDL-65138-master' of git://github.com/lameze/moodle

2 years agoMerge branch 'MDL-65144-master' of git://github.com/damyon/moodle
Adrian Greeve [Tue, 2 Apr 2019 02:15:18 +0000 (10:15 +0800)]
Merge branch 'MDL-65144-master' of git://github.com/damyon/moodle

2 years agoMDL-64331 modals: Be careful closing modals
Damyon Wiese [Thu, 28 Mar 2019 01:14:10 +0000 (09:14 +0800)]
MDL-64331 modals: Be careful closing modals

Don't close a modal when the user clicks outside of it and the modal contains a form.

2 years agoMerge branch 'MDL-61667-master-modelsinstall' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Mon, 1 Apr 2019 22:20:47 +0000 (00:20 +0200)]
Merge branch 'MDL-61667-master-modelsinstall' of git://github.com/mudrd8mz/moodle

2 years agoMerge branch 'MDL-64636-master' of https://github.com/vmdef/moodle
Eloy Lafuente (stronk7) [Mon, 1 Apr 2019 22:01:22 +0000 (00:01 +0200)]
Merge branch 'MDL-64636-master' of https://github.com/vmdef/moodle

2 years agoMDL-61667 analytics: Remove duplicated capability checks
David Monllaó [Mon, 1 Apr 2019 09:57:14 +0000 (11:57 +0200)]
MDL-61667 analytics: Remove duplicated capability checks

\core_analytics\model::create and \core_analytics\model::enable methods
are called from install/upgrade scripts. Therefore, they should not
include any capability check. Their capability checks are actually
redundant, as the user capabilities are already checked in the
entry-point scripts.

2 years agoMDL-61667 analytics: Fix coding style issues in the existing code
David Mudrák [Wed, 6 Mar 2019 11:20:20 +0000 (12:20 +0100)]
MDL-61667 analytics: Fix coding style issues in the existing code

These coding style issues were spotted while working on the issue. No
real changes here, just the coding style fixes attached to the patchset
for convenience.

2 years agoMDL-61667 analytics: Create missing models on install/upgrade
David Mudrák [Tue, 12 Mar 2019 08:45:26 +0000 (09:45 +0100)]
MDL-61667 analytics: Create missing models on install/upgrade

Similarly to how the scheduled tasks work, we now automatically check
and make sure that all the models specified in the component's
db/analytics.php file exist during the installation or upgrade of the
component.

2 years agoMDL-61667 analytics: Fix checking that a given model does not exist
David Mudrák [Tue, 12 Mar 2019 08:09:26 +0000 (09:09 +0100)]
MDL-61667 analytics: Fix checking that a given model does not exist

The original implementation did not work well for checking that the
given model does NOT exist. If no record was found in the
analytics_models table, the code execution continued and it reached the
moment when indicators were checked. If no indicators were provided, the
call ended up with error 'array_keys() expects parameter 1 to be array,
boolean given' (because indicators were set to false).

2 years agoMDL-61667 analytics: Deprecate the add_builtin_models() method
David Mudrák [Tue, 12 Mar 2019 07:50:47 +0000 (08:50 +0100)]
MDL-61667 analytics: Deprecate the add_builtin_models() method

The functionality of the \core_analytics\manager::add_builtin_models()
method is to be replaced with automatic update of models provided by the
core moodle component. There is no need to call this method explicitly
any more. Instead, adding new models will be done by updating the
lib/db/analytics.php file and bumping the core version.

2 years agoMDL-61667 analytics: Add method to actually create a declared model
David Mudrák [Mon, 11 Mar 2019 13:11:17 +0000 (14:11 +0100)]
MDL-61667 analytics: Add method to actually create a declared model

This is simply a wrapper around the model's create() method that works
with the model declaration syntax from the db/analytics.php file.

2 years agoMDL-61667 analytics: Add methods to read and validate model declarations
David Mudrák [Wed, 6 Mar 2019 19:24:06 +0000 (20:24 +0100)]
MDL-61667 analytics: Add methods to read and validate model declarations

Allow every component to declare prediction models it provides via the
db/analytics.php file.

2 years agoMDL-61667 analytics: Don't autoenable models with time splitting defined
David Mudrák [Mon, 25 Mar 2019 11:57:31 +0000 (12:57 +0100)]
MDL-61667 analytics: Don't autoenable models with time splitting defined

When the API had originally been designed, it was assumed that the
presence of the time splitting method implies no requirement for the
machine learning backend and that it is a sign of less performance
demanding models. So it seemed to be safe and useful to have such models
automatically enabled. That assumption did not prove to be valid. Most
of the time is spent calculating indicators that depend on log tables.

We realized it would be useful to be able to specify the default time
splitting method without the need to have such models auto-enabled.

2 years agoMerge branch 'MDL-65050-master-fix' of git://github.com/lameze/moodle
Adrian Greeve [Mon, 1 Apr 2019 08:05:34 +0000 (16:05 +0800)]
Merge branch 'MDL-65050-master-fix' of git://github.com/lameze/moodle

2 years agoMDL-65050 core: add missing lib file include
Simey Lameze [Mon, 1 Apr 2019 07:28:30 +0000 (15:28 +0800)]
MDL-65050 core: add missing lib file include

2 years agoMDL-65144 output: Add img-fluid to logo
Damyon Wiese [Fri, 22 Mar 2019 01:06:56 +0000 (09:06 +0800)]
MDL-65144 output: Add img-fluid to logo

Extra wide logos do not scale to the screen size - this change adds the bootstrap class
img-fluid to logos on the loginpage, signupform and in the context header.

Thanks to Maksud R for working on this.

2 years agoMDL-65138 course: add a setting for course publishing
Simey Lameze [Tue, 26 Mar 2019 01:46:23 +0000 (09:46 +0800)]
MDL-65138 course: add a setting for course publishing

2 years agoMerge branch 'MDL-65089_master' of https://github.com/dvdcastro/moodle
Jake Dallimore [Mon, 1 Apr 2019 07:28:48 +0000 (15:28 +0800)]
Merge branch 'MDL-65089_master' of https://github.com/dvdcastro/moodle

2 years agoMerge branch 'MDL-64194-37_block_myoverview_incorrect_pagination' of https://github...
Jake Dallimore [Mon, 1 Apr 2019 06:36:01 +0000 (14:36 +0800)]
Merge branch 'MDL-64194-37_block_myoverview_incorrect_pagination' of https://github.com/tomdickman/moodle

2 years agoMerge branch 'MDL-64524-master' of git://github.com/damyon/moodle
Jun Pataleta [Mon, 1 Apr 2019 05:46:48 +0000 (13:46 +0800)]
Merge branch 'MDL-64524-master' of git://github.com/damyon/moodle

2 years agoMerge branch 'MDL-65050-master' of git://github.com/lameze/moodle
Adrian Greeve [Mon, 1 Apr 2019 05:32:38 +0000 (13:32 +0800)]
Merge branch 'MDL-65050-master' of git://github.com/lameze/moodle

2 years agoMDL-65050 core: delete orphaned files and functions
Simey Lameze [Thu, 28 Mar 2019 08:38:49 +0000 (16:38 +0800)]
MDL-65050 core: delete orphaned files and functions

2 years agoMDL-65050 core: add question_stats_cleanup_task scheduled task
Simey Lameze [Thu, 28 Mar 2019 08:32:21 +0000 (16:32 +0800)]
MDL-65050 core: add question_stats_cleanup_task scheduled task

This commit also removes orphaned question/engine/statisticslib.php

2 years agoMDL-65050 core: move function code to question_preview_cleanup_task
Simey Lameze [Thu, 28 Mar 2019 08:28:04 +0000 (16:28 +0800)]
MDL-65050 core: move function code to question_preview_cleanup_task

This commit also deletes the legacy question_preview_cron() function.

2 years agoMDL-65050 core: rename task to question_preview_cleanup_task
Simey Lameze [Thu, 28 Mar 2019 08:15:37 +0000 (16:15 +0800)]
MDL-65050 core: rename task to question_preview_cleanup_task

2 years agoMDL-64524 gradingform_guide: Marking guide comments
Damyon Wiese [Wed, 9 Jan 2019 02:28:02 +0000 (10:28 +0800)]
MDL-64524 gradingform_guide: Marking guide comments

When there are too many comments, scroll the list so they still fit in the dialogue.

2 years agoMDL-64524 assign: Styles editpdf comments
Damyon Wiese [Wed, 9 Jan 2019 02:19:55 +0000 (10:19 +0800)]
MDL-64524 assign: Styles editpdf comments

Properly display the list of comments, but limiting their size (use title to indicate the full comments).
When there are too many comments, show a scrollbar in the menu.

2 years agoMerge branch 'MDL-63906_master' of git://github.com/dmonllao/moodle
Jun Pataleta [Mon, 1 Apr 2019 02:32:10 +0000 (10:32 +0800)]
Merge branch 'MDL-63906_master' of git://github.com/dmonllao/moodle

2 years agoMerge branch 'MDL-65173_master' of git://github.com/markn86/moodle
Adrian Greeve [Mon, 1 Apr 2019 02:21:10 +0000 (10:21 +0800)]
Merge branch 'MDL-65173_master' of git://github.com/markn86/moodle

2 years ago MDL-64636 analytics: new course_completion target
Victor Deniz Falcon [Fri, 29 Mar 2019 10:29:45 +0000 (10:29 +0000)]
 MDL-64636 analytics: new course_completion target

Added new target to predict which students are at risk of not meeting
the course completion criteria.

2 years agoMDL-64636 analytics: base class for course completion targets
Víctor Déniz Falcón [Tue, 26 Mar 2019 22:52:58 +0000 (22:52 +0000)]
MDL-64636 analytics: base class for course completion targets

Added new parent class for targets that use course as analysable and
student enrolments as samples. course_dropout target was modified to
extend that parent class.

2 years agoMerge branch 'MDL-63876-master-fix' of git://github.com/junpataleta/moodle
Jun Pataleta [Fri, 29 Mar 2019 04:15:00 +0000 (12:15 +0800)]
Merge branch 'MDL-63876-master-fix' of git://github.com/junpataleta/moodle

2 years agoMDL-63876 tool_lp: Fix illegal whitespace
Jun Pataleta [Fri, 29 Mar 2019 04:13:48 +0000 (12:13 +0800)]
MDL-63876 tool_lp: Fix illegal whitespace

2 years agoMerge branch 'MDL-63876-master' of git://github.com/damyon/moodle
Jun Pataleta [Fri, 29 Mar 2019 03:45:29 +0000 (11:45 +0800)]
Merge branch 'MDL-63876-master' of git://github.com/damyon/moodle

2 years agoMDL-63876 badges: Competency deletion
Damyon Wiese [Fri, 29 Mar 2019 01:48:10 +0000 (09:48 +0800)]
MDL-63876 badges: Competency deletion

Do not delete a competency if it is a criteria for a badge.

2 years agoMDL-63876 competencies: Skip enabled check
Damyon Wiese [Fri, 15 Mar 2019 08:06:32 +0000 (16:06 +0800)]
MDL-63876 competencies: Skip enabled check

Allow rendering a competency summary if competencies are disabled, but do not include
links to competencies pages.

2 years agoMDL-63876 badges: Coding style
Damyon Wiese [Tue, 19 Feb 2019 04:49:01 +0000 (12:49 +0800)]
MDL-63876 badges: Coding style

Add comments to document function params and template example context.

2 years agoMDL-63876 badges: Allow criteria to be optional
Damyon Wiese [Tue, 19 Feb 2019 04:10:58 +0000 (12:10 +0800)]
MDL-63876 badges: Allow criteria to be optional

Competencies criteria type is only added if competencies are enabled.

2 years agoMDL-63876 competencies: Use direct URL
Damyon Wiese [Fri, 25 Jan 2019 03:04:59 +0000 (11:04 +0800)]
MDL-63876 competencies: Use direct URL

Instead of showing competencies in a dialogue, give them their own full url to
display the competency in the framework it belongs to. This is useful for exported
data that won't have access to javascript.

2 years agoMDL-63876 badges: Do not call tool_lp directly
Damyon Wiese [Wed, 23 Jan 2019 08:29:52 +0000 (16:29 +0800)]
MDL-63876 badges: Do not call tool_lp directly

2 years agoMDL-63876 badges: Add competency criteria
Damyon Wiese [Thu, 17 Jan 2019 03:35:57 +0000 (11:35 +0800)]
MDL-63876 badges: Add competency criteria

Properly integration badges with competencies provided in Moodle.

Automatically grant the badge when the defined competencies are marked as proficient.

2 years agoMDL-63876 badges: Remove invalid table from badges
Damyon Wiese [Mon, 21 Jan 2019 04:10:07 +0000 (12:10 +0800)]
MDL-63876 badges: Remove invalid table from badges

2 years agoMDL-64194 block_myoverview: incorrect pagination
Tom Dickman [Sun, 17 Mar 2019 23:36:45 +0000 (10:36 +1100)]
MDL-64194 block_myoverview: incorrect pagination

The pagination was found to be incorrect due to the all the items event not being triggered if the amount
of courses the user has is equal to the amount set via pagination.
The condition could not just be changed to `>=` as this would trigger the event when there were further
pages to display.
A check of `remainingCourses` was added to condition so if the amount of courses on the current loaded
page is less than the pagination amount, or there are no remaining courses, the all items event is
triggered and the pagination bar hidden correctly.

2 years agoAutomatically generated installer lang files
AMOS bot [Fri, 29 Mar 2019 00:15:16 +0000 (00:15 +0000)]
Automatically generated installer lang files

2 years agoMDL-65089 glossary: Enforcing case comparison in SQL.
David Castro [Fri, 15 Mar 2019 17:09:43 +0000 (12:09 -0500)]
MDL-65089 glossary: Enforcing case comparison in SQL.

2 years agoweekly release 3.7dev
Eloy Lafuente (stronk7) [Thu, 28 Mar 2019 15:48:59 +0000 (16:48 +0100)]
weekly release 3.7dev

2 years agoNOBUG: Fixed SVG browser compatibility
Eloy Lafuente (stronk7) [Thu, 28 Mar 2019 15:48:54 +0000 (16:48 +0100)]
NOBUG: Fixed SVG browser compatibility

2 years agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Eloy Lafuente (stronk7) [Thu, 28 Mar 2019 15:48:52 +0000 (16:48 +0100)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

2 years agoMerge branch 'MDL-63196-master' of git://github.com/lameze/moodle
Eloy Lafuente (stronk7) [Wed, 27 Mar 2019 23:12:27 +0000 (00:12 +0100)]
Merge branch 'MDL-63196-master' of git://github.com/lameze/moodle

2 years agoMerge branch 'MDL-64996-master-untrainedstaticmodels' of git://github.com/mudrd8mz...
Eloy Lafuente (stronk7) [Wed, 27 Mar 2019 22:42:13 +0000 (23:42 +0100)]
Merge branch 'MDL-64996-master-untrainedstaticmodels' of git://github.com/mudrd8mz/moodle

2 years agoMerge branch 'MDL-62992-master' of git://github.com/lameze/moodle
Eloy Lafuente (stronk7) [Wed, 27 Mar 2019 22:05:56 +0000 (23:05 +0100)]
Merge branch 'MDL-62992-master' of git://github.com/lameze/moodle

2 years agoMerge branch 'MDL-64664-master' of git://github.com/cescobedo/moodle
Eloy Lafuente (stronk7) [Wed, 27 Mar 2019 21:58:27 +0000 (22:58 +0100)]
Merge branch 'MDL-64664-master' of git://github.com/cescobedo/moodle

2 years agoMerge branch 'MDL-65044-master' of git://github.com/lameze/moodle
Eloy Lafuente (stronk7) [Wed, 27 Mar 2019 21:44:43 +0000 (22:44 +0100)]
Merge branch 'MDL-65044-master' of git://github.com/lameze/moodle

2 years agoMerge branch 'MDL-65047-master' of git://github.com/lameze/moodle
Eloy Lafuente (stronk7) [Wed, 27 Mar 2019 21:30:18 +0000 (22:30 +0100)]
Merge branch 'MDL-65047-master' of git://github.com/lameze/moodle

2 years agoMerge branch 'MDL-65051-master' of git://github.com/lameze/moodle
Eloy Lafuente (stronk7) [Wed, 27 Mar 2019 21:27:25 +0000 (22:27 +0100)]
Merge branch 'MDL-65051-master' of git://github.com/lameze/moodle

2 years agoMDL-64664 core_message: Create more specific selector to contact menu
cescobedo [Wed, 27 Mar 2019 12:43:09 +0000 (13:43 +0100)]
MDL-64664 core_message: Create more specific selector to contact menu

2 years agoMerge branch 'MDL-63995-master' of https://github.com/chocolate-lightning/moodle
Jun Pataleta [Wed, 27 Mar 2019 08:07:34 +0000 (16:07 +0800)]
Merge branch 'MDL-63995-master' of https://github.com/chocolate-lightning/moodle

2 years agoMDL-63995 blocks: correct typos from review
Mathew May [Wed, 27 Mar 2019 08:05:56 +0000 (16:05 +0800)]
MDL-63995 blocks: correct typos from review

2 years agoMerge branch 'MDL-64937-master' of https://github.com/lucaboesch/moodle
Jun Pataleta [Wed, 27 Mar 2019 06:37:16 +0000 (14:37 +0800)]
Merge branch 'MDL-64937-master' of https://github.com/lucaboesch/moodle

2 years agoMDL-65051 core: delete duplicated plagiarism_cron()
Simey Lameze [Wed, 27 Mar 2019 03:37:01 +0000 (11:37 +0800)]
MDL-65051 core: delete duplicated plagiarism_cron()

2 years agoMDL-65051 core: delete plagiarism_cron() function
Simey Lameze [Wed, 27 Mar 2019 03:35:34 +0000 (11:35 +0800)]
MDL-65051 core: delete plagiarism_cron() function

2 years agoMDL-65051 plagiarism: convert legacy cron function to task
Simey Lameze [Fri, 22 Mar 2019 06:03:43 +0000 (14:03 +0800)]
MDL-65051 plagiarism: convert legacy cron function to task

2 years agoMDL-65044 core: remove legacy grade_cron() function
Simey Lameze [Tue, 12 Mar 2019 02:43:32 +0000 (10:43 +0800)]
MDL-65044 core: remove legacy grade_cron() function

2 years agoMDL-65044 core: add task for grade history cleanup
Simey Lameze [Fri, 15 Mar 2019 04:03:10 +0000 (12:03 +0800)]
MDL-65044 core: add task for grade history cleanup

2 years agoMDL-65047 portifolio: delete legacy portfolio_cron() function
Simey Lameze [Wed, 27 Mar 2019 03:04:40 +0000 (11:04 +0800)]
MDL-65047 portifolio: delete legacy portfolio_cron() function

2 years agoMerge branch 'MDL-65008_master' of https://github.com/dvdcastro/moodle
Jun Pataleta [Wed, 27 Mar 2019 02:41:06 +0000 (10:41 +0800)]
Merge branch 'MDL-65008_master' of https://github.com/dvdcastro/moodle

2 years agoMDL-62992 quiz: fix tags filtering on random question modal
Simey Lameze [Wed, 6 Mar 2019 02:30:36 +0000 (10:30 +0800)]
MDL-62992 quiz: fix tags filtering on random question modal

2 years agoMDL-62992 question: conditionaly enable question tags feature
Simey Lameze [Wed, 6 Mar 2019 02:25:28 +0000 (10:25 +0800)]
MDL-62992 question: conditionaly enable question tags feature

2 years agoMerge branch 'MDL-43130' of https://github.com/paulholden/moodle
Eloy Lafuente (stronk7) [Tue, 26 Mar 2019 23:17:27 +0000 (00:17 +0100)]
Merge branch 'MDL-43130' of https://github.com/paulholden/moodle

2 years agoMerge branch 'MDL-65081-master' of git://github.com/junpataleta/moodle
Eloy Lafuente (stronk7) [Tue, 26 Mar 2019 21:38:06 +0000 (22:38 +0100)]
Merge branch 'MDL-65081-master' of git://github.com/junpataleta/moodle

2 years agoMerge branch 'MDL-64252-master' of git://github.com/jleyva/moodle
Eloy Lafuente (stronk7) [Tue, 26 Mar 2019 21:34:50 +0000 (22:34 +0100)]
Merge branch 'MDL-64252-master' of git://github.com/jleyva/moodle

2 years agoMerge branch 'MDL-64642-master' of https://github.com/albertgasset/moodle
Sara Arjona [Tue, 26 Mar 2019 18:36:21 +0000 (19:36 +0100)]
Merge branch 'MDL-64642-master' of https://github.com/albertgasset/moodle

2 years agoMDL-64642 tool_mobile: Web service tool_mobile_call_external_functions
Albert Gasset [Mon, 21 Jan 2019 16:00:17 +0000 (17:00 +0100)]
MDL-64642 tool_mobile: Web service tool_mobile_call_external_functions

2 years agoMerge branch 'MDL-64365_hideif_forum' of git://github.com/davosmith/moodle
Sara Arjona [Tue, 26 Mar 2019 14:11:28 +0000 (15:11 +0100)]
Merge branch 'MDL-64365_hideif_forum' of git://github.com/davosmith/moodle

2 years agoMerge branch 'MDL-64337-master' of git://github.com/jleyva/moodle
Sara Arjona [Tue, 26 Mar 2019 13:55:09 +0000 (14:55 +0100)]
Merge branch 'MDL-64337-master' of git://github.com/jleyva/moodle

2 years agoMDL-64337 tool_mobile: Add app promotion text in email notifications
Juan Leyva [Fri, 1 Feb 2019 11:39:00 +0000 (12:39 +0100)]
MDL-64337 tool_mobile: Add app promotion text in email notifications

2 years agoMDL-64337 core: New _pre_processor_message_send callback
Juan Leyva [Fri, 1 Feb 2019 11:38:23 +0000 (12:38 +0100)]
MDL-64337 core: New _pre_processor_message_send callback

We need this callback to be able to manipulate any message or notification data.

2 years agoMerge branch 'MDL-63152-master' of git://github.com/rezaies/moodle
Eloy Lafuente (stronk7) [Tue, 26 Mar 2019 12:28:07 +0000 (13:28 +0100)]
Merge branch 'MDL-63152-master' of git://github.com/rezaies/moodle

2 years agoMerge branch 'MDL-63149-master' of git://github.com/rezaies/moodle
Eloy Lafuente (stronk7) [Tue, 26 Mar 2019 12:24:59 +0000 (13:24 +0100)]
Merge branch 'MDL-63149-master' of git://github.com/rezaies/moodle

2 years agoMerge branch 'MDL-63151-master' of git://github.com/rezaies/moodle
Eloy Lafuente (stronk7) [Tue, 26 Mar 2019 12:13:15 +0000 (13:13 +0100)]
Merge branch 'MDL-63151-master' of git://github.com/rezaies/moodle

2 years agoMerge branch 'MDL-64705-master' of git://github.com/jleyva/moodle
Sara Arjona [Tue, 26 Mar 2019 08:14:13 +0000 (09:14 +0100)]
Merge branch 'MDL-64705-master' of git://github.com/jleyva/moodle

2 years agoMDL-64705 notes: Make notes WS return permissions information
Juan Leyva [Wed, 30 Jan 2019 16:01:48 +0000 (17:01 +0100)]
MDL-64705 notes: Make notes WS return permissions information

We need to know some capabilities in order to enable users to manage notes.

2 years agoMerge branch 'MDL-64615-master' of git://github.com/jleyva/moodle
Sara Arjona [Mon, 25 Mar 2019 17:20:01 +0000 (18:20 +0100)]
Merge branch 'MDL-64615-master' of git://github.com/jleyva/moodle

2 years agoMerge branch 'MDL-64658-master' of git://github.com/jleyva/moodle
Sara Arjona [Mon, 25 Mar 2019 14:43:35 +0000 (15:43 +0100)]
Merge branch 'MDL-64658-master' of git://github.com/jleyva/moodle

2 years agoMDL-64658 files: Support constant to avoid file merging
Juan Leyva [Wed, 6 Feb 2019 15:05:48 +0000 (16:05 +0100)]
MDL-64658 files: Support constant to avoid file merging

... in file_save_draft_area_files

2 years agoMerge branch 'MDL-64790-master_apidoc_fix' of https://github.com/nicoroeser/moodle
Sara Arjona [Mon, 25 Mar 2019 11:37:54 +0000 (12:37 +0100)]
Merge branch 'MDL-64790-master_apidoc_fix' of https://github.com/nicoroeser/moodle

2 years agoMDL-64996 analytics: Make sure the no_teaching model is trained
David Mudrák [Tue, 5 Mar 2019 19:01:28 +0000 (20:01 +0100)]
MDL-64996 analytics: Make sure the no_teaching model is trained

Due to the bug, the no_teaching model might have been marked as
not-trained in the database. Static predictions models (i.e. those using
a target based on assumptions, not facts) are always considered as
trained. If they were marked as not-trained, the prediction scheduled
task would skip them and they would produce no predictions.

Ideally, such a fix should be done for all static models. But there is
no easy way to do it during the upgrade where accessing the analytics
API is not possible. I don't think there are many models out there that
would be affected by this so this seems to be good enough solution for
now (and the future ability to reset models will cover the rest).

2 years agoMDL-65173 message_email: removed bogus logic
Mark Nelson [Mon, 25 Mar 2019 09:12:53 +0000 (17:12 +0800)]
MDL-65173 message_email: removed bogus logic

This reverts commit 0f38e629708ee4ff1d2d357357268a46ca9c19ec.

2 years agoMDL-64996 analytics: Don't mark static model as untrained after clearing
David Mudrák [Tue, 5 Mar 2019 18:57:52 +0000 (19:57 +0100)]
MDL-64996 analytics: Don't mark static model as untrained after clearing

Static predictions models (i.e. those using a target based on
assumptions, not facts) are always considered as trained. Clearing them
must not mark them as untrained. Doing so would make them being skipped
by the prediction scheduled task.

2 years agoMerge branch 'MDL-60339-master' of git://github.com/Chocolate-lightning/moodle
Adrian Greeve [Mon, 25 Mar 2019 03:09:54 +0000 (11:09 +0800)]
Merge branch 'MDL-60339-master' of git://github.com/Chocolate-lightning/moodle

2 years agoMerge branch 'MDL-64492-master' of git://github.com/damyon/moodle
Adrian Greeve [Mon, 25 Mar 2019 02:58:05 +0000 (10:58 +0800)]
Merge branch 'MDL-64492-master' of git://github.com/damyon/moodle

2 years agoMerge branch 'MDL-64820-master-fix' of git://github.com/junpataleta/moodle
Jun Pataleta [Mon, 25 Mar 2019 01:38:56 +0000 (09:38 +0800)]
Merge branch 'MDL-64820-master-fix' of git://github.com/junpataleta/moodle

2 years agoMerge branch 'MDL-64820-master-fix' of https://github.com/andrewnicols/moodle
Jun Pataleta [Mon, 25 Mar 2019 01:38:04 +0000 (09:38 +0800)]
Merge branch 'MDL-64820-master-fix' of https://github.com/andrewnicols/moodle

2 years agoMDL-64820 forum: Correct capability check and redir
Andrew Nicols [Mon, 25 Mar 2019 01:36:49 +0000 (09:36 +0800)]
MDL-64820 forum: Correct capability check and redir

2 years agoAutomatically generated installer lang files
AMOS bot [Mon, 25 Mar 2019 00:09:15 +0000 (00:09 +0000)]
Automatically generated installer lang files

2 years agoMDL-64820 forum: Pass legacy forum record to rss
Andrew Nicols [Mon, 25 Mar 2019 00:08:17 +0000 (08:08 +0800)]
MDL-64820 forum: Pass legacy forum record to rss

2 years agoMDL-64820 forum: Remove duplicate column for discussion
Andrew Nicols [Mon, 25 Mar 2019 00:08:10 +0000 (08:08 +0800)]
MDL-64820 forum: Remove duplicate column for discussion