Ilya Tregubov [Wed, 15 Sep 2021 12:06:17 +0000 (14:06 +0200)]
Merge branch 'MDL-72310-master' of git://github.com/aanabit/moodle
Jake Dallimore [Wed, 15 Sep 2021 02:49:26 +0000 (10:49 +0800)]
Merge branch 'MDL-71550-master' of git://github.com/bmbrands/moodle
Jake Dallimore [Wed, 15 Sep 2021 02:11:48 +0000 (10:11 +0800)]
Merge branch 'MDL-71137-master' of https://github.com/NashTechOpenUniversity/moodle
Eloy Lafuente (stronk7) [Tue, 14 Sep 2021 20:48:10 +0000 (22:48 +0200)]
Merge branch 'MDL-72251-RB-Tasks_admin_UI_fix_time' of git://github.com/lostrogit/moodle
Eloy Lafuente (stronk7) [Tue, 14 Sep 2021 20:42:15 +0000 (22:42 +0200)]
Merge branch 'MDL-72115-master' of git://github.com/sarjona/moodle
Eloy Lafuente (stronk7) [Tue, 14 Sep 2021 20:21:55 +0000 (22:21 +0200)]
Merge branch '71093-master-backup-honor-formatstringstriptags' of https://github.com/DSI-Universite-Rennes2/moodle
Eloy Lafuente (stronk7) [Tue, 14 Sep 2021 20:17:19 +0000 (22:17 +0200)]
Merge branch 'MDL-72192' of git://github.com/paulholden/moodle
Ilya Tregubov [Tue, 14 Sep 2021 14:25:07 +0000 (16:25 +0200)]
MDL-72119 admin: Fix warning on installation of new site.
Ilya Tregubov [Tue, 14 Sep 2021 10:20:22 +0000 (12:20 +0200)]
Merge branch 'MDL-72119-master' of git://github.com/sarjona/moodle
Ilya Tregubov [Tue, 14 Sep 2021 09:49:04 +0000 (11:49 +0200)]
Merge branch 'MDL-71961-master' of git://github.com/nguyenphuctien/moodle
Jun Pataleta [Tue, 14 Sep 2021 02:42:52 +0000 (10:42 +0800)]
Merge branch 'MDL-71473-master' of git://github.com/sarjona/moodle
Eloy Lafuente (stronk7) [Mon, 13 Sep 2021 21:35:22 +0000 (23:35 +0200)]
Merge branch 'master-MDL-72527' of https://github.com/matt-catalyst/moodle
Jun Pataleta [Mon, 13 Sep 2021 14:10:19 +0000 (22:10 +0800)]
Merge branch 'MDL-71228-master-v02' of git://github.com/ferranrecio/moodle
Ilya Tregubov [Mon, 13 Sep 2021 11:38:25 +0000 (13:38 +0200)]
Merge branch 'MDL-71846' of git://github.com/paulholden/moodle
Tien Nguyen [Mon, 19 Jul 2021 01:32:32 +0000 (08:32 +0700)]
MDL-71961 Quiz: Disable quiz navigation buttons when files are uploading
Sara Arjona [Wed, 11 Aug 2021 14:07:34 +0000 (16:07 +0200)]
MDL-72115 course: Rename Miscellaneous category
The "Miscellaneous" course category has been renamed to Category 1.
Besides, the description field has been set from FORMAT_MOODLE to
FORMAT_HTML.
Sara Arjona [Mon, 16 Aug 2021 14:05:17 +0000 (16:05 +0200)]
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.
Sara Arjona [Mon, 16 Aug 2021 11:10:48 +0000 (13:10 +0200)]
MDL-71473 message: Remove jabber output notification
Jabber is not widely used these days so message_jabber has been removed
from Moodle core.
Sara Arjona [Thu, 12 Aug 2021 13:44:17 +0000 (15:44 +0200)]
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.
Sara Arjona [Thu, 12 Aug 2021 10:43:14 +0000 (12:43 +0200)]
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.
Sara Arjona [Thu, 12 Aug 2021 10:26:06 +0000 (12:26 +0200)]
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.
Sara Arjona [Thu, 12 Aug 2021 10:00:45 +0000 (12:00 +0200)]
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.
Matt Clarkson [Wed, 8 Sep 2021 02:38:34 +0000 (14:38 +1200)]
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.
Carlos Castillo [Tue, 10 Aug 2021 16:49:07 +0000 (11:49 -0500)]
MDL-72251 Task: Display the time in full accuracy
For more specific diagnostic, it's added seconds in tasks time.
Eloy Lafuente (stronk7) [Sat, 11 Sep 2021 10:12:12 +0000 (12:12 +0200)]
weekly release 4.0dev
Eloy Lafuente (stronk7) [Sat, 11 Sep 2021 10:12:07 +0000 (12:12 +0200)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Shamim Rezaie [Fri, 10 Sep 2021 14:47:44 +0000 (00:47 +1000)]
MDL-71240 filter_tex: Add allowlist for filter_tex_sanitize_formula
Jake Dallimore [Fri, 10 Sep 2021 03:20:21 +0000 (11:20 +0800)]
Merge branch 'MDL-72216-master-fix' of git://github.com/junpataleta/moodle
Jun Pataleta [Fri, 10 Sep 2021 03:08:17 +0000 (11:08 +0800)]
MDL-72216 question: Fix button spacing in preview template
Eloy Lafuente (stronk7) [Thu, 9 Sep 2021 08:50:31 +0000 (10:50 +0200)]
Merge branch 'MDL-71385-master-3' of git://github.com/junpataleta/moodle
Jun Pataleta [Thu, 9 Sep 2021 04:06:00 +0000 (12:06 +0800)]
Merge branch 'MDL-71899-master-2' of git://github.com/HuongNV13/moodle
Eloy Lafuente (stronk7) [Wed, 8 Sep 2021 21:44:49 +0000 (23:44 +0200)]
Merge branch 'MDL-63207-master' of git://github.com/cescobedo/moodle
Eloy Lafuente (stronk7) [Wed, 8 Sep 2021 21:23:20 +0000 (23:23 +0200)]
Merge branch 'MDL-69855-master' of git://github.com/junpataleta/moodle
Ferran Recio [Mon, 21 Jun 2021 14:20:00 +0000 (16:20 +0200)]
MDL-71228 course: sorting course on section state change
Ferran Recio [Mon, 21 Jun 2021 13:47:09 +0000 (15:47 +0200)]
MDL-71228 course: course index drag and drop
Jun Pataleta [Fri, 6 Aug 2021 02:50:43 +0000 (10:50 +0800)]
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.
Huong Nguyen [Thu, 9 Sep 2021 02:33:15 +0000 (09:33 +0700)]
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()
Huong Nguyen [Thu, 9 Sep 2021 02:21:11 +0000 (09:21 +0700)]
MDL-71899 performance: Improve course image caching
Changed to use get_course() instead of get_fast_modinfo() for better performance
AMOS bot [Thu, 9 Sep 2021 00:07:44 +0000 (00:07 +0000)]
Automatically generated installer lang files
Eloy Lafuente (stronk7) [Wed, 8 Sep 2021 15:07:58 +0000 (17:07 +0200)]
Merge branch 'MDL-72358-master' of git://github.com/sarjona/moodle
Eloy Lafuente (stronk7) [Wed, 8 Sep 2021 14:32:43 +0000 (16:32 +0200)]
Merge branch 'MDL-71614-fix' of github.com:sarjona/moodle
Sara Arjona [Wed, 8 Sep 2021 14:13:57 +0000 (16:13 +0200)]
MDL-71614 qbank_previewquestion: Add role button to Preview
Sara Arjona [Wed, 8 Sep 2021 13:27:13 +0000 (15:27 +0200)]
MDL-71614 qbank_exporttoxml: Use correct helper class name
Eloy Lafuente (stronk7) [Wed, 8 Sep 2021 09:28:47 +0000 (11:28 +0200)]
Merge branch 'MDL-72216-master' of git://github.com/lucaboesch/moodle
Jun Pataleta [Wed, 8 Sep 2021 09:02:57 +0000 (17:02 +0800)]
Merge branch 'MDL-68164-cache_pg_type' of https://github.com/brendanheywood/moodle
Sara Arjona [Wed, 8 Sep 2021 07:29:22 +0000 (09:29 +0200)]
Merge branch 'master_MDL-71614-previewquestion' of https://github.com/catalyst/moodle-MDL-70329
Safat Shahin [Wed, 2 Jun 2021 02:36:52 +0000 (12:36 +1000)]
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>
Eloy Lafuente (stronk7) [Tue, 7 Sep 2021 21:51:53 +0000 (23:51 +0200)]
Merge branch 'MDL-72499' of git://github.com/paulholden/moodle
Eloy Lafuente (stronk7) [Tue, 7 Sep 2021 21:46:58 +0000 (23:46 +0200)]
Merge branch 'MDL-72467' of git://github.com/paulholden/moodle
Eloy Lafuente (stronk7) [Tue, 7 Sep 2021 21:29:35 +0000 (23:29 +0200)]
Merge branch 'MDL-72071' of git://github.com/paulholden/moodle
Eloy Lafuente (stronk7) [Tue, 7 Sep 2021 21:25:21 +0000 (23:25 +0200)]
Merge branch 'MDL-71925-master_wordcount' of https://github.com/brickfield/moodle
Eloy Lafuente (stronk7) [Tue, 7 Sep 2021 20:59:15 +0000 (22:59 +0200)]
Merge branch 'MDL-72488-master-importdatastring' of git://github.com/mudrd8mz/moodle
cescobedo [Wed, 21 Jul 2021 05:55:03 +0000 (07:55 +0200)]
MDL-63207 auth_ldap: Update user profile if field is empty
Eloy Lafuente (stronk7) [Tue, 7 Sep 2021 17:29:47 +0000 (19:29 +0200)]
Merge branch 'MDL-69504-master' of https://github.com/snake/moodle
Eloy Lafuente (stronk7) [Tue, 7 Sep 2021 17:25:15 +0000 (19:25 +0200)]
Merge branch 'MDL-67610-master-2' of git://github.com/junpataleta/moodle
Jun Pataleta [Fri, 13 Aug 2021 16:24:52 +0000 (00:24 +0800)]
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.
Eloy Lafuente (stronk7) [Tue, 7 Sep 2021 14:30:44 +0000 (16:30 +0200)]
Merge branch 'MDL-72025-master' of https://github.com/sammarshallou/moodle
Paul Holden [Tue, 31 Aug 2021 22:48:36 +0000 (23:48 +0100)]
MDL-72447 question: require sesskey to toggle plugin enabled state.
Brendan Heywood [Tue, 27 Jul 2021 12:39:21 +0000 (22:39 +1000)]
MDL-68164 dml: Cache postgres field type metadata in MUC
Paul Holden [Fri, 21 May 2021 07:30:35 +0000 (08:30 +0100)]
MDL-71726 course: respect user access when exporting participants.
We should ensure that users being exported are enrolled on the
course being exported from. In courses where the current user can't
access all groups we should ensure that users being exported belong
to the same groups as them.
Sujith Haridasan [Tue, 13 Jul 2021 10:56:19 +0000 (16:26 +0530)]
MDL-71160 auth_db: Use strict comaprison
Use strict comparison to avoid type juggling.
Signed-off-by: Sujith Haridasan <sujith@moodle.com>
Paul Holden [Mon, 12 Jul 2021 21:14:25 +0000 (22:14 +0100)]
MDL-71976 auth_shibboleth: consistent session parsing during logout.
Shamim Rezaie [Fri, 16 Jul 2021 11:08:36 +0000 (21:08 +1000)]
MDL-71240 filter_tex: Sanitize the whole latex document
LaTeX documents have a preamble section and admins can use a \newcommand
statement to define new commands there (or to give an alias to another
command). This commit makes sure no blocked command can escape
sanitization by being used in a new seemingly harmless command that is
defined in the LaTeX preamble.
Shamim Rezaie [Fri, 16 Jul 2021 10:00:07 +0000 (20:00 +1000)]
MDL-71240 filter_tex: Support paranoid mode for openin_any in latex
Huong Nguyen [Sun, 1 Aug 2021 15:24:46 +0000 (22:24 +0700)]
MDL-71797 quiz: Improve the checks when fetching user's attempts
Jun Pataleta [Tue, 7 Sep 2021 06:55:13 +0000 (14:55 +0800)]
Merge branch 'MDL-71671-master' of git://github.com/rezaies/moodle
Jake Dallimore [Tue, 7 Sep 2021 04:31:43 +0000 (12:31 +0800)]
Merge branch 'MDL-72041-master' of git://github.com/sarjona/moodle
Shamim Rezaie [Fri, 23 Jul 2021 04:16:02 +0000 (14:16 +1000)]
MDL-71671 atto_table: Insert menus html after the button
Shamim Rezaie [Mon, 5 Jul 2021 04:58:17 +0000 (14:58 +1000)]
MDL-71671 editor_atto: Insert html of button menus after the button
Shamim Rezaie [Mon, 5 Jul 2021 04:57:43 +0000 (14:57 +1000)]
MDL-71671 core: Let YUI dialogues be inserted at given position
AMOS bot [Tue, 7 Sep 2021 00:07:46 +0000 (00:07 +0000)]
Automatically generated installer lang files
Eloy Lafuente (stronk7) [Mon, 6 Sep 2021 21:57:27 +0000 (23:57 +0200)]
Merge branch 'MDL-72286-master-test' of git://github.com/rezaies/moodle
Eloy Lafuente (stronk7) [Mon, 6 Sep 2021 15:49:22 +0000 (17:49 +0200)]
Merge branch 'MDL-71639-fix' of github.com:sarjona/moodle
Eloy Lafuente (stronk7) [Mon, 6 Sep 2021 15:48:58 +0000 (17:48 +0200)]
Merge branch 'MDL-71641-fix' of github.com:sarjona/moodle
David Mudrák [Sat, 4 Sep 2021 16:41:58 +0000 (18:41 +0200)]
MDL-72488 lang: Fix hard-coded English string at grades import form
Also adding a help tooltip as this seems to be the most important field
in the form and yet it was the only one without a help.
Sara Arjona [Mon, 6 Sep 2021 13:40:11 +0000 (15:40 +0200)]
MDL-71639 qbank_exporttoxml: Use correct helper class name
Sara Arjona [Mon, 6 Sep 2021 13:22:44 +0000 (15:22 +0200)]
MDL-71641 qbank_tagquestion: Fix behat failure with classic
Sara Arjona [Mon, 6 Sep 2021 11:06:01 +0000 (13:06 +0200)]
Merge branch 'master_MDL-71641-tagquestion' of https://github.com/catalyst/moodle-MDL-70329
Safat Shahin [Mon, 7 Jun 2021 09:17:06 +0000 (19:17 +1000)]
MDL-71641 qbank_tagquestion: Add Tag question plugin to core
This implementation will introduce a qbank plugin "tagquestion"
which will implement the tag question actions in the question
bank view by replacing the core class. Having this plugin
will give users the flexibility of enabling or
disabling this action.
Paul Holden [Mon, 6 Sep 2021 10:14:09 +0000 (11:14 +0100)]
MDL-72499 event: add/correct event language strings as required.
Sara Arjona [Mon, 6 Sep 2021 08:39:06 +0000 (10:39 +0200)]
Merge branch 'master_MDL-71585-managecategories' of https://github.com/catalyst/moodle-MDL-70329
Sara Arjona [Mon, 6 Sep 2021 08:03:07 +0000 (10:03 +0200)]
Merge branch 'MDL-46778-master' of git://github.com/odeialba/moodle
Thong Bui [Sat, 17 Jul 2021 16:38:03 +0000 (23:38 +0700)]
MDL-71137 File upload: progress bar issues display when D&D multi files
Sara Arjona [Mon, 6 Sep 2021 06:58:20 +0000 (08:58 +0200)]
Merge branch 'master_MDL-71639-exporttoxml' of https://github.com/catalyst/moodle-MDL-70329
Eloy Lafuente (stronk7) [Fri, 3 Sep 2021 17:09:52 +0000 (19:09 +0200)]
Merge branch 'MDL-72428-master-enfix' of git://github.com/mudrd8mz/moodle
David Mudrák [Tue, 31 Aug 2021 16:45:17 +0000 (18:45 +0200)]
MDL-72428 lang: Use the fixed strings in the tests
Helen Foster [Tue, 31 Aug 2021 16:40:06 +0000 (18:40 +0200)]
MDL-72428 lang: Import fixed English strings (en_fix)
Eloy Lafuente (stronk7) [Fri, 3 Sep 2021 15:02:40 +0000 (17:02 +0200)]
Merge branch 'MDL-72478-master' of git://github.com/sarjona/moodle
Amaia Anabitarte [Wed, 11 Aug 2021 08:51:36 +0000 (10:51 +0200)]
MDL-72310 core_course: Expand course index sections by default
Sara Arjona [Fri, 3 Sep 2021 07:28:41 +0000 (09:28 +0200)]
MDL-72478 calendar: Fix PHPUnit failure with offset
Before PHP 8.0.10, the time is lost when datetime->modify() is used
with weekdays. However, with PHP 8.0.10, the time is kept.
In consequence, the test_yearly_every_20th_monday_forever method
started failing.
For fixing it, the offset has been removed and the time has been set
to 00:00, so the behaviour will be the same regardless the PHP
version.
Guillermo Gomez [Tue, 11 May 2021 06:22:03 +0000 (16:22 +1000)]
MDL-71585 qbank_managecategories: Add managecategories to core
This implementation will introduce a qbank plugin "managecategories"
which will add the question categories feature in the question bank view
by replacing the core classes. Having this plugin will give users
the flexibility of enabling or disabling the category tab.
Eloy Lafuente (stronk7) [Thu, 2 Sep 2021 21:00:17 +0000 (23:00 +0200)]
Merge branch 'MDL-71014-cache-siteid' of https://github.com/brendanheywood/moodle
Paul Holden [Thu, 2 Sep 2021 16:32:19 +0000 (17:32 +0100)]
MDL-72467 tool_task: improve cron status check details.
Sara Arjona [Wed, 11 Aug 2021 07:44:27 +0000 (09:44 +0200)]
MDL-72041 qformat: Remove WebCT question format
WebCT was acquired by Blackboard in 2006, so qformat_webct has been
completely removed from Moodle core.
Odei Alba [Wed, 25 Aug 2021 08:47:53 +0000 (10:47 +0200)]
MDL-46778 behat: Allow different database for behat
sam marshall [Thu, 2 Sep 2021 12:42:58 +0000 (13:42 +0100)]
MDL-72025 Upgrade: Out of memory when updating social profile fields
Luca Bösch [Mon, 26 Jul 2021 10:25:56 +0000 (12:25 +0200)]
MDL-72216 questions: Don't stick buttons together in preview.
Safat Shahin [Thu, 3 Jun 2021 01:28:28 +0000 (11:28 +1000)]
MDL-71639 qbank_exporttoxml: Add Export to xml plugin to core
This implementation will introduce a qbank plugin "exporttoxml"
which will implement the export to xml action in the question
bank view by replacing the core class. Having this plugin will
give users the flexibility of enabling or disabling this action.
Sara Arjona [Thu, 2 Sep 2021 09:51:22 +0000 (11:51 +0200)]
weekly release 4.0dev
Brendan Heywood [Tue, 27 Jul 2021 07:59:14 +0000 (17:59 +1000)]
MDL-71014 core: Cache immutable bootstrap config locally