Commit graph

96812 commits

Author SHA1 Message Date
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
Davo Smith
b791ed15e2 MDL-62815 mod_lti: fix error when clicking 'Select content' option 2020-01-08 09:46:41 +00:00
Davo Smith
dcb0f01f58 MDL-62815 mod_lti: fix javascript error + bump version number 2020-01-08 09:46:38 +00:00
Davo Smith
3a69044fb3 MDL-62815 mod_lti: fix logic around content button and launch container 2020-01-08 09:45:06 +00:00
Jun Pataleta
b93c99aa54 MDL-62815 mod_lti: Conditionally execute JS related to tool type 2020-01-08 09:45:05 +00:00
Davo Smith
477e87170b 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
2020-01-08 09:45:05 +00:00
yair.spielmann
e3b82acdc1 MDL-62815 mod_lti: Capabilities for adding default and preconfigured 2020-01-08 09:45:05 +00:00
Jun Pataleta
85770120f6 MDL-67533 mod_forum: Remove duplicate Re in experimental view subject 2020-01-08 16:29:20 +08:00
Jun Pataleta
010a253a23 MDL-35971 mod_forum: Add proper discussion list table description 2020-01-08 15:37:42 +08:00
Sara Arjona
f914f99a76 Merge branch 'MDL-67417-master' of https://github.com/KietChan/moodle 2020-01-08 08:26:37 +01:00
Andrew Nicols
d0c026b563 MDL-67544 mod_forum: Ensure that private reply checkbox has unique id 2020-01-08 15:26:03 +08:00
Sara Arjona
9fea68644e Merge branch 'MDL-67510-master' of git://github.com/junpataleta/moodle 2020-01-08 08:10:52 +01:00
Brendan Heywood
286cc88c8c MDL-67596 cron: Allow runners to ramp up instantly 2020-01-08 15:03:56 +11:00
Andrew Nicols
1bb7d46966 Merge branch 'MDL-67378-master' of git://github.com/rezaies/moodle 2020-01-08 11:11:45 +08:00
Brendan Heywood
2d98ebb9de MDL-67635 file_storage: Speedup file storage cleanup cron 2020-01-08 14:00:48 +11:00
Andrew Nicols
bc47535677 Merge branch 'MDL-67376-master' of git://github.com/rezaies/moodle 2020-01-08 10:40:25 +08:00
Andrew Nicols
379e26bfba Merge branch 'MDL-63734-master_hidepassword' of https://github.com/ledship/moodle 2020-01-08 09:39:06 +08:00
Andrew Nicols
5e34719d7e Merge branch 'MDL-65948-master' of git://github.com/junpataleta/moodle 2020-01-08 08:50:03 +08:00
Andrew Nicols
52aa532e64 Merge branch 'MDL-64764' of git://github.com/paulholden/moodle 2020-01-08 08:30:02 +08:00
Eloy Lafuente (stronk7)
f28fab4e59 Merge branch 'MDL-67449-master' of git://github.com/andrewnicols/moodle 2020-01-07 23:43:43 +01:00
Eloy Lafuente (stronk7)
2aad3ce228 Merge branch 'MDL-67469-master' of git://github.com/junpataleta/moodle 2020-01-07 22:59:17 +01:00
Tim Hunt
74f3415483 MDL-67631 quiz editing: add random dialogue should offer all numbers 2020-01-07 13:59:39 +00:00
Marina Glancy
95dfd8e0de MDL-64764 core_admin: allow to submit empty list of allowed roles.
Co-authored-by: Paul Holden <paulh@moodle.com>
2020-01-07 10:01:23 +00:00
Didier 'OdyX' Raboud
fba44e2fed
MDL-64075 antivirus_clamav: refactor scan_file for tcpsocket
- Deprecate \antivirus_clamav\scanner::scan_file_execute_unixsocket()
2020-01-07 08:41:37 +01:00