moodle.git
2 years agoMerge branch 'MDL-66253' of https://github.com/NeillM/moodle
Eloy Lafuente (stronk7) [Tue, 14 Jan 2020 18:44:27 +0000 (19:44 +0100)]
Merge branch 'MDL-66253' of https://github.com/NeillM/moodle

2 years agoMDL-66213 report_loglive: Do not look up course 0
Andrew Nicols [Tue, 14 Jan 2020 05:53:39 +0000 (13:53 +0800)]
MDL-66213 report_loglive: Do not look up course 0

2 years agoMerge branch 'MDL-65573-master-2' of git://github.com/peterRd/moodle
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

2 years agoMDL-66253 calendar: New indexes to reduce full table scans
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.

2 years agoMerge branch 'MDL-64075' of https://github.com/OdyX/moodle
Andrew Nicols [Tue, 14 Jan 2020 06:15:46 +0000 (14:15 +0800)]
Merge branch 'MDL-64075' of https://github.com/OdyX/moodle

2 years agoMerge branch 'MDL-66721-master' of git://github.com/bmbrands/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

2 years agoMerge branch 'MDL-35971-master' of git://github.com/junpataleta/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

2 years agoMDL-65573 mod_forum: Set userid properly after split
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.

2 years agoMerge branch 'MDL-65649' of https://github.com/paulholden/moodle
Eloy Lafuente (stronk7) [Mon, 13 Jan 2020 17:56:38 +0000 (18:56 +0100)]
Merge branch 'MDL-65649' of https://github.com/paulholden/moodle

2 years agoMerge branch 'MDL-65987-master' of git://github.com/andrewnicols/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

2 years agoMerge branch 'MDL-66833-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

2 years agoMerge branch 'MDL-65812-editable-timeout' of https://github.com/brendanheywood/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

2 years agoMerge branch 'MDL-59817-master' of git://github.com/andrewnicols/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

2 years agoMerge branch 'patch_view_anon_event_MDL-66213' of git://github.com/Dave-B/moodle
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

2 years agoMerge branch 'MDL-67382-master' of git://github.com/vmdef/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

2 years agoMerge branch 'MDL-67204-master' of https://github.com/mwehr/moodle
Andrew Nicols [Mon, 13 Jan 2020 00:37:26 +0000 (08:37 +0800)]
Merge branch 'MDL-67204-master' of https://github.com/mwehr/moodle

2 years agoMDL-65812 session: Increase default timeout and allow larger periods
Brendan Heywood [Wed, 23 Oct 2019 01:44:40 +0000 (12:44 +1100)]
MDL-65812 session: Increase default timeout and allow larger periods

2 years agoMDL-66213 report_loglive: Show anonymous events when capability allows.
David Balch [Wed, 11 Dec 2019 08:57:26 +0000 (08:57 +0000)]
MDL-66213 report_loglive: Show anonymous events when capability allows.

2 years agoMDL-66213 report_log: 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.

2 years agoMDL-66213 roles: Add capability for viewing anonymous events.
David Balch [Tue, 23 Jul 2019 10:35:08 +0000 (11:35 +0100)]
MDL-66213 roles: Add capability for viewing anonymous events.

2 years agoMDL-66253 calendar: Allow event retrival queries to use indexes
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.

2 years agoMDL-59817 atto_accessibilitychecker: Handle transparency properly
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.

2 years agoMDL-67204 assign task: Use lastruntime from task_scheduled
Mario Wehr [Tue, 12 Nov 2019 22:15:22 +0000 (23:15 +0100)]
MDL-67204 assign task: Use lastruntime from task_scheduled

2 years agoweekly release 3.9dev
Sara Arjona [Thu, 9 Jan 2020 14:42:44 +0000 (15:42 +0100)]
weekly release 3.9dev

2 years agoMerge branch 'MDL-67544-master' of git://github.com/andrewnicols/moodle
Jun Pataleta [Thu, 9 Jan 2020 07:22:27 +0000 (15:22 +0800)]
Merge branch 'MDL-67544-master' of git://github.com/andrewnicols/moodle

2 years agoMDL-67544f= mod_forum: Correct "for" attribute on private checkbox
Andrew Nicols [Thu, 9 Jan 2020 06:55:52 +0000 (14:55 +0800)]
MDL-67544f= mod_forum: Correct "for" attribute on private checkbox

2 years agoMDL-67544 mod_forum: Ensure post actions menu id is unique
Andrew Nicols [Thu, 9 Jan 2020 06:08:12 +0000 (14:08 +0800)]
MDL-67544 mod_forum: Ensure post actions menu id is unique

2 years agoMerge branch 'master_MDL-67485' of https://github.com/golenkovm/moodle
Andrew Nicols [Thu, 9 Jan 2020 04:39:28 +0000 (12:39 +0800)]
Merge branch 'master_MDL-67485' of https://github.com/golenkovm/moodle

2 years agoMDL-67485 task: Release the task runner lock before throwing exception.
Mikhail Golenkov [Thu, 2 Jan 2020 06:34:19 +0000 (17:34 +1100)]
MDL-67485 task: Release the task runner lock before throwing exception.

2 years agoMerge branch 'MDL-67596-cron-ramp-up' of https://github.com/brendanheywood/moodle
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

2 years agoMerge branch 'MDL-67544-master' of git://github.com/andrewnicols/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

2 years agoMerge branch 'MDL-67533-master' of git://github.com/junpataleta/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

2 years agoMerge branch 'MDL-66752-master-2' 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

2 years agoMDL-67637 core_message: only preview lastmessage text if safe to do so
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.

2 years agoMDL-67533 mod_forum: Remove duplicate Re in experimental view subject
Jun Pataleta [Wed, 8 Jan 2020 08:29:20 +0000 (16:29 +0800)]
MDL-67533 mod_forum: Remove duplicate Re in experimental view subject

2 years agoMDL-35971 mod_forum: Add proper discussion list table description
Jun Pataleta [Fri, 13 Dec 2019 08:36:26 +0000 (16:36 +0800)]
MDL-35971 mod_forum: Add proper discussion list table description

2 years agoMerge branch 'MDL-67417-master' of https://github.com/KietChan/moodle
Sara Arjona [Wed, 8 Jan 2020 07:26:37 +0000 (08:26 +0100)]
Merge branch 'MDL-67417-master' of https://github.com/KietChan/moodle

2 years agoMDL-67544 mod_forum: Ensure that private reply checkbox has unique id
Andrew Nicols [Wed, 8 Jan 2020 07:26:03 +0000 (15:26 +0800)]
MDL-67544 mod_forum: Ensure that private reply checkbox has unique id

2 years agoMerge branch 'MDL-67510-master' of git://github.com/junpataleta/moodle
Sara Arjona [Wed, 8 Jan 2020 07:10:52 +0000 (08:10 +0100)]
Merge branch 'MDL-67510-master' of git://github.com/junpataleta/moodle

2 years agoMDL-67596 cron: Allow runners to ramp up instantly
Brendan Heywood [Wed, 1 Jan 2020 10:26:29 +0000 (21:26 +1100)]
MDL-67596 cron: Allow runners to ramp up instantly

2 years agoMerge branch 'MDL-67378-master' of git://github.com/rezaies/moodle
Andrew Nicols [Wed, 8 Jan 2020 03:11:45 +0000 (11:11 +0800)]
Merge branch 'MDL-67378-master' of git://github.com/rezaies/moodle

2 years agoMerge branch 'MDL-67376-master' of git://github.com/rezaies/moodle
Andrew Nicols [Wed, 8 Jan 2020 02:40:25 +0000 (10:40 +0800)]
Merge branch 'MDL-67376-master' of git://github.com/rezaies/moodle

2 years agoMerge branch 'MDL-63734-master_hidepassword' of https://github.com/ledship/moodle
Andrew Nicols [Wed, 8 Jan 2020 01:39:06 +0000 (09:39 +0800)]
Merge branch 'MDL-63734-master_hidepassword' of https://github.com/ledship/moodle

2 years agoMerge branch 'MDL-65948-master' of git://github.com/junpataleta/moodle
Andrew Nicols [Wed, 8 Jan 2020 00:50:03 +0000 (08:50 +0800)]
Merge branch 'MDL-65948-master' of git://github.com/junpataleta/moodle

2 years agoMerge branch 'MDL-64764' of git://github.com/paulholden/moodle
Andrew Nicols [Wed, 8 Jan 2020 00:30:02 +0000 (08:30 +0800)]
Merge branch 'MDL-64764' of git://github.com/paulholden/moodle

2 years agoMerge branch 'MDL-67449-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Tue, 7 Jan 2020 22:43:43 +0000 (23:43 +0100)]
Merge branch 'MDL-67449-master' of git://github.com/andrewnicols/moodle

2 years agoMerge branch 'MDL-67469-master' of git://github.com/junpataleta/moodle
Eloy Lafuente (stronk7) [Tue, 7 Jan 2020 21:59:17 +0000 (22:59 +0100)]
Merge branch 'MDL-67469-master' of git://github.com/junpataleta/moodle

2 years agoMDL-64764 core_admin: allow to submit empty list of allowed roles.
Marina Glancy [Fri, 13 Dec 2019 21:33:51 +0000 (22:33 +0100)]
MDL-64764 core_admin: allow to submit empty list of allowed roles.

Co-authored-by: Paul Holden <paulh@moodle.com>
2 years agoMDL-64075 antivirus_clamav: refactor scan_file for tcpsocket
Didier 'OdyX' Raboud [Mon, 2 Dec 2019 13:45:12 +0000 (14:45 +0100)]
MDL-64075 antivirus_clamav: refactor scan_file for tcpsocket

 - Deprecate \antivirus_clamav\scanner::scan_file_execute_unixsocket()

2 years agoMDL-64075 antivirus_clamav: refactor scan_data for tcpsocket
Didier 'OdyX' Raboud [Mon, 2 Dec 2019 10:29:01 +0000 (11:29 +0100)]
MDL-64075 antivirus_clamav: refactor scan_data for tcpsocket

- Fix whitespace accross scanner_test for codechecker
- Deprecate \antivirus_clamav\scanner::scan_data_execute_unixsocket()

2 years agoMDL-64075 antivirus_clamav: separate socket destination in function
Didier 'OdyX' Raboud [Mon, 2 Dec 2019 13:21:06 +0000 (14:21 +0100)]
MDL-64075 antivirus_clamav: separate socket destination in function

2 years agoMDL-64075 antivirus_clamav: Add TCP socket admin settings
Didier 'OdyX' Raboud [Tue, 26 Nov 2019 14:45:57 +0000 (15:45 +0100)]
MDL-64075 antivirus_clamav: Add TCP socket admin settings

2 years agoMDL-64075 antivirus_clamav: fix array_search usage
Didier 'OdyX' Raboud [Mon, 2 Dec 2019 09:58:10 +0000 (10:58 +0100)]
MDL-64075 antivirus_clamav: fix array_search usage

If 'unix' is the first element of the stream_get_transports() result
array, array_search() will return `0` as index result which, when
negated, will result as true.

2 years agoMerge branch 'MDL-65849-master' of git://github.com/rezaies/moodle
Andrew Nicols [Tue, 7 Jan 2020 05:17:08 +0000 (13:17 +0800)]
Merge branch 'MDL-65849-master' of git://github.com/rezaies/moodle

2 years agoMerge branch 'MDL-66938-master' of https://github.com/grabs/moodle
Andrew Nicols [Tue, 7 Jan 2020 04:40:52 +0000 (12:40 +0800)]
Merge branch 'MDL-66938-master' of https://github.com/grabs/moodle

2 years agoMerge branch 'MDL-58281-file-missing-500' of https://github.com/brendanheywood/moodle
Andrew Nicols [Tue, 7 Jan 2020 03:30:30 +0000 (11:30 +0800)]
Merge branch 'MDL-58281-file-missing-500' of https://github.com/brendanheywood/moodle

2 years agoMDL-67114 mod_wiki: Whitespace fix
Andrew Nicols [Tue, 7 Jan 2020 03:04:41 +0000 (11:04 +0800)]
MDL-67114 mod_wiki: Whitespace fix

2 years agoMerge branch 'MDL-67114' of https://github.com/stronk7/moodle
Andrew Nicols [Tue, 7 Jan 2020 01:37:05 +0000 (09:37 +0800)]
Merge branch 'MDL-67114' of https://github.com/stronk7/moodle

2 years agoMerge branch 'MDL-66871-master-v2' of git://github.com/lameze/moodle
Andrew Nicols [Tue, 7 Jan 2020 00:00:01 +0000 (08:00 +0800)]
Merge branch 'MDL-66871-master-v2' of git://github.com/lameze/moodle

2 years agoMDL-66721 core_chooser: height correction for chooser modal
Bas Brands [Tue, 3 Dec 2019 15:18:04 +0000 (16:18 +0100)]
MDL-66721 core_chooser: height correction for chooser modal

2 years agoMDL-67544 form: Ensure that form errors have a unique id
Andrew Nicols [Wed, 18 Dec 2019 08:11:00 +0000 (16:11 +0800)]
MDL-67544 form: Ensure that form errors have a unique id

2 years agoMDL-67544 mod_forum: Add missing label for discussion move
Andrew Nicols [Wed, 18 Dec 2019 05:46:35 +0000 (13:46 +0800)]
MDL-67544 mod_forum: Add missing label for discussion move

2 years agoMDL-67544 mod_forum: Add missing menuitem roles
Andrew Nicols [Wed, 18 Dec 2019 05:40:59 +0000 (13:40 +0800)]
MDL-67544 mod_forum: Add missing menuitem roles

2 years agoMDL-67544 mod_forum: Correct aria-labelledby node
Andrew Nicols [Wed, 18 Dec 2019 05:40:41 +0000 (13:40 +0800)]
MDL-67544 mod_forum: Correct aria-labelledby node

2 years agoMDL-67544 mod_forum: Correct aria-controls to point to valid node
Andrew Nicols [Wed, 18 Dec 2019 05:39:49 +0000 (13:39 +0800)]
MDL-67544 mod_forum: Correct aria-controls to point to valid node

2 years agoMDL-67544 mod_forum: Add missing aria label for grade search
Andrew Nicols [Wed, 18 Dec 2019 05:26:45 +0000 (13:26 +0800)]
MDL-67544 mod_forum: Add missing aria label for grade search

2 years agoMDL-67544 core: Ensure unique IDs for YUI dialogues
Andrew Nicols [Wed, 18 Dec 2019 04:55:54 +0000 (12:55 +0800)]
MDL-67544 core: Ensure unique IDs for YUI dialogues

2 years agoMDL-67544 theme: Ensure that search box is in valid li
Andrew Nicols [Wed, 18 Dec 2019 04:55:38 +0000 (12:55 +0800)]
MDL-67544 theme: Ensure that search box is in valid li

2 years agoMDL-67544 mod_forum: Add default role for favourite toggle
Andrew Nicols [Wed, 18 Dec 2019 04:55:17 +0000 (12:55 +0800)]
MDL-67544 mod_forum: Add default role for favourite toggle

2 years agoMDL-67544 mod_forum: Add missing aria label for discussion actions
Andrew Nicols [Wed, 18 Dec 2019 04:54:25 +0000 (12:54 +0800)]
MDL-67544 mod_forum: Add missing aria label for discussion actions

2 years agoMDL-67544 mod_forum: Correct aria-role => aria-live
Andrew Nicols [Wed, 18 Dec 2019 04:17:11 +0000 (12:17 +0800)]
MDL-67544 mod_forum: Correct aria-role => aria-live

2 years agoMDL-67544 mod_forum: Correct aria-role => role
Andrew Nicols [Wed, 18 Dec 2019 04:16:56 +0000 (12:16 +0800)]
MDL-67544 mod_forum: Correct aria-role => role

2 years agoMerge branch 'MDL-67138-customlang-failures' of https://github.com/brendanheywood...
Andrew Nicols [Mon, 6 Jan 2020 04:57:02 +0000 (12:57 +0800)]
Merge branch 'MDL-67138-customlang-failures' of https://github.com/brendanheywood/moodle

2 years agoMDL-66752 tool_dataprivacy: Add automatic data request approval feature
Jun Pataleta [Thu, 5 Dec 2019 14:17:18 +0000 (22:17 +0800)]
MDL-66752 tool_dataprivacy: Add automatic data request approval feature

2 years agoMDL-67510 tool_dataprivacy: Fix the reply-to name of the privacy officer
Jun Pataleta [Thu, 12 Dec 2019 12:16:02 +0000 (20:16 +0800)]
MDL-67510 tool_dataprivacy: Fix the reply-to name of the privacy officer

2 years agoMerge branch 'master_MDL-64610' of https://github.com/golenkovm/moodle
Jake Dallimore [Mon, 6 Jan 2020 02:50:36 +0000 (10:50 +0800)]
Merge branch 'master_MDL-64610' of https://github.com/golenkovm/moodle

2 years agoMDL-66871 calendar: fix deprecated parameter in the phpDoc
Simey Lameze [Mon, 16 Dec 2019 00:39:04 +0000 (08:39 +0800)]
MDL-66871 calendar: fix deprecated parameter in the phpDoc

2 years agoMDL-66871 calendar: add unit test coverage for ics importing
Simey Lameze [Mon, 16 Dec 2019 00:36:56 +0000 (08:36 +0800)]
MDL-66871 calendar: add unit test coverage for ics importing

2 years agoMDL-66871 calendar: fix ics importing logic
Simey Lameze [Mon, 16 Dec 2019 00:36:26 +0000 (08:36 +0800)]
MDL-66871 calendar: fix ics importing logic

2 years agoMDL-65987 mod_forum: Add string 'Advanced' for the advanced editor.
Luca Bösch [Tue, 24 Dec 2019 23:48:00 +0000 (00:48 +0100)]
MDL-65987 mod_forum: Add string 'Advanced' for the advanced editor.

   AMOS BEGIN
    CPY [advanced,moodle],[showadvancededitor,moodle]
   AMOS END

2 years agoMerge branch 'MDL-67336-master' of https://github.com/roland04/moodle
Jake Dallimore [Mon, 6 Jan 2020 01:36:36 +0000 (09:36 +0800)]
Merge branch 'MDL-67336-master' of https://github.com/roland04/moodle

2 years agoMDL-67449 grunt: Build ignorefiles from component list
Andrew Nicols [Thu, 19 Dec 2019 00:12:16 +0000 (08:12 +0800)]
MDL-67449 grunt: Build ignorefiles from component list

2 years agoMDL-67449 grunt: Refactor CSS generation
Andrew Nicols [Thu, 19 Dec 2019 00:27:48 +0000 (08:27 +0800)]
MDL-67449 grunt: Refactor CSS generation

2 years agoMDL-67449 grunt: Refactor gherkinlint
Andrew Nicols [Thu, 19 Dec 2019 00:27:29 +0000 (08:27 +0800)]
MDL-67449 grunt: Refactor gherkinlint

2 years agoMDL-67449 grunt: Refactor YUI commands
Andrew Nicols [Thu, 19 Dec 2019 00:25:55 +0000 (08:25 +0800)]
MDL-67449 grunt: Refactor YUI commands

2 years agoMDL-67449 grunt: Refactor watch to use component list
Andrew Nicols [Thu, 19 Dec 2019 00:24:19 +0000 (08:24 +0800)]
MDL-67449 grunt: Refactor watch to use component list

