1. 17 May, 2022 1 commit
  2. 07 May, 2022 1 commit
    • Eloy Lafuente's avatar
      MDL-73971 phpunit: Move more tests to use correct names and namespaces · 9f53b0e9
      Eloy Lafuente authored
      Applied the following changes to various testcase classes:
      
      - Namespaced with component[\level2-API]
      - Moved to level2-API subdirectory when required.
      - Fixed incorrect use statements with leading backslash.
      - Remove file phpdoc block
      - Remove MOODLE_INTERNAL if not needed.
      - 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:
      
      - Some fixtures, initially defined in the test files have been
        moved to new files in fixtures subdirectory, leaving the unit
        test files clearer:
        - moodle2_course_format_test.php
      - Rename wrong named test:
        - baseoptiogroup_test = baseoptigroup_test
      9f53b0e9
  3. 06 May, 2022 1 commit
    • Mihail Geshoski's avatar
      MDL-74584 admin: Add callback executed prior to enabling a module · 4a55d6eb
      Mihail Geshoski authored
      Adds a callback xxx_pre_enable_plugin_actions in admin/modules.php
      which plugins can use to force additional actions before enabling the
      plugin. The return value (bool) from the plugin callback method
      specifies whether the process of enabling the plugin should continue
      after the added actions or not.
      4a55d6eb
  4. 05 May, 2022 1 commit
  5. 29 Apr, 2022 2 commits
  6. 26 Apr, 2022 2 commits
    • Helen Foster's avatar
      MDL-74537 lang: Import fixed English strings (en_fix) · a1699a58
      Helen Foster authored and victor's avatar victor committed
      a1699a58
    • Mihail Geshoski's avatar
      MDL-74450 admin: Use the context from admin_settingpage as page context · dfae9e18
      Mihail Geshoski authored
      The defined context in admin_settingpage does not always relate to the
      system context. One example is the 'frontpagesettings' admin setting
      page which specifies front page as it's default context. Therefore, the
      page context in admin/settings.php should be consisent with the defined
      context in the related admin_settingpage object to make sure that the
      expected navigation menus are being displayed and properly highlighted.
      Additionally, the code in admin/settings.php related to the breadcrumb
      structure specific to 'frontpagesettings' has been removed as it is no
      longer relevant.
      dfae9e18
  7. 23 Apr, 2022 1 commit
  8. 14 Apr, 2022 1 commit
  9. 13 Apr, 2022 2 commits
  10. 12 Apr, 2022 1 commit
  11. 11 Apr, 2022 1 commit
  12. 08 Apr, 2022 1 commit
  13. 07 Apr, 2022 1 commit
  14. 06 Apr, 2022 3 commits
  15. 05 Apr, 2022 2 commits
  16. 04 Apr, 2022 1 commit
  17. 02 Apr, 2022 2 commits
    • Eloy Lafuente's avatar
      MDL-70014 tool_customlang: Workaround to make behat happier · fa47604c
      Eloy Lafuente authored
      This is a BEHAT_RUNNING only hack, so it doesn't affect normal
      operations at all. What it achieves is to reduce the number of
      strings loaded when customising a lang pack from current 31K ones
      to the just needed ones for Behat testing purposes.
      
      That way we avoid the random failures that are happening more and
      more (while the "en" lang pack grows) and also save some precious
      minutes in every behat run.
      
      Also, unrelated, a couple of tiny changes:
      - Modified constant (that was really outdated) to current number
        of lang strings (so the progress bar behaves better).
      - Remove an elseif occurrence because it was hurting my eyes.
      fa47604c
    • Paul Holden's avatar
  18. 01 Apr, 2022 4 commits
  19. 31 Mar, 2022 1 commit
  20. 30 Mar, 2022 1 commit
  21. 25 Mar, 2022 4 commits
  22. 23 Mar, 2022 1 commit
  23. 17 Mar, 2022 1 commit
  24. 16 Mar, 2022 4 commits