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
Brendan Heywood
859ed92f9d
MDL-65812 session: Increase default timeout and allow larger periods
2020-01-11 23:17:35 +11:00
Tim Hunt
76a49e4a1e
MDL-67653 questions: prevent the flag flickering as the page loads
2020-01-10 14:27:42 +00:00
David Balch
9cce07111e
MDL-66213 report_loglive: Show anonymous events when capability allows.
2020-01-10 13:48:59 +00:00
David Balch
51c4efa29f
MDL-66213 report_log: Show anonymous events when capability allows.
2020-01-10 13:48:59 +00:00
David Balch
50cc80fd3b
MDL-66213 roles: Add capability for viewing anonymous events.
2020-01-10 13:48:51 +00:00
Neill Magill
28c30ffece
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.
2020-01-10 08:27:10 +00:00
Andrew Nicols
43aa3cbe44
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.
2020-01-10 15:26:51 +08:00
Andrew Nicols
9b1e5805d9
MDL-67656 behat: Removed nested spin
2020-01-10 13:34:17 +08:00
Andrew Nicols
c7807a10b4
MDL-67656 behat: Fix usleep call in spin
2020-01-10 13:34:12 +08:00
AMOS bot
a4da8ad02a
Automatically generated installer lang files
2020-01-10 00:12:04 +00:00
Ferran Recio
18f3df06dc
MDL-67377 lib: Moodle changes to mustache upgrade
2020-01-09 17:32:56 +01:00
Ferran Recio
d009801075
MDL-67377 lib: Update mustache to 2.13.0
2020-01-09 17:32:56 +01:00
Luca Bösch
d4bca909c2
MDL-67625 quiz: only section titles should be large when editing.
2020-01-09 17:23:20 +01:00
Mario Wehr
a3a1b61b03
MDL-67204 assign task: Use lastruntime from task_scheduled
2020-01-09 17:09:22 +01:00
John Beedell
2bb9afeaf7
MDL-66918 behat: Behat app step failing
2020-01-09 15:54:16 +00:00
Luca Bösch
8f2a32ed95
MDL-67617 gradereport_singleview: Style the form element with bs classes
2020-01-09 16:51:18 +01:00
Sara Arjona
77d1c41502
weekly release 3.9dev
2020-01-09 15:42:44 +01:00
Jun Pataleta
16f2eaec8a
Merge branch 'MDL-67544-master' of git://github.com/andrewnicols/moodle
2020-01-09 15:22:27 +08:00
Andrew Nicols
3b1c8dfd67
MDL-67544f= mod_forum: Correct "for" attribute on private checkbox
2020-01-09 14:55:52 +08:00
Andrew Nicols
350edf7567
MDL-67544 mod_forum: Ensure post actions menu id is unique
2020-01-09 14:08:12 +08:00
Andrew Nicols
217a9b1ca0
Merge branch 'master_MDL-67485' of https://github.com/golenkovm/moodle
2020-01-09 12:39:28 +08:00
Mikhail Golenkov
6b2e15f6c5
MDL-67485 task: Release the task runner lock before throwing exception.
2020-01-09 14:29:58 +11:00
Andrew Nicols
452f568dca
Merge branch 'MDL-67596-cron-ramp-up' of https://github.com/brendanheywood/moodle
2020-01-09 08:11:10 +08:00
Eloy Lafuente (stronk7)
fd25850a8d
Merge branch 'MDL-67544-master' of git://github.com/andrewnicols/moodle
2020-01-08 16:35:39 +01:00
Eloy Lafuente (stronk7)
1b987615d9
Merge branch 'MDL-67533-master' of git://github.com/junpataleta/moodle
2020-01-08 16:31:25 +01:00
Sara Arjona
da5f054d6e
Merge branch 'MDL-66752-master-2' of git://github.com/junpataleta/moodle
2020-01-08 14:40:01 +01:00
Jake Dallimore
4e80934653
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.
2020-01-08 12:31:09 +01:00