moodle.git
2 years agoMerge branch 'MDL-62768' of https://github.com/paulholden/moodle
Eloy Lafuente (stronk7) [Wed, 4 Mar 2020 17:33:00 +0000 (18:33 +0100)]
Merge branch 'MDL-62768' of https://github.com/paulholden/moodle

2 years agoMerge branch 'MDL-67696-master' of https://github.com/JayChurchward/moodle
Sara Arjona [Wed, 4 Mar 2020 16:55:27 +0000 (17:55 +0100)]
Merge branch 'MDL-67696-master' of https://github.com/JayChurchward/moodle

2 years agoMerge branch 'MDL-67767-master' of git://github.com/dpalou/moodle
Sara Arjona [Wed, 4 Mar 2020 14:04:47 +0000 (15:04 +0100)]
Merge branch 'MDL-67767-master' of git://github.com/dpalou/moodle

2 years agoMDL-67767 tool_mobile: Allow using more characters in forcedurlscheme
Dani Palou [Mon, 10 Feb 2020 12:22:05 +0000 (13:22 +0100)]
MDL-67767 tool_mobile: Allow using more characters in forcedurlscheme

2 years agoMerge branch 'MDL-67863-master' of git://github.com/bmbrands/moodle
Sara Arjona [Wed, 4 Mar 2020 13:05:17 +0000 (14:05 +0100)]
Merge branch 'MDL-67863-master' of git://github.com/bmbrands/moodle

2 years agoMerge branch 'MDL-67969-master' of git://github.com/rezaies/moodle
Sara Arjona [Wed, 4 Mar 2020 11:58:04 +0000 (12:58 +0100)]
Merge branch 'MDL-67969-master' of git://github.com/rezaies/moodle

2 years agoMDL-56287 gradereport_history: Separate groups queries improved
Marina Glancy [Tue, 3 Mar 2020 17:30:06 +0000 (18:30 +0100)]
MDL-56287 gradereport_history: Separate groups queries improved

2 years agoMDL-56287 gradereport_history: Show users from groups that can be viewed
Jun Pataleta [Thu, 27 Feb 2020 08:48:32 +0000 (16:48 +0800)]
MDL-56287 gradereport_history: Show users from groups that can be viewed

2 years agoMerge branch 'MDL-67641-master' of git://github.com/dpalou/moodle
Eloy Lafuente (stronk7) [Wed, 4 Mar 2020 09:47:45 +0000 (10:47 +0100)]
Merge branch 'MDL-67641-master' of git://github.com/dpalou/moodle

2 years agoMerge branch 'MDL-68008-master' of git://github.com/ferranrecio/moodle
Sara Arjona [Wed, 4 Mar 2020 07:40:43 +0000 (08:40 +0100)]
Merge branch 'MDL-68008-master' of git://github.com/ferranrecio/moodle

2 years agoMerge branch 'MDL-68055-master' of https://github.com/snake/moodle
Sara Arjona [Wed, 4 Mar 2020 07:16:47 +0000 (08:16 +0100)]
Merge branch 'MDL-68055-master' of https://github.com/snake/moodle

2 years agoMDL-67641 auth: Fix shortname type in get_signup_settings WS
Dani Palou [Wed, 12 Feb 2020 13:58:04 +0000 (14:58 +0100)]
MDL-67641 auth: Fix shortname type in get_signup_settings WS

2 years agoMDL-68055 core_course: export content item description as markdown
Jake Dallimore [Wed, 26 Feb 2020 02:20:01 +0000 (10:20 +0800)]
MDL-68055 core_course: export content item description as markdown

2 years agoMerge branch 'MDL-67728-master' of git://github.com/crazyserver/moodle
Eloy Lafuente (stronk7) [Tue, 3 Mar 2020 18:50:08 +0000 (19:50 +0100)]
Merge branch 'MDL-67728-master' of git://github.com/crazyserver/moodle

2 years agoMerge branch 'MDL-68038-master' of git://github.com/sarjona/moodle
Eloy Lafuente (stronk7) [Tue, 3 Mar 2020 18:45:05 +0000 (19:45 +0100)]
Merge branch 'MDL-68038-master' of git://github.com/sarjona/moodle

