moodle.git
3 months agoMerge branch 'MDL-71837' of git://github.com/paulholden/moodle
Andrew Nicols [Thu, 24 Jun 2021 02:58:12 +0000 (10:58 +0800)]
Merge branch 'MDL-71837' of git://github.com/paulholden/moodle

3 months agoMerge branch 'MDL-55243-master' of git://github.com/HuongNV13/moodle
Andrew Nicols [Thu, 24 Jun 2021 02:55:01 +0000 (10:55 +0800)]
Merge branch 'MDL-55243-master' of git://github.com/HuongNV13/moodle

3 months agoMDL-55243 files: Make is_valid_image support SVG files
Huong Nguyen [Tue, 1 Jun 2021 01:51:40 +0000 (08:51 +0700)]
MDL-55243 files: Make is_valid_image support SVG files

3 months agoMerge branch 'MDL-71717' of git://github.com/paulholden/moodle
Eloy Lafuente (stronk7) [Wed, 23 Jun 2021 22:18:45 +0000 (00:18 +0200)]
Merge branch 'MDL-71717' of git://github.com/paulholden/moodle

3 months agoMerge branch 'MDL-71293-master' of git://github.com/bmbrands/moodle
Eloy Lafuente (stronk7) [Wed, 23 Jun 2021 21:43:08 +0000 (23:43 +0200)]
Merge branch 'MDL-71293-master' of git://github.com/bmbrands/moodle

3 months agoMerge branch 'MDL-71593-master' of git://github.com/ilyatregubov/moodle
Eloy Lafuente (stronk7) [Wed, 23 Jun 2021 21:34:16 +0000 (23:34 +0200)]
Merge branch 'MDL-71593-master' of git://github.com/ilyatregubov/moodle

4 months agoMDL-71293 theme_boost: improve navbar for new navigation
Bas Brands [Mon, 31 May 2021 11:03:19 +0000 (13:03 +0200)]
MDL-71293 theme_boost: improve navbar for new navigation

4 months agoMerge branch 'MDL-71669-master' of git://github.com/junpataleta/moodle
Andrew Nicols [Wed, 23 Jun 2021 06:06:32 +0000 (14:06 +0800)]
Merge branch 'MDL-71669-master' of git://github.com/junpataleta/moodle

4 months agoMDL-71669 atto_table: Set appropriate ARIA roles for table button
Jun Pataleta [Tue, 1 Jun 2021 04:50:24 +0000 (12:50 +0800)]
MDL-71669 atto_table: Set appropriate ARIA roles for table button

The table button can become a menu button when the cursor's position
in the editor is within a table. So we'd need to update the button with
ARIA attributes appropriate for a menu button.
This is best done when the button's highlight gets toggled, so we're
adding an event listener for when this happens and add/remove the ARIA
attributes accordingly.

4 months agoMDL-71669 editor_atto: Fire custom event when toggling button highlight
Jun Pataleta [Tue, 1 Jun 2021 04:46:18 +0000 (12:46 +0800)]
MDL-71669 editor_atto: Fire custom event when toggling button highlight

4 months agoMDL-71669 editor_atto: Create an events module for the atto editor
Jun Pataleta [Tue, 1 Jun 2021 04:44:36 +0000 (12:44 +0800)]
MDL-71669 editor_atto: Create an events module for the atto editor

4 months agoMerge branch 'MDL-71634-master' of git://github.com/lucaboesch/moodle
Víctor Déniz [Tue, 22 Jun 2021 17:27:38 +0000 (18:27 +0100)]
Merge branch 'MDL-71634-master' of git://github.com/lucaboesch/moodle

4 months agoMerge branch 'MDL-70750-master' of git://github.com/ilyatregubov/moodle
Sara Arjona [Tue, 22 Jun 2021 08:20:57 +0000 (10:20 +0200)]
Merge branch 'MDL-70750-master' of git://github.com/ilyatregubov/moodle

4 months agoMerge branch 'MDL-70233-alternative-disabled-cache' of https://github.com/Peterburnet...
Andrew Nicols [Tue, 22 Jun 2021 07:46:48 +0000 (15:46 +0800)]
Merge branch 'MDL-70233-alternative-disabled-cache' of https://github.com/Peterburnett/moodle

