Commit graph

96812 commits

Author SHA1 Message Date
Shamim Rezaie
28bc46092e MDL-67372 libraries: Upgrade HTML Purifier to version 4.12.0 2020-01-16 14:21:40 +11:00
Peter Burnett
72aac06304 MDL-59562 core: updated type hint of new function 2020-01-16 13:05:30 +10:00
Andrew Nicols
836060be8b Merge branch 'MDL-67384-master' of git://github.com/rezaies/moodle 2020-01-16 10:24:40 +08:00
Eloy Lafuente (stronk7)
1fe94722ae Merge branch 'MDL-67631' of git://github.com/timhunt/moodle 2020-01-16 00:29:09 +01:00
Eloy Lafuente (stronk7)
caa722a04b Merge branch 'MDL-67625-master' of git://github.com/lucaboesch/moodle 2020-01-16 00:26:13 +01:00
Eloy Lafuente (stronk7)
2b12a3668f Merge branch 'MDL-67040_master' of git://github.com/dmonllao/moodle 2020-01-16 00:06:30 +01:00
Sara Arjona
6e2c4af47d Merge branch 'MDL-67379-master' of git://github.com/rezaies/moodle 2020-01-15 22:12:15 +01:00
Víctor Déniz Falcón
8f9bf12206 Merge branch 'MDL-67377-master' of git://github.com/ferranrecio/moodle 2020-01-15 20:51:41 +00:00
Eloy Lafuente (stronk7)
1586b3adf7 Merge branch 'MDL-67622_master' of git://github.com/dmonllao/moodle 2020-01-15 18:55:45 +01:00
Shamim Rezaie
ff25eb0fb0 MDL-67424 mod_forum: error on complete report when no rating or grade 2020-01-16 03:16:58 +11:00
Shamim Rezaie
56d5a50483 MDL-67424 report_outline: behat user report with a no-grade forum 2020-01-16 03:15:42 +11:00
Shamim Rezaie
af2c779418 MDL-67379 libraries: Upgrade scssphp to 1.0.6 2020-01-16 00:24:09 +11:00
Sara Arjona
e278bd6f90 Merge branch 'MDL-67617-master' of git://github.com/lucaboesch/moodle 2020-01-15 12:43:00 +01:00
Sara Arjona
daa7107bfb Merge branch 'MDL-67638_master' of https://github.com/nguyenphuctien/moodle 2020-01-15 12:19:34 +01:00
Andrew Nicols
2bdad64e48 Merge branch 'MDL-67486-swap-cron-lock' of https://github.com/brendanheywood/moodle 2020-01-15 13:53:22 +08:00
Andrew Nicols
30afac71d3 Merge branch 'mdl-59562' of https://github.com/Peterburnett/moodle 2020-01-15 13:51:04 +08:00
Peter Burnett
4fac690ace MDL-59562 core: changed branch behaviour during initial install. 2020-01-15 15:46:46 +10:00
Andrew Nicols
20a7746b1e Merge branch 'mdl-59562' of https://github.com/Peterburnett/moodle 2020-01-15 12:40:19 +08:00
[Peter Burnett]
147a895ad0 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.
2020-01-15 14:38:27 +10:00
Mark Johnson
96e440493b MDL-67674 Cache: Lock rebuilding of the course category tree cache 2020-01-15 00:00:54 +01:00
Rossco Hellmans
383b0f95ab 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
2020-01-14 23:54:42 +01:00
Sara Arjona
8d529d0a2d Merge branch 'MDL-66213-master-fixcap' of github.com:sarjona/moodle 2020-01-14 19:50:58 +01:00
Eloy Lafuente (stronk7)
52d16feebe MDL-66253 update: bump version (missed that on the review) 2020-01-14 19:46:17 +01:00
Eloy Lafuente (stronk7)
a756630e44 Merge branch 'MDL-66253' of https://github.com/NeillM/moodle 2020-01-14 19:44:27 +01:00
Sara Arjona
1962f743dc MDL-66213 roles: review new site:viewanonymousevents capability
Instead of PROHIBIT this capability for teachers, the
RISK_PERSONAL has been added.
2020-01-14 16:42:31 +01:00
Andrew Nicols
16d4515411 MDL-66213 report_loglive: Do not look up course 0 2020-01-14 13:20:02 +01:00
Sara Arjona
f6fe70d075 Merge branch 'MDL-65573-master-2' of git://github.com/peterRd/moodle 2020-01-14 12:20:00 +01:00
Neill Magill
2fc2dfbb37 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.
2020-01-14 08:47:32 +00:00
Andrew Nicols
6813b79f81 Merge branch 'MDL-64075' of https://github.com/OdyX/moodle 2020-01-14 14:15:46 +08:00
Andrew Nicols
47d18a7303 Merge branch 'MDL-66721-master' of git://github.com/bmbrands/moodle 2020-01-14 14:06:57 +08:00
Andrew Nicols
9c71a497c3 MDL-67684 core: Add missing li tag 2020-01-14 08:46:43 +08:00
Andrew Nicols
ea990a38eb Merge branch 'MDL-35971-master' of git://github.com/junpataleta/moodle 2020-01-14 08:23:56 +08:00
AMOS bot
5a6dead4f9 Automatically generated installer lang files 2020-01-14 00:10:17 +00:00
Peter
18cd2efd44 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.
2020-01-14 07:34:18 +08:00
Eloy Lafuente (stronk7)
f2e7a54f2a Merge branch 'MDL-65649' of https://github.com/paulholden/moodle 2020-01-13 18:56:38 +01:00
Eloy Lafuente (stronk7)
41fed86e18 Merge branch 'MDL-65987-master' of git://github.com/andrewnicols/moodle 2020-01-13 18:28:35 +01:00
Eloy Lafuente (stronk7)
c8ba91cb12 Merge branch 'MDL-66833-master' of git://github.com/andrewnicols/moodle 2020-01-13 18:18:56 +01:00
Eloy Lafuente (stronk7)
da700974d8 Merge branch 'MDL-65812-editable-timeout' of https://github.com/brendanheywood/moodle 2020-01-13 17:09:14 +01:00
Marina Glancy
a79da4f1bb MDL-67680 core: Catch PHP exceptions in the after_config callback 2020-01-13 16:43:59 +01:00
Sara Arjona
b758ba96e5 Merge branch 'MDL-59817-master' of git://github.com/andrewnicols/moodle 2020-01-13 14:26:41 +01:00
Kiet.Chan
ed561c801e MDL-67583 themes: Popover placement should react to scroll event 2020-01-13 17:30:43 +07:00
Sara Arjona
e3f29b01c0 Merge branch 'patch_view_anon_event_MDL-66213' of git://github.com/Dave-B/moodle 2020-01-13 10:10:10 +01:00
Bas Brands
e097ddcd4f MDL-67472 theme_boost: configurable sass variable for drawer bgcolour 2020-01-13 09:12:47 +01:00
Andrew Nicols
48dffcb9e1 Merge branch 'MDL-67382-master' of git://github.com/vmdef/moodle 2020-01-13 12:59:28 +08:00
Tien Nguyen Phuc
bc6efcb437 MDL-67638 Course: update course timemodified on bulk category move 2020-01-13 10:38:12 +07:00
Andrew Nicols
628604e69a Merge branch 'MDL-67204-master' of https://github.com/mwehr/moodle 2020-01-13 08:37:26 +08:00
Brendan Heywood
b15c53f4fa MDL-59594 cron: Allow graceful exit of cron and adhoc task cli's 2020-01-12 01:24:03 +11:00
Brendan Heywood
176b5202e0 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.
2020-01-12 01:20:04 +11:00
Brendan Heywood
29e3a223f5 MDL-59594 core: Allow custom signal handlers 2020-01-12 01:20:04 +11:00
Brendan Heywood
b0544ce211 MDL-67486 cron: Improve throughput by holding cron lock for less time 2020-01-12 01:02:57 +11:00