2 years agoMerge branch 'MDL-67971-master' of git://github.com/sarjona/moodle
Eloy Lafuente (stronk7) [Tue, 3 Mar 2020 18:02:22 +0000 (19:02 +0100)]
Merge branch 'MDL-67971-master' of git://github.com/sarjona/moodle

2 years agoMerge branch 'MDL-67993-master' of git://github.com/lameze/moodle
Sara Arjona [Tue, 3 Mar 2020 17:06:23 +0000 (18:06 +0100)]
Merge branch 'MDL-67993-master' of git://github.com/lameze/moodle

2 years agoMDL-68008 tool_capability: shows multiple contexts when overrides exists
Ferran Recio [Mon, 24 Feb 2020 10:17:45 +0000 (11:17 +0100)]
MDL-68008 tool_capability: shows multiple contexts when overrides exists

2 years agoMerge branch 'MDL-68048-master-behatnotfound' of git://github.com/mudrd8mz/moodle
Sara Arjona [Tue, 3 Mar 2020 16:01:33 +0000 (17:01 +0100)]
Merge branch 'MDL-68048-master-behatnotfound' of git://github.com/mudrd8mz/moodle

2 years agoMerge branch 'MDL-68060-master-huburlcompare' of git://github.com/mudrd8mz/moodle
Sara Arjona [Tue, 3 Mar 2020 12:10:00 +0000 (13:10 +0100)]
Merge branch 'MDL-68060-master-huburlcompare' of git://github.com/mudrd8mz/moodle

2 years agoMerge branch 'MDL-67891' of https://github.com/paulholden/moodle
Sara Arjona [Tue, 3 Mar 2020 11:48:03 +0000 (12:48 +0100)]
Merge branch 'MDL-67891' of https://github.com/paulholden/moodle

2 years agoMerge branch 'MDL-63316' of https://github.com/azito122/moodle
Sara Arjona [Tue, 3 Mar 2020 10:10:36 +0000 (11:10 +0100)]
Merge branch 'MDL-63316' of https://github.com/azito122/moodle

2 years agoMerge branch 'MDL-67945-master' of git://github.com/ferranrecio/moodle
Sara Arjona [Tue, 3 Mar 2020 09:10:32 +0000 (10:10 +0100)]
Merge branch 'MDL-67945-master' of git://github.com/ferranrecio/moodle

2 years agoMerge branch 'MDL-67749-master' of git://github.com/dpalou/moodle
Sara Arjona [Tue, 3 Mar 2020 08:29:18 +0000 (09:29 +0100)]
Merge branch 'MDL-67749-master' of git://github.com/dpalou/moodle

2 years agoMerge branch 'MDL-67988-jws-base64url' of https://github.com/cengage/moodle
Sara Arjona [Mon, 2 Mar 2020 12:59:48 +0000 (13:59 +0100)]
Merge branch 'MDL-67988-jws-base64url' of https://github.com/cengage/moodle

2 years agoMDL-67891 tool_cohortroles: move upgrade step inside plugin.
Paul Holden [Thu, 6 Feb 2020 09:10:17 +0000 (09:10 +0000)]
MDL-67891 tool_cohortroles: move upgrade step inside plugin.

The step added in MDL-67458 was added to core, which broke the upgrade
process if this plugin had been uninstalled prior.

2 years agoMDL-67971 core_badges: review issuer URL
Sara Arjona [Fri, 14 Feb 2020 13:36:41 +0000 (14:36 +0100)]
MDL-67971 core_badges: review issuer URL

2 years agoMDL-68038 core_h5p: rename can_update_library test
Sara Arjona [Mon, 24 Feb 2020 16:56:57 +0000 (17:56 +0100)]
MDL-68038 core_h5p: rename can_update_library test

2 years agoMDL-63316 participants: lastname sort for participants table
Andrew Zito [Mon, 11 Feb 2019 19:48:14 +0000 (14:48 -0500)]
MDL-63316 participants: lastname sort for participants table

2 years agoweekly release 3.9dev
Eloy Lafuente (stronk7) [Fri, 28 Feb 2020 11:22:30 +0000 (12:22 +0100)]
weekly release 3.9dev

