- 22 Jul, 2022 1 commit
-
-
Paul Holden authored
Allow adhoc tasks to implement this method, so they too can have descriptive names for themselves. Default implementation added to return the class name itself.
-
- 19 Jul, 2022 1 commit
-
-
Mihail Geshoski authored
-
- 13 Jul, 2022 1 commit
-
-
Sujith Haridasan authored
-
- 08 Jul, 2022 1 commit
-
-
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()
-
- 05 Jul, 2022 1 commit
-
-
Marina Glancy authored
-
- 29 Jun, 2022 1 commit
-
-
Simey Lameze authored
-
- 20 Jun, 2022 1 commit
-
-
Brendan Heywood authored
-
- 17 Jun, 2022 2 commits
-
-
Mikhail Golenkov authored
-
jun authored
-
- 13 Jun, 2022 2 commits
-
-
Paul Holden authored
-
Paul Holden authored
-
- 08 Jun, 2022 3 commits
-
-
sam marshall authored
Secondary nav previously had to be in my_plugin\local\views\secondary; this location continues to work but is deprecated. The new location is my_plugin\navigation\views\secondary.
-
Daniel Ziegenberg authored
Following MDL-63580 this now finally deprecates and removes the class \tool_task\run_from_cli, please use \core\task\manager. Following MDL-63580 this now finally deprecates and removes - admin/tool/task/cli/schedule_task.php, use admin/cli/scheduled_task.php - admin/tool/task/cli/adhoc_task.php, use admin/cli/adhoc_task.php Also mentions and references to the old CLI scripts are updated to point to the new counterparts. Signed-off-by:
Daniel Ziegenberg <daniel@ziegenberg.at>
-
Daniel Ziegenberg authored
Signed-off-by:
Daniel Ziegenberg <daniel@ziegenberg.at>
-
- 30 May, 2022 2 commits
-
-
Dmitrii Metelkin authored
-
Nathan Mares authored
- Updates to log stores and backup helper to improve performance when checking if a course has been modified. - This is a breaking change as it adds a new function on the sql_reader interface. Co-authored-by:
Kevin Pham <keevan.pham@gmail.com>
-
- 25 May, 2022 1 commit
-
-
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.
-
- 20 May, 2022 1 commit
-
-
Brendan Heywood authored
-
- 19 May, 2022 1 commit
-
-
Paul Holden authored
Allow developer to specify the given record MUST_EXIST, and the method to throw the underlying database exception.
-
- 01 Apr, 2022 1 commit
-
-
Michael Hawkins authored
-
- 24 Mar, 2022 2 commits
-
-
Peter Dias authored
- Reintroduce nav components to have backwards compatibility with existing themes - Mark for deprecation flat_navigation and flat_navigation_node
-
Peter Dias authored
-
- 22 Mar, 2022 1 commit
-
-
Tim Hunt authored
-
- 17 Mar, 2022 1 commit
-
-
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
-
- 16 Mar, 2022 1 commit
-
-
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).
-
- 03 Mar, 2022 1 commit
-
-
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.
-
- 01 Mar, 2022 2 commits
-
-
Andrew Nicols authored
This interface allows a templatable to provide a template name via the 'get_template_name(): string' function and have it automatically rendered via a standard 'render()' call.
-
Simey Lameze authored
-
- 14 Feb, 2022 1 commit
-
-
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.
-
- 03 Feb, 2022 2 commits
-
-
Guillermo Gomez authored
This commit adds the changes in questiontype base to work with new question tables and the new structure in the databse. Also needed for versioning. This implementation will also introduct the question status which allows a question to be in draft and ready status. I also introduces changes to the base view where it shows the latest version of the questions. The view of versions for a question is not implemented in this commit. This implementation will also introduce changes in the core qtype plugins to support versioning and the changed db schema.
-
Guillermo Gomez authored
This commit implements the new database structure for versioning in question. It also does the migration of current data to the new structure. Co-Authored-By:
Safat Shahin <safatshahin@catalyst-au.net> Co-Authored-By:
Guillermo Gomez Arias <guillermogomez@catalyst-au.net>
-
- 02 Feb, 2022 1 commit
-
-
Sujith Haridasan authored
Fix the breadcrumbs for site administration page. Created a new public method get_active_method for the same.
-
- 28 Jan, 2022 1 commit
-
-
bas authored
-
- 27 Jan, 2022 1 commit
-
-
Pau Ferrer authored
-
- 14 Jan, 2022 1 commit
-
-
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).
-
- 21 Dec, 2021 1 commit
-
-
Andrew Nicols authored
-
- 15 Dec, 2021 1 commit
-
-
Paul Holden authored
The change in 9fabe1dd referred to incorrect config property.
-
- 06 Dec, 2021 1 commit
-
-
bas authored
-
- 30 Nov, 2021 2 commits
-
-
Apart from adding the new get_enabled_plugin($pluginname) method to the core_plugininfo\base class, and overwritting it for filter, a bug in enable_plugin in filter, introduced in MDL-72720, has been fixed too.
-
Amaia authored
-