moodle.git
4 months agoweekly release 4.0dev
Jake Dallimore [Fri, 4 Dec 2020 00:42:34 +0000 (08:42 +0800)]
weekly release 4.0dev

4 months agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Jake Dallimore [Fri, 4 Dec 2020 00:42:31 +0000 (08:42 +0800)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

4 months agoMerge branch 'MDL-70326' of https://github.com/durzo/moodle
Jake Dallimore [Thu, 3 Dec 2020 03:53:53 +0000 (11:53 +0800)]
Merge branch 'MDL-70326' of https://github.com/durzo/moodle

4 months agoMerge branch 'MDL-70327-master' of git://github.com/cescobedo/moodle
Andrew Nicols [Thu, 3 Dec 2020 03:49:35 +0000 (11:49 +0800)]
Merge branch 'MDL-70327-master' of git://github.com/cescobedo/moodle

4 months agoMerge branch 'MDL-70321' of https://github.com/timhunt/moodle
Andrew Nicols [Thu, 3 Dec 2020 03:39:13 +0000 (11:39 +0800)]
Merge branch 'MDL-70321' of https://github.com/timhunt/moodle

4 months agoMerge branch 'MDL-69411-master' of git://github.com/dravek/moodle
Jake Dallimore [Thu, 3 Dec 2020 03:36:26 +0000 (11:36 +0800)]
Merge branch 'MDL-69411-master' of git://github.com/dravek/moodle

4 months agoMerge branch 'MDL-67460-master_profile_secure' of https://github.com/beenet-dev/moodle
Jake Dallimore [Thu, 3 Dec 2020 03:15:30 +0000 (11:15 +0800)]
Merge branch 'MDL-67460-master_profile_secure' of https://github.com/beenet-dev/moodle

4 months agoMerge branch 'wip_MDL-70267_master' of git://github.com/gjb2048/moodle
Adrian Greeve [Thu, 3 Dec 2020 02:59:03 +0000 (10:59 +0800)]
Merge branch 'wip_MDL-70267_master' of git://github.com/gjb2048/moodle

4 months agoMerge branch 'MDL-65319-master' of git://github.com/peterRd/moodle
Jake Dallimore [Thu, 3 Dec 2020 02:28:29 +0000 (10:28 +0800)]
Merge branch 'MDL-65319-master' of git://github.com/peterRd/moodle

4 months agoMerge branch 'MDL-65086-master' of git://github.com/peterRd/moodle
Jake Dallimore [Thu, 3 Dec 2020 02:15:19 +0000 (10:15 +0800)]
Merge branch 'MDL-65086-master' of git://github.com/peterRd/moodle

4 months agoMerge branch 'MDL-70167-master' of git://github.com/andrewnicols/moodle
Adrian Greeve [Thu, 3 Dec 2020 02:09:47 +0000 (10:09 +0800)]
Merge branch 'MDL-70167-master' of git://github.com/andrewnicols/moodle

4 months agoAutomatically generated installer lang files
AMOS bot [Thu, 3 Dec 2020 00:07:52 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 months agoMerge branch 'MDL-69868-master' of git://github.com/ilya-catalyst/moodle
Andrew Nicols [Wed, 2 Dec 2020 23:47:12 +0000 (07:47 +0800)]
Merge branch 'MDL-69868-master' of git://github.com/ilya-catalyst/moodle

4 months agoMerge branch 'MDL-67514' of https://github.com/paulholden/moodle
Jake Dallimore [Wed, 2 Dec 2020 08:20:37 +0000 (16:20 +0800)]
Merge branch 'MDL-67514' of https://github.com/paulholden/moodle

4 months agoMerge branch 'MDL-57614-master-4' of git://github.com/mihailges/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

4 months agoMDL-57614 core: Fetch blocks through a webservice in add block modal
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

4 months agoMDL-57614 core_block: Create webservice that returns the addable blocks
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.

4 months agoAutomatically generated installer lang files
AMOS bot [Wed, 2 Dec 2020 00:07:47 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 months agoMerge branch 'MDL-70037' of git://github.com/paulholden/moodle
Sara Arjona [Tue, 1 Dec 2020 07:00:28 +0000 (08:00 +0100)]
Merge branch 'MDL-70037' of git://github.com/paulholden/moodle

4 months agoAutomatically generated installer lang files
AMOS bot [Tue, 1 Dec 2020 00:07:54 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 months agoMDL-70037 mod_forum: include post modified date in external structure.
Paul Holden [Fri, 13 Nov 2020 09:34:45 +0000 (09:34 +0000)]
MDL-70037 mod_forum: include post modified date in external structure.

4 months agoMerge branch 'MDL-68052' of git://github.com/danmarsden/moodle
Adrian Greeve [Mon, 30 Nov 2020 01:39:51 +0000 (09:39 +0800)]
Merge branch 'MDL-68052' of git://github.com/danmarsden/moodle

4 months agoMDL-70267 ux, theme: Course user profile inconsistent page layout.
Gareth Barnard [Fri, 20 Nov 2020 16:22:01 +0000 (16:22 +0000)]
MDL-70267 ux, theme: Course user profile inconsistent page layout.

4 months agoAutomatically generated installer lang files
AMOS bot [Sun, 29 Nov 2020 00:07:58 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 months agoweekly release 4.0dev
Sara Arjona [Fri, 27 Nov 2020 06:50:34 +0000 (07:50 +0100)]
weekly release 4.0dev

4 months agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
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

4 months agoAutomatically generated installer lang files
AMOS bot [Fri, 27 Nov 2020 06:21:37 +0000 (06:21 +0000)]
Automatically generated installer lang files

4 months agoMerge branch 'MDL-70276' of https://github.com/stronk7/moodle
Sara Arjona [Thu, 26 Nov 2020 14:04:13 +0000 (15:04 +0100)]
Merge branch 'MDL-70276' of https://github.com/stronk7/moodle

4 months agoMerge branch 'MDL-65215-master' of git://github.com/peterRd/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

4 months agoMerge branch 'MDL-63266-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

4 months agoMDL-70153 qtype_essay: Whitespace/behat fixes
Andrew Nicols [Thu, 26 Nov 2020 03:26:15 +0000 (11:26 +0800)]
MDL-70153 qtype_essay: Whitespace/behat fixes

4 months agoMerge branch 'MDL-70153-master' of git://github.com/dpalou/moodle
Andrew Nicols [Thu, 26 Nov 2020 03:17:36 +0000 (11:17 +0800)]
Merge branch 'MDL-70153-master' of git://github.com/dpalou/moodle

4 months agoMerge branch 'MDL-70237-master' of git://github.com/rezaies/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

4 months agoMerge branch 'MDL-70242-master' of git://github.com/marinaglancy/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

4 months agoMerge branch 'MDL-65852-master' of git://github.com/ilya-catalyst/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

4 months agoMerge branch 'MDL-42382-master' of git://github.com/NoelDeMartin/moodle into master
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

4 months agoMerge branch 'MDL-70248-master' of https://github.com/HuongNV13/moodle
Sara Arjona [Wed, 25 Nov 2020 15:22:45 +0000 (16:22 +0100)]
Merge branch 'MDL-70248-master' of https://github.com/HuongNV13/moodle

4 months agoMerge branch 'MDL-70265' of https://github.com/stronk7/moodle
Sara Arjona [Wed, 25 Nov 2020 14:46:30 +0000 (15:46 +0100)]
Merge branch 'MDL-70265' of https://github.com/stronk7/moodle

4 months agoMerge branch 'MDL-69878-master' of git://github.com/bmbrands/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

4 months agoMDL-69868 h5pactivity: Prevent breaking $USER when seeing
Ilya Tregubov [Thu, 26 Nov 2020 10:13:55 +0000 (12:13 +0200)]
MDL-69868 h5pactivity: Prevent breaking $USER when seeing

                       attempt report.

4 months agoMDL-70276 github actions: First cut, phpunit and grunt checks
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.

4 months agoMDL-70327 core_h5p: Add preventredirect to the player
cescobedo [Wed, 25 Nov 2020 15:30:04 +0000 (16:30 +0100)]
MDL-70327 core_h5p: Add preventredirect to the player

4 months agoMDL-70326 antivirus: fixing regression in MDL-66222
Jordan Tomkinson [Wed, 25 Nov 2020 10:31:36 +0000 (11:31 +0100)]
MDL-70326 antivirus: fixing regression in MDL-66222

4 months agoMDL-65852 user: Fix permission check to download course participants.
Ilya Tregubov [Fri, 13 Nov 2020 09:02:52 +0000 (11:02 +0200)]
MDL-65852 user: Fix permission check to download course participants.

4 months agoMerge branch 'MDL-69121-redis-session-store-compression' of git://github.com/jamie...
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

4 months agoMerge branch 'master-MDL-69773_v2' of https://github.com/golenkovm/moodle
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

4 months agoMDL-70321 question backup: fix MDL-47178 unit tests
Tim Hunt [Tue, 24 Nov 2020 15:26:32 +0000 (15:26 +0000)]
MDL-70321 question backup: fix MDL-47178 unit tests

They were failing if you had CodeRunner installed

4 months agoMDL-67460 profile: User profile link to use HTTPS
Simon Mok [Tue, 24 Nov 2020 12:37:26 +0000 (20:37 +0800)]
MDL-67460 profile: User profile link to use HTTPS

4 months agoMDL-65215 core: Deprecate i_dock_block
Peter Dias [Mon, 16 Nov 2020 13:23:44 +0000 (21:23 +0800)]
MDL-65215 core: Deprecate i_dock_block

4 months agoMDL-65319 core: Final deprecation get_courses_page
Peter Dias [Thu, 12 Nov 2020 08:13:13 +0000 (16:13 +0800)]
MDL-65319 core: Final deprecation get_courses_page

4 months agoMerge branch 'MDL-64776-master' of git://github.com/peterRd/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

4 months agoMDL-69773 block_section_links: Add an option to display section name
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

4 months agoMDL-69411 core_message: Fix return structure for empty result set
David Matamoros [Sun, 22 Nov 2020 15:22:03 +0000 (16:22 +0100)]
MDL-69411 core_message: Fix return structure for empty result set

Passing a timefrom higher than last message timecreated needs to
return a formatted response so it does not break ws.

4 months agoMDL-70265 travis: Completely remove the UPGRADE check
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.

4 months agoMerge branch 'MDL-67668-master-2' of git://github.com/andrewnicols/moodle
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

4 months agoMerge branch 'MDL-70160-function-cache-m' of https://github.com/Peterburnett/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

4 months agoMerge branch 'MDL-67028-additional-custom-parameters' of https://github.com/cengage...
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

4 months agoMDL-70167 behat: Rewrite attribute check steps
Andrew Nicols [Mon, 23 Nov 2020 01:00:13 +0000 (09:00 +0800)]
MDL-70167 behat: Rewrite attribute check steps

This commit updates the following steps to use the
`the_attribute_of_should_be_set` step under the hood:
- the [element] [type] should be disabled
- the [element] [type] should be enabled
- the [element] [type] should be readonly
- the [element] [type] should not be readonly

This reduces unnecssary code duplication.

4 months agoMDL-70167 behat: Boolean attributes should either exist or not
Andrew Nicols [Tue, 23 Jun 2020 03:37:20 +0000 (11:37 +0800)]
MDL-70167 behat: Boolean attributes should either exist or not

4 months agoMDL-67668 behat: Update tests for inplace editable field type
Andrew Nicols [Wed, 17 Jun 2020 05:45:37 +0000 (13:45 +0800)]
MDL-67668 behat: Update tests for inplace editable field type

4 months agoMDL-67668 behat: Add 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.

4 months agoMDL-67668 behat: Share behat_behat functionality with forms
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.

4 months agoMDL-67668 behat: Correct js pending check
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.

4 months agoMDL-67668 behat: Support NodeElement when fetching node in container
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.

4 months agoMDL-70265 travis: Only run highest phpunit if configured via env
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]

4 months agoweekly release 4.0dev
Eloy Lafuente (stronk7) [Fri, 20 Nov 2020 22:16:43 +0000 (23:16 +0100)]
weekly release 4.0dev

4 months agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install...
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

4 months agoMDL-64776 book: Final deprecation booktool_print_get_toc
Peter Dias [Thu, 12 Nov 2020 07:32:52 +0000 (15:32 +0800)]
MDL-64776 book: Final deprecation booktool_print_get_toc

4 months agoMerge branch 'master-MDL-67636' of https://github.com/yao9394/moodle
Adrian Greeve [Thu, 19 Nov 2020 03:59:32 +0000 (11:59 +0800)]
Merge branch 'master-MDL-67636' of https://github.com/yao9394/moodle

4 months agoMerge branch 'MDL-67081-profile-cli' of https://github.com/brendanheywood/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

4 months agoMDL-67636 gradebook: Prevent exposing hidden grade in locked category
John Yao [Thu, 19 Nov 2020 01:36:32 +0000 (12:36 +1100)]
MDL-67636 gradebook: Prevent exposing hidden grade in locked category

4 months agoMerge branch 'MDL-65843-task-overrides' of https://github.com/jamie-catalyst/moodle
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

4 months agoMerge branch 'MDL-56653_enrol_meta_edit_instance_validation' of https://github.com...
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

4 months agoMerge branch 'MDL-69809' of https://github.com/paulholden/moodle
Andrew Nicols [Thu, 19 Nov 2020 02:40:47 +0000 (10:40 +0800)]
Merge branch 'MDL-69809' of https://github.com/paulholden/moodle

4 months agoMerge branch 'MDL-67702' 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

4 months agoMDL-70094 core: Fix version number for the upgrade note.
Jun Pataleta [Thu, 19 Nov 2020 01:40:25 +0000 (09:40 +0800)]
MDL-70094 core: Fix version number for the upgrade note.

4 months agoMerge branch 'MDL-70094-master' of https://github.com/SangNguyen2601/moodle
Jun Pataleta [Thu, 19 Nov 2020 01:38:39 +0000 (09:38 +0800)]
Merge branch 'MDL-70094-master' of https://github.com/SangNguyen2601/moodle

4 months agoMerge branch 'MDL-47456-avoid-siteid-db' of https://github.com/brendanheywood/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

4 months agoMerge branch 'MDL-70107-task-unlock-session' of https://github.com/brendanheywood...
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

4 months agoMerge branch 'MDL-69201' of https://github.com/paulholden/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

4 months agoMDL-65843 tasks: Allow schedules to be overridden in config
Jamie Stamp [Wed, 7 Oct 2020 16:27:35 +0000 (17:27 +0100)]
MDL-65843 tasks: Allow schedules to be overridden in config

4 months agoMDL-70237 payment: Allow html tags in gateway description
Shamim Rezaie [Mon, 16 Nov 2020 10:37:45 +0000 (21:37 +1100)]
MDL-70237 payment: Allow html tags in gateway description

4 months agoMDL-70094 Question: Technical info section expands if click help icon
sangnguyen2601 [Mon, 9 Nov 2020 08:47:14 +0000 (15:47 +0700)]
MDL-70094 Question: Technical info section expands if click help icon

4 months agoMDL-70153 qtype_essay: Add behat test for attachments max size
Dani Palou [Tue, 17 Nov 2020 09:31:32 +0000 (10:31 +0100)]
MDL-70153 qtype_essay: Add behat test for attachments max size

4 months agoMDL-70248 qtype_ddimageortext: Drop zones have UI issue in Editing form
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

4 months agoMerge branch 'MDL-70158' of git://github.com/paulholden/moodle
Andrew Nicols [Wed, 18 Nov 2020 02:17:32 +0000 (10:17 +0800)]
Merge branch 'MDL-70158' of git://github.com/paulholden/moodle

4 months agoMerge branch 'MDL-68896' of git://github.com/danmarsden/moodle
Andrew Nicols [Wed, 18 Nov 2020 01:32:46 +0000 (09:32 +0800)]
Merge branch 'MDL-68896' of git://github.com/danmarsden/moodle

4 months agoMerge branch 'MDL-70148-master' of git://github.com/andrewnicols/moodle into master
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

4 months agoMDL-67514 customfield: correct external usescategories return type.
Paul Holden [Wed, 17 Jun 2020 19:25:43 +0000 (20:25 +0100)]
MDL-67514 customfield: correct external usescategories return type.

4 months agoMDL-70242 auth_oauth2: set page context and url
Marina Glancy [Tue, 17 Nov 2020 15:47:12 +0000 (16:47 +0100)]
MDL-70242 auth_oauth2: set page context and url

4 months agoMDL-70158 tool_templatelibrary: group and sort list of components.
Paul Holden [Mon, 27 Jul 2020 19:53:49 +0000 (20:53 +0100)]
MDL-70158 tool_templatelibrary: group and sort list of components.

4 months agoMDL-42382 admin: Add replace filters button
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>
4 months agoMDL-68052 analytics: Clean up analytics_indicator_calc records.
Dan Marsden [Tue, 17 Nov 2020 01:26:27 +0000 (14:26 +1300)]
MDL-68052 analytics: Clean up analytics_indicator_calc records.

4 months agoMDL-70148 gradereport_grader: Improve reliability of keyboard usage
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.

4 months agoMDL-70148 qtype: Update qtype steps to new key interaction
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.

4 months agoMDL-70148 behat: Update steps for keyboard
Andrew Nicols [Mon, 22 Jun 2020 02:39:57 +0000 (10:39 +0800)]
MDL-70148 behat: Update steps for keyboard

4 months agoMDL-70148 behat: Add steps to send keys without an element
Andrew Nicols [Wed, 17 Jun 2020 06:50:04 +0000 (14:50 +0800)]
MDL-70148 behat: Add steps to send keys without an element

4 months agoMerge branch 'MDL-69526-master' of git://github.com/lucaboesch/moodle
Andrew Nicols [Tue, 17 Nov 2020 06:52:58 +0000 (14:52 +0800)]
Merge branch 'MDL-69526-master' of git://github.com/lucaboesch/moodle

4 months agoMDL-65086 analytics: Deprecate get_enabled_time_splitting_methods
Peter Dias [Mon, 16 Nov 2020 13:47:47 +0000 (21:47 +0800)]
MDL-65086 analytics: Deprecate get_enabled_time_splitting_methods

4 months agoMerge branch 'MDL-50955-master' of git://github.com/peterRd/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