2 years agoMDL-67863 theme_boost: change keyboard tab order
Bas Brands [Mon, 24 Feb 2020 13:39:31 +0000 (14:39 +0100)]
MDL-67863 theme_boost: change keyboard tab order

Move navdrawer up in the dom for a more logical tab order
Hide navdrawer links for tab / screenreader when navdrawer is closed

2 years agoMerge branch 'MDL-67062-master-fix-oracle' of https://github.com/sarjona/moodle
Eloy Lafuente (stronk7) [Thu, 27 Feb 2020 12:18:58 +0000 (13:18 +0100)]
Merge branch 'MDL-67062-master-fix-oracle' of https://github.com/sarjona/moodle

2 years agoMDL-67062 core_h5p: fix oracle distinct error
Sara Arjona [Thu, 27 Feb 2020 12:12:52 +0000 (13:12 +0100)]
MDL-67062 core_h5p: fix oracle distinct error

2 years agoMerge branch 'MDL-67062-master-fix' of https://github.com/sarjona/moodle
Eloy Lafuente (stronk7) [Thu, 27 Feb 2020 11:54:30 +0000 (12:54 +0100)]
Merge branch 'MDL-67062-master-fix' of https://github.com/sarjona/moodle

2 years agoMDL-67062 core_h5p: behat fix for delete library test
Sara Arjona [Thu, 27 Feb 2020 11:32:21 +0000 (12:32 +0100)]
MDL-67062 core_h5p: behat fix for delete library test

2 years agoMerge branch 'MDL-67584-integration-2' of https://github.com/Chocolate-lightning...
Jun Pataleta [Thu, 27 Feb 2020 04:36:33 +0000 (12:36 +0800)]
Merge branch 'MDL-67584-integration-2' of https://github.com/Chocolate-lightning/moodle

2 years agoMDL-67584 core_course: Activity chooser favouriting frontend
Mathew May [Thu, 13 Feb 2020 04:15:24 +0000 (12:15 +0800)]
MDL-67584 core_course: Activity chooser favouriting frontend

2 years agoMerge branch 'MDL-67865-master' of git://github.com/rezaies/moodle
Eloy Lafuente (stronk7) [Wed, 26 Feb 2020 22:36:26 +0000 (23:36 +0100)]
Merge branch 'MDL-67865-master' of git://github.com/rezaies/moodle

2 years agoMerge branch 'MDL-64686-master' of git://github.com/lucaboesch/moodle
Eloy Lafuente (stronk7) [Wed, 26 Feb 2020 22:25:23 +0000 (23:25 +0100)]
Merge branch 'MDL-64686-master' of git://github.com/lucaboesch/moodle

2 years agoMerge branch 'MDL-67062-master' of git://github.com/sarjona/moodle
Eloy Lafuente (stronk7) [Wed, 26 Feb 2020 21:44:47 +0000 (22:44 +0100)]
Merge branch 'MDL-67062-master' of git://github.com/sarjona/moodle

2 years agoMDL-67062 core_h5p: delete libraries
Sara Arjona [Mon, 3 Feb 2020 11:37:09 +0000 (12:37 +0100)]
MDL-67062 core_h5p: delete libraries

New feature to let admins to remove H5P libraries/content types.

Thanks Ferran Recio for your contribution with the renderer!

AMOS BEGIN
 CPY [actions,core],[actions,core_h5p]
AMOS END

2 years agoMDL-67062 core_h5p: delete cache assets when removing libraries
Sara Arjona [Sat, 1 Feb 2020 13:51:27 +0000 (14:51 +0100)]
MDL-67062 core_h5p: delete cache assets when removing libraries

The cache assets linked to a library have to be removed also when a
library is deleted, in order to rebuild them again next time they are
required.

2 years agoMerge branch 'MDL-67758-master' of git://github.com/dpalou/moodle
Eloy Lafuente (stronk7) [Wed, 26 Feb 2020 16:35:38 +0000 (17:35 +0100)]
Merge branch 'MDL-67758-master' of git://github.com/dpalou/moodle

