26294 Commits

Author SHA1 Message Date
Jun Pataleta
fa278f052b Merge branch 'MDL-66725-master' of https://github.com/snake/moodle 2019-10-09 10:31:18 +08:00
Andrew Nicols
13ef95e3de Merge branch 'MDL-66118-master-byebyemoodlenet' of git://github.com/mudrd8mz/moodle 2019-10-09 07:43:33 +08:00
Alexander Bias
8471a0db42 MDL-61804 admin: Add setting for course visibility sorting 2019-10-08 11:58:39 +02:00
Eloy Lafuente (stronk7)
d4f52fc831 Merge branch 'MDL-66750' of https://github.com/timhunt/moodle 2019-10-07 21:55:32 +02:00
Adrian Greeve
3ae7d678fa Merge branch 'MDL-65187-master' of git://github.com/marinaglancy/moodle 2019-10-07 11:12:21 +08:00
David Mudrák
254b579375 MDL-66118 hub: Replace the unregister form with a confirmation
Now that unpublishalladvertisedcourses and unpublishalluploadedcourses
became irrelevant, there is no reason for an empty form.
2019-10-04 21:23:11 +02:00
David Mudrák
3d2aa2ebef MDL-66118 hub: Remove the mentions of moodle.net
This is an update of the site registration admin page and some relevant
backend code to remove the mentions of moodle.net.

AMOS BEGIN
 CPY [registerwithmoodleorg,core_admin],[registerwithmoodleorg,core_hub]
AMOS END
2019-10-04 21:23:11 +02:00
David Mudrák
ecc9960ead MDL-66118 hub: Stop using the hub URL as the setting name suffix
Site indicators shared with the registration hub used to have the hub
URL in the relevant setting names - such as site_name_httpsmoodlenet.
This upgrade step converts all such settings and drops the URL suffix
because we do not support alternative hubs any more.