4 months agoMDL-71593 oauth2: Remove methods that were readded by mistake.
Ilya Tregubov [Mon, 21 Jun 2021 08:11:16 +0000 (10:11 +0200)]
MDL-71593 oauth2: Remove methods that were readded by mistake.

4 months agoMDL-70750 mod_survey: Fix warning for undefined offset.
Ilya Tregubov [Wed, 9 Jun 2021 04:06:10 +0000 (06:06 +0200)]
MDL-70750 mod_survey: Fix warning for undefined offset.

4 months agoMerge branch 'MDL-71113-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Sat, 19 Jun 2021 15:57:13 +0000 (17:57 +0200)]
Merge branch 'MDL-71113-master' of git://github.com/andrewnicols/moodle

4 months agoMerge branch 'MDL-69524' of https://github.com/NeillM/moodle
Víctor Déniz [Fri, 18 Jun 2021 19:48:32 +0000 (20:48 +0100)]
Merge branch 'MDL-69524' of https://github.com/NeillM/moodle

4 months agoMDL-71669 editor_atto: Set proper roles to toolbar menus
Jun Pataleta [Tue, 1 Jun 2021 04:04:12 +0000 (12:04 +0800)]
MDL-71669 editor_atto: Set proper roles to toolbar menus

* Menu button fix
  - Added aria-haspopup, aria-controls, and aria-expanded attributes.
* Menu fixes
  - Added aria-labelledby that points to the menu button label.
  - Removed the dialog role in the menu's container.
  - The ul tag needs the "menu" role.
  - The li tag needs the role "none" instead of the "presentation" role

Reference:
https://www.w3.org/TR/wai-aria-practices-1.1/#menubutton

4 months agoMDL-71113 javascript: Improve basic JS Documentation
Andrew Nicols [Wed, 26 May 2021 01:13:05 +0000 (09:13 +0800)]
MDL-71113 javascript: Improve basic JS Documentation

4 months agoMDL-71113 js: Fix all jsdoc warnings
Andrew Nicols [Mon, 15 Mar 2021 02:01:58 +0000 (10:01 +0800)]
MDL-71113 js: Fix all jsdoc warnings

4 months agoMDL-71113 js: Bare minimum fixes to build jsdoc
Andrew Nicols [Mon, 15 Mar 2021 01:50:09 +0000 (09:50 +0800)]
MDL-71113 js: Bare minimum fixes to build jsdoc

4 months agoMDL-71113 js: Add jsdoc configuration and Grunt
Andrew Nicols [Mon, 15 Mar 2021 01:49:39 +0000 (09:49 +0800)]
MDL-71113 js: Add jsdoc configuration and Grunt

4 months agoMDL-71634 course: Do not show "Your progress" info any more.
Luca Bösch [Mon, 24 May 2021 08:42:44 +0000 (10:42 +0200)]
MDL-71634 course: Do not show "Your progress" info any more.

4 months agoweekly release 4.0dev
Víctor Déniz [Thu, 17 Jun 2021 13:54:50 +0000 (14:54 +0100)]
weekly release 4.0dev

4 months agoMDL-69524 backup: Code style fixes for the file
Neill Magill [Tue, 24 Nov 2020 14:15:21 +0000 (14:15 +0000)]
MDL-69524 backup: Code style fixes for the file

4 months agoMDL-69524 backup: Add PHPdocs to backup_controller class
Neill Magill [Fri, 21 Aug 2020 07:20:10 +0000 (08:20 +0100)]
MDL-69524 backup: Add PHPdocs to backup_controller class

4 months agoMerge branch 'MDL-71813-master' of https://github.com/NashTechOpenUniversity/moodle
Andrew Nicols [Thu, 17 Jun 2021 03:28:22 +0000 (11:28 +0800)]
Merge branch 'MDL-71813-master' of https://github.com/NashTechOpenUniversity/moodle

4 months agoMerge branch 'MDL-58592-master' of git://github.com/HuongNV13/moodle
Andrew Nicols [Thu, 17 Jun 2021 03:06:53 +0000 (11:06 +0800)]
Merge branch 'MDL-58592-master' of git://github.com/HuongNV13/moodle

4 months agoMerge branch 'MDL-71927' of https://github.com/timhunt/moodle
Andrew Nicols [Thu, 17 Jun 2021 02:52:18 +0000 (10:52 +0800)]
Merge branch 'MDL-71927' of https://github.com/timhunt/moodle