2 years agoMerge branch 'MDL-67132-LTI-Adv-TriggerCalc' of https://github.com/cengage/moodle
Eloy Lafuente (stronk7) [Wed, 26 Feb 2020 16:15:50 +0000 (17:15 +0100)]
Merge branch 'MDL-67132-LTI-Adv-TriggerCalc' of https://github.com/cengage/moodle

2 years agoMerge branch 'MDL-67979-master-enfix' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Wed, 26 Feb 2020 16:13:12 +0000 (17:13 +0100)]
Merge branch 'MDL-67979-master-enfix' of git://github.com/mudrd8mz/moodle

2 years agoMDL-67945 enrol: missing $DB in edit_instance_form
Anthony Forth [Wed, 12 Feb 2020 12:26:16 +0000 (12:26 +0000)]
MDL-67945 enrol: missing $DB in edit_instance_form

2 years agoMDL-68060 registration: Improve the sites directory location check
David Mudrák [Wed, 26 Feb 2020 09:56:05 +0000 (10:56 +0100)]
MDL-68060 registration: Improve the sites directory location check

This allows to define the custom HUB_MOODLEORGHUBURL with HTTP Basic
Auth credentials so that the registration features can be tested against
our staging site.

2 years agoMerge branch 'MDL-67921-master' of git://github.com/sarjona/moodle
Jun Pataleta [Wed, 26 Feb 2020 08:51:19 +0000 (16:51 +0800)]
Merge branch 'MDL-67921-master' of git://github.com/sarjona/moodle

2 years agoMerge branch 'master_MDL-67980' of https://github.com/golenkovm/moodle
Jun Pataleta [Wed, 26 Feb 2020 06:30:49 +0000 (14:30 +0800)]
Merge branch 'master_MDL-67980' of https://github.com/golenkovm/moodle

2 years agoMDL-67993 roles: Fix pix_icon() calls.
David Balch [Tue, 18 Feb 2020 12:24:05 +0000 (12:24 +0000)]
MDL-67993 roles: Fix pix_icon() calls.

2 years agoMDL-67132 mod_lti: document new param
Claude Vervoort [Thu, 13 Feb 2020 20:19:48 +0000 (15:19 -0500)]
MDL-67132 mod_lti: document new param

2 years agoMerge branch 'MDL-67950-passwordpolicy-callback' of https://github.com/brendanheywood...
Eloy Lafuente (stronk7) [Tue, 25 Feb 2020 23:20:49 +0000 (00:20 +0100)]
Merge branch 'MDL-67950-passwordpolicy-callback' of https://github.com/brendanheywood/moodle

2 years agoMerge branch 'MDL-67644-master' of git://github.com/dpalou/moodle
Eloy Lafuente (stronk7) [Tue, 25 Feb 2020 22:59:41 +0000 (23:59 +0100)]
Merge branch 'MDL-67644-master' of git://github.com/dpalou/moodle

2 years agoMerge branch 'MDL-67806-master' of git://github.com/dpalou/moodle
Eloy Lafuente (stronk7) [Tue, 25 Feb 2020 22:57:15 +0000 (23:57 +0100)]
Merge branch 'MDL-67806-master' of git://github.com/dpalou/moodle

2 years agoMerge branch 'MDL-67237-master' of git://github.com/dpalou/moodle
Eloy Lafuente (stronk7) [Tue, 25 Feb 2020 22:53:19 +0000 (23:53 +0100)]
Merge branch 'MDL-67237-master' of git://github.com/dpalou/moodle

2 years agoMerge branch 'MDL-67920-master' of git://github.com/aanabit/moodle
Eloy Lafuente (stronk7) [Tue, 25 Feb 2020 22:32:17 +0000 (23:32 +0100)]
Merge branch 'MDL-67920-master' of git://github.com/aanabit/moodle

2 years agoMerge branch 'MDL-67131-master' of git://github.com/cescobedo/moodle
Eloy Lafuente (stronk7) [Tue, 25 Feb 2020 22:30:41 +0000 (23:30 +0100)]
Merge branch 'MDL-67131-master' of git://github.com/cescobedo/moodle

2 years agoMDL-62768 tool_policy: add page title & breadcrumb navigation.
Paul Holden [Tue, 25 Feb 2020 21:56:21 +0000 (21:56 +0000)]
MDL-62768 tool_policy: add page title & breadcrumb navigation.