2 years agoMDL-67449 grunt: Refactor path calculation for AMD
Andrew Nicols [Thu, 19 Dec 2019 00:22:41 +0000 (08:22 +0800)]
MDL-67449 grunt: Refactor path calculation for AMD

2 years agoMDL-66938 mod_feedback: Export includes unwanted html in field names
Andreas Grabs [Thu, 17 Oct 2019 07:33:05 +0000 (09:33 +0200)]
MDL-66938 mod_feedback: Export includes unwanted html in field names

2 years agoMDL-67114 core: php74 fix. Fix use of scalar as array in core
Eloy Lafuente (stronk7) [Sat, 2 Nov 2019 19:03:40 +0000 (20:03 +0100)]
MDL-67114 core: php74 fix. Fix use of scalar as array in core

There are various places where it's not guaranteed that the
variable being used is array, and instead, can be null, bool, int...

We need to check that because php74 warns about it.

Where possible we have used the coalesce operator as
replacement for isset() ternary operations.

2 years agoMDL-67114 scssphp: php74 compatibility local fixes
Eloy Lafuente (stronk7) [Sun, 1 Dec 2019 16:44:52 +0000 (17:44 +0100)]
MDL-67114 scssphp: php74 compatibility local fixes

Note they are already available upstream, versions 1.0.4 and up so,
in next upgrade they will be fixed.

2 years agoMDL-67114 mustache: php74 fix. Fix use of scalar as array
Eloy Lafuente (stronk7) [Sat, 2 Nov 2019 15:20:44 +0000 (16:20 +0100)]
MDL-67114 mustache: php74 fix. Fix use of scalar as array

Trying to use values of type null, bool, int, float or resource as an
array (such as $null["key"]) will now generate a notice. This does not
affect array accesses performed by list().

RFC: https://wiki.php.net/rfc/notice-for-non-valid-array-container

2 years agoweekly release 3.9dev
Jake Dallimore [Fri, 3 Jan 2020 03:24:56 +0000 (11:24 +0800)]
weekly release 3.9dev

2 years agoNOBUG: Fixed file access permissions
Jake Dallimore [Fri, 3 Jan 2020 03:24:56 +0000 (11:24 +0800)]
NOBUG: Fixed file access permissions

2 years agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Jake Dallimore [Fri, 3 Jan 2020 03:24:53 +0000 (11:24 +0800)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

2 years agoMDL-66833 core: Make print_object play nice with WS
Andrew Nicols [Thu, 3 Oct 2019 09:06:59 +0000 (17:06 +0800)]
MDL-66833 core: Make print_object play nice with WS

2 years agoAutomatically generated installer lang files
AMOS bot [Fri, 3 Jan 2020 00:12:04 +0000 (00:12 +0000)]
Automatically generated installer lang files

2 years agoMerge branch 'MDL-67599-master' of https://github.com/snake/moodle
Adrian Greeve [Thu, 2 Jan 2020 07:15:00 +0000 (15:15 +0800)]
Merge branch 'MDL-67599-master' of https://github.com/snake/moodle

2 years agoMDL-67599 behat: fix behat tests assuming Jan 2020 is a future date
Jake Dallimore [Thu, 2 Jan 2020 02:28:14 +0000 (10:28 +0800)]
MDL-67599 behat: fix behat tests assuming Jan 2020 is a future date

2 years agoMDL-64610 task: Add support for per-task concurrency limits.
Mikhail Golenkov [Thu, 2 Jan 2020 05:05:47 +0000 (16:05 +1100)]
MDL-64610 task: Add support for per-task concurrency limits.

2 years agoMerge branch 'MDL-65835-master' of git://github.com/abgreeve/moodle
Jun Pataleta [Thu, 2 Jan 2020 03:52:10 +0000 (11:52 +0800)]
Merge branch 'MDL-65835-master' of git://github.com/abgreeve/moodle