1. 22 Jul, 2022 1 commit
  2. 19 Jul, 2022 1 commit
  3. 13 Jul, 2022 1 commit
  4. 08 Jul, 2022 1 commit
    • Eloy Lafuente's avatar
      MDL-71747 upgrade: remove functions not used anymore · 012ae934
      Eloy Lafuente authored
      This code was used only by deleted upgrade steps so it's safe
      to proceed with straight deletion, considering it internal.
      Deletion has been documented in corresponding upgrade.txt files:
      
        - upgrade_analytics_fix_contextids_defaults()
        - upgrade_convert_hub_config_site_param_names()
        - upgrade_rename_prediction_actions_useful_incorrectly_flagged()
      012ae934
  5. 05 Jul, 2022 1 commit
  6. 29 Jun, 2022 1 commit
  7. 20 Jun, 2022 1 commit
  8. 17 Jun, 2022 2 commits
  9. 13 Jun, 2022 2 commits
  10. 08 Jun, 2022 3 commits
  11. 30 May, 2022 2 commits
  12. 25 May, 2022 1 commit
    • Cameron Ball's avatar
      MDL-67648 tasks: Fair-share scheduling with resource management · 8154aa2e
      Cameron Ball authored
      This patch changes the way adhoc tasks are chosen to run. It now calculates
      how many runners each type of adhoc task should be allowed to use. In the
      case that not all the runners are utilised, it attempts to infer which
      tasks do not take a long time to run, and gives those to the vacant runners.
      
      Thanks to Brendan Heywood for guidance and SQL help.
      8154aa2e
  13. 20 May, 2022 1 commit
  14. 19 May, 2022 1 commit
  15. 01 Apr, 2022 1 commit
  16. 24 Mar, 2022 2 commits
  17. 22 Mar, 2022 1 commit
  18. 17 Mar, 2022 1 commit
    • Dongsheng Cai's avatar
      MDL-72991 Course: Partial course cache rebuild · f97b86e8
      Dongsheng Cai authored
      When updating/deleting a section/module, the system now only
      invalidate of the element (section/module), not the whole course cache
      Also, the system now only recalculate the cache for element (section/module)
      if necessary, not the whole course cache
      
      Move module/section purging to course_modinfo:
        + course_modinfo::purge_course_section_cache_by_id was created to purge section by id
        + course_modinfo::purge_course_section_cache_by_number was created to purge section by number
        + course_modinfo::purge_course_module_cache was created to purge module
      f97b86e8
  19. 16 Mar, 2022 1 commit
    • Sara Arjona's avatar
      MDL-73233 admin: Add enabledashboard setting · 5349861e
      Sara Arjona authored
      The $CFG->enabledashboard setting has been added to Appearance >
      Navigation, to let admins disable the "Dashboard" option from the
      primary navigation.
      
      This commit also changes the behaviour of get_home_page(), to take
      into account this setting and adds a new method, get_default_home_page(),
      to return the expected default home page (that wil be used when current
      default page is not defined or valid).
      5349861e
  20. 03 Mar, 2022 1 commit
    • Eloy Lafuente's avatar
      MDL-73824 gradebook: Stricter float check to some gradelib functions · e2821bf1
      Eloy Lafuente authored
      It has been detected that, right now, some localised floats are
      being passed to those functions (say comma separator, say thousands)
      and that's leading to all sort of problems later when comparing,
      processing or storing those "wrong-floats" (user entered).
      
      This just makes all those functions to be stricter, so any attempt
      of passing to them a wrong float will fail with a clear TypeError.
      
      Any existing case must be converted to a corrrect (X.Y) format, using
      unformat_float() or PARAM_LOCALISEDFLOAT before any processing.
      
      Localised floats cannot be used.
      
      Also, fix all the places where those functions are called from
      files having strict_types enabled because, with that, now float-like
      strings are not accepted any more. Luckily, there is only case,
      within the grade/classes/component_gradeitem.php file, and it has
      been fixed by casting the float-like string coming from DB to float.
      e2821bf1
  21. 01 Mar, 2022 2 commits
  22. 14 Feb, 2022 1 commit
    • Mihail Geshoski's avatar
      MDL-73532 navigation: Secondary navigation for single activity course · 98c89410
      Mihail Geshoski authored
      Creates secondary navigation dedicated for the single activity course
      format. To accomodate these chanages a new property
      'showchildreninsubmenu' is introduced in navigation_node which can be
      used to define whether the node's children should be displayed in a
      submenu when applicable. Also, new method get_page() is added in
      settings_navigation which can be used to get the $page class property.
      98c89410
  23. 03 Feb, 2022 2 commits
  24. 02 Feb, 2022 1 commit
  25. 28 Jan, 2022 1 commit
  26. 27 Jan, 2022 1 commit
  27. 14 Jan, 2022 1 commit
    • Sara Arjona's avatar
      MDL-73347 blocks: New unaddableblocks theme setting · 341a7b2a
      Sara Arjona authored
      A new method, get_unaddable_by_theme_block_types(), has been added to
      block_manager class to let themes define, using the unaddableblocks
      theme setting, the blocks that won't be displayed in the "Add a block"
      list.
      For now, only the boost theme uses it, to disable some of the blocks,
      like settings, navigation, course_list and section_links (they are still
      required for classic).
      341a7b2a
  28. 21 Dec, 2021 1 commit
  29. 15 Dec, 2021 1 commit
  30. 06 Dec, 2021 1 commit
  31. 30 Nov, 2021 2 commits