2 years agoMDL-62768 tool_dataprivacy: add page breadcrumbs to navigation.
Paul Holden [Mon, 14 Oct 2019 18:52:46 +0000 (19:52 +0100)]
MDL-62768 tool_dataprivacy: add page breadcrumbs to navigation.

2 years agoMDL-67979 lang: Reflect the new string wording in the Behat test
David Mudrák [Wed, 19 Feb 2020 10:15:52 +0000 (11:15 +0100)]
MDL-67979 lang: Reflect the new string wording in the Behat test

This effectively only adds the full stop and would not break the test
but still.

2 years agoMDL-67979 lang: Import fixed English strings (en_fix)
Helen Foster [Wed, 19 Feb 2020 10:05:09 +0000 (11:05 +0100)]
MDL-67979 lang: Import fixed English strings (en_fix)

Significant string changes:

* configcustommenuitems,core_admin - corrected example
* custommenuitems_desc,tool_mobile - fallback behaviour of custom menu
  items in the app

2 years agoMerge branch 'MDL-67862-master' of git://github.com/junpataleta/moodle
Eloy Lafuente (stronk7) [Tue, 25 Feb 2020 11:09:33 +0000 (12:09 +0100)]
Merge branch 'MDL-67862-master' of git://github.com/junpataleta/moodle

2 years agoMerge branch 'MDL-67364-master' of git://github.com/mickhawkins/moodle
Eloy Lafuente (stronk7) [Tue, 25 Feb 2020 11:05:33 +0000 (12:05 +0100)]
Merge branch 'MDL-67364-master' of git://github.com/mickhawkins/moodle

2 years agoMDL-68048 behat: Fix the ElementNotFoundException message wording
David Mudrák [Tue, 25 Feb 2020 10:33:57 +0000 (11:33 +0100)]
MDL-68048 behat: Fix the ElementNotFoundException message wording

The exception class itself adds the "not found" to the error message.

2 years agoMerge branch 'MDL-67846-master' of git://github.com/lameze/moodle
Jun Pataleta [Tue, 25 Feb 2020 08:52:45 +0000 (16:52 +0800)]
Merge branch 'MDL-67846-master' of git://github.com/lameze/moodle

2 years agoMDL-67846 mod_forum: export user full name
Simey Lameze [Tue, 4 Feb 2020 07:18:49 +0000 (15:18 +0800)]
MDL-67846 mod_forum: export user full name

2 years agoMerge branch 'MDL-67586-integration' of https://github.com/Chocolate-lightning/moodle
Jun Pataleta [Tue, 25 Feb 2020 06:25:16 +0000 (14:25 +0800)]
Merge branch 'MDL-67586-integration' of https://github.com/Chocolate-lightning/moodle

2 years agoMDL-67586 core_course: Recommended modules frontend
Mathew May [Tue, 18 Feb 2020 00:53:27 +0000 (08:53 +0800)]
MDL-67586 core_course: Recommended modules frontend

2 years agoMerge branch 'MDL-67262' of git://github.com/stronk7/moodle
Jun Pataleta [Tue, 25 Feb 2020 01:37:38 +0000 (09:37 +0800)]
Merge branch 'MDL-67262' of git://github.com/stronk7/moodle

2 years agoMDL-67262 core_course: fix behat looking for non-existing page
Eloy Lafuente (stronk7) [Mon, 24 Feb 2020 22:15:28 +0000 (23:15 +0100)]
MDL-67262 core_course: fix behat looking for non-existing page

2 years agoMDL-67262 core_course: Rebuild recommended activities JS module
Jun Pataleta [Mon, 24 Feb 2020 08:04:06 +0000 (16:04 +0800)]
MDL-67262 core_course: Rebuild recommended activities JS module

2 years agoMerge branch 'MDL-67262-master-2' of git://github.com/snake/moodle
Jun Pataleta [Mon, 24 Feb 2020 07:56:04 +0000 (15:56 +0800)]
Merge branch 'MDL-67262-master-2' of git://github.com/snake/moodle

