Jake Dallimore [Wed, 2 Dec 2020 08:20:37 +0000 (16:20 +0800)]
Merge branch 'MDL-67514' of https://github.com/paulholden/moodle
Andrew Nicols [Wed, 2 Dec 2020 07:09:52 +0000 (15:09 +0800)]
Merge branch 'MDL-57614-master-4' of git://github.com/mihailges/moodle
Mihail Geshoski [Mon, 30 Nov 2020 03:11:53 +0000 (11:11 +0800)]
MDL-57614 core: Fetch blocks through a webservice in add block modal
Mihail Geshoski [Mon, 19 Oct 2020 10:42:12 +0000 (18:42 +0800)]
MDL-57614 core_block: Create webservice that returns the addable blocks
Creates a webservice that returns the addable blocks in a given page.
The webservice expects the page context id, page type and page layout as
parameters and returns the block name and block title for each available
block.
Sara Arjona [Tue, 1 Dec 2020 07:00:28 +0000 (08:00 +0100)]
Merge branch 'MDL-70037' of git://github.com/paulholden/moodle
Paul Holden [Fri, 13 Nov 2020 09:34:45 +0000 (09:34 +0000)]
MDL-70037 mod_forum: include post modified date in external structure.
Adrian Greeve [Mon, 30 Nov 2020 01:39:51 +0000 (09:39 +0800)]
Merge branch 'MDL-68052' of git://github.com/danmarsden/moodle
Sara Arjona [Fri, 27 Nov 2020 06:50:34 +0000 (07:50 +0100)]
weekly release 4.0dev
Sara Arjona [Fri, 27 Nov 2020 06:50:30 +0000 (07:50 +0100)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
AMOS bot [Fri, 27 Nov 2020 06:21:37 +0000 (06:21 +0000)]
Automatically generated installer lang files
Sara Arjona [Thu, 26 Nov 2020 14:04:13 +0000 (15:04 +0100)]
Merge branch 'MDL-70276' of https://github.com/stronk7/moodle
Andrew Nicols [Thu, 26 Nov 2020 03:50:22 +0000 (11:50 +0800)]
Merge branch 'MDL-65215-master' of git://github.com/peterRd/moodle
Andrew Nicols [Thu, 26 Nov 2020 03:35:38 +0000 (11:35 +0800)]
Merge branch 'MDL-63266-master' of git://github.com/peterRd/moodle
Andrew Nicols [Thu, 26 Nov 2020 03:26:15 +0000 (11:26 +0800)]
MDL-70153 qtype_essay: Whitespace/behat fixes
Andrew Nicols [Thu, 26 Nov 2020 03:17:36 +0000 (11:17 +0800)]
Merge branch 'MDL-70153-master' of git://github.com/dpalou/moodle
Andrew Nicols [Thu, 26 Nov 2020 03:03:22 +0000 (11:03 +0800)]
Merge branch 'MDL-70237-master' of git://github.com/rezaies/moodle
Andrew Nicols [Thu, 26 Nov 2020 02:48:50 +0000 (10:48 +0800)]
Merge branch 'MDL-70242-master' of git://github.com/marinaglancy/moodle
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
Eloy Lafuente (stronk7) [Sat, 21 Nov 2020 12:05:22 +0000 (13:05 +0100)]
MDL-70276 github actions: First cut, phpunit and grunt checks
First working version, supports phpunit (using build matrix):
- php72 (lowest), running mysql.
- php74 (highest), running postgres.
Also verifies that the branch has been "gruntified" and there
isn't any missing change (build js/css files).
TODO: Verify the remaining checks currently in .travis.yml, namely:
- CITEST
- Add caching
- Better health-check for DB images.
- Support from the tracker (satus badges and enable check).
- Support from CiBoT (status and enable check).
- Consider moving both the common setup (git, composer...)
and the database (mysql, postgres) to own actions for
easier tweaking.
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
Peter Dias [Mon, 16 Nov 2020 13:23:44 +0000 (21:23 +0800)]
MDL-65215 core: Deprecate i_dock_block
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
Shamim Rezaie [Mon, 16 Nov 2020 10:37:45 +0000 (21:37 +1100)]
MDL-70237 payment: Allow html tags in gateway description
sangnguyen2601 [Mon, 9 Nov 2020 08:47:14 +0000 (15:47 +0700)]
MDL-70094 Question: Technical info section expands if click help icon
Dani Palou [Tue, 17 Nov 2020 09:31:32 +0000 (10:31 +0100)]
MDL-70153 qtype_essay: Add behat test for attachments max size
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 [Wed, 17 Jun 2020 19:25:43 +0000 (20:25 +0100)]
MDL-67514 customfield: correct external usescategories return type.
Marina Glancy [Tue, 17 Nov 2020 15:47:12 +0000 (16:47 +0100)]
MDL-70242 auth_oauth2: set page context and url
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>
Dan Marsden [Tue, 17 Nov 2020 01:26:27 +0000 (14:26 +1300)]
MDL-68052 analytics: Clean up analytics_indicator_calc records.
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.
Peter Dias [Mon, 16 Nov 2020 15:11:17 +0000 (23:11 +0800)]
MDL-63266 core: Final deprecation enrol/cli/sync.php
Dani Palou [Mon, 16 Nov 2020 14:20:34 +0000 (15:20 +0100)]
MDL-70153 qtype_essay: Fix max size displayed for attachments
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