1. 03 Aug, 2022 1 commit
  2. 18 Jul, 2022 1 commit
  3. 13 Jul, 2022 1 commit
  4. 20 May, 2022 1 commit
  5. 26 Apr, 2022 1 commit
  6. 13 Apr, 2022 1 commit
  7. 07 Apr, 2022 1 commit
  8. 05 Apr, 2022 1 commit
  9. 04 Apr, 2022 1 commit
  10. 01 Apr, 2022 2 commits
  11. 31 Mar, 2022 1 commit
  12. 30 Mar, 2022 1 commit
  13. 27 Mar, 2022 1 commit
  14. 25 Mar, 2022 1 commit
    • Sujith Haridasan's avatar
      MDL-73848 administration: Fix the breadcrumbs and nav highlights · aa1c2e23
      Sujith Haridasan authored and jun's avatar jun committed
      Create or update the breadcrumbs in the site administration
      pages where it is required.
      Highlight the corresponding site adminstration tab.
      Highlight the primary nav to Site administration when user
      is navigating to any of the site administration pages.
      
      Also changed the boostnavbar so that the nodes in the secondary
      navigation are not shown in the breadcrumbs when user is in site
      administration page.
      aa1c2e23
  15. 03 Mar, 2022 1 commit
  16. 01 Mar, 2022 1 commit
  17. 24 Feb, 2022 1 commit
  18. 23 Feb, 2022 3 commits
    • Andrew Nicols's avatar
      MDL-73915 js: Drop support for IE and android · e1b9d5f3
      Andrew Nicols authored
      Moodle announced that support for IE would be dropped back in August
      2020 with Moodle 3.9 but not active steps were taken at that time. That
      decision was made in MDLSITE-6109 and this particular step was meant to
      be taken in Moodle 3.10.
      
      This is the first step taken to actively drop support for IE.
      
      This commit also bumps the browser support pattern from 0.25% to 0.3%.
      The percentage here includes any browser where at least this percentage
      of users worldwide may be using a browser. In this case it causes
      support for Android 4.3-4.4 to be dropped, which relate to Android
      KitKat (released 2013).
      
      This combination of changes means that all of the supported browsers in
      our compatibility list support modern features including async,
      for...of, classes, native Promises, and more which has a huge impact on
      the ease of debugging code, and drastically reduces the minified file
      size because a number of native Polyfills included by Babel are no
      longer included.
      e1b9d5f3
    • Andrew Nicols's avatar
      MDL-73915 js: Switch amd minification to terser · 0a4047ab
      Andrew Nicols authored
      Unfortunately the babel minify-mangle plugin seems to be abandoned and
      in certain circumstances can be very buggy. The only safe options are to
      disable it, or to switch to a different minification library.
      
      Not minifying our javascript is not ideal, so this commit updates the
      javascript tasks to use a rollup, combined with babel, and terser.
      
      Babel still converts code from ES/UMD/AMD to AMD modules with the
      relevant browser support, whilst terser minifies the code.
      
      The rollup bundler handles tracking and creation of sourcemaps, and
      supports better parallelisation of the tasks.
      
      Since the upgrade to Node LTS/Gallium requires an upgrade to @babel/core
      and eslint, which change the built files anyway, this seems like the
      ideal time to make this change.
      0a4047ab
    • Andrew Nicols's avatar
      MDL-73915 js: Upgrade babel and eslint · aa7f7957
      Andrew Nicols authored
      aa7f7957
  19. 09 Feb, 2022 1 commit
  20. 08 Feb, 2022 1 commit
  21. 05 Feb, 2022 1 commit
  22. 03 Feb, 2022 2 commits
    • Safat Shahin's avatar
      MDL-71696 mod_quiz: quiz updates and behat coverage · 111951d8
      Safat Shahin authored
      The versioning changes will require some major changes
      in the backup and restore of question bank and its
      elements. This change introduces those changes to make
      it compatible with the new world of versioning in question
      bank. This commit also removes quiz_slots fields and
      quiz_slot_tags table.
      This commit will also introduce the versioning db
      structure and some major changes to the quiz
      and quiz attempts for the question, random
      question and the view.
      This commit implements the behat changes for versioning
      in core question and associated locations.
      111951d8
    • Safat Shahin's avatar
      MDL-71696 core_question: question instance report · fc4c108f
      Safat Shahin authored
      This commit implements changes in the question
      instance report to support the new db structure
      for versioning. I considers each question as a
      an entity rather than counting each versions.
      fc4c108f
  23. 02 Feb, 2022 1 commit
  24. 22 Jan, 2022 1 commit
    • Eloy Lafuente's avatar
      MDL-73485 phpunit: externallib, generator and filter tescase names · 100bc51f
      Eloy Lafuente authored
      All externallib_test, generator_test and filter_test classes:
      
      - Namespaced with component[\level2-API]
      - Moved to level2-API subdirectory when required.
      - Fixed incorrect use statements with leading backslash.
      - Changed code to point to global scope when needed.
      - Fix some relative paths and comments here and there.
      - All them passing individually.
      - Complete runs passing too.
      
      Special mention to tests under testing/tests:
      
      1) The core_testing component doesn't exist.
      2) But testing/tests are allowed because there is a suite pointing to it (phpunit.xml).
      3) So, the only possible namespace for them is "core".
      4) And to avoid problems with other core testcases (under lib/tests)
         they have been renamed to have testing_xxxx as prefix.
      
      Finally, also modified calendar/tests/events/events_test.php because it uses
      some renamed (core_calendar_externallib_testcase => \core_calendar\externallib_test)
      classes.
      100bc51f
  25. 14 Jan, 2022 3 commits
    • Eloy Lafuente's avatar
      MDL-73476 phpunit: events, external and search tescase names · 0c53a3de
      Eloy Lafuente authored
      All events_test, external_test and search_test classes:
      
      - Namespaced with component[\level2-API]
      - Moved to level2-API subdirectory when required.
      - Fixed incorrect use statements with leading backslash.
      - Changed code to point to global scope when needed.
      - Fix some relative paths and comments here and there.
      - All them passing individually.
      - Complete runs passing too.
      
      Special mention to lib/external/tests/external_test.php:
      - external is not a valid component
      - hence, its only valid namespace is "core"
      - also, it's testing lib/external/externallib.php
      - hence, the file (and class) have been renamed to external_externallib_test.php
        (to avoid conflicts with other external_test that may exist in core)
      0c53a3de
    • jun's avatar
      a926979c
    • Paul Holden's avatar
      MDL-73365 report_log: fix detection of site page logging. · 2ae0424b
      Paul Holden authored
      In turn, this adds back the secondary navigation to the page.
      2ae0424b
  26. 30 Dec, 2021 1 commit
    • Eloy Lafuente's avatar
      MDL-73352 phpunit: lib_test and locallib_test testcase names · 511801cb
      Eloy Lafuente authored
      All lib_test and locallib_test classes:
      
      - Namespaced with component (and API whenever makes sense).
      - Fixed incorrect use statements with leading backslash.
      - Changed code to point to global scope when needed or add new uses.
      - All them passing individually.
      - Complete runs passing too.
      
      Special mention to tests under login/tests:
      
      1) The core_login component doesn't exist.
      2) But login/tests are allowed because there is a suite pointing to it (phpunit.xml).
      3) So, the only possible namespace for them is "core".
      4) And to avoid problems with other core testcases (under lib/tests)
         they have been renamed to have login_xxxx as prefix.
      511801cb
  27. 17 Dec, 2021 2 commits
    • Eloy Lafuente's avatar
      MDL-73348 phpunit: normalize all privacy provider tests · e4a2d9c1
      Eloy Lafuente authored
      As far as now all them have correct privacy level2 namespace:
      - Move them to "privacy" subdir.
      - Rename the files to "provider_test.php", this includes old
        privacy_test.php and privacy_provider_test.php files
      - Rename the testcase to provider_test too (to match file name)
      
      Also, change some relative paths and comments to point to new
      locations.
      e4a2d9c1
    • Eloy Lafuente's avatar
      MDL-73348 phpunit: privacy and privacy_provider testcase names · 57e6fb7a
      Eloy Lafuente authored
      All privacy_test and privacy_provider_test classes:
      
      - Namespaced with component\privacy.
      - Fixed incorrect use statements with leading backslash.
      - Changed code to point to global scope when needed.
      - Renamed a few files to make all be privacy_test or privacy_provider_test.php
      - All them passing individually.
      - Complete runs passing too.
      57e6fb7a
  28. 10 Dec, 2021 1 commit
  29. 09 Dec, 2021 2 commits
  30. 30 Nov, 2021 1 commit
  31. 29 Nov, 2021 2 commits