2 years agoMDL-67262 core_course: integration review changes
Jake Dallimore [Mon, 24 Feb 2020 05:13:49 +0000 (13:13 +0800)]
MDL-67262 core_course: integration review changes

2 years agoMDL-67262 core_course: Unit and behat tests for recommendations.
Adrian Greeve [Mon, 10 Feb 2020 02:14:18 +0000 (10:14 +0800)]
MDL-67262 core_course: Unit and behat tests for recommendations.

2 years agoMDL-67262 core_course: Added the ability to recommend activities.
Adrian Greeve [Mon, 10 Feb 2020 02:18:27 +0000 (10:18 +0800)]
MDL-67262 core_course: Added the ability to recommend activities.

This allows an adminsitrator or a user with
'moodle/course:recommendactivity' to recommend activities in the
activity chooser.

2 years agoMDL-67980 tasks: Sort ad-hoc tasks by nextruntime.
Mikhail Golenkov [Mon, 17 Feb 2020 03:54:08 +0000 (14:54 +1100)]
MDL-67980 tasks: Sort ad-hoc tasks by nextruntime.

2 years agoMDL-67988 mod_lti: remove padding from JWS base64url encoding
Adrian Hutchinson [Mon, 17 Feb 2020 17:25:14 +0000 (09:25 -0800)]
MDL-67988 mod_lti: remove padding from JWS base64url encoding

2 years agoMDL-67728 behat: Increase app start timeout
Pau Ferrer Ocaña [Tue, 21 Jan 2020 11:43:51 +0000 (12:43 +0100)]
MDL-67728 behat: Increase app start timeout

2 years agoMDL-67728 behat: Improve behat app selectors
Pau Ferrer Ocaña [Wed, 22 Jan 2020 08:56:01 +0000 (09:56 +0100)]
MDL-67728 behat: Improve behat app selectors

2 years agoMDL-67131 core_h5p: Allow use webservice/pluginfile|tokenpluginfile url
cescobedo [Tue, 11 Feb 2020 14:12:08 +0000 (15:12 +0100)]
MDL-67131 core_h5p: Allow use webservice/pluginfile|tokenpluginfile url

With this fix the player accepts webservice/pluginfile.php, pluginfile.php
and tokenpluginfile.php URLs to find the h5p files.
Also, we allow to build fileurl with the proper endpoint if
the URL is webservice/pluginfile, tokenpluginfile.php or pluginfile.php
as Mobile App needs.

2 years agoMDL-67921 core_h5p: re-implement framework->getOption
Sara Arjona [Mon, 10 Feb 2020 13:17:32 +0000 (14:17 +0100)]
MDL-67921 core_h5p: re-implement framework->getOption

The implementation done for getOption was not correct because it
was only taking into account the displayoptions for download and
embed.
Besides, setOption implementation has been added.

2 years agoMDL-67920 core_h5p: Move upload button into form and fix title
Amaia Anabitarte [Mon, 10 Feb 2020 11:52:14 +0000 (12:52 +0100)]
MDL-67920 core_h5p: Move upload button into form and fix title

Minor bugs in Site administration > H5P > Manage H5P content types admin page'

2 years agoMDL-64686 theme: align course search form for small screens sizes.
Luca Bösch [Sat, 26 Oct 2019 15:24:48 +0000 (17:24 +0200)]
MDL-64686 theme: align course search form for small screens sizes.

2 years agoweekly release 3.9dev
Jun Pataleta [Fri, 21 Feb 2020 03:02:08 +0000 (11:02 +0800)]
weekly release 3.9dev

2 years agoMerge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Jun Pataleta [Fri, 21 Feb 2020 03:01:17 +0000 (11:01 +0800)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install

2 years agoMerge branch 'MDL-67727-master' of git://github.com/crazyserver/moodle
Eloy Lafuente (stronk7) [Thu, 20 Feb 2020 15:12:23 +0000 (16:12 +0100)]
Merge branch 'MDL-67727-master' of git://github.com/crazyserver/moodle

2 years agoMerge branch 'MDL-67585-master-4' of git://github.com/snake/moodle
Jun Pataleta [Thu, 20 Feb 2020 03:58:02 +0000 (11:58 +0800)]
Merge branch 'MDL-67585-master-4' of git://github.com/snake/moodle

2 years agoMDL-67585 core_course: Added legacyitem to exporter.
Adrian Greeve [Tue, 4 Feb 2020 03:31:31 +0000 (11:31 +0800)]
MDL-67585 core_course: Added legacyitem to exporter.

Legacy items have no id and so can not be favourited nor
recommended. We needed a way to easily determine whether to show
these features in the templates.

2 years agoMDL-67585 core_course: Removing functions introduced this release.
Adrian Greeve [Tue, 4 Feb 2020 00:39:10 +0000 (08:39 +0800)]
MDL-67585 core_course: Removing functions introduced this release.

For the initial rewrite of the activity chooser we had some
temporary functions to make everything work. These have been replaced
with different functions and so these functions are now being removed.

2 years agoMDL-67585 core_course: Update to provider to add favourites info.
Adrian Greeve [Tue, 4 Feb 2020 00:31:46 +0000 (08:31 +0800)]
MDL-67585 core_course: Update to provider to add favourites info.

This adds information to the privacy report about the user being
able to favourite activities in the activity chooser.

2 years agoMDL-67585 core_course: Service factory for course content items.
Adrian Greeve [Mon, 3 Feb 2020 07:52:41 +0000 (15:52 +0800)]
MDL-67585 core_course: Service factory for course content items.

2 years agoMDL-67585 core_course: use new content item service to load the chooser
Jake Dallimore [Fri, 31 Jan 2020 06:35:47 +0000 (14:35 +0800)]
MDL-67585 core_course: use new content item service to load the chooser

2 years agoMDL-67585 core_course: new web service to return course content items
Jake Dallimore [Fri, 31 Jan 2020 05:28:32 +0000 (13:28 +0800)]
MDL-67585 core_course: new web service to return course content items

2 years agoMDL-67585 core_course: added web services for content item favourites
Jake Dallimore [Thu, 30 Jan 2020 03:28:16 +0000 (11:28 +0800)]
MDL-67585 core_course: added web services for content item favourites

Two new services:
add_content_item_to_user_favourites
remove_content_item_from_user_favourites

2 years agoMDL-67585 core_course: add favouriting to the content item service class
Jake Dallimore [Wed, 29 Jan 2020 07:37:33 +0000 (15:37 +0800)]
MDL-67585 core_course: add favouriting to the content item service class

2 years agoMDL-67585 core_course: add hook get_all_content_items
Jake Dallimore [Wed, 29 Jan 2020 03:52:46 +0000 (11:52 +0800)]
MDL-67585 core_course: add hook get_all_content_items

Returns all content items which are provided by the plugin, irrespective
of whether or not a user can see an item in a particular course. This is
used to generate a global list of content items, allowing for admin
level features to be added.

2 years agoMDL-67585 core_course: deprecate the callback get_shortcuts()
Jake Dallimore [Fri, 31 Jan 2020 23:45:46 +0000 (07:45 +0800)]
MDL-67585 core_course: deprecate the callback get_shortcuts()

This involves a few changes:
- The callback is still called by the repository but only if the
replacement callback get_course_content_items is not implemented.
- Debugging is called when the get_shortcuts callback is called.
- We leave lti's implementation of get_shortcuts alone, in order to
maintain the output of get_module_metadata during its deprecation life
span.

2 years agoMDL-67585 core_course: only accept content items from mods and submods
Jake Dallimore [Tue, 28 Jan 2020 08:47:09 +0000 (16:47 +0800)]
MDL-67585 core_course: only accept content items from mods and submods

This matches the prior behaviour in core.

2 years agoMDL-67585 core_course: add get_course_content_items hook
Jake Dallimore [Thu, 23 Jan 2020 07:45:34 +0000 (15:45 +0800)]
MDL-67585 core_course: add get_course_content_items hook

Plugins use this to report which content items relate to a user in
a course.

2 years agoMDL-67585 format_singleactivity: fix hassubtype to use the service data
Jake Dallimore [Sat, 1 Feb 2020 02:28:26 +0000 (10:28 +0800)]
MDL-67585 format_singleactivity: fix hassubtype to use the service data

TODO: really need to properly work out subtypes lower down in the repo.