Advertisement
stronk7

Untitled

Feb 22nd, 2021
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.73 KB | None | 0 0
  1. git diff MOODLE_311_STABLE_normalised master_normalised --ignore-all-space --ignore-blank-lines
  2. diff --git a/.travis.yml b/.travis.yml
  3. index a8fc7c32acc..0c565f37901 100644
  4. --- a/.travis.yml
  5. +++ b/.travis.yml
  6. @@ -214,7 +214,7 @@ before_script:
  7. # We need the official upstream for comparison
  8. git remote add upstream https://github.com/moodle/moodle.git;
  9.  
  10. - git fetch upstream MOODLE_311_STABLE;
  11. + git fetch upstream master;
  12. export GIT_PREVIOUS_COMMIT="`git merge-base FETCH_HEAD $TRAVIS_COMMIT`";
  13. export GIT_COMMIT="$TRAVIS_COMMIT";
  14. export UPSTREAM_FETCH_HEAD=`git rev-parse FETCH_HEAD`
  15. diff --git a/analytics/classes/manager.php b/analytics/classes/manager.php
  16. index 8bbdf4d2cd4..4216bbe4cfd 100644
  17. --- a/analytics/classes/manager.php
  18. +++ b/analytics/classes/manager.php
  19. @@ -603,8 +603,8 @@ class manager {
  20. */
  21. public static function add_builtin_models() {
  22.  
  23. - debugging('core_analytics\manager::add_builtin_models() has been deprecated. Core models are now automatically '.
  24. - 'updated according to their declaration in the lib/db/analytics.php file.', DEBUG_DEVELOPER);
  25. + throw new \coding_exception('core_analytics\manager::add_builtin_models() has been removed. Core models ' .
  26. + 'are now automatically updated according to their declaration in the lib/db/analytics.php file.');
  27. }
  28.  
  29. /**
  30. diff --git a/analytics/upgrade.txt b/analytics/upgrade.txt
  31. index 419613d83b1..b23200c73d7 100644
  32. --- a/analytics/upgrade.txt
  33. +++ b/analytics/upgrade.txt
  34. @@ -5,6 +5,10 @@ information provided here is intended especially for developers.
  35.  
  36. * Final deprecation get_enabled_time_splitting_methods. Method has been removed. Use
  37. get_time_splitting_methods_for_evaluation instead.
  38. +* Final deprecation add_builtin_models. Method has been removed. The functionality
  39. + has been replaced with automatic update of models provided by the core moodle component.
  40. + There is no need to call this method explicitly any more. Instead, adding new models can be achieved
  41. + by updating the lib/db/analytics.php file and bumping the core version.
  42. * Final deprecation - get_analysables(). Please see get_analysables_interator() instead.
  43. get_analysables_iterator() needs to be overridden by the child class.
  44.  
  45. diff --git a/backup/backup.class.php b/backup/backup.class.php
  46. index 0c0d1a7c424..4fdcb57c446 100644
  47. --- a/backup/backup.class.php
  48. +++ b/backup/backup.class.php
  49. @@ -160,7 +160,7 @@ abstract class backup implements checksumable {
  50. /**
  51. * Usually same than major release zero version, mainly for informative/historic purposes.
  52. */
  53. - const RELEASE = '3.11';
  54. + const RELEASE = '4.0';
  55.  
  56. /**
  57. * Cipher to be used in backup and restore operations.
  58. diff --git a/composer.json b/composer.json
  59. index 9e4adea7ba2..280cb4bb84a 100644
  60. --- a/composer.json
  61. +++ b/composer.json
  62. @@ -6,7 +6,7 @@
  63. "homepage": "https://moodle.org",
  64. "require-dev": {
  65. "phpunit/phpunit": "8.5.*",
  66. - "moodlehq/behat-extension": "3.311.4",
  67. + "moodlehq/behat-extension": "3.400.4",
  68. "mikey179/vfsstream": "^1.6"
  69. },
  70. "minimum-stability": "dev",
  71. diff --git a/composer.lock b/composer.lock
  72. index 4a5f1d996c5..6c860fed808 100644
  73. --- a/composer.lock
  74. +++ b/composer.lock
  75. @@ -4,7 +4,7 @@
  76. "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
  77. "This file is @generated automatically"
  78. ],
  79. - "content-hash": "9fcac5e866795f6exd23c6114",
  80. + "content-hash": "fc0e25b3b9cf3308da4db2e1c6f1eb31",
  81. "packages": [],
  82. "packages-dev": [
  83. {
  84. @@ -834,7 +834,7 @@
  85. },
  86. {
  87. "name": "moodlehq/behat-extension",
  88. - "version": "v3.311.4",
  89. + "version": "v3.400.4",
  90. "source": {
  91. "type": "git",
  92. "url": "https://github.com/moodlehq/moodle-behat-extension.git",
  93. diff --git a/install/lang/el/install.php b/install/lang/el/install.php
  94. index 1bd73e0a654..162a14453c8 100644
  95. --- a/install/lang/el/install.php
  96. +++ b/install/lang/el/install.php
  97. @@ -84,7 +84,7 @@ $string['welcomep10'] = '{$a->installername} ({$a->installerversion})';
  98. $string['welcomep20'] = 'Βλέπετε αυτή τη σελίδα γιατί εγκαταστήσατε και ξεκινήσατε με επιτυχία το πακέτο <strong>{$a->packname} {$a->packversion}</strong> στον υπολογιστή σας. Συγχαρητήρια!';
  99. $string['welcomep30'] = 'Αυτή η έκδοση/διανομή <strong>{$a->installername}</strong> περιλαμβάνει τις εφαρμογές για τη δημιουργία ενός περιβάλλοντος μέσα στο οποίο θα λειτουργεί το <strong>Moodle</strong>, ονομαστικά:';
  100. $string['welcomep40'] = 'Το πακέτο περιλαμβάνει επίσης το <strong>Moodle {$a->moodlerelease} ({$a->moodleversion})</strong>.';
  101. -$string['welcomep50'] = 'Η χρήση όλων των εφαρμογών σε αυτό το πακέτο υπόκειται στις αντίστοιχες άδειες. Ολόκληρο το πακέτο <strong>{$a->installername}</strong> είναι <a href="https://www.opensource.org/docs/definition_plain.html">λογισμικό ανοικτού κώδικα</a> και διανέμεται με την <a href="https://www.gnu.org/copyleft/gpl.html">GPL</a> άδεια.';
  102. +$string['welcomep50'] = 'Η χρήση όλων των εφαρμογών σε αυτό το πακέτο υπόκειται στις αντίστοιχες άδειες χρήσης. Ολόκληρο το πακέτο <strong>{$a->installername}</strong> είναι <a href="https://www.opensource.org/docs/definition_plain.html">λογισμικό ανοικτού κώδικα</a> και διανέμεται με την άδεια χρήσης <a href="https://www.gnu.org/copyleft/gpl.html">GPL</a>.';
  103. $string['welcomep60'] = 'Οι παρακάτω σελίδες θα σας καθοδηγήσουν με εύκολα βήματα στην εγκατάσταση και ρύθμιση του <strong>Moodle</strong> στον υπολογιστή σας. Μπορείτε να δεχθείτε τις προεπιλεγμένες ρυθμίσεις ή προαιρετικά, να τις τροποποιήσετε ανάλογα με τις ανάγκες σας.';
  104. $string['welcomep70'] = 'Πατήστε το κουμπί «Συνέχεια» για να συνεχίσετε με την εγκατάσταση του <strong>Moodle</strong>.';
  105. $string['wwwroot'] = 'Διεύθυνση ιστού';
  106. diff --git a/install/lang/ky/admin.php b/install/lang/ky/admin.php
  107. index 8b6b7110a11..674950e97d4 100644
  108. --- a/install/lang/ky/admin.php
  109. +++ b/install/lang/ky/admin.php
  110. @@ -41,3 +41,4 @@ $string['cliunknowoption'] = 'Таанылбаган параметрлер {$a}
  111. $string['cliyesnoprompt'] = 'У киргизиңиз (Ооба дегенди билдирет) же n киргизиңиз (Жок дегенди билдирет)';
  112. $string['environmentrequireinstall'] = 'Орнотуу жана күйгүзүү зарыл';
  113. $string['environmentrequireversion'] = '{$a->needed} версиясы талап кылынат, сиз колдонгон версия {$a->current}';
  114. +$string['upgradekeyset'] = 'Жаӊыртуу ачкычы (аны көрсөткүӊүз келбесе бош калтырыӊыз)';
  115. diff --git a/install/lang/ky/moodle.php b/install/lang/ky/moodle.php
  116. new file mode 100644
  117. index 00000000000..da1ac4b4f31
  118. --- /dev/null
  119. +++ b/install/lang/ky/moodle.php
  120. @@ -0,0 +1,36 @@
  121. +<?php
  122. +// This file is part of Moodle - https://moodle.org/
  123. +//
  124. +// Moodle is free software: you can redistribute it and/or modify
  125. +// it under the terms of the GNU General Public License as published by
  126. +// the Free Software Foundation, either version 3 of the License, or
  127. +// (at your option) any later version.
  128. +//
  129. +// Moodle is distributed in the hope that it will be useful,
  130. +// but WITHOUT ANY WARRANTY; without even the implied warranty of
  131. +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  132. +// GNU General Public License for more details.
  133. +//
  134. +// You should have received a copy of the GNU General Public License
  135. +// along with Moodle. If not, see <https://www.gnu.org/licenses/>.
  136. +
  137. +/**
  138. + * Automatically generated strings for Moodle installer
  139. + *
  140. + * Do not edit this file manually! It contains just a subset of strings
  141. + * needed during the very first steps of installation. This file was
  142. + * generated automatically by export-installer.php (which is part of AMOS
  143. + * {@link http://docs.moodle.org/dev/Languages/AMOS}) using the
  144. + * list of strings defined in /install/stringnames.txt.
  145. + *
  146. + * @package installer
  147. + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
  148. + */
  149. +
  150. +defined('MOODLE_INTERNAL') || die();
  151. +
  152. +$string['language'] = 'Тил';
  153. +$string['moodlelogo'] = 'Moodle логотиби';
  154. +$string['next'] = 'Мындан ары';
  155. +$string['previous'] = 'Артка';
  156. +$string['reload'] = 'Жаңыртуу';
  157. diff --git a/question/type/essay/tests/helper.php b/question/type/essay/tests/helper.php
  158. index f1590a39909..48ba2b04e00 100644
  159. --- a/question/type/essay/tests/helper.php
  160. +++ b/question/type/essay/tests/helper.php
  161. @@ -92,7 +92,7 @@ class qtype_essay_test_helper extends question_test_helper {
  162. $fromform->attachments = 0;
  163. $fromform->attachmentsrequired = 0;
  164. $fromform->maxbytes = 0;
  165. - $fromform->filetypeslist = '';
  166. + $fromform->filetypeslist = ''; // Although once saved in the DB, this becomes null, the form returns '' here.
  167. $fromform->graderinfo = array('text' => '', 'format' => FORMAT_HTML);
  168. $fromform->responsetemplate = array('text' => '', 'format' => FORMAT_HTML);
  169.  
  170. @@ -144,7 +144,7 @@ class qtype_essay_test_helper extends question_test_helper {
  171. $fromform->attachments = 3;
  172. $fromform->attachmentsrequired = 0;
  173. $fromform->maxbytes = 0;
  174. - $fromform->filetypeslist = '';
  175. + $fromform->filetypeslist = ''; // Although once saved in the DB, this becomes null, the form returns '' here.
  176. $fromform->graderinfo = array('text' => '', 'format' => FORMAT_HTML);
  177. $fromform->responsetemplate = array('text' => '', 'format' => FORMAT_HTML);
  178.  
  179. @@ -181,7 +181,7 @@ class qtype_essay_test_helper extends question_test_helper {
  180. $fromform->attachments = 0;
  181. $fromform->attachmentsrequired = 0;
  182. $fromform->maxbytes = 0;
  183. - $fromform->filetypeslist = '';
  184. + $fromform->filetypeslist = ''; // Although once saved in the DB, this becomes null, the form returns '' here.
  185. $fromform->graderinfo = array('text' => '', 'format' => FORMAT_HTML);
  186. $fromform->responsetemplate = array('text' => '', 'format' => FORMAT_HTML);
  187.  
  188. diff --git a/version.php b/version.php
  189. index 55fa04920d5..0a84f5f855f 100644
  190. --- a/version.php
  191. +++ b/version.php
  192. @@ -29,9 +29,9 @@
  193.  
  194. defined('MOODLE_INTERNAL') || die();
  195.  
  196. -$version = x; // x = branching date YYYYMMDD - do not modify!
  197. +$version = x; // YYYYMMDD = weekly release date of this DEV branch.
  198. // RR = release increments - 00 in DEV branches.
  199. // .XX = incremental changes.
  200. -$release = '3.11dev (Build: x)';// Human-friendly version name
  201. -$branch = '311'; // This version's branch.
  202. +$release = '4.0dev (Build: x)'; // Human-friendly version name
  203. +$branch = '400'; // This version's branch.
  204. $maturity = MATURITY_ALPHA; // This version's maturity level.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement