David Mudrák [Tue, 1 Oct 2019 15:28:32 +0000 (17:28 +0200)]
MDL-66118 hub: Drop support for the hub's display_homepage callback
There should never be any exceptional hacks like this for any particular
plugin. The hub sites can make use of a wide range of other and cleaner
mechanisms - such as a custom theme or the customfrontpageinclude
directive - to implement a customized front page.
Plus, we've dropped support for alternative hubs anyway.
David Mudrák [Mon, 30 Sep 2019 11:03:48 +0000 (13:03 +0200)]
MDL-66118 hub: Define the new sites directory URL
The Moodle sites now register with stats.moodle.org so use that as a new
official hub's URL. Beside that, allow for the alternative value be
provided in config.php for development and testing purposes.
David Mudrák [Mon, 30 Sep 2019 10:58:56 +0000 (12:58 +0200)]
MDL-66118 hub: Remove legacy constants, not relevant any more
Both the following constants are no longer needed as Moodle does not
support multiple hubs any more.
* HUB_HUBDIRECTORYURL is no longer valid as Moodle no longer supports
the listing of community hubs.
* HUB_OLDMOODLEORGHUBURL was used in the past for the transition
purposes.
Eloy Lafuente (stronk7) [Fri, 4 Oct 2019 14:02:03 +0000 (16:02 +0200)]
on-demand release 3.8dev+
Eloy Lafuente (stronk7) [Fri, 4 Oct 2019 14:02:02 +0000 (16:02 +0200)]
NOBUG: Fixed file access permissions
Eloy Lafuente (stronk7) [Fri, 4 Oct 2019 14:01:57 +0000 (16:01 +0200)]
NOBUG: Fixed SVG browser compatibility
Ryan Wyllie [Fri, 4 Oct 2019 02:31:06 +0000 (10:31 +0800)]
MDL-66477 core: only render region main settings if no settings block
We added a change to allow the region main settings menu to be
rendered in the header rather that the top of the body however
this also meant that the settings were shown on themes (e.g. Classic)
that didn't otherwise show the region main settings.
The simplest solution seems to be to not render the region main
settings in the header if the settings block is on the page.
Jun Pataleta [Fri, 4 Oct 2019 02:25:16 +0000 (10:25 +0800)]
Merge branch 'MDL-65315-master' of git://github.com/peterRd/moodle
Eloy Lafuente (stronk7) [Thu, 3 Oct 2019 23:59:14 +0000 (01:59 +0200)]
Merge branch 'MDL-66476_master' of git://github.com/dmonllao/moodle
Eloy Lafuente (stronk7) [Thu, 3 Oct 2019 21:25:21 +0000 (23:25 +0200)]
Merge branch 'MDL-66397-master-embed' of git://github.com/vmdef/moodle
David Monllaó [Tue, 1 Oct 2019 06:16:37 +0000 (14:16 +0800)]
MDL-66476 mlbackend: Use F1 as the main accuracy metric
David Monllaó [Thu, 3 Oct 2019 01:45:57 +0000 (09:45 +0800)]
MDL-66004 mlbackend_python: Purge testing output dirs properly
Eloy Lafuente (stronk7) [Thu, 3 Oct 2019 17:37:05 +0000 (19:37 +0200)]
Merge branch 'MDL-56649-master' of git://github.com/bmbrands/moodle
Eloy Lafuente (stronk7) [Thu, 3 Oct 2019 17:27:49 +0000 (19:27 +0200)]
Merge branch 'MDL-65327_master' of https://github.com/marxjohnson/moodle
Eloy Lafuente (stronk7) [Thu, 3 Oct 2019 16:41:36 +0000 (18:41 +0200)]
Merge branch 'MDL-66004_master-delete_fix' of git://github.com/dmonllao/moodle
Adrian Greeve [Thu, 3 Oct 2019 07:59:03 +0000 (15:59 +0800)]
Merge branch 'MDL-65919-master' of git://github.com/marinaglancy/moodle
Jun Pataleta [Thu, 3 Oct 2019 07:42:19 +0000 (15:42 +0800)]
Merge branch 'MDL-61450-master' of git://github.com/lameze/moodle
Jun Pataleta [Thu, 3 Oct 2019 07:31:24 +0000 (15:31 +0800)]
MDL-61450 calendar: Unit test for calendar_view_event_allowed()
* Unit test for calendar_view_event_allowed() when dealing with course
events.
Simey Lameze [Tue, 17 Sep 2019 05:58:56 +0000 (13:58 +0800)]
MDL-61450 calendar: fix course event type permissions
David Monllaó [Thu, 3 Oct 2019 01:45:57 +0000 (09:45 +0800)]
MDL-66004 mlbackend_python: Purge testing output dirs properly
Eloy Lafuente (stronk7) [Wed, 2 Oct 2019 22:57:21 +0000 (00:57 +0200)]
Merge branch 'MDL-66774-master-macedonia' of git://github.com/mudrd8mz/moodle
Eloy Lafuente (stronk7) [Wed, 2 Oct 2019 22:48:56 +0000 (00:48 +0200)]
Merge branch 'MDL-63453-38_media_videojs_upgrade' of https://github.com/mattporritt/moodle
Eloy Lafuente (stronk7) [Wed, 2 Oct 2019 22:45:31 +0000 (00:45 +0200)]
Merge branch 'MDL-66197-master' of git://github.com/marinaglancy/moodle
Eloy Lafuente (stronk7) [Wed, 2 Oct 2019 18:53:24 +0000 (20:53 +0200)]
Merge branch 'MDL-66004_master' of git://github.com/dmonllao/moodle
Eloy Lafuente (stronk7) [Wed, 2 Oct 2019 15:00:39 +0000 (17:00 +0200)]
Merge branch 'MDL-66254_master' of git://github.com/dmonllao/moodle
Eloy Lafuente (stronk7) [Wed, 2 Oct 2019 14:49:30 +0000 (16:49 +0200)]
Merge branch 'MDL-65957-master' of git://github.com/mihailges/moodle
Eloy Lafuente (stronk7) [Wed, 2 Oct 2019 14:39:44 +0000 (16:39 +0200)]
Merge branch 'MDL-64588-master-2' of git://github.com/snake/moodle
Jun Pataleta [Wed, 2 Oct 2019 08:35:50 +0000 (16:35 +0800)]
Merge branch 'MDL-62191_master' of git://github.com/dmonllao/moodle
Adrian Greeve [Wed, 2 Oct 2019 08:15:13 +0000 (16:15 +0800)]
Merge branch 'MDL-66477-master' of git://github.com/junpataleta/moodle
Jun Pataleta [Wed, 2 Oct 2019 08:01:24 +0000 (16:01 +0800)]
MDL-66477 mod_forum: Enclose setting switch in div
Jake Dallimore [Tue, 17 Sep 2019 03:43:22 +0000 (11:43 +0800)]
MDL-64588 core_comment: fix unnecessary type check in add_comments
We should rely on the return type, else an exception with be thrown.
Jake Dallimore [Mon, 18 Mar 2019 06:21:45 +0000 (14:21 +0800)]
MDL-64588 core_comment: make external test code use helper method
Instead of using setUp to create testing objects, use a helper.
Jake Dallimore [Tue, 17 Sep 2019 03:26:45 +0000 (11:26 +0800)]
MDL-64588 core_comment: fix get_comment ordering when timestamps match
Include id in the sorting, to be sure that we always get the correct
record in cases where the comment timestamps are the same.
Jake Dallimore [Mon, 18 Mar 2019 00:53:19 +0000 (08:53 +0800)]
MDL-64588 core_comment: use comment structure in external get_comments
Other minor changes include:
- added the since tag to newly added external functions
- Changed 'web service' to 'external function' in comment/upgrade.txt
David Monllaó [Mon, 30 Sep 2019 23:08:50 +0000 (07:08 +0800)]
MDL-66004 analytics: mlbackend_python tested just once
Either running locally from the web server or using a server if
TEST_MLBACKEND_* vars are set. The tests will still be skipped if
the python backend is not available in the web server.
David Monllaó [Wed, 18 Sep 2019 05:50:11 +0000 (13:50 +0800)]
MDL-66004 mlbackend_python: Bump the required python package version
David Monllaó [Wed, 26 Jun 2019 12:15:38 +0000 (14:15 +0200)]
MDL-66004 mlbackend_python: Package installed on a separate server
David Monllaó [Wed, 2 Oct 2019 00:12:23 +0000 (08:12 +0800)]
MDL-66254 analytics: Requires active enrolments for most of analysis
David Monllaó [Mon, 26 Aug 2019 07:39:20 +0000 (15:39 +0800)]
MDL-66254 course: Unit tests for the new restrictions
Eloy Lafuente (stronk7) [Tue, 1 Oct 2019 22:01:37 +0000 (00:01 +0200)]
Merge branch 'MDL-65096-m' of https://github.com/micaherne/moodle
Eloy Lafuente (stronk7) [Tue, 1 Oct 2019 21:21:51 +0000 (23:21 +0200)]
Merge branch 'MDL-65335_master' of https://github.com/marxjohnson/moodle
Eloy Lafuente (stronk7) [Tue, 1 Oct 2019 14:09:57 +0000 (16:09 +0200)]
Merge branch 'MDL-65522' of https://github.com/NeillM/moodle
Eloy Lafuente (stronk7) [Tue, 1 Oct 2019 13:56:08 +0000 (15:56 +0200)]
Merge branch 'MDL-66542_master' of https://github.com/t-schroeder/moodle
Mihail Geshoski [Thu, 19 Sep 2019 01:50:16 +0000 (09:50 +0800)]
MDL-65957 repository_upload: Throw exception if @_file_upload is missing
Mihail Geshoski [Thu, 20 Jun 2019 05:15:41 +0000 (13:15 +0800)]
MDL-65957 mod_imscp: Add required @file_upload tag in behat scenarios
Juan Leyva [Wed, 13 Feb 2019 15:04:21 +0000 (16:04 +0100)]
MDL-64588 comment: New WebService core_comment_delete_comment
Juan Leyva [Wed, 13 Feb 2019 14:12:33 +0000 (15:12 +0100)]
MDL-64588 comment: New WebService core_comment_add_comment
Juan Leyva [Wed, 13 Feb 2019 12:15:29 +0000 (13:15 +0100)]
MDL-64588 comment: Return whether the user can post in a comments area
Eloy Lafuente (stronk7) [Mon, 30 Sep 2019 22:07:30 +0000 (00:07 +0200)]
Merge branch 'MDL-65876-master' of https://github.com/lucaboesch/moodle
Marina Glancy [Fri, 27 Sep 2019 20:02:21 +0000 (22:02 +0200)]
MDL-65919 core: add test for table download
Alberto Lara Hernández [Thu, 13 Jun 2019 20:34:37 +0000 (22:34 +0200)]
MDL-65919 core: Skip send headers during phpunit exec in dataformats
Tim Schroeder [Wed, 28 Aug 2019 11:41:04 +0000 (13:41 +0200)]
MDL-66542 lib: Fix quote escaping in JS quote helper
Neill Magill [Tue, 7 May 2019 10:04:48 +0000 (11:04 +0100)]
MDL-65522 block_social_activities: Improve behat steps documentation
The documentation for these steps was not helpful in the Acceptance
testing admin tool page.
Luca Bösch [Sat, 8 Jun 2019 11:53:14 +0000 (13:53 +0200)]
MDL-65876 forum: same arrows forum/activity navigation
Victor Deniz Falcon [Fri, 27 Sep 2019 10:01:12 +0000 (11:01 +0100)]
MDL-66397 filter_h5p: converts H5P URLs to embed code
Ryan Wyllie [Thu, 19 Sep 2019 02:42:59 +0000 (10:42 +0800)]
MDL-66477 mod_forum: remove duplicate listeners in settings drawer
Ryan Wyllie [Tue, 17 Sep 2019 02:19:23 +0000 (10:19 +0800)]
MDL-66477 theme: add some core styling
Add a generic colour-inherit class and fix styling for icon
buttons and reset-style class.
Ryan Wyllie [Tue, 17 Sep 2019 02:19:03 +0000 (10:19 +0800)]
MDL-66477 javascript: add toggle functionality to drawer
Ryan Wyllie [Thu, 19 Sep 2019 01:32:24 +0000 (09:32 +0800)]
MDL-66477 core: remove snakeCase block regions from drawer.mustache
Jun Pataleta [Tue, 10 Sep 2019 15:30:13 +0000 (23:30 +0800)]
MDL-66477 mod_forum: Create the discussion settings drawer
Ryan Wyllie [Tue, 10 Sep 2019 06:03:19 +0000 (14:03 +0800)]
MDL-66477 mod_forum: move region main settings menu to header
Add a generic way to render actions in the page content header
and then moved the region main settings menu there for the forum.
Jun Pataleta [Thu, 12 Sep 2019 04:39:12 +0000 (12:39 +0800)]
MDL-66477 message: Use the generic drawer for the message drawer
Jun Pataleta [Tue, 3 Sep 2019 09:11:25 +0000 (17:11 +0800)]
MDL-66477 core: Create a generic drawer template
David Monllaó [Thu, 26 Sep 2019 01:50:04 +0000 (09:50 +0800)]
MDL-62191 analytics: Support for bulk actions
David Monllaó [Wed, 4 Sep 2019 00:04:20 +0000 (08:04 +0800)]
MDL-62191 course: Remove predictiondetails leftover
The no_teaching model initially had just 1 indicator, the removed
code was deleting the action using an unexisting key.
David Monllaó [Wed, 4 Sep 2019 00:35:11 +0000 (08:35 +0800)]
MDL-62191 output: No secondary buttons trigger if no buttons
David Monllaó [Tue, 3 Sep 2019 07:30:06 +0000 (15:30 +0800)]
MDL-62191 output: New extra attributes for single_button
Useful for data- attributes.
Jun Pataleta [Fri, 27 Sep 2019 03:12:09 +0000 (11:12 +0800)]
weekly release 3.8dev
Jun Pataleta [Fri, 27 Sep 2019 03:12:09 +0000 (11:12 +0800)]
NOBUG: Fixed SVG browser compatibility
Jun Pataleta [Fri, 27 Sep 2019 03:12:08 +0000 (11:12 +0800)]
Merge branch 'install_master' of https://git.in.moodle.com/amosbot/moodle-install
Jun Pataleta [Fri, 27 Sep 2019 02:11:44 +0000 (10:11 +0800)]
Merge branch 'MDL-66075-master-fix' of https://github.com/snake/moodle
Jake Dallimore [Fri, 27 Sep 2019 01:23:27 +0000 (09:23 +0800)]
MDL-66075 mod_forum: reduce DB reads in forum settings generation
Instead of fetching the DB record AND then fetching it again (as
part of the vault->get_from_id() call, just use the legacy data
mapper and remove the DB call.
Jake Dallimore [Fri, 27 Sep 2019 01:40:23 +0000 (09:40 +0800)]
Merge branch 'MDL-64821' of https://github.com/stronk7/moodle
Ruslan Kabalin [Thu, 26 Sep 2019 22:40:27 +0000 (23:40 +0100)]
MDL-63453 media_videojs: Use media_source mimetype group in the player.
Ruslan Kabalin [Thu, 26 Sep 2019 22:35:57 +0000 (23:35 +0100)]
MDL-63453 filetypes: Introduce media_source mimetype group.
This is required to group together media streaming techniques that are
handled by Media Source Extensions (MSE) in the browser.
https://developer.mozilla.org/en-US/docs/Web/API/Media_Source_Extensions_API
Eloy Lafuente (stronk7) [Thu, 26 Sep 2019 17:35:54 +0000 (19:35 +0200)]
MDL-64821 mod_forum: increase data privacy export expected size
Some new styles added have caused the resulting zip
file to go beyond that accepted limit of 135000. So
increasing to 140000.
Eloy Lafuente (stronk7) [Thu, 26 Sep 2019 13:56:38 +0000 (15:56 +0200)]
Merge branch 'MDL-66570-master' of git://github.com/andrewnicols/moodle
David Mudrák [Thu, 26 Sep 2019 07:14:37 +0000 (09:14 +0200)]
MDL-66774 lang: Update the list of countries as per ISO 3166-1
Source: https://www.iso.org/obp/ui/
Two significant changes are:
* North Macedonia
* Eswatini
All other changes are formal, such as changing the letter case of the
"And" (the current ISO uses the lower case "and"). Our own existing
modifications of the list (such as having just "United States" and
"United Kingdom" instead of the full long name) were kept.
Jake Dallimore [Thu, 26 Sep 2019 03:57:51 +0000 (11:57 +0800)]
Merge branch 'MDL-66481-master-6' of git://github.com/junpataleta/moodle
Jun Pataleta [Thu, 26 Sep 2019 03:34:45 +0000 (11:34 +0800)]
Merge branch 'MDL-66262' of git://github.com/stronk7/moodle
Jun Pataleta [Thu, 12 Sep 2019 15:44:24 +0000 (23:44 +0800)]
MDL-66481 forum: Show notification on toggled subscription
For usability, after selecting the subscription toggle action menu item,
a notification message will be shown to the user.
Jun Pataleta [Thu, 12 Sep 2019 15:06:53 +0000 (23:06 +0800)]
MDL-66481 forum: Remove the YUI subscribe link
* Remove the subscribe link that's powered by YUI and
subscribe_ajax.php. This will be replaced by the subscribe action
menu item which utilises the subscription toggle template
and calls the proper WS function for toggling discussion subscription.
* Nuke YUI module for toggling subscription and subscribe_ajax.php
(about time!)
Jun Pataleta [Thu, 5 Sep 2019 03:56:11 +0000 (11:56 +0800)]
MDL-66481 mod_forum: Peer review fixes
Jun Pataleta [Wed, 28 Aug 2019 08:06:58 +0000 (16:06 +0800)]
MDL-66481 mod_forum: Move "Mark as read" into the discussion menu
Jun Pataleta [Tue, 27 Aug 2019 12:28:11 +0000 (20:28 +0800)]
MDL-66481 mod_forum: Implement additional column sorting
Implement sorting for the following columns:
* Discussion name
* Discussion starter name
* Group
Jun Pataleta [Tue, 27 Aug 2019 07:05:25 +0000 (15:05 +0800)]
MDL-66481 mod_forum: Move timed discussion indicator
* Move it under the discussion column.
* Change it to look like a label
* Plus limit the group name to 15 characters
* Plus some accessibility fixes:
- Add labels to column headings.
- Set discussion name as a row heading.
Jun Pataleta [Thu, 29 Aug 2019 06:58:10 +0000 (14:58 +0800)]
MDL-66481 mod_forum: Update discussion list UI
* Remove striped table row style
* Move subscribe icon to the action menu
* Update the action menu icon
* Remove the Last post column
* Removed the "Created" column and moved the date under "Started by"
* Added "Locked" and "Subscribed" indicators under discussion names.
* Added group name with the group picture. For groups without pictures,
a default placeholder picture is now shown.
Jun Pataleta [Thu, 29 Aug 2019 06:55:58 +0000 (14:55 +0800)]
MDL-66481 mod_forum: Switch action menu trigger to <a> tag
* This is how the usual moodle action menu is built.
* Removed the 'type="button"' attribute as it is not necessary.
* Added template context so it renders in the template library.
Jun Pataleta [Wed, 28 Aug 2019 02:49:48 +0000 (10:49 +0800)]
MDL-66481 lang: Add additional date display formats
* Day, abbreviated month, and year (e.g. 28 Aug 2019)
* Day and abbreviated month (e.g. 28 Aug)
Jake Dallimore [Thu, 26 Sep 2019 02:45:44 +0000 (10:45 +0800)]
Merge branch 'MDL-64821-master-2' of https://github.com/ryanwyllie/moodle
Eloy Lafuente (stronk7) [Wed, 25 Sep 2019 22:54:36 +0000 (00:54 +0200)]
Merge branch 'MDL-66106-master' of https://github.com/snake/moodle
Eloy Lafuente (stronk7) [Wed, 25 Sep 2019 22:47:23 +0000 (00:47 +0200)]
Merge branch 'MDL-66169-master' of https://github.com/snake/moodle
Eloy Lafuente (stronk7) [Wed, 25 Sep 2019 22:29:07 +0000 (00:29 +0200)]
Merge branch 'MDL-66653-master' of git://github.com/andrewnicols/moodle
Eloy Lafuente (stronk7) [Wed, 25 Sep 2019 22:04:33 +0000 (00:04 +0200)]
Merge branch 'MDL-51327-master' of git://github.com/mihailges/moodle
Eloy Lafuente (stronk7) [Wed, 25 Sep 2019 21:57:42 +0000 (23:57 +0200)]
Merge branch 'MDL-66685' of https://github.com/timhunt/moodle
Eloy Lafuente (stronk7) [Wed, 25 Sep 2019 18:05:21 +0000 (20:05 +0200)]
Merge branch 'MDL-66675-master' of git://github.com/andrewnicols/moodle
Marina Glancy [Sat, 20 Jul 2019 15:02:56 +0000 (18:02 +0300)]
MDL-66197 core: correct get parent language
Bas Brands [Wed, 7 Aug 2019 14:17:08 +0000 (16:17 +0200)]
MDL-56649 themes: filepicker file exists buttons spacing
Jun Pataleta [Wed, 25 Sep 2019 08:43:15 +0000 (16:43 +0800)]
Merge branch 'MDL-66354-master' of github.com/dravek/moodle
Ryan Wyllie [Wed, 25 Sep 2019 05:11:16 +0000 (13:11 +0800)]
MDL-64821 mod_forum: fix modern view in single discussion forum