Eloy Lafuente (stronk7) [Mon, 20 Jan 2020 21:27:20 +0000 (22:27 +0100)]
Merge branch 'MDL-66712-master-selfautounenrol' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Mon, 20 Jan 2020 19:13:29 +0000 (20:13 +0100)]
Merge branch 'MDL-65884' of https://github.com/paulholden/moodle
Eloy Lafuente (stronk7) [Mon, 20 Jan 2020 09:53:18 +0000 (10:53 +0100)]
Merge branch 'MDL-67724-master' of git://github.com/junpataleta/moodle
Jun Pataleta [Mon, 20 Jan 2020 08:36:40 +0000 (16:36 +0800)]
Merge branch 'MDL-66883-master' of git://github.com/bmbrands/moodle
Sara Arjona [Mon, 20 Jan 2020 07:18:49 +0000 (08:18 +0100)]
Merge branch 'MDL-67245' of https://github.com/paulholden/moodle
Simey Lameze [Thu, 21 Nov 2019 10:36:05 +0000 (18:36 +0800)]
MDL-67312 core_user: clean subs events on user deletion
Simey Lameze [Thu, 21 Nov 2019 00:36:22 +0000 (08:36 +0800)]
MDL-67312 calendar: upgrade step to delete orphaned events
Simey Lameze [Mon, 25 Nov 2019 12:23:05 +0000 (20:23 +0800)]
MDL-67312 core: change db upgrade step to use get_fieldset_sql
Adrian Greeve [Mon, 20 Jan 2020 06:40:19 +0000 (14:40 +0800)]
Merge branch 'MDL-66761-master' of git://github.com/mickhawkins/moodle
Adrian Greeve [Mon, 20 Jan 2020 05:34:31 +0000 (13:34 +0800)]
Merge branch 'MDL-67583-master' of https://github.com/KietChan/moodle
Adrian Greeve [Mon, 20 Jan 2020 02:38:51 +0000 (10:38 +0800)]
Merge branch 'MDL-59594-SIGINT' of https://github.com/brendanheywood/moodle
Adrian Greeve [Mon, 20 Jan 2020 01:53:27 +0000 (09:53 +0800)]
Merge branch 'MDL-62815_mod_lti' of git://github.com/davosmith/moodle
Paul Holden [Tue, 17 Dec 2019 19:17:00 +0000 (19:17 +0000)]
MDL-67245 group: Behat updates to account for member identity fields.
Paul Holden [Tue, 7 Jan 2020 16:18:56 +0000 (16:18 +0000)]
MDL-67245 group: observe viewfullnames capability.
Paul Holden [Fri, 29 Nov 2019 07:45:55 +0000 (07:45 +0000)]
MDL-67245 group: display user identity fields for group members.
Jun Pataleta [Fri, 17 Jan 2020 09:48:06 +0000 (17:48 +0800)]
MDL-67724 mod_glossary: Improve Behat test
Improve the "Glossary entries are not always editable" scenario by:
* No need to use the @javascript tag
* The maxediting time can be set to a lower value to
reduce the overall wait time.
Sara Arjona [Fri, 17 Jan 2020 08:30:11 +0000 (09:30 +0100)]
Merge branch 'MDL-67372-master' of git://github.com/rezaies/moodle
Michael Hawkins [Wed, 25 Sep 2019 03:58:59 +0000 (11:58 +0800)]
MDL-66761 forumreport_summary: Added groups filter behat testing
Michael Hawkins [Thu, 21 Nov 2019 09:32:16 +0000 (17:32 +0800)]
MDL-66761 mod_forum: Behat support group ID in bulk discussion adding
Sara Arjona [Thu, 16 Jan 2020 16:19:10 +0000 (17:19 +0100)]
weekly release 3.9dev
Sara Arjona [Thu, 16 Jan 2020 16:19:07 +0000 (17:19 +0100)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
David Mudrák [Thu, 16 Jan 2020 12:35:01 +0000 (13:35 +0100)]
MDL-66712 enrol: Fix the reported days of inactivity on unenrolment
There were two problems here. Firstly, the $days was not correctly
calculated due to missing parentheses. Secondly, the sentence had
grammar issues.
Andrew Nicols [Thu, 16 Jan 2020 04:10:31 +0000 (12:10 +0800)]
Merge branch 'mdl-59562' of https://github.com/Peterburnett/moodle
Andrew Nicols [Thu, 16 Jan 2020 03:42:16 +0000 (11:42 +0800)]
Merge branch 'wip-MDL-66918-master' of https://github.com/Beedell/moodle
Shamim Rezaie [Wed, 11 Dec 2019 00:57:12 +0000 (11:57 +1100)]
MDL-67372 libraries: Upgrade HTML Purifier to version 4.12.0
Peter Burnett [Thu, 16 Jan 2020 01:58:31 +0000 (11:58 +1000)]
MDL-59562 core: updated type hint of new function
Andrew Nicols [Thu, 16 Jan 2020 02:24:40 +0000 (10:24 +0800)]
Merge branch 'MDL-67384-master' of git://github.com/rezaies/moodle
Eloy Lafuente (stronk7) [Wed, 15 Jan 2020 23:29:09 +0000 (00:29 +0100)]
Merge branch 'MDL-67631' of git://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Wed, 15 Jan 2020 23:26:13 +0000 (00:26 +0100)]
Merge branch 'MDL-67625-master' of git://github.com/lucaboesch/moodle
Eloy Lafuente (stronk7) [Wed, 15 Jan 2020 23:06:30 +0000 (00:06 +0100)]
Merge branch 'MDL-67040_master' of git://github.com/dmonllao/moodle
Sara Arjona [Wed, 15 Jan 2020 21:12:15 +0000 (22:12 +0100)]
Merge branch 'MDL-67379-master' of git://github.com/rezaies/moodle
Víctor Déniz Falcón [Wed, 15 Jan 2020 20:51:41 +0000 (20:51 +0000)]
Merge branch 'MDL-67377-master' of git://github.com/ferranrecio/moodle
Eloy Lafuente (stronk7) [Wed, 15 Jan 2020 17:55:45 +0000 (18:55 +0100)]
Merge branch 'MDL-67622_master' of git://github.com/dmonllao/moodle
Shamim Rezaie [Mon, 16 Dec 2019 10:35:35 +0000 (21:35 +1100)]
MDL-67379 libraries: Upgrade scssphp to 1.0.6
Sara Arjona [Wed, 15 Jan 2020 11:43:00 +0000 (12:43 +0100)]
Merge branch 'MDL-67617-master' of git://github.com/lucaboesch/moodle
Sara Arjona [Wed, 15 Jan 2020 11:19:34 +0000 (12:19 +0100)]
Merge branch 'MDL-67638_master' of https://github.com/nguyenphuctien/moodle
Andrew Nicols [Wed, 15 Jan 2020 05:53:22 +0000 (13:53 +0800)]
Merge branch 'MDL-67486-swap-cron-lock' of https://github.com/brendanheywood/moodle
Andrew Nicols [Wed, 15 Jan 2020 05:51:04 +0000 (13:51 +0800)]
Merge branch 'mdl-59562' of https://github.com/Peterburnett/moodle
Peter Burnett [Wed, 15 Jan 2020 05:46:46 +0000 (15:46 +1000)]
MDL-59562 core: changed branch behaviour during initial install.
Andrew Nicols [Wed, 15 Jan 2020 04:40:19 +0000 (12:40 +0800)]
Merge branch 'mdl-59562' of https://github.com/Peterburnett/moodle
[Peter Burnett] [Wed, 25 Sep 2019 05:51:21 +0000 (15:51 +1000)]
MDL-59562 upgrade: Plugins can declare supported moodle versions
* Plugins can now explicitly declare supported and incompatible Moodle
versions in version.php
- $plugin->supported[37,39];
supported takes an array of ascending numbers, that correspond to a
range of branch numbers of supported versions, inclusive. Moodle
versions that are outside of this range will produce a message
notifying at install time, but will allow for installation.
- $plugin->incompatible = 36;
incompatible takes a single int corresponding to the first incompatible
branch. Any Moodle versions including and below this will be prevented
from installing the plugin, and a message will be given when
attempting installation.
Mark Johnson [Mon, 13 Jan 2020 11:37:09 +0000 (11:37 +0000)]
MDL-67674 Cache: Lock rebuilding of the course category tree cache
Rossco Hellmans [Wed, 13 Mar 2019 01:41:13 +0000 (11:41 +1000)]
MDL-64310 backup: allow session to be released during backup/restore
Amended to fix a wrong call to backup_controller() constructor,
originally not passing USER->id
Sara Arjona [Tue, 14 Jan 2020 18:50:58 +0000 (19:50 +0100)]
Merge branch 'MDL-66213-master-fixcap' of github.com:sarjona/moodle
Eloy Lafuente (stronk7) [Tue, 14 Jan 2020 18:46:17 +0000 (19:46 +0100)]
MDL-66253 update: bump version (missed that on the review)
Eloy Lafuente (stronk7) [Tue, 14 Jan 2020 18:44:27 +0000 (19:44 +0100)]
Merge branch 'MDL-66253' of https://github.com/NeillM/moodle
Sara Arjona [Tue, 14 Jan 2020 15:42:26 +0000 (16:42 +0100)]
MDL-66213 roles: review new site:viewanonymousevents capability
Instead of PROHIBIT this capability for teachers, the
RISK_PERSONAL has been added.
Andrew Nicols [Tue, 14 Jan 2020 05:53:39 +0000 (13:53 +0800)]
MDL-66213 report_loglive: Do not look up course 0
Sara Arjona [Tue, 14 Jan 2020 11:20:00 +0000 (12:20 +0100)]
Merge branch 'MDL-65573-master-2' of git://github.com/peterRd/moodle
Neill Magill [Mon, 29 Jul 2019 08:47:34 +0000 (09:47 +0100)]
MDL-66253 calendar: New indexes to reduce full table scans
The eventtype index will stop full table scans when the Event API
retrieves events for a group or category and there are a large number
of groups or categories so it cannot use the groupid or categoryid
indexes efficiently.
The modulename-instance index will improve the performance of queries
used by activity backup, deletion and visibility changes where all
the events for an individual activity need to be found.
Andrew Nicols [Tue, 14 Jan 2020 06:15:46 +0000 (14:15 +0800)]
Merge branch 'MDL-64075' of https://github.com/OdyX/moodle
Andrew Nicols [Tue, 14 Jan 2020 06:06:57 +0000 (14:06 +0800)]
Merge branch 'MDL-66721-master' of git://github.com/bmbrands/moodle
Andrew Nicols [Tue, 14 Jan 2020 00:23:56 +0000 (08:23 +0800)]
Merge branch 'MDL-35971-master' of git://github.com/junpataleta/moodle
AMOS bot [Tue, 14 Jan 2020 00:10:17 +0000 (00:10 +0000)]
Automatically generated installer lang files
Peter [Thu, 30 May 2019 01:08:55 +0000 (09:08 +0800)]
MDL-65573 mod_forum: Set userid properly after split
* Set the discussion's userid properly when splitting a discussion.
* Update step to correct existing incorrect records.
Eloy Lafuente (stronk7) [Mon, 13 Jan 2020 17:56:38 +0000 (18:56 +0100)]
Merge branch 'MDL-65649' of https://github.com/paulholden/moodle
Eloy Lafuente (stronk7) [Mon, 13 Jan 2020 17:28:35 +0000 (18:28 +0100)]
Merge branch 'MDL-65987-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Mon, 13 Jan 2020 17:18:56 +0000 (18:18 +0100)]
Merge branch 'MDL-66833-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Mon, 13 Jan 2020 16:09:14 +0000 (17:09 +0100)]
Merge branch 'MDL-65812-editable-timeout' of https://github.com/brendanheywood/moodle
Sara Arjona [Mon, 13 Jan 2020 13:26:41 +0000 (14:26 +0100)]
Merge branch 'MDL-59817-master' of git://github.com/andrewnicols/moodle
Kiet.Chan [Fri, 27 Dec 2019 02:53:31 +0000 (09:53 +0700)]
MDL-67583 themes: Popover placement should react to scroll event
Sara Arjona [Mon, 13 Jan 2020 09:10:10 +0000 (10:10 +0100)]
Merge branch 'patch_view_anon_event_MDL-66213' of git://github.com/Dave-B/moodle
Andrew Nicols [Mon, 13 Jan 2020 04:59:28 +0000 (12:59 +0800)]
Merge branch 'MDL-67382-master' of git://github.com/vmdef/moodle
Tien Nguyen Phuc [Wed, 8 Jan 2020 08:31:46 +0000 (15:31 +0700)]
MDL-67638 Course: update course timemodified on bulk category move
Andrew Nicols [Mon, 13 Jan 2020 00:37:26 +0000 (08:37 +0800)]
Merge branch 'MDL-67204-master' of https://github.com/mwehr/moodle
Brendan Heywood [Mon, 30 Dec 2019 01:51:14 +0000 (12:51 +1100)]
MDL-59594 cron: Allow graceful exit of cron and adhoc task cli's
Brendan Heywood [Wed, 31 Jul 2019 08:07:39 +0000 (18:07 +1000)]
MDL-59594 cli: Introduce cli helpers for graceful exits
\core\local\cli\shutdown::script_supports_graceful_exit();
Sets up interception of exit signals and keep the script running.
\core\local\cli\shutdown::should_gracefully_exit();
Use this to check whether you should exit, often inside a long running loop.
Brendan Heywood [Tue, 30 Jul 2019 13:58:29 +0000 (23:58 +1000)]
MDL-59594 core: Allow custom signal handlers
Brendan Heywood [Wed, 1 Jan 2020 12:41:22 +0000 (23:41 +1100)]
MDL-67486 cron: Improve throughput by holding cron lock for less time
Brendan Heywood [Wed, 23 Oct 2019 01:44:40 +0000 (12:44 +1100)]
MDL-65812 session: Increase default timeout and allow larger periods
David Balch [Wed, 11 Dec 2019 08:57:26 +0000 (08:57 +0000)]
MDL-66213 report_loglive: Show anonymous events when capability allows.
David Balch [Tue, 23 Jul 2019 11:28:02 +0000 (12:28 +0100)]
MDL-66213 report_log: Show anonymous events when capability allows.
David Balch [Tue, 23 Jul 2019 10:35:08 +0000 (11:35 +0100)]
MDL-66213 roles: Add capability for viewing anonymous events.
Neill Magill [Thu, 25 Jul 2019 15:03:27 +0000 (16:03 +0100)]
MDL-66253 calendar: Allow event retrival queries to use indexes
Before this change in most cases the queries generated by the API
would not be able to use an index as the subquery would use
conditions that coulde not be satisfied by a signle index.
By changing it to use UNIONs the database will be able to use an
appropriate index for each query in most cases.
Andrew Nicols [Tue, 7 Jan 2020 09:28:10 +0000 (17:28 +0800)]
MDL-59817 atto_accessibilitychecker: Handle transparency properly
Some browsers, notably Firefox, do not return the computed style for
background colour in a computed RGB format. Instead they return the RGBA
where the alpha channel is set to fully transparent.
To solve this we need to work up the hierarchy and compute the
background colour for each parent node until we reach full alpha (1).
We can use a standard calculation to approximate the value for the
resultant element background by multiplying the alpha of the current
transparent (or semi-transparent) node with the R, G, or B channel in
question, and that of the parent node's background colour.
There are cases where this will not be 100% accurate - notably where
there is some additional content in addition to the parent background,
but this gives us a reasoable approximation for the majority of cases.
Additionally the code has never considered the full set of node content
when calculating this information.
AMOS bot [Fri, 10 Jan 2020 00:12:04 +0000 (00:12 +0000)]
Automatically generated installer lang files
Ferran Recio [Mon, 16 Dec 2019 12:54:15 +0000 (13:54 +0100)]
MDL-67377 lib: Moodle changes to mustache upgrade
Ferran Recio [Mon, 16 Dec 2019 12:50:25 +0000 (13:50 +0100)]
MDL-67377 lib: Update mustache to 2.13.0
Luca Bösch [Mon, 6 Jan 2020 21:24:35 +0000 (22:24 +0100)]
MDL-67625 quiz: only section titles should be large when editing.
Mario Wehr [Tue, 12 Nov 2019 22:15:22 +0000 (23:15 +0100)]
MDL-67204 assign task: Use lastruntime from task_scheduled
John Beedell [Tue, 15 Oct 2019 16:14:40 +0000 (17:14 +0100)]
MDL-66918 behat: Behat app step failing
Luca Bösch [Sat, 4 Jan 2020 15:35:09 +0000 (16:35 +0100)]
MDL-67617 gradereport_singleview: Style the form element with bs classes
Sara Arjona [Thu, 9 Jan 2020 14:42:44 +0000 (15:42 +0100)]
weekly release 3.9dev
Jun Pataleta [Thu, 9 Jan 2020 07:22:27 +0000 (15:22 +0800)]
Merge branch 'MDL-67544-master' of git://github.com/andrewnicols/moodle
Andrew Nicols [Thu, 9 Jan 2020 06:55:52 +0000 (14:55 +0800)]
MDL-67544f= mod_forum: Correct "for" attribute on private checkbox
Andrew Nicols [Thu, 9 Jan 2020 06:08:12 +0000 (14:08 +0800)]
MDL-67544 mod_forum: Ensure post actions menu id is unique
Andrew Nicols [Thu, 9 Jan 2020 04:39:28 +0000 (12:39 +0800)]
Merge branch 'master_MDL-67485' of https://github.com/golenkovm/moodle
Mikhail Golenkov [Thu, 2 Jan 2020 06:34:19 +0000 (17:34 +1100)]
MDL-67485 task: Release the task runner lock before throwing exception.
Andrew Nicols [Thu, 9 Jan 2020 00:11:10 +0000 (08:11 +0800)]
Merge branch 'MDL-67596-cron-ramp-up' of https://github.com/brendanheywood/moodle
Eloy Lafuente (stronk7) [Wed, 8 Jan 2020 15:35:39 +0000 (16:35 +0100)]
Merge branch 'MDL-67544-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Wed, 8 Jan 2020 15:29:35 +0000 (16:29 +0100)]
Merge branch 'MDL-67533-master' of git://github.com/junpataleta/moodle
Sara Arjona [Wed, 8 Jan 2020 13:40:01 +0000 (14:40 +0100)]
Merge branch 'MDL-66752-master-2' of git://github.com/junpataleta/moodle
Jake Dallimore [Wed, 8 Jan 2020 06:22:48 +0000 (14:22 +0800)]
MDL-67637 core_message: only preview lastmessage text if safe to do so
If any html/script tags are found in the text() value, don't display it.
Davo Smith [Wed, 24 Jul 2019 09:55:52 +0000 (10:55 +0100)]
MDL-62815 mod_lti: fix error when clicking 'Select content' option
Davo Smith [Mon, 1 Jul 2019 08:10:22 +0000 (09:10 +0100)]
MDL-62815 mod_lti: fix javascript error + bump version number
Davo Smith [Fri, 21 Jun 2019 13:36:59 +0000 (14:36 +0100)]
MDL-62815 mod_lti: fix logic around content button and launch container
Jun Pataleta [Thu, 13 Jun 2019 14:32:16 +0000 (22:32 +0800)]
MDL-62815 mod_lti: Conditionally execute JS related to tool type
Davo Smith [Wed, 23 Jan 2019 16:21:45 +0000 (16:21 +0000)]
MDL-62815 mod_lti: adjust new capabilities
MDL-62815 mod_lti: improve lang strings + use clonepermissionsfrom
MDL-62815 mod_lti: prevent changing from manual instance without cap
yair.spielmann [Fri, 2 Nov 2018 09:49:54 +0000 (09:49 +0000)]
MDL-62815 mod_lti: Capabilities for adding default and preconfigured
Jun Pataleta [Wed, 8 Jan 2020 08:29:20 +0000 (16:29 +0800)]
MDL-67533 mod_forum: Remove duplicate Re in experimental view subject