moodle.git
6 months agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Víctor Déniz [Thu, 10 Dec 2020 21:09:47 +0000 (21:09 +0000)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

6 months agoMDL-69301 theme_boost: Remove the special handling of Escape key
Shamim Rezaie [Thu, 10 Dec 2020 06:31:18 +0000 (17:31 +1100)]
MDL-69301 theme_boost: Remove the special handling of Escape key

6 months agoMerge branch 'MDL-70320-master' of https://github.com/andrewnicols/moodle
Jake Dallimore [Thu, 10 Dec 2020 00:12:10 +0000 (08:12 +0800)]
Merge branch 'MDL-70320-master' of https://github.com/andrewnicols/moodle

6 months agoMDL-70320 behat: User full path to page admin node
Andrew Nicols [Wed, 9 Dec 2020 23:53:56 +0000 (07:53 +0800)]
MDL-70320 behat: User full path to page admin node

6 months agoMerge branch 'MDL-63683-master' of https://github.com/dravek/moodle
Víctor Déniz [Wed, 9 Dec 2020 12:48:34 +0000 (12:48 +0000)]
Merge branch 'MDL-63683-master' of https://github.com/dravek/moodle

6 months agoMerge branch 'MDL-70151-master' of git://github.com/andrewnicols/moodle
Jake Dallimore [Wed, 9 Dec 2020 06:45:39 +0000 (14:45 +0800)]
Merge branch 'MDL-70151-master' of git://github.com/andrewnicols/moodle

6 months agoMDL-69301 behat: comment a test out
Shamim Rezaie [Wed, 9 Dec 2020 05:13:42 +0000 (16:13 +1100)]
MDL-69301 behat: comment a test out

The e.key is not filled correctly by Geckodriver on the verssion of
Firefox that we use.

6 months agoMerge branch 'MDL-65186-master' of git://github.com/ilya-catalyst/moodle
Andrew Nicols [Wed, 9 Dec 2020 05:31:42 +0000 (13:31 +0800)]
Merge branch 'MDL-65186-master' of git://github.com/ilya-catalyst/moodle

6 months agoMerge branch 'MDL-70295' of git://github.com/paulholden/moodle
Andrew Nicols [Wed, 9 Dec 2020 04:09:37 +0000 (12:09 +0800)]
Merge branch 'MDL-70295' of git://github.com/paulholden/moodle

6 months agoMerge branch 'MDL-70320' of https://github.com/timhunt/moodle
Andrew Nicols [Wed, 9 Dec 2020 03:56:05 +0000 (11:56 +0800)]
Merge branch 'MDL-70320' of https://github.com/timhunt/moodle

6 months agoMerge branch 'MDL-70293' of git://github.com/paulholden/moodle
Andrew Nicols [Wed, 9 Dec 2020 03:28:41 +0000 (11:28 +0800)]
Merge branch 'MDL-70293' of git://github.com/paulholden/moodle

6 months agoMerge branch 'MDL-69869-master' of git://github.com/ilya-catalyst/moodle
Andrew Nicols [Wed, 9 Dec 2020 03:08:06 +0000 (11:08 +0800)]
Merge branch 'MDL-69869-master' of git://github.com/ilya-catalyst/moodle

6 months agoMerge branch 'MDL-69145-master-3' of git://github.com/junpataleta/moodle
Jake Dallimore [Wed, 9 Dec 2020 03:00:22 +0000 (11:00 +0800)]
Merge branch 'MDL-69145-master-3' of git://github.com/junpataleta/moodle

6 months agoMDL-69145 core_user: Set default filter to ALL
Jun Pataleta [Tue, 24 Nov 2020 14:22:18 +0000 (22:22 +0800)]
MDL-69145 core_user: Set default filter to ALL

6 months agoMDL-69145 core: Set the default filterset join type to ALL
Jun Pataleta [Tue, 24 Nov 2020 14:28:46 +0000 (22:28 +0800)]
MDL-69145 core: Set the default filterset join type to ALL

* Plus minor PHPDoc type fix for the JOINTYPE_DEFAULT constants

6 months agoMerge branch 'MDL-62707' of https://github.com/paulholden/moodle
Andrew Nicols [Wed, 9 Dec 2020 00:51:53 +0000 (08:51 +0800)]
Merge branch 'MDL-62707' of https://github.com/paulholden/moodle

6 months agoMerge branch 'MDL-70285' of https://github.com/timhunt/moodle
Jake Dallimore [Tue, 8 Dec 2020 08:31:54 +0000 (16:31 +0800)]
Merge branch 'MDL-70285' of https://github.com/timhunt/moodle

6 months agoMDL-69869 enrol: Fixing intendation for travis.
Ilya Tregubov [Fri, 27 Nov 2020 08:03:27 +0000 (10:03 +0200)]
MDL-69869 enrol: Fixing intendation for travis.

6 months agoMDL-69869 enrol: Clean up - switch to [] from array().
Ilya Tregubov [Fri, 27 Nov 2020 07:59:46 +0000 (09:59 +0200)]
MDL-69869 enrol: Clean up - switch to [] from array().

6 months agoMDL-69869 enrol: Add ability to get suspended users through
Ilya Tregubov [Mon, 23 Nov 2020 09:23:49 +0000 (11:23 +0200)]
MDL-69869 enrol: Add ability to get suspended users through

                 core_enrol_get_enrolled_users webservice.

6 months agoMDL-65186 analytics: Deprecate add_builtin_models
Ilya Tregubov [Wed, 18 Nov 2020 10:06:54 +0000 (12:06 +0200)]
MDL-65186 analytics: Deprecate add_builtin_models

6 months agoAutomatically generated installer lang files
AMOS bot [Tue, 8 Dec 2020 00:07:46 +0000 (00:07 +0000)]
Automatically generated installer lang files

6 months agoMerge branch 'MDL-64982-master' of git://github.com/rezaies/moodle
Jake Dallimore [Mon, 7 Dec 2020 04:03:20 +0000 (12:03 +0800)]
Merge branch 'MDL-64982-master' of git://github.com/rezaies/moodle

6 months agoMerge branch 'MDL-65818-master' of https://github.com/sammarshallou/moodle
Jake Dallimore [Mon, 7 Dec 2020 03:26:32 +0000 (11:26 +0800)]
Merge branch 'MDL-65818-master' of https://github.com/sammarshallou/moodle

6 months agoMerge branch 'MDL-69301-master' of git://github.com/rezaies/moodle
Adrian Greeve [Mon, 7 Dec 2020 02:05:55 +0000 (10:05 +0800)]
Merge branch 'MDL-69301-master' of git://github.com/rezaies/moodle

6 months agoAutomatically generated installer lang files
AMOS bot [Sun, 6 Dec 2020 00:07:53 +0000 (00:07 +0000)]
Automatically generated installer lang files

6 months agoMDL-65818 Security: Encryption API and admin setting for secure data
sam marshall [Mon, 3 Jun 2019 10:39:29 +0000 (11:39 +0100)]
MDL-65818 Security: Encryption API and admin setting for secure data

6 months agoMDL-62707 search: account for no matching courses when listing areas.
Paul Holden [Tue, 4 Feb 2020 08:19:02 +0000 (08:19 +0000)]
MDL-62707 search: account for no matching courses when listing areas.

When limiting the list of courses during retrieval of the search areas
the user can access, make sure we have some contexts before looking
for blocks.

6 months agoMDL-63683 enrol: Fix plugin settings when no role has student archetype
David Matamoros [Fri, 20 Nov 2020 16:09:37 +0000 (17:09 +0100)]
MDL-63683 enrol: Fix plugin settings when no role has student archetype

6 months agoMDL-64982 behat: Remove deprecated behat timeout constants
Shamim Rezaie [Sun, 22 Nov 2020 10:22:55 +0000 (21:22 +1100)]
MDL-64982 behat: Remove deprecated behat timeout constants

Behat timeout constants behat_base::TIMEOUT, EXTENDED_TIMEOUT, and
REDUCED_TIMEOUT, which were deprecated in 3.7, have been removed.

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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

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

6 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

6 months agoMDL-69301 theme_boost: Use event.key in aria.js
Shamim Rezaie [Wed, 2 Dec 2020 17:18:01 +0000 (04:18 +1100)]
MDL-69301 theme_boost: Use event.key in aria.js

Both event.which and event.keyCode are deprecated. So
We switched to using event.key. We can only do so now
because IE is no longer supported.

6 months agoMDL-69301 course: Remove custom keyboard navigation code
Shamim Rezaie [Wed, 16 Sep 2020 16:43:18 +0000 (02:43 +1000)]
MDL-69301 course: Remove custom keyboard navigation code

6 months agoMDL-69301 core: Enhanced WAI-ARIA support for tab elements
Shamim Rezaie [Wed, 16 Sep 2020 15:12:54 +0000 (01:12 +1000)]
MDL-69301 core: Enhanced WAI-ARIA support for tab elements

6 months agoMDL-69301 theme_boost: convert aria.js to es6 module
Shamim Rezaie [Wed, 16 Sep 2020 13:25:36 +0000 (23:25 +1000)]
MDL-69301 theme_boost: convert aria.js to es6 module

6 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

6 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

6 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

6 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.

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

6 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

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

6 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.

6 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

6 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.

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

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

6 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

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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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.

6 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.

6 months agoMDL-70295 libraries: upgrade to version 4.3.1 of Html2Text.
Paul Holden [Wed, 25 Nov 2020 21:35:14 +0000 (21:35 +0000)]
MDL-70295 libraries: upgrade to version 4.3.1 of Html2Text.

6 months agoMDL-70320 permission overrides: role names were double-escaped
Tim Hunt [Tue, 24 Nov 2020 17:20:12 +0000 (17:20 +0000)]
MDL-70320 permission overrides: role names were double-escaped

6 months agoMDL-70293 libraries: upgrade to version 1.5.6 of SimplePie.
Paul Holden [Wed, 25 Nov 2020 20:42:09 +0000 (20:42 +0000)]
MDL-70293 libraries: upgrade to version 1.5.6 of SimplePie.

6 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

6 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

6 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.

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 months agoMDL-70285 completion upgrade: fix performance of the MDL-69687 code
Tim Hunt [Mon, 23 Nov 2020 20:45:46 +0000 (20:45 +0000)]
MDL-70285 completion upgrade: fix performance of the MDL-69687 code

6 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.

6 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.

6 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

6 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

6 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

6 months agoMDL-70151 assign: Fix bulk change for behat
Andrew Nicols [Tue, 17 Dec 2019 02:44:32 +0000 (10:44 +0800)]
MDL-70151 assign: Fix bulk change for behat

Behat does not play well with confirmation dialogues and in some
situations it does not wait for the page to reload before starting the
next step.

This change adds a pending_js call which is only resolved if the cancel
button was pressed, otherwise it remains in-progress until the page
reloads resetting the entire state of it.

6 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.

6 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

6 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

6 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.