Commit graph

101969 commits

Author SHA1 Message Date
Ilya Tregubov
117707809c MDL-72119 admin: Fix warning on installation of new site. 2021-09-14 16:28:13 +02:00
Ilya Tregubov
64b17c4c5b Merge branch 'MDL-72119-master' of git://github.com/sarjona/moodle 2021-09-14 12:20:22 +02:00
Ilya Tregubov
ddf6e31187 Merge branch 'MDL-71961-master' of git://github.com/nguyenphuctien/moodle 2021-09-14 11:49:04 +02:00
Jun Pataleta
61fc746602 Merge branch 'MDL-71473-master' of git://github.com/sarjona/moodle 2021-09-14 10:42:52 +08:00
Eloy Lafuente (stronk7)
aed4799ad4 Merge branch 'master-MDL-72527' of https://github.com/matt-catalyst/moodle 2021-09-13 23:35:22 +02:00
Jun Pataleta
355e30cfec Merge branch 'MDL-71228-master-v02' of git://github.com/ferranrecio/moodle 2021-09-13 22:10:19 +08:00
Ilya Tregubov
5fad3cd0f8 Merge branch 'MDL-71846' of git://github.com/paulholden/moodle 2021-09-13 13:38:25 +02:00
Tien Nguyen
95a82a9f2e MDL-71961 Quiz: Disable quiz navigation buttons when files are uploading 2021-09-13 17:31:17 +07:00
Sara Arjona
7045dd1948 MDL-71473 lib: Remove XMPPHP (Jabber) third-party lib
As the message_jabber notification plugin has been removed from core,
the XMPPHP library (aka Jabber) is not required any more so it has
been completely removed from Moodle core too.
2021-09-13 08:33:15 +02:00
Sara Arjona
f471a7d23a MDL-71473 message: Remove jabber output notification
Jabber is not widely used these days so message_jabber has been removed
from Moodle core.
2021-09-13 08:32:47 +02:00
Sara Arjona
78c8d6f29b MDL-72119 admin: Move Enable WS for mobile to Advanced features
The "Enable web services for mobile devices" setting has been moved
from the "Mobile app settings" page to "Advanced features".
Besides, the "Mobile app" section and the "Mobile settings" page
won't be displayed if WS for mobile devices setting is disabled.
2021-09-13 08:29:22 +02:00
Sara Arjona
1d8fe9b84f MDL-72119 admin: Move Enable MoodleNet to Advanced features
The "Enable MoodleNet integration" setting has been moved from
the "MoodleNet settings" page to "Advanced features".
Besides, the "MoodleNet settings" page and section won't be
displayed if MoodleNet integration setting is disabled.
2021-09-13 08:29:22 +02:00
Sara Arjona
608b20383c MDL-72119 admin: Move Enable messaging to Advanced features
The "Enable messaging" setting has been moved from "Messaging
settings" page to "Advanced features".
Besides, the "Messaging settings" page won't be displayed if
$CFG->messaging is disabled.
2021-09-13 08:29:22 +02:00
Sara Arjona
6498d743c3 MDL-72119 admin: Move Enable competencies to Advanced features
The "Enable competencies" setting has been moved from "Competencies
settings" page to "Advanced features".
Besides, the behaviour of the "Competencies" section has been reviewed
to completely hide it when competencies are disabled.
2021-09-13 08:29:22 +02:00
Matt Clarkson
728e8c4a3c MDL-72527 core: Fix behat unit test failure
$CFG->behat_wwwroot, $CFG->behat_dataroot and $CFG->behat_prefix being
undefined resulted in unit test failure.
2021-09-13 11:32:50 +12:00
Eloy Lafuente (stronk7)
1d700796ca weekly release 4.0dev 2021-09-11 12:12:12 +02:00
Eloy Lafuente (stronk7)
a41684d58f Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install 2021-09-11 12:12:07 +02:00
Shamim Rezaie
901ee1b6bc MDL-71240 filter_tex: Add allowlist for filter_tex_sanitize_formula 2021-09-10 17:57:33 +02:00
Jake Dallimore
1b58139052 Merge branch 'MDL-72216-master-fix' of git://github.com/junpataleta/moodle 2021-09-10 11:20:21 +08:00
Jun Pataleta
3d68eeb0d7 MDL-72216 question: Fix button spacing in preview template 2021-09-10 11:08:17 +08:00
Eloy Lafuente (stronk7)
8f4b2ca945 Merge branch 'MDL-71385-master-3' of git://github.com/junpataleta/moodle 2021-09-09 12:58:17 +02:00
Jun Pataleta
1401fa3bc1 Merge branch 'MDL-71899-master-2' of git://github.com/HuongNV13/moodle 2021-09-09 12:58:16 +02:00
Eloy Lafuente (stronk7)
69cdde9835 Merge branch 'MDL-63207-master' of git://github.com/cescobedo/moodle 2021-09-09 12:58:16 +02:00
Eloy Lafuente (stronk7)
633c2fcc5d Merge branch 'MDL-69855-master' of git://github.com/junpataleta/moodle 2021-09-09 12:58:16 +02:00
Ferran Recio
7659a18993 MDL-71228 course: sorting course on section state change 2021-09-09 11:16:10 +02:00
Ferran Recio
7f750dc01c MDL-71228 course: course index drag and drop 2021-09-09 11:16:10 +02:00
Jun Pataleta
71cf8ee1f4 MDL-71385 theme: Fix contrast for dimmed text against striped table rows
In order to achieve good colour contrast between dimmed text and striped
table rows, the background colour of the striped rows are being
lightened to 0.03 alpha. While $gray-600 is being adjusted to a bit
darker shade of #6a737b. This gives a colour contrast ratio of 4.5:1
between the dimmed text colour and the striped table row background
which meets WCAG 2.1 Level AA requirements.

