Andrew Nicols [Thu, 26 Nov 2020 02:03:33 +0000 (10:03 +0800)]
Merge branch 'MDL-65852-master' of git://github.com/ilya-catalyst/moodle
Eloy Lafuente (stronk7) [Wed, 25 Nov 2020 21:42:16 +0000 (22:42 +0100)]
Merge branch 'MDL-42382-master' of git://github.com/NoelDeMartin/moodle into master
Sara Arjona [Wed, 25 Nov 2020 15:22:45 +0000 (16:22 +0100)]
Merge branch 'MDL-70248-master' of https://github.com/HuongNV13/moodle
Sara Arjona [Wed, 25 Nov 2020 14:46:30 +0000 (15:46 +0100)]
Merge branch 'MDL-70265' of https://github.com/stronk7/moodle
Sara Arjona [Wed, 25 Nov 2020 14:05:39 +0000 (15:05 +0100)]
Merge branch 'MDL-69878-master' of git://github.com/bmbrands/moodle
Ilya Tregubov [Fri, 13 Nov 2020 09:02:52 +0000 (11:02 +0200)]
MDL-65852 user: Fix permission check to download course participants.
Eloy Lafuente (stronk7) [Tue, 24 Nov 2020 21:58:48 +0000 (22:58 +0100)]
Merge branch 'MDL-69121-redis-session-store-compression' of git://github.com/jamie-catalyst/moodle into master
Sara Arjona [Tue, 24 Nov 2020 16:24:44 +0000 (17:24 +0100)]
Merge branch 'master-MDL-69773_v2' of https://github.com/golenkovm/moodle
Adrian Greeve [Tue, 24 Nov 2020 00:57:12 +0000 (08:57 +0800)]
Merge branch 'MDL-64776-master' of git://github.com/peterRd/moodle
Mikhail Golenkov [Tue, 24 Nov 2020 00:33:27 +0000 (11:33 +1100)]
MDL-69773 block_section_links: Add an option to display section name
Eloy Lafuente (stronk7) [Mon, 23 Nov 2020 12:40:52 +0000 (13:40 +0100)]
MDL-70265 travis: Completely remove the UPGRADE check
It was broken since ages ago, see MDL-64874, so no sense
to keep it eating minutes for nothing.
Adrian Greeve [Mon, 23 Nov 2020 07:40:04 +0000 (15:40 +0800)]
Merge branch 'MDL-67668-master-2' of git://github.com/andrewnicols/moodle
Jake Dallimore [Mon, 23 Nov 2020 07:21:31 +0000 (15:21 +0800)]
Merge branch 'MDL-70160-function-cache-m' of https://github.com/Peterburnett/moodle
Adrian Greeve [Mon, 23 Nov 2020 06:05:05 +0000 (14:05 +0800)]
Merge branch 'MDL-67028-additional-custom-parameters' of https://github.com/cengage/moodle
Andrew Nicols [Wed, 17 Jun 2020 05:45:37 +0000 (13:45 +0800)]
MDL-67668 behat: Update tests for inplace editable field type
Andrew Nicols [Wed, 17 Jun 2020 05:45:15 +0000 (13:45 +0800)]
MDL-67668 behat: Add inplace editable field type
This commit promotes the Inplace Editable field to a first-class form
element by introducing a new partial selector for inplace editable
fields, and teaching the field manager how to recognise these, then
introducing a new field type which can handle setting values for this
field.
Andrew Nicols [Tue, 10 Nov 2020 07:10:30 +0000 (15:10 +0800)]
MDL-67668 behat: Share behat_behat functionality with forms
Behat form fields are implemented in a way completely isolated from the
rest of the Behat Context system. Whereas regular step definitions have
access to execute steps, to call `find`, check for JS running, and other
related functionality, the Moodle implementation of a field type does
not have any access to this.
By moving the core functionality of behat_base to a new trait, and the
constants to a new interface, the functionality can also be used in
behat form fields in the same way as elsewhere.
Andrew Nicols [Thu, 12 Nov 2020 00:17:34 +0000 (08:17 +0800)]
MDL-67668 behat: Correct js pending check
Pending checks should only run when JS is running, but some uses were
not apply this check.
Andrew Nicols [Thu, 12 Nov 2020 00:15:55 +0000 (08:15 +0800)]
MDL-67668 behat: Support NodeElement when fetching node in container
This is similar to change made in MDL-69136 to allow an already-fetched
NodeElement to be provided to the get_node_in_container() function and
makes it easier to be deterministic when writing steps.
Eloy Lafuente (stronk7) [Fri, 20 Nov 2020 15:20:18 +0000 (16:20 +0100)]
MDL-70265 travis: Only run highest phpunit if configured via env
By default only lowest php version will be executed, and only pgsql.
This default behavior can be changed with a new variable:
MOODLE_PHP = [all]
MOODLE_DATABASE = [pgsql | mysqli | all]
Eloy Lafuente (stronk7) [Fri, 20 Nov 2020 22:16:43 +0000 (23:16 +0100)]
weekly release 4.0dev
Eloy Lafuente (stronk7) [Fri, 20 Nov 2020 22:16:41 +0000 (23:16 +0100)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install into master
Peter Dias [Thu, 12 Nov 2020 07:32:52 +0000 (15:32 +0800)]
MDL-64776 book: Final deprecation booktool_print_get_toc
Adrian Greeve [Thu, 19 Nov 2020 03:59:32 +0000 (11:59 +0800)]
Merge branch 'master-MDL-67636' of https://github.com/yao9394/moodle
Jake Dallimore [Thu, 19 Nov 2020 03:41:31 +0000 (11:41 +0800)]
Merge branch 'MDL-67081-profile-cli' of https://github.com/brendanheywood/moodle
John Yao [Thu, 19 Nov 2020 01:36:32 +0000 (12:36 +1100)]
MDL-67636 gradebook: Prevent exposing hidden grade in locked category
Adrian Greeve [Thu, 19 Nov 2020 03:29:01 +0000 (11:29 +0800)]
Merge branch 'MDL-65843-task-overrides' of https://github.com/jamie-catalyst/moodle
Adrian Greeve [Thu, 19 Nov 2020 03:07:27 +0000 (11:07 +0800)]
Merge branch 'MDL-56653_enrol_meta_edit_instance_validation' of https://github.com/vtos/moodle
Andrew Nicols [Thu, 19 Nov 2020 02:40:47 +0000 (10:40 +0800)]
Merge branch 'MDL-69809' of https://github.com/paulholden/moodle
Andrew Nicols [Thu, 19 Nov 2020 02:34:02 +0000 (10:34 +0800)]
Merge branch 'MDL-67702' of https://github.com/paulholden/moodle
Jun Pataleta [Thu, 19 Nov 2020 01:40:25 +0000 (09:40 +0800)]
MDL-70094 core: Fix version number for the upgrade note.
Jun Pataleta [Thu, 19 Nov 2020 01:38:39 +0000 (09:38 +0800)]
Merge branch 'MDL-70094-master' of https://github.com/SangNguyen2601/moodle
Andrew Nicols [Thu, 19 Nov 2020 00:51:57 +0000 (08:51 +0800)]
Merge branch 'MDL-47456-avoid-siteid-db' of https://github.com/brendanheywood/moodle
Eloy Lafuente (stronk7) [Wed, 18 Nov 2020 22:06:49 +0000 (23:06 +0100)]
Merge branch 'MDL-70107-task-unlock-session' of https://github.com/brendanheywood/moodle into master
Eloy Lafuente (stronk7) [Wed, 18 Nov 2020 21:59:28 +0000 (22:59 +0100)]
Merge branch 'MDL-69201' of https://github.com/paulholden/moodle into master
Jamie Stamp [Wed, 7 Oct 2020 16:27:35 +0000 (17:27 +0100)]
MDL-65843 tasks: Allow schedules to be overridden in config
sangnguyen2601 [Mon, 9 Nov 2020 08:47:14 +0000 (15:47 +0700)]
MDL-70094 Question: Technical info section expands if click help icon
Huong Nguyen [Wed, 18 Nov 2020 09:09:05 +0000 (16:09 +0700)]
MDL-70248 qtype_ddimageortext: Drop zones have UI issue in Editing form
Andrew Nicols [Wed, 18 Nov 2020 02:17:32 +0000 (10:17 +0800)]
Merge branch 'MDL-70158' of git://github.com/paulholden/moodle
Andrew Nicols [Wed, 18 Nov 2020 01:32:46 +0000 (09:32 +0800)]
Merge branch 'MDL-68896' of git://github.com/danmarsden/moodle
Eloy Lafuente (stronk7) [Tue, 17 Nov 2020 22:12:56 +0000 (23:12 +0100)]
Merge branch 'MDL-70148-master' of git://github.com/andrewnicols/moodle into master
Paul Holden [Mon, 27 Jul 2020 19:53:49 +0000 (20:53 +0100)]
MDL-70158 tool_templatelibrary: group and sort list of components.
Noel De Martin [Mon, 16 Nov 2020 12:52:07 +0000 (13:52 +0100)]
MDL-42382 admin: Add replace filters button
Co-authored-by: Luca Bösch <luca.boesch@bfh.ch>
Co-authored-by: Andrei Bautu <abautu@gmail.com>
Andrew Nicols [Mon, 9 Nov 2020 07:35:54 +0000 (15:35 +0800)]
MDL-70148 gradereport_grader: Improve reliability of keyboard usage
In some browsers the ajax grade select does not properly update the
grade after setting values. The previous solution was to press the
[enter] key, but doing this with the new key type step opens the select
box again. This is what happens when a real user presses enter on the
select.
This is the last possible field in the report, so pressing the tab key
to move to the next gradable element does not work.
The solution uses a shift-tab to move the focus away to the previous
gradale element. In this case it must also be moved to an earlier step
because the previously selected value must be checked in the Then
section of the test and if it is selected then its value cannot be
checked.
Andrew Nicols [Tue, 23 Jun 2020 03:09:58 +0000 (11:09 +0800)]
MDL-70148 qtype: Update qtype steps to new key interaction
Note: The ddmarker question type was previously getting the number of
keypresses wrong. This was because it was using both keyDown/keyUp, and
also keyPress. As a result each keypress was essentially happening two
times.
Andrew Nicols [Mon, 22 Jun 2020 02:39:57 +0000 (10:39 +0800)]
MDL-70148 behat: Update steps for keyboard
Andrew Nicols [Wed, 17 Jun 2020 06:50:04 +0000 (14:50 +0800)]
MDL-70148 behat: Add steps to send keys without an element
Andrew Nicols [Tue, 17 Nov 2020 06:52:58 +0000 (14:52 +0800)]
Merge branch 'MDL-69526-master' of git://github.com/lucaboesch/moodle
Adrian Greeve [Tue, 17 Nov 2020 05:04:57 +0000 (13:04 +0800)]
Merge branch 'MDL-50955-master' of git://github.com/peterRd/moodle
Andrew Nicols [Tue, 17 Nov 2020 02:21:27 +0000 (10:21 +0800)]
Merge branch 'MDL-69964' of git://github.com/paulholden/moodle
Paul Holden [Wed, 21 Oct 2020 09:22:55 +0000 (10:22 +0100)]
MDL-69964 course: toggle participant checkboxes in root element.
For a given toggleGroup, the relevant action elements are not
necessarily descendants of the same tableRoot element, on the
course participants page.
Eloy Lafuente (stronk7) [Mon, 16 Nov 2020 08:17:31 +0000 (09:17 +0100)]
Merge branch 'MDL-67513-master-fix' of https://github.com/andrewnicols/moodle into master
Andrew Nicols [Mon, 16 Nov 2020 07:19:28 +0000 (15:19 +0800)]
MDL-67513 core: Only move modal to body if currently attached
A previous change as part of this commitset was intended to move the
modal to the document.body, but where the modal had been destroyed it
was instead added back to the body.
Peter Dias [Wed, 7 Oct 2020 02:55:25 +0000 (10:55 +0800)]
MDL-50955 core: Reset lessons completion criteria if grade type is none
Brendan Heywood [Sun, 1 Nov 2020 02:55:41 +0000 (13:55 +1100)]
MDL-47456 core: Remove redundant DB call during bootstrap
Brendan Heywood [Tue, 3 Nov 2020 07:08:24 +0000 (18:08 +1100)]
MDL-70107 tool_task: Unlock session on long running tasks in UI
Andrew Nicols [Mon, 16 Nov 2020 00:22:51 +0000 (08:22 +0800)]
Merge branch 'MDL-67513' of https://github.com/NeillM/moodle
Brendan Heywood [Sun, 11 Oct 2020 23:51:32 +0000 (10:51 +1100)]
MDL-67081 xhprof: Allow conditional profiling from CLI using env vars
AMOS bot [Fri, 13 Nov 2020 00:09:47 +0000 (00:09 +0000)]
Automatically generated installer lang files
Luca Bösch [Fri, 21 Aug 2020 14:03:18 +0000 (16:03 +0200)]
MDL-69526 block_myoverview: custom course fields natural sorting
Eloy Lafuente (stronk7) [Thu, 12 Nov 2020 21:11:32 +0000 (22:11 +0100)]
weekly release 4.0dev
Eloy Lafuente (stronk7) [Thu, 12 Nov 2020 21:11:29 +0000 (22:11 +0100)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install into master
Vitaly [Fri, 18 Sep 2020 18:45:26 +0000 (21:45 +0300)]
MDL-56653 enrol_meta: a single DB query in edit_instance_validation
The 'edit_instance_validation()' method checks for existing meta enrolment instances.
The fix replaces DB queries in a loop for each course with a single query for all courses.
Also, a new testing method 'test_edit_instance_validation_with_existing_courses()'
was added to /enrol/meta/tests/plugin_test.php to test if the new implementation
returns an error in case of trying to save the already linked courses in the 'customint1' field.
Neill Magill [Tue, 25 Aug 2020 06:47:15 +0000 (07:47 +0100)]
MDL-67513 forum: View conversations while fullscreen grading
Before this change when a modal was shown and an element on the page
was fullscreen the modal would be created behind it.
This change ensures that the modal will be inside an element that is
fullscreen so that it will be correctly displayed.
Adrian Greeve [Thu, 12 Nov 2020 03:53:49 +0000 (11:53 +0800)]
Merge branch 'MDL-69453-master' of git://github.com/bmbrands/moodle
Adrian Greeve [Thu, 12 Nov 2020 03:48:57 +0000 (11:48 +0800)]
Merge branch 'master-MDL-70117' of https://github.com/golenkovm/moodle
Andrew Nicols [Thu, 12 Nov 2020 02:26:30 +0000 (10:26 +0800)]
Merge branch 'MDL-70067-master_theme_classic' of https://github.com/alexmorrisnz/moodle
Eloy Lafuente (stronk7) [Wed, 11 Nov 2020 23:18:26 +0000 (00:18 +0100)]
Merge branch 'MDL-65941-master' of https://github.com/snake/moodle into master
Eloy Lafuente (stronk7) [Wed, 11 Nov 2020 22:57:15 +0000 (23:57 +0100)]
Merge branch 'MDL-70023-master' of git://github.com/marinaglancy/moodle into master
Alex Morris [Wed, 11 Nov 2020 19:56:19 +0000 (08:56 +1300)]
MDL-70067 report_insights: Replace BS3 column naming
Bootstrap 4 removed col-xs- and replaced it with col-
Sara Arjona [Wed, 11 Nov 2020 15:31:21 +0000 (16:31 +0100)]
Merge branch 'MDL-70063-master-1' of git://github.com/mihailges/moodle
Bas Brands [Wed, 28 Oct 2020 14:11:57 +0000 (15:11 +0100)]
MDL-69878 core_message: always show message drawer close icon
Jun Pataleta [Wed, 11 Nov 2020 14:08:07 +0000 (22:08 +0800)]
Merge branch 'MDL-70072-master' of git://github.com/rezaies/moodle
Mihail Geshoski [Wed, 11 Nov 2020 13:02:42 +0000 (21:02 +0800)]
MDL-70063 block_tag_youtube: Add behat tests
Mihail Geshoski [Sat, 31 Oct 2020 14:59:52 +0000 (22:59 +0800)]
MDL-70063 block_tag_youtube: Fix category config in existing instances
Upgrade step that fixes the category configuration of existing
tag_youtube block instances.
Mihail Geshoski [Sat, 31 Oct 2020 14:52:06 +0000 (22:52 +0800)]
MDL-70063 block_tag_youtube: Update category config to use category ID
In YouTube Data API v3, the API call to fetch the videos related to a
certain category expects the category ID to be passed to the
videoCategoryId parameter, instead of the category name. Therefore, the
category config should store the category ID.
Bas Brands [Tue, 27 Oct 2020 12:44:02 +0000 (13:44 +0100)]
MDL-69453 core_form: improve form UI icons and alignment
Sara Arjona [Wed, 11 Nov 2020 07:39:14 +0000 (08:39 +0100)]
Merge branch 'MDL-70141-master' of https://github.com/sammarshallou/moodle
Sara Arjona [Wed, 11 Nov 2020 06:41:19 +0000 (07:41 +0100)]
Merge branch 'MDL-69823-master' of git://github.com/jleyva/moodle
Michael Aherne [Mon, 17 Jun 2019 11:24:39 +0000 (12:24 +0100)]
MDL-65941 cache: Prevent cache config failure on redis problems.
Andrew Nicols [Wed, 11 Nov 2020 02:20:00 +0000 (10:20 +0800)]
Merge branch 'MDL-70126' of git://github.com/paulholden/moodle
Andrew Nicols [Wed, 11 Nov 2020 01:49:26 +0000 (09:49 +0800)]
Merge branch 'MDL-70065' of https://github.com/timhunt/moodle
AMOS bot [Wed, 11 Nov 2020 00:07:43 +0000 (00:07 +0000)]
Automatically generated installer lang files
Mikhail Golenkov [Tue, 10 Nov 2020 23:49:58 +0000 (10:49 +1100)]
MDL-70117 dataformat_pdf: Fix content overflow when headers are involved
Paul Holden [Mon, 12 Oct 2020 11:24:41 +0000 (12:24 +0100)]
MDL-69809 mod_folder: include forcedownload setting in WS responses.
Juan Leyva [Wed, 30 Sep 2020 09:27:29 +0000 (11:27 +0200)]
MDL-69823 qtype: Support core question types
Juan Leyva [Wed, 30 Sep 2020 09:27:05 +0000 (11:27 +0200)]
MDL-69823 mod_quiz: Return question options via WS
Sara Arjona [Tue, 10 Nov 2020 15:53:27 +0000 (16:53 +0100)]
Merge branch 'MDL-70106-icon-cache' of https://github.com/Peterburnett/moodle
Jun Pataleta [Tue, 10 Nov 2020 06:11:54 +0000 (14:11 +0800)]
Merge branch 'MDL-69930-master' of https://github.com/HuongNV13/moodle
# Conflicts:
# question/type/ddimageortext/amd/build/question.min.js
# question/type/ddimageortext/amd/build/question.min.js.map
# question/type/ddimageortext/amd/src/question.js
Peter Burnett [Tue, 10 Nov 2020 01:06:17 +0000 (11:06 +1000)]
MDL-70160 cache: plugin_functions checks for function_exists()
Jun Pataleta [Tue, 10 Nov 2020 02:14:57 +0000 (10:14 +0800)]
Merge branch 'MDL-68349-master' of git://github.com/marinaglancy/moodle
Jake Dallimore [Tue, 10 Nov 2020 01:32:34 +0000 (09:32 +0800)]
Merge branch 'MDL-69841-master' of https://github.com/HuongNV13/moodle
Paul Holden [Mon, 19 Oct 2020 23:11:45 +0000 (00:11 +0100)]
MDL-67702 gradereport_grader: user filters per report instance.
Paul Holden [Tue, 28 Jan 2020 00:56:48 +0000 (00:56 +0000)]
MDL-67702 mod_assign: distinct uniqueid value for grading tables.
This has the effect of making table sorting and filtering by initials
apply only to the current table instance, rather than to all of them.
Víctor Déniz [Mon, 9 Nov 2020 21:46:53 +0000 (21:46 +0000)]
Merge branch 'MDL-69955-master' of https://github.com/HuongNV13/moodle
Paul Holden [Tue, 20 Oct 2020 23:22:23 +0000 (00:22 +0100)]
MDL-69201 core: consistent table primary sort column/order.
Paul Holden [Thu, 5 Nov 2020 19:48:29 +0000 (19:48 +0000)]
MDL-70126 tag: correct thrown exception class name.
Neill Magill [Mon, 9 Nov 2020 14:23:25 +0000 (14:23 +0000)]
MDL-67513 forum: Test that discussions can be viewed while grading
Jamie Stamp [Mon, 9 Nov 2020 12:25:00 +0000 (12:25 +0000)]
MDL-69121 core: Add ZSTD/Gzip compression options to Redis sessions
AMOS bot [Mon, 9 Nov 2020 00:07:51 +0000 (00:07 +0000)]
Automatically generated installer lang files