4 months agoMerge branch 'MDL-71697' of https://github.com/mkassaei/moodle
Andrew Nicols [Thu, 17 Jun 2021 02:48:05 +0000 (10:48 +0800)]
Merge branch 'MDL-71697' of https://github.com/mkassaei/moodle

4 months agoMerge branch 'MDL-71926-master' of git://github.com/peterRd/moodle
Andrew Nicols [Thu, 17 Jun 2021 02:44:36 +0000 (10:44 +0800)]
Merge branch 'MDL-71926-master' of git://github.com/peterRd/moodle

4 months agoMerge branch 'MDL-71052' of git://github.com/paulholden/moodle
Víctor Déniz [Thu, 17 Jun 2021 01:37:46 +0000 (02:37 +0100)]
Merge branch 'MDL-71052' of git://github.com/paulholden/moodle

4 months agoMerge branch 'MDL-71764' of https://github.com/paulholden/moodle
Víctor Déniz [Thu, 17 Jun 2021 00:43:50 +0000 (01:43 +0100)]
Merge branch 'MDL-71764' of https://github.com/paulholden/moodle

4 months agoMerge branch 'MDL-71896-master' of git://github.com/merrill-oakland/moodle
Eloy Lafuente (stronk7) [Wed, 16 Jun 2021 22:11:21 +0000 (00:11 +0200)]
Merge branch 'MDL-71896-master' of git://github.com/merrill-oakland/moodle

4 months agoMerge branch 'MDL-71888' of git://github.com/paulholden/moodle
Eloy Lafuente (stronk7) [Wed, 16 Jun 2021 22:08:04 +0000 (00:08 +0200)]
Merge branch 'MDL-71888' of git://github.com/paulholden/moodle

4 months agoMerge branch 'MDL-71736-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Wed, 16 Jun 2021 22:01:41 +0000 (00:01 +0200)]
Merge branch 'MDL-71736-master' of git://github.com/andrewnicols/moodle

4 months agoMerge branch 'MDL-56873-master' of git://github.com/mickhawkins/moodle
Eloy Lafuente (stronk7) [Wed, 16 Jun 2021 21:30:26 +0000 (23:30 +0200)]
Merge branch 'MDL-56873-master' of git://github.com/mickhawkins/moodle

4 months agoMDL-71697 Custom user field support: Grade report grader
Mahmoud Kassaei [Thu, 27 May 2021 07:51:12 +0000 (08:51 +0100)]
MDL-71697 Custom user field support: Grade report grader

4 months agoMerge branch 'MDL-69908' of git://github.com/paulholden/moodle
Andrew Nicols [Wed, 16 Jun 2021 07:28:32 +0000 (15:28 +0800)]
Merge branch 'MDL-69908' of git://github.com/paulholden/moodle

4 months agoMerge branch 'MDL-71528-master' of git://github.com/aanabit/moodle
Andrew Nicols [Wed, 16 Jun 2021 05:19:21 +0000 (13:19 +0800)]
Merge branch 'MDL-71528-master' of git://github.com/aanabit/moodle

4 months agoMerge branch 'MDL-71804' of https://github.com/stronk7/moodle
Andrew Nicols [Tue, 15 Jun 2021 03:26:46 +0000 (11:26 +0800)]
Merge branch 'MDL-71804' of https://github.com/stronk7/moodle

4 months agoMDL-71926 core: Check capabilities before adding link
Peter Dias [Tue, 15 Jun 2021 00:37:38 +0000 (08:37 +0800)]
MDL-71926 core: Check capabilities before adding link

Check whether the user has the capability to manage courses before adding any link

4 months agoMDL-71927 reports: show time to the second in logs report
Tim Hunt [Mon, 14 Jun 2021 20:21:57 +0000 (21:21 +0100)]
MDL-71927 reports: show time to the second in logs report

And in the question history in quiz reviews.

Without this, it can be difficult to investigate some problems.

4 months agoMDL-71528 usertours: End button text for one step user tours
Amaia Anabitarte [Thu, 10 Jun 2021 09:53:42 +0000 (11:53 +0200)]
MDL-71528 usertours: End button text for one step user tours

4 months agoMDL-69908 user: include groups with exported course participants.
Paul Holden [Fri, 21 May 2021 07:00:39 +0000 (08:00 +0100)]
MDL-69908 user: include groups with exported course participants.

4 months agoMDL-71165 course: core_course_update_course external method
Sara Arjona [Thu, 25 Mar 2021 07:59:15 +0000 (08:59 +0100)]
MDL-71165 course: core_course_update_course external method

4 months agoMerge branch 'MDL-71134-master-v03' of git://github.com/ferranrecio/moodle
Andrew Nicols [Mon, 14 Jun 2021 03:52:35 +0000 (11:52 +0800)]
Merge branch 'MDL-71134-master-v03' of git://github.com/ferranrecio/moodle

4 months agoMDL-71804 travis: Bump to bionic
Eloy Lafuente (stronk7) [Fri, 28 May 2021 12:04:31 +0000 (14:04 +0200)]
MDL-71804 travis: Bump to bionic

4 months agoweekly release 4.0dev
abgreeve [Fri, 11 Jun 2021 05:52:09 +0000 (13:52 +0800)]
weekly release 4.0dev

4 months agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
abgreeve [Fri, 11 Jun 2021 05:52:08 +0000 (13:52 +0800)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

4 months agoMDL-71764 mod_quiz: custom user profile field support for attempts.
Paul Holden [Thu, 10 Jun 2021 17:58:58 +0000 (18:58 +0100)]
MDL-71764 mod_quiz: custom user profile field support for attempts.

4 months agoMDL-71896 dml: Add auroramysql to config-dist
Eric Merrill [Thu, 10 Jun 2021 19:28:37 +0000 (15:28 -0400)]
MDL-71896 dml: Add auroramysql to config-dist

4 months agoMDL-71134 course: fix format get_output_classname
Ferran Recio [Wed, 2 Jun 2021 08:38:32 +0000 (10:38 +0200)]
MDL-71134 course: fix format get_output_classname

The get_output_classname method is used to invoke overridden output
components from course_formats. Now the method does not accept null
output names anymore, and it controls the format class is extending
the core one.

4 months agoMDL-71134 course: new course editor reactive module
Ferran Recio [Thu, 1 Apr 2021 13:46:37 +0000 (15:46 +0200)]
MDL-71134 course: new course editor reactive module

The new course editor for Moodle 4.0 is the first AMD
module that will use the new reactive library. This
commit creates creates the initial structure of the
new course editor frontend.

4 months agoMDL-68915 core_form: Fix the behat test failure
Sujith Haridasan [Thu, 10 Jun 2021 06:23:10 +0000 (11:53 +0530)]
MDL-68915 core_form: Fix the behat test failure

Fix the behat test failure for the forums when
grades exist.

Signed-off-by: Sujith Haridasan <sujith@moodle.com>
4 months agoMDL-56873 admin: Set sensible default cURL security settings
Michael Hawkins [Thu, 18 Feb 2021 06:08:00 +0000 (14:08 +0800)]
MDL-56873 admin: Set sensible default cURL security settings

4 months agoMerge branch 'MDL-71806-improve-check-ux' of https://github.com/brendanheywood/moodle
Andrew Nicols [Thu, 10 Jun 2021 03:57:45 +0000 (11:57 +0800)]
Merge branch 'MDL-71806-improve-check-ux' of https://github.com/brendanheywood/moodle

4 months agoMerge branch 'MDL-71369-master' of git://github.com/andrewnicols/moodle
Adrian Greeve [Thu, 10 Jun 2021 03:50:48 +0000 (11:50 +0800)]
Merge branch 'MDL-71369-master' of git://github.com/andrewnicols/moodle

4 months agoMerge branch 'MDL-71838' of https://github.com/timhunt/moodle
Andrew Nicols [Thu, 10 Jun 2021 03:38:50 +0000 (11:38 +0800)]
Merge branch 'MDL-71838' of https://github.com/timhunt/moodle

4 months agoMerge branch 'MDL-68915-master' of https://github.com/sharidas/moodle
Adrian Greeve [Thu, 10 Jun 2021 03:35:43 +0000 (11:35 +0800)]
Merge branch 'MDL-68915-master' of https://github.com/sharidas/moodle

4 months agoMerge branch 'MDL-64236-master' of git://github.com/mihailges/moodle
Adrian Greeve [Thu, 10 Jun 2021 03:29:19 +0000 (11:29 +0800)]
Merge branch 'MDL-64236-master' of git://github.com/mihailges/moodle

4 months agoMerge branch 'MDL-67822-schema-check' of https://github.com/brendanheywood/moodle
Andrew Nicols [Thu, 10 Jun 2021 03:03:52 +0000 (11:03 +0800)]
Merge branch 'MDL-67822-schema-check' of https://github.com/brendanheywood/moodle

4 months agoMDL-68915 lesson: Do not allow maxgrade change
Sujith Haridasan [Fri, 21 May 2021 06:03:45 +0000 (11:33 +0530)]
MDL-68915 lesson: Do not allow maxgrade change

Do not allow maxgrade change when some of the
users are already graded. As of now this is applicable
to the following activities:
1. Forum
2. Database
3. Lesson
4. Glossary

Signed-off-by: Sujith Haridasan <sujith@moodle.com>
4 months agoMerge branch 'MDL-71559-master' of https://github.com/sammarshallou/moodle
Andrew Nicols [Thu, 10 Jun 2021 02:57:26 +0000 (10:57 +0800)]
Merge branch 'MDL-71559-master' of https://github.com/sammarshallou/moodle

4 months agoMerge branch 'MDL-71682' of git://github.com/paulholden/moodle
Adrian Greeve [Thu, 10 Jun 2021 02:52:11 +0000 (10:52 +0800)]
Merge branch 'MDL-71682' of git://github.com/paulholden/moodle

4 months agoMerge branch 'MDL-71832-master' of https://github.com/sammarshallou/moodle
Andrew Nicols [Thu, 10 Jun 2021 02:39:36 +0000 (10:39 +0800)]
Merge branch 'MDL-71832-master' of https://github.com/sammarshallou/moodle

4 months agoMDL-71382 couurse: Remove unnecessary js tag for test
Andrew Nicols [Thu, 10 Jun 2021 01:58:12 +0000 (09:58 +0800)]
MDL-71382 couurse: Remove unnecessary js tag for test

4 months agoMerge branch 'MDL-71382-master' of git://github.com/ilyatregubov/moodle
Andrew Nicols [Thu, 10 Jun 2021 01:48:55 +0000 (09:48 +0800)]
Merge branch 'MDL-71382-master' of git://github.com/ilyatregubov/moodle

4 months agoMerge branch 'MDL-71836-master' of https://github.com/sammarshallou/moodle
Andrew Nicols [Thu, 10 Jun 2021 01:06:10 +0000 (09:06 +0800)]
Merge branch 'MDL-71836-master' of https://github.com/sammarshallou/moodle

4 months agoMerge branch 'MDL-70230-master' of https://github.com/jpahullo/moodle
Andrew Nicols [Thu, 10 Jun 2021 00:45:26 +0000 (08:45 +0800)]
Merge branch 'MDL-70230-master' of https://github.com/jpahullo/moodle

4 months agoMerge branch 'MDL-70846-master' of https://github.com/dcai/moodle
Andrew Nicols [Thu, 10 Jun 2021 00:41:11 +0000 (08:41 +0800)]
Merge branch 'MDL-70846-master' of https://github.com/dcai/moodle

4 months agoAutomatically generated installer lang files
AMOS bot [Thu, 10 Jun 2021 00:07:45 +0000 (00:07 +0000)]
Automatically generated installer lang files

4 months agoMDL-71888 admin: define clitablesexist string used by CLI installer.
Paul Holden [Wed, 9 Jun 2021 21:00:20 +0000 (22:00 +0100)]
MDL-71888 admin: define clitablesexist string used by CLI installer.

4 months agoMDL-71736 javascript: Run the ignorefiles command more liberally
Andrew Nicols [Mon, 24 May 2021 00:22:14 +0000 (08:22 +0800)]
MDL-71736 javascript: Run the ignorefiles command more liberally

4 months agoMerge branch 'MDL-67975-master' of https://github.com/sharidas/moodle
abgreeve [Wed, 9 Jun 2021 08:14:52 +0000 (16:14 +0800)]
Merge branch 'MDL-67975-master' of https://github.com/sharidas/moodle

4 months agoMDL-67975 nextcloud: Add support for Link to file
Sujith Haridasan [Mon, 5 Apr 2021 04:54:24 +0000 (10:24 +0530)]
MDL-67975 nextcloud: Add support for Link to file

This change set would bring the following new additions
to the nextcloud repo:
1. Create a new radio button in filepicker: "Link to file"
2. When user clicks this radio button a warning message
   would be created, saying this file would become public.
   Meaning a public link is created in the nextcloud server.
3. Created a sync_reference method to sync the files downloaded
   from nextcloud server. The sync/refresh time given is 1 day/24 hours.
4. Made sure that when the file is downloaded, we use the file
   from moodledata file pool.

Signed-off-by: Sujith Haridasan <sujith@moodle.com>
4 months agoMerge branch 'MDL-65637-master' of git://github.com/peterRd/moodle
Andrew Nicols [Wed, 9 Jun 2021 05:22:49 +0000 (13:22 +0800)]
Merge branch 'MDL-65637-master' of git://github.com/peterRd/moodle

4 months agoMerge branch 'master_MDL-69194-core_user_update_users' of https://github.com/mattporr...
Eloy Lafuente (stronk7) [Tue, 8 Jun 2021 17:26:28 +0000 (19:26 +0200)]
Merge branch 'master_MDL-69194-core_user_update_users' of https://github.com/mattporritt/moodle

4 months agoMerge branch 'MDL-71207_master' of https://github.com/TomoTsuyuki/moodle
abgreeve [Tue, 8 Jun 2021 02:44:04 +0000 (10:44 +0800)]
Merge branch 'MDL-71207_master' of https://github.com/TomoTsuyuki/moodle

4 months agoMDL-69194 user: make core_user_update_users return warnings
Matt Porritt [Thu, 8 Apr 2021 00:44:17 +0000 (00:44 +0000)]
MDL-69194 user: make core_user_update_users return warnings

Add unit test coverage for the new warning scenarios.

4 months agoMDL-71207 course: Add info for task error
Tomo Tsuyuki [Mon, 7 Jun 2021 23:44:59 +0000 (09:44 +1000)]
MDL-71207 course: Add info for task error

4 months agoMerge branch 'master-MDL-71471_v2' of https://github.com/golenkovm/moodle
Eloy Lafuente (stronk7) [Mon, 7 Jun 2021 18:14:46 +0000 (20:14 +0200)]
Merge branch 'master-MDL-71471_v2' of https://github.com/golenkovm/moodle

4 months agoMerge branch 'MDL-71135-master' of git://github.com/sarjona/moodle
Eloy Lafuente (stronk7) [Mon, 7 Jun 2021 10:56:50 +0000 (12:56 +0200)]
Merge branch 'MDL-71135-master' of git://github.com/sarjona/moodle

4 months agoMDL-71134 core: add new reactive modules
Ferran Recio [Thu, 1 Apr 2021 13:44:39 +0000 (15:44 +0200)]
MDL-71134 core: add new reactive modules

The new course creation for Moodle 4.0 requires to add
some leavel of reactivity to the frontend. Instead of
building a specific solution only for the course editor,
in this commit there's a generic solution that can be
used in other places in Moodle to implement single
state reactive components.

4 months agoMDL-69194 user: make core_user_update_users return warnings
Vitaly Potenko [Mon, 17 Aug 2020 12:45:53 +0000 (15:45 +0300)]
MDL-69194 user: make core_user_update_users return warnings

The external function 'core_user_update_users()' always returned 'null' no matter
if a user or users were successfully updated or there were some failures.
So, there was no way for the caller to know which users were updated and which were not.
After the commit changes the function returns an 'external_warnings' instance. The function uses
a delegated transaction for each user to update within a loop. This enables the function to update
as many users as possible. This differs from the previous behavior of the function when it used
a delegate transaction outside of the loop where the users were updated. This resulted in a rollback
of the whole users updating in case any of the users had some invalid data. For each user within a loop
a 'try-catch' block is used to throw exceptions which are actually returned
as warnings by the function when they are caught.

4 months agoMDL-71135 course: core_course_get_state external method
Sara Arjona [Tue, 23 Mar 2021 17:41:00 +0000 (18:41 +0100)]
MDL-71135 course: core_course_get_state external method

4 months agoMDL-71135 course: add legacy_format_renderer support
Sara Arjona [Thu, 25 Mar 2021 17:04:57 +0000 (18:04 +0100)]
MDL-71135 course: add legacy_format_renderer support

Until Moodle 4.0, renderer.php file was optional (although highly recommended)
for course formats. From Moodle 4.0 onwards, renderer is required to support
the new course editor implementation.
The legacy_format_renderer class has been created for backward compatibility,
to avoid some errors with course formats (such as social) without the renderer
file. Apart from that, course_format->get_renderer() method has been reviewed
to use this legacy_format_renderer when no renderer.php file is found.

4 months agoMDL-71052 course: use filetypes setting for course overview files.
Paul Holden [Thu, 3 Jun 2021 21:07:02 +0000 (22:07 +0100)]
MDL-71052 course: use filetypes setting for course overview files.

4 months agoMDL-70230 admin: add setting sched. task status
Jordi Pujol Ahulló [Mon, 16 Nov 2020 15:54:45 +0000 (16:54 +0100)]
MDL-70230 admin: add setting sched. task status

When defining settings that are used by scheduled tasks,
it is also useful, or even needed, to know the status
of that scheduled task to have the whole big picture of
that part of the system.

Based on the admin_setting_description, this new setting
reports its name, its status, a link to the configuration.

When adding a new setting of this type, the user can add
an extra description field to complete the whole meaning.

4 months agoMDL-71471 assign: Remove submission from queue when converted in web
Mikhail Golenkov [Fri, 4 Jun 2021 05:18:59 +0000 (15:18 +1000)]
MDL-71471 assign: Remove submission from queue when converted in web

4 months agoweekly release 4.0dev
Eloy Lafuente (stronk7) [Thu, 3 Jun 2021 21:56:05 +0000 (23:56 +0200)]
weekly release 4.0dev

4 months agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Eloy Lafuente (stronk7) [Thu, 3 Jun 2021 21:56:01 +0000 (23:56 +0200)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

4 months agoMDL-71559 core_user: Fields support for PROFILE_VISIBLE_TEACHERS
sam marshall [Wed, 12 May 2021 09:58:43 +0000 (10:58 +0100)]
MDL-71559 core_user: Fields support for PROFILE_VISIBLE_TEACHERS

4 months agoMDL-71813 filepicker: view file not available using keyboard (Enter)
hiendinh [Mon, 31 May 2021 10:48:15 +0000 (17:48 +0700)]
MDL-71813 filepicker: view file not available using keyboard (Enter)

4 months agoMDL-70846 accessibility: update color to increase contrast
Dongsheng Cai [Fri, 28 May 2021 02:34:12 +0000 (12:34 +1000)]
MDL-70846 accessibility: update color to increase contrast

4 months agoMDL-70846 accessibility: update tree attributes to pass a11y check
Dongsheng Cai [Tue, 25 May 2021 10:38:51 +0000 (20:38 +1000)]
MDL-70846 accessibility: update tree attributes to pass a11y check

- Move aria-* atrributes from <p> to <li>
- Move "role" attribute from <p> to <li>
- Update behat tests

Based on reference implementation from:
- https://www.w3.org/TR/wai-aria-practices-1.1/examples/treeview/treeview-2/treeview-2a.html
- https://www.w3.org/WAI/GL/wiki/Using_ARIA_trees

4 months agoMerge branch 'MDL-71741-master' of git://github.com/HuongNV13/moodle
Andrew Nicols [Thu, 3 Jun 2021 03:51:12 +0000 (11:51 +0800)]
Merge branch 'MDL-71741-master' of git://github.com/HuongNV13/moodle

4 months agoMDL-71741 portfolio: Reset header information between requests
Huong Nguyen [Fri, 28 May 2021 01:55:43 +0000 (08:55 +0700)]
MDL-71741 portfolio: Reset header information between requests

The reset process also removes the CURLFile option in the HTTP object,
which will avoid the serialisation issue on PHP7.4 and upward

4 months agoMerge branch 'MDL-71661' of https://github.com/paulholden/moodle
Andrew Nicols [Thu, 3 Jun 2021 03:44:57 +0000 (11:44 +0800)]
Merge branch 'MDL-71661' of https://github.com/paulholden/moodle