Comparing the normal font colour (#212529) with the adjusted dimmed text
colour gives a contrast ratio of 3.20:1 which meets WCAG 2.1 Level AA
requirements and still makes them distinguishable from one another.
2021-09-09 15:59:23 +08:00
Huong Nguyen
3150612163 MDL-71899 performance: Improve activity completion data caching
- Modified SQL in get_data() to get the activity completion of all course modules without calling get_fast_modinfo() to reduce the DB queries.
 - Building activity completion cache for the whole course in one time instead of building the cache for each course module by passing $wholecourse = true to get_data()
2021-09-09 10:03:21 +07:00
Huong Nguyen
e0dd5f268a MDL-71899 performance: Improve course image caching
Changed to use get_course() instead of get_fast_modinfo() for better performance
2021-09-09 09:21:14 +07:00
AMOS bot
5d53e43ba4 Automatically generated installer lang files 2021-09-09 00:07:44 +00:00
Eloy Lafuente (stronk7)
bff1367a86 Merge branch 'MDL-72358-master' of git://github.com/sarjona/moodle 2021-09-08 17:07:58 +02:00
Eloy Lafuente (stronk7)
09825b1a9a Merge branch 'MDL-71614-fix' of github.com:sarjona/moodle 2021-09-08 16:32:43 +02:00
Sara Arjona
573b035122 MDL-71614 qbank_previewquestion: Add role button to Preview 2021-09-08 16:13:57 +02:00
Sara Arjona
37827bb15d MDL-71614 qbank_exporttoxml: Use correct helper class name 2021-09-08 15:27:13 +02:00
Eloy Lafuente (stronk7)
d08cdaadb2 Merge branch 'MDL-72216-master' of git://github.com/lucaboesch/moodle 2021-09-08 11:28:47 +02:00
Jun Pataleta
8b0ea8df44 Merge branch 'MDL-68164-cache_pg_type' of https://github.com/brendanheywood/moodle 2021-09-08 17:02:57 +08:00
Sara Arjona
5c78efaaea Merge branch 'master_MDL-71614-previewquestion' of https://github.com/catalyst/moodle-MDL-70329 2021-09-08 09:29:22 +02:00
Safat Shahin
0d55b26da8 MDL-71614 qbank_previewquestion: Add Preview question plugin to core
This implementation will introduce a qbank plugin "previewquestion"
which will view the preview question action in the question bank
actions by replacing the core classes, scripts and yui modules.
This plugin will also replace the preview option in the edit
question form. Having this plugin will give users the
flexibility of enabling or disabling this feature from
the question bank view.
This change will also allow other qbank plugins to add
elements or information in the preview question page
by implementing a callback. It also changes the pop
up to page redirect from base view page to make sure
any changes in preview reflects in the base view, for
example, comments added and the number of comments in
the comments colum changes while back from the preview
page. Other locations like edit and qtype plugins where
the preview is implemented, stays the same.

Co-Authored-By: Guillermo Gomez Arias <guillermogomez@catalyst-au.net>
Co-Authored-By: Safat Shahin <safatshahin@catalyst-au.net>
2021-09-08 16:21:06 +10:00
Eloy Lafuente (stronk7)
c2df50a673 Merge branch 'MDL-72499' of git://github.com/paulholden/moodle 2021-09-07 23:51:53 +02:00
Eloy Lafuente (stronk7)
f014d3635a Merge branch 'MDL-72467' of git://github.com/paulholden/moodle 2021-09-07 23:46:58 +02:00
Eloy Lafuente (stronk7)
252c466bb1 Merge branch 'MDL-72071' of git://github.com/paulholden/moodle 2021-09-07 23:29:35 +02:00
Eloy Lafuente (stronk7)
3ad8d4b097 Merge branch 'MDL-71925-master_wordcount' of https://github.com/brickfield/moodle 2021-09-07 23:25:21 +02:00
Eloy Lafuente (stronk7)
6cd2a9319d Merge branch 'MDL-72488-master-importdatastring' of git://github.com/mudrd8mz/moodle 2021-09-07 22:59:15 +02:00
cescobedo
53b9dbdb11 MDL-63207 auth_ldap: Update user profile if field is empty 2021-09-07 22:50:48 +02:00
Eloy Lafuente (stronk7)
b97c021a98 Merge branch 'MDL-69504-master' of https://github.com/snake/moodle 2021-09-07 20:03:45 +02:00
Eloy Lafuente (stronk7)
3a4ad12034 Merge branch 'MDL-67610-master-2' of git://github.com/junpataleta/moodle 2021-09-07 19:25:15 +02:00
Jun Pataleta
58bd7256ec MDL-67610 mod_forum: Do not include private replies in unread count
Fetching the counts of unread posts should only include unread regular
posts or unread private reply posts directed to the user unless the user
has the capability to read private replies.
In order to retrieve the correct counts, we also need to loop through
each forum instance in the course to check the capability of the user to
read private replies in each forum.
2021-09-07 23:19:26 +08:00
Eloy Lafuente (stronk7)
add353c2f5 Merge branch 'MDL-72025-master' of https://github.com/sammarshallou/moodle 2021-09-07 16:30:44 +02:00
Paul Holden
0a33c4aacd MDL-72447 question: require sesskey to toggle plugin enabled state. 2021-09-07 12:10:28 +02:00
Brendan Heywood
66a923fe77 MDL-68164 dml: Cache postgres field type metadata in MUC 2021-09-07 19:29:31 +10:00