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
Mathew May [Tue, 18 Feb 2020 00:53:27 +0000 (08:53 +0800)]
MDL-67586 core_course: Recommended modules frontend
Jun Pataleta [Tue, 25 Feb 2020 01:37:38 +0000 (09:37 +0800)]
Merge branch 'MDL-67262' of git://github.com/stronk7/moodle
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
Jun Pataleta [Mon, 24 Feb 2020 08:04:06 +0000 (16:04 +0800)]
MDL-67262 core_course: Rebuild recommended activities JS module
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
Jake Dallimore [Mon, 24 Feb 2020 05:13:49 +0000 (13:13 +0800)]
MDL-67262 core_course: integration review changes
Adrian Greeve [Mon, 10 Feb 2020 02:14:18 +0000 (10:14 +0800)]
MDL-67262 core_course: Unit and behat tests for recommendations.
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.
Jun Pataleta [Fri, 21 Feb 2020 03:02:08 +0000 (11:02 +0800)]
weekly release 3.9dev
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
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
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
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.
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.
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.
Adrian Greeve [Mon, 3 Feb 2020 07:52:41 +0000 (15:52 +0800)]
MDL-67585 core_course: Service factory for course content items.
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
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
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
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
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.
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.
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.
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.
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.
Jake Dallimore [Thu, 23 Jan 2020 01:41:55 +0000 (09:41 +0800)]
MDL-67585 core_course: deprecate get_module_metadata() from course/lib
Jake Dallimore [Tue, 21 Jan 2020 06:14:18 +0000 (14:14 +0800)]
MDL-67585 core_course: Use the content_item_service to build the picker
Replace get_module_metadata calls with calls to the new
content_item_service class.
Jake Dallimore [Tue, 21 Jan 2020 03:43:08 +0000 (11:43 +0800)]
MDL-67585 core_course: add content_item_service class
The service object encapsulates access control logic and allows
consumers to query content items in different contexts/scopes.
Jake Dallimore [Tue, 21 Jan 2020 05:21:48 +0000 (13:21 +0800)]
MDL-67585 core_course: add user param to course_allowed_module
We want to be able to call this for a user, not rely on a global.
Jake Dallimore [Tue, 21 Jan 2020 03:04:54 +0000 (11:04 +0800)]
MDL-67585 core_course: add exporter for course content items
An exporter will allow let us add calculated fields like 'favourited'
to the data being transferred.
Jake Dallimore [Mon, 20 Jan 2020 07:18:30 +0000 (15:18 +0800)]
MDL-67585 core_course: add caching_content_item_repository class
A repository object which caches results for a user and course. This
allows this repository to be called many time in a single request - a
pattern we expect when objects of this type replace the existing
get_module_metadata() method.
Jake Dallimore [Mon, 20 Jan 2020 06:56:13 +0000 (14:56 +0800)]
MDL-67585 core: add course content item cache
To be indexed by userid_courseid.
Jake Dallimore [Mon, 20 Jan 2020 06:11:33 +0000 (14:11 +0800)]
MDL-67585 core_course: add content_item_readonly_repository class
Add a read-only repository, which returns the list of content items
which can be added to a course. This class does not handle access
control nor user-related data pertaining to to core content_items.
This will be handled in a future commit in any calling code using
the repositories.
Jake Dallimore [Wed, 22 Jan 2020 05:49:28 +0000 (13:49 +0800)]
MDL-67585 core_course: add support for custom titles to content_item
Plugins have always been able to return either a string or a lang string
when implementing the hook, 'get_shortcuts'. Since content_items will
be the replacement for that stdClass implementation, we need a way
for plugins to continue to have this flexibility. This just provides
a small contract and some classes that plugins can use in future.
Jake Dallimore [Mon, 20 Jan 2020 05:09:00 +0000 (13:09 +0800)]
MDL-67585 core_course: add the content_item class
Objects of this class represent items able to be added to a course,
including modules and submodules.
Eloy Lafuente (stronk7) [Wed, 19 Feb 2020 23:41:19 +0000 (00:41 +0100)]
Merge branch 'MDL-67899-master' of git://github.com/rezaies/moodle
Luke Tucker [Thu, 4 Jun 2015 01:58:44 +0000 (11:28 +0930)]
MDL-50455: tool_capability: Use static cache when loading context data
Eloy Lafuente (stronk7) [Wed, 19 Feb 2020 18:17:09 +0000 (19:17 +0100)]
Merge branch 'MDL-67942-master' of https://github.com/HuongNV13/moodle
Eloy Lafuente (stronk7) [Wed, 19 Feb 2020 16:48:14 +0000 (17:48 +0100)]
Merge branch 'MDL-67947' of https://github.com/timhunt/moodle
Tim Hunt [Thu, 13 Feb 2020 16:09:33 +0000 (16:09 +0000)]
MDL-67947 questions: questions_in_use should ask all components
Previously it was only checking mods.
Huong Nguyen [Wed, 12 Feb 2020 08:45:04 +0000 (15:45 +0700)]
MDL-67942 Quiz: Quiz attempt report delete_selected_attempts issue
Jun Pataleta [Wed, 19 Feb 2020 06:44:13 +0000 (14:44 +0800)]
Merge branch 'MDL-67321-latest' of https://github.com/Chocolate-lightning/moodle
Mathew May [Mon, 3 Feb 2020 05:13:14 +0000 (13:13 +0800)]
MDL-67321 core_course: Add support for tabbing activities in the chooser
Eloy Lafuente (stronk7) [Tue, 18 Feb 2020 22:54:35 +0000 (23:54 +0100)]
Merge branch 'MDL-67471_master' of https://github.com/t-schroeder/moodle
Eloy Lafuente (stronk7) [Tue, 18 Feb 2020 18:07:05 +0000 (19:07 +0100)]
Merge branch 'MDL-61390-master' of git://github.com/junpataleta/moodle
Eloy Lafuente (stronk7) [Tue, 18 Feb 2020 16:09:17 +0000 (17:09 +0100)]
Merge branch 'MDL-67953-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Tue, 18 Feb 2020 09:20:07 +0000 (10:20 +0100)]
Merge branch 'MDL-67949-master' of git://github.com/andrewnicols/moodle
Andrew Nicols [Thu, 13 Feb 2020 05:12:20 +0000 (13:12 +0800)]
MDL-67949 grunt: normalise component paths
Eloy Lafuente (stronk7) [Mon, 17 Feb 2020 22:29:28 +0000 (23:29 +0100)]
Merge branch 'MDL-61389-master' of git://github.com/junpataleta/moodle
Eloy Lafuente (stronk7) [Mon, 17 Feb 2020 21:40:45 +0000 (22:40 +0100)]
Merge branch 'MDL-67309' of https://github.com/Peterburnett/moodle
Eloy Lafuente (stronk7) [Mon, 17 Feb 2020 21:08:09 +0000 (22:08 +0100)]
Merge branch 'MDL-67817-master' of https://github.com/dthies/moodle
Eloy Lafuente (stronk7) [Mon, 17 Feb 2020 11:28:05 +0000 (12:28 +0100)]
Merge branch 'MDL-67712-master' of git://github.com/andrewnicols/moodle
Tim Schroeder [Fri, 6 Dec 2019 10:42:19 +0000 (11:42 +0100)]
MDL-67471 message: fixed mark_notification_read with messaging disabled
Jun Pataleta [Fri, 7 Feb 2020 07:10:27 +0000 (15:10 +0800)]
MDL-61390 mod_forum: Create template for forum search results
Jun Pataleta [Thu, 13 Feb 2020 08:30:35 +0000 (16:30 +0800)]
MDL-61389 mod_forum: Descriptive aria-label for "Discuss this topic"
Peter Burnett [Mon, 27 Jan 2020 23:11:43 +0000 (09:11 +1000)]
MDL-67309 login: Added check for password policy at login time.
Andrew Nicols [Thu, 13 Feb 2020 05:26:31 +0000 (13:26 +0800)]
MDL-67949 grunt: Add debugging information
Andrew Nicols [Thu, 16 Jan 2020 13:41:17 +0000 (21:41 +0800)]
MDL-67712 grunt: Ensure that more-specific matches are first
AMOS bot [Sun, 16 Feb 2020 00:11:04 +0000 (00:11 +0000)]
Automatically generated installer lang files
Daniel Thies [Fri, 7 Feb 2020 15:51:19 +0000 (09:51 -0600)]
MDL-67817 core_date: Add test for timezone localization strings
Daniel Thies [Fri, 14 Feb 2020 17:42:33 +0000 (11:42 -0600)]
MDL-67817 core_lang: Update timezone strings deprecating old identifiers
Sara Arjona [Fri, 14 Feb 2020 11:12:02 +0000 (12:12 +0100)]
weekly release 3.9dev
Sara Arjona [Fri, 14 Feb 2020 11:12:00 +0000 (12:12 +0100)]
NOBUG: Fixed SVG browser compatibility
Sara Arjona [Fri, 14 Feb 2020 11:11:59 +0000 (12:11 +0100)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Jun Pataleta [Fri, 14 Feb 2020 05:25:16 +0000 (13:25 +0800)]
Merge branch 'MDL-67965-master' of git://github.com/andrewnicols/moodle
Andrew Nicols [Thu, 13 Feb 2020 03:46:29 +0000 (11:46 +0800)]
Merge branch 'MDL-67878' of https://github.com/timhunt/moodle
Andrew Nicols [Thu, 13 Feb 2020 03:43:41 +0000 (11:43 +0800)]
Merge branch 'MDL-67264-review-squashed' of https://github.com/Chocolate-lightning/moodle
Eloy Lafuente (stronk7) [Wed, 12 Feb 2020 14:56:01 +0000 (15:56 +0100)]
Merge branch 'MDL-67876' of https://github.com/timhunt/moodle
Sara Arjona [Wed, 12 Feb 2020 09:11:29 +0000 (10:11 +0100)]
Merge branch 'MDL-63032-master' of git://github.com/peterRd/moodle
Andrew Nicols [Wed, 12 Feb 2020 00:21:54 +0000 (08:21 +0800)]
Merge branch 'MDL-67857' of https://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Tue, 11 Feb 2020 22:07:58 +0000 (23:07 +0100)]
Merge branch 'MDL-67532' of https://github.com/paulholden/moodle
Eloy Lafuente (stronk7) [Tue, 11 Feb 2020 21:56:26 +0000 (22:56 +0100)]
Merge branch 'MDL-67675-master' of git://github.com/rezaies/moodle
Eloy Lafuente (stronk7) [Tue, 11 Feb 2020 21:46:46 +0000 (22:46 +0100)]
Merge branch 'MDL-67690-master' of git://github.com/merrill-oakland/moodle
Andrew Nicols [Fri, 14 Feb 2020 01:52:23 +0000 (09:52 +0800)]
MDL-67965 behat: Get theme-specific context classes correctly
Andrew Nicols [Thu, 13 Feb 2020 05:14:49 +0000 (13:14 +0800)]
MDL-67953 grunt: Work around spawn length limits
Mathew May [Wed, 12 Feb 2020 02:41:50 +0000 (10:41 +0800)]
MDL-67264 lib modal: Add deffered promises to content promises
Peter [Wed, 15 Jan 2020 03:40:06 +0000 (11:40 +0800)]
MDL-67264 core_course: Activity chooser behat
Update the selectors to use a button
Add new tests to cover new functionality
Add new new step definitions to minimise usage of xpaths
Co-authored-by: Mathew May <mathewm@hotmail.co.nz>
Co-authored-by: Mihail Geshoski <mihail@moodle.com>
Co-authored-by: Peter <peterrolanddias@gmail.com>
Tim Hunt [Wed, 12 Feb 2020 14:26:16 +0000 (14:26 +0000)]
MDL-67878 grunt: make it works on Windows
To be honest, all the real skill here is Andrew Nicols, but I made the patch, so the credit is mine! All mine!
Tim Hunt [Wed, 12 Feb 2020 09:58:47 +0000 (09:58 +0000)]
MDL-67876 forms: not all field types need validation JS
Tim Hunt [Wed, 5 Feb 2020 12:18:17 +0000 (12:18 +0000)]
MDL-67876 forms: scroll to any invalid element if form cannot submit
Mathew May [Mon, 3 Feb 2020 01:35:11 +0000 (09:35 +0800)]
MDL-67264 core_course: Activity chooser new feature
Roll in the base for the new activity chooser
It renders all modules into a modal
Gives the user to add from either the base or help screens
All checked by accessability tools with great coverage
Adds minimal overhead to the course edit setup time
Co-authored-by: Mathew May <mathewm@hotmail.co.nz>
Co-authored-by: Mihail Geshoski <mihail@moodle.com>
Shamim Rezaie [Tue, 11 Feb 2020 14:01:22 +0000 (01:01 +1100)]
MDL-67899 message: Add aria-label to the emoji picker button
Sara Arjona [Tue, 11 Feb 2020 12:52:19 +0000 (13:52 +0100)]
Merge branch 'MDL-59303' of https://github.com/paulholden/moodle
Sara Arjona [Tue, 11 Feb 2020 12:22:54 +0000 (13:22 +0100)]
Merge branch 'MDL-67635-filesystem-cleanup' of https://github.com/brendanheywood/moodle
Sara Arjona [Tue, 11 Feb 2020 11:28:24 +0000 (12:28 +0100)]
Merge branch 'MDL-66847-master' of git://github.com/lucaboesch/moodle
Luca Bösch [Thu, 10 Oct 2019 08:04:05 +0000 (10:04 +0200)]
MDL-66847 webservice: Correct breadcrumb + title for ws documentation.
Sara Arjona [Tue, 11 Feb 2020 10:54:12 +0000 (11:54 +0100)]
Merge branch 'MDL-66834-master' of https://github.com/kepeter/moodle
Sara Arjona [Tue, 11 Feb 2020 10:40:18 +0000 (11:40 +0100)]
Merge branch 'MDL-67060-master' of git://github.com/aanabit/moodle
Tim Hunt [Mon, 3 Feb 2020 18:53:06 +0000 (18:53 +0000)]
MDL-67857 formchangechecker: support form submits that dont save
Amaia Anabitarte [Thu, 30 Jan 2020 14:31:01 +0000 (15:31 +0100)]
MDL-67060 core_h5p: Behats for H5P tools Overview
Amaia Anabitarte [Thu, 30 Jan 2020 14:47:38 +0000 (15:47 +0100)]
MDL-67060 core_h5p: Improvements to Manage H5P setting page
Co-authored by: Adrian Greeve <adrian@moodle.com>
AMOS BEGIN
CPY [description,moodle],[description,core_h5p]
CPY [status,moodle],[status,core_h5p]
AMOS END
Amaia Anabitarte [Tue, 11 Feb 2020 09:25:21 +0000 (10:25 +0100)]
MDL-67060 core_h5p: Improving H5P libraries list
Sara Arjona [Tue, 11 Feb 2020 09:18:49 +0000 (10:18 +0100)]
Merge branch 'bugfix-MDL-67142' of https://github.com/AngadSethi/moodle
Sara Arjona [Tue, 11 Feb 2020 07:20:29 +0000 (08:20 +0100)]
Merge branch 'MDL-67894-master' of https://github.com/grabs/moodle
Peter Dias [Mon, 10 Feb 2020 04:54:29 +0000 (12:54 +0800)]
MDL-63032 core: Update the timezone to the latest windows list
Sara Arjona [Mon, 10 Feb 2020 16:59:22 +0000 (17:59 +0100)]
Merge branch 'MDL-67192-master' of git://github.com/vmdef/moodle
Víctor Déniz Falcón [Wed, 5 Feb 2020 15:22:27 +0000 (15:22 +0000)]
MDL-67192 core_h5p: remove redundant assignment
Víctor Déniz Falcón [Wed, 5 Feb 2020 15:22:12 +0000 (15:22 +0000)]
MDL-67192 core_h5p: get site UUID from H5P using the API
Mihail Geshoski [Mon, 3 Feb 2020 01:31:44 +0000 (09:31 +0800)]
MDL-67264 core_course: Begin set up for Activity chooser