-
Task
-
Resolution: Fixed
-
Minor
-
3.7.1
-
MOODLE_37_STABLE
-
MOODLE_36_STABLE, MOODLE_37_STABLE
-
MDL-66118-master-byebyemoodlenet -
Moodle site registration data is being moved from moodle.net to stats.moodle.org (MDLSITE-5894). As a result, changes are required in core code.
Note: MDLSITE-5894 needs to be completed before this issue is integrated.
As commented by Marina in MDLSITE-5861:
1. There is one place in core where we store a constant with the "hub" name https://github.com/moodle/moodle/blob/master/lib/moodlelib.php#L498
|
define('HUB_MOODLEORGHUBURL', "https://moodle.net");
|
define('HUB_OLDMOODLEORGHUBURL', "http://hub.moodle.org");
|
2. There was an upgrade script once changing references to http://hub.moodle.org -> https://moodle.net for sites that were already registered. If we change the value of this variable we will need to repeat it:
https://github.com/moodle/moodle/blob/master/lib/db/upgrade.php#L793-L818
Note that there are config variables that contain the hub name (from the time when it was possible to register on multiple hubs)
(3. removed as it has been done.)
4. There are couple of hardcoded "Moodle.net" strings in core that need to be changed in core, just search the code for them.
one of the examples: https://github.com/moodle/moodle/blob/master/admin/registration/renewregistration.php#L59
5. There are the following "endpoints" on both https://moodle.net and http://hub.moodle.org that code accesses and that should continue to work with the current URLs:
/local/hub/webservice/webservices.php
/local/hub/webservice/download.php
/local/hub/webservice/upload.php
/local/hub/siteregistration.php
/privacy
Important: the redirection should also redirect POST content, not only GET
- has a non-specific relationship to
-
MDLSITE-5859 Figure out everywhere that moodle.net is referenced and how it needs to be updated in Moodle Core
- Resolved
-
MDLSITE-5861 Create plan to redirect registration stats to stats.moodle.org
- Resolved
-
MDL-60575 Lang string registermoodlenet contains unexpected syntax
- Closed
- is blocked by
-
MDLSITE-5894 Split Moodle site registration part of moodle.net to create stats.moodle.org
- Closed
-
MDLSITE-5895 Split courses and content part of moodle.net to create archive.moodle.net
- Closed