Additionally the upgrade step renames the official hub and updates its
URL so that existing registrations with https://moodle.net are still
valid.
2019-10-04 21:23:11 +02:00
David Mudrák
6d015e29cc 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.
2019-10-04 21:17:06 +02:00
David Mudrák
a08c238f9e 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.
2019-10-04 21:17:06 +02:00
Ryan Wyllie
f9d76e4905 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.
2019-10-04 11:31:14 +08:00
Eloy Lafuente (stronk7)
c41f4e56d3 Merge branch 'MDL-66476_master' of git://github.com/dmonllao/moodle 2019-10-04 01:59:14 +02:00
Eloy Lafuente (stronk7)
04c0050dcc Merge branch 'MDL-66397-master-embed' of git://github.com/vmdef/moodle 2019-10-03 23:25:21 +02:00
David Monllaó
f5c65ba37f MDL-66476 mlbackend: Use F1 as the main accuracy metric 2019-10-04 05:20:49 +08:00
David Monllaó
ebec727cd3 MDL-66004 mlbackend_python: Purge testing output dirs properly 2019-10-04 05:19:45 +08:00
Eloy Lafuente (stronk7)
ef7aded996 Merge branch 'MDL-56649-master' of git://github.com/bmbrands/moodle 2019-10-03 19:37:05 +02:00
Eloy Lafuente (stronk7)
40763810d9 Merge branch 'MDL-65327_master' of https://github.com/marxjohnson/moodle 2019-10-03 19:27:49 +02:00
Eloy Lafuente (stronk7)
0036173459 Merge branch 'MDL-66004_master-delete_fix' of git://github.com/dmonllao/moodle 2019-10-03 18:41:36 +02:00
Adrian Greeve
8515fbfbaa Merge branch 'MDL-65919-master' of git://github.com/marinaglancy/moodle 2019-10-03 15:59:03 +08:00
David Monllaó
63c15f6c58 MDL-66004 mlbackend_python: Purge testing output dirs properly 2019-10-03 09:45:57 +08:00
Eloy Lafuente (stronk7)
846521d817 Merge branch 'MDL-63453-38_media_videojs_upgrade' of https://github.com/mattporritt/moodle 2019-10-03 00:48:56 +02:00
Eloy Lafuente (stronk7)
5260feb506 Merge branch 'MDL-66197-master' of git://github.com/marinaglancy/moodle 2019-10-03 00:45:31 +02:00
Eloy Lafuente (stronk7)
20502fa30c Merge branch 'MDL-66004_master' of git://github.com/dmonllao/moodle 2019-10-02 20:53:24 +02:00
Eloy Lafuente (stronk7)
35da660ab0 Merge branch 'MDL-66254_master' of git://github.com/dmonllao/moodle 2019-10-02 17:00:39 +02:00
Eloy Lafuente (stronk7)
637707bcb0 Merge branch 'MDL-64588-master-2' of git://github.com/snake/moodle 2019-10-02 16:39:44 +02:00
Jun Pataleta
31b4ff1db3 Merge branch 'MDL-62191_master' of git://github.com/dmonllao/moodle 2019-10-02 16:35:50 +08:00
Adrian Greeve
8fec1626d0 Merge branch 'MDL-66477-master' of git://github.com/junpataleta/moodle 2019-10-02 16:15:13 +08:00
David Monllaó
fea66a0854 MDL-66004 mlbackend_python: Bump the required python package version 2019-10-02 08:41:14 +08:00
David Monllaó
aa5b705607 MDL-66004 mlbackend_python: Package installed on a separate server 2019-10-02 08:41:14 +08:00
David Monllaó
ea30943119 MDL-66254 course: Unit tests for the new restrictions 2019-10-02 08:12:56 +08:00
Eloy Lafuente (stronk7)
5e58b43ca7 Merge branch 'MDL-65096-m' of https://github.com/micaherne/moodle 2019-10-02 00:01:37 +02:00
Jake Dallimore
9a820e0af9 MDL-66725 core: fix language in str.js
When ommitted from the get_string() or get_strings() calls, it should be
inferring from the page language.
2019-10-01 13:53:59 +08:00
Juan Leyva
09899abc55 MDL-64588 comment: New WebService core_comment_delete_comment 2019-10-01 09:26:01 +08:00
Juan Leyva
8e4a9ed854 MDL-64588 comment: New WebService core_comment_add_comment 2019-10-01 09:26:01 +08:00
Marina Glancy
ec8453c122 MDL-65187 core_hub: truncate registration request, use post 2019-09-30 13:05:19 +02:00
Marina Glancy
04645f4e9b MDL-65187 core_hub: send more important info first to moodle.net
Rumor has it that some browsers may truncate the GET request to 2000 characters,
make sure that all important info is sent first
Everything else will be updated on the first registration update request.
2019-09-30 13:05:19 +02:00
Marina Glancy
b51bfaf594 MDL-65919 core: add test for table download 2019-09-30 12:00:37 +02:00
Alberto Lara Hernández
40a6b502ae MDL-65919 core: Skip send headers during phpunit exec in dataformats 2019-09-30 12:00:33 +02:00
Tim Schroeder
f8f04b773d
MDL-66542 lib: Fix quote escaping in JS quote helper 2019-09-30 10:09:07 +02:00
Victor Deniz Falcon
e83fd27717 MDL-66397 filter_h5p: converts H5P URLs to embed code 2019-09-27 11:01:12 +01:00
Ryan Wyllie
b17bb71e88 MDL-66477 javascript: add toggle functionality to drawer 2019-09-27 15:46:15 +08:00
Ryan Wyllie
6d9c93560b MDL-66477 core: remove snakeCase block regions from drawer.mustache 2019-09-27 15:46:15 +08:00
Ryan Wyllie
c77d1ae40f 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.
2019-09-27 15:38:54 +08:00
Jun Pataleta
a2517225dc MDL-66477 core: Create a generic drawer template 2019-09-27 15:38:54 +08:00
David Monllaó
386d109172 MDL-62191 analytics: Support for bulk actions 2019-09-27 14:13:52 +08:00
David Monllaó
95fcf8769b MDL-62191 output: No secondary buttons trigger if no buttons 2019-09-27 14:12:48 +08:00
David Monllaó
ca81e906e0 MDL-62191 output: New extra attributes for single_button
Useful for data- attributes.
2019-09-27 14:12:48 +08:00
Jun Pataleta
46a8d27028 NOBUG: Fixed SVG browser compatibility 2019-09-27 11:12:09 +08:00
Ruslan Kabalin
a742b03d8c MDL-63453 media_videojs: Use media_source mimetype group in the player. 2019-09-27 00:13:29 +00:00
Ruslan Kabalin
037124bf1c 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
2019-09-27 00:13:09 +00:00