295 Commits

Author SHA1 Message Date
Amaia Anabitarte
267a474154 MDL-81676 core_course: Rename data-sectionid to data-sectionnum
Activity chooser is saving section number in a data attribute called
data-sectionid. We should use data-sectionnum instead to make it easier
to understand.
2024-06-10 15:42:09 +02:00
Sara Arjona
cbee116728
Merge branch 'MDL-82041' of https://github.com/paulholden/moodle 2024-06-10 15:17:11 +02:00
Sara Arjona
4f3712505d
Merge branch 'MDL-81675-main' of https://github.com/aanabit/moodle 2024-06-10 12:38:46 +02:00
Huong Nguyen
a07054af30 MDL-81428 core: Display the correct status for the contact request 2024-06-10 17:00:46 +07:00
Andrew Nicols
0abb2e6b9a
MDL-81919 core: Update moved file namespaces 2024-06-10 12:13:00 +08:00
Andrew Nicols
302b94c2b7
MDL-81919 core: Add support for autoloading legacy classes 2024-06-10 10:04:08 +08:00
Paul Holden
41660e88c0
MDL-78773 report_stats: improve display of mode selection element.
Make use of existing theme selectors for navigation elements to style.
2024-06-07 11:33:37 +01:00
Paul Holden
a0d5133f10
MDL-81781 dataformat: public helper method to get writer instance. 2024-06-07 11:29:10 +01:00
Dan Marsden
963afc4516
MDL-76392 reportbuilder: allow aggregation in system reports.
Co-authored-by: Paul Holden <paulh@moodle.com>
2024-06-07 01:05:35 +01:00
Huong Nguyen
7934aa46ce
Merge branch 'MDL-81749-main' of https://github.com/aanabit/moodle 2024-06-06 22:02:36 +08:00
Jun Pataleta
6efc4177c5
Merge branch 'MDL-81894-main' of https://github.com/andrewnicols/moodle 2024-06-06 22:02:34 +08:00
Andrew Nicols
2e05b9111b
MDL-81894 core: system_clock should use the server timezone 2024-06-06 00:17:10 +08:00
Amaia Anabitarte
be267a625d MDL-81675 course: Prevent creating subsections into subsections 2024-06-05 16:29:16 +02:00
Amaia Anabitarte
f185fdca52 MDL-81749 core_completion: Let custom rules to return failed state 2024-06-05 15:55:04 +02:00
Andrew Nicols
d2909a5e3d
Merge branch 'MDL-81940' of https://github.com/paulholden/moodle 2024-06-04 22:28:50 +08:00
Andrew Nicols
c5820bbc6e
Merge branch 'MDL-81321' of https://github.com/paulholden/moodle 2024-06-04 09:55:35 +08:00
Andrew Nicols
e96ac335e1
Merge branch 'MDL-81572' of https://github.com/paulholden/moodle 2024-06-04 09:54:12 +08:00
Andrew Nicols
aa43ded0c7
Merge branch 'MDL-82055' of https://github.com/paulholden/moodle 2024-06-04 09:50:13 +08:00
Paul Holden
74384ce875
MDL-81940 core: deprecate RC4 encryption library methods.
Switch current usage to secure `\core\encryption` alternative.
2024-06-03 13:43:41 +01:00
Paul Holden
6cb06dc43a
MDL-81572 editor_tiny: use standard plugin name in editor help dialog. 2024-06-03 09:40:08 +01:00
Paul Holden
a33e54c08f
MDL-82041 reportbuilder: switch time-sensitive code to new Clock API.
Where current implementation, and more specifically tests, rely on the
current time then replace that with the PSR-20 Clock from 298c13ac3b.

Applicable updates to the date filter and report scheduling calculation.
2024-05-31 15:37:42 +01:00
Paul Holden
22327a1489
MDL-82055 output: replace usage of named templatable interface.
It's not available during, and breaks, site installation. The output
class doesn't necessarily need it in 78db6bbce8, so switch to simple
templatable interface instead.
2024-05-31 13:04:20 +01:00
Sara Arjona
3938b26a08
Merge branch 'MDL-81850' of https://github.com/paulholden/moodle 2024-05-31 10:44:33 +02:00
Paul Holden
6a8f6dd925
MDL-81850 availability_group: correctly retrieve groups for given user. 2024-05-30 10:13:31 +01:00
Jun Pataleta
70c29d8d68
Merge branch 'MDL-80275-main' of https://github.com/andrewnicols/moodle 2024-05-29 15:30:46 +08:00
Andrew Nicols
9745580bf4
Merge branch 'MDL-81282' of https://github.com/paulholden/moodle 2024-05-29 09:45:00 +08:00
Andrew Nicols
426960249f
Merge branch 'MDL-81597-main' of https://github.com/roland04/moodle 2024-05-28 23:48:50 +08:00
Mikel Martín
78db6bbce8 MDL-81597 theme_boost: Fix header bar alignment
- Refactot context_header class to implement named templatable so
render_context_header in core and theme_boost can be removed
- Refactor context_header to use templates
- Fix context header layout and styles
2024-05-28 16:37:57 +02:00
Huong Nguyen
84a2fdc2c7
MDL-54105 mod_assign: Move upgrade notes 2024-05-28 15:27:21 +07:00
Huong Nguyen
b32fcf0a0a
Merge branch 'MDL-81903-main' of https://github.com/andrewnicols/moodle 2024-05-28 12:07:49 +07:00
Andrew Nicols
d69333acc3
MDL-72786 core: Style fix on upgrade notes 2024-05-28 09:49:50 +08:00
Andrew Nicols
f8ba03ce1a
Merge branch 'MDL-72786' of https://github.com/paulholden/moodle 2024-05-28 09:43:32 +08:00
Andrew Nicols
d6d795cd0f
MDL-81872 course: Coding style improvements 2024-05-28 09:25:39 +08:00
Sara Arjona
22cc975705
MDL-81872 course: Improve wording and workflow for reset 2024-05-27 16:18:54 +02:00
Mikel Martín
e1d2a046d3 MDL-81597 renderer: Add page getter method to renderer_base 2024-05-27 11:38:39 +02:00
Paul Holden
c4b06e48a6
MDL-72786 report_eventlist: final removal of deprecated event methods. 2024-05-24 22:27:03 +01:00
Paul Holden
b5e6b1d3a7
MDL-81321 mod_data: deprecate fields page "View template" footer. 2024-05-24 22:22:38 +01:00
Paul Holden
96ded90e68
MDL-81282 dml: define SQL_INT_MAX, to determine large supported ints.
The constant can be used by calling code in place of various adhoc
versions of the same, when they require a large value with known cross
platform support.
2024-05-24 22:19:54 +01:00
Andrew Nicols
a4484911bf
MDL-80741 mod_assign: Move upgrade notes 2024-05-24 09:25:29 +07:00
Huong Nguyen
1776003d39
MDL-81407 core_question: Update upgrade.txt file to document new upgrade note 2024-05-23 10:37:46 +07:00
Huong Nguyen
37c79e282d
MDL-74581 grade: Update upgrade.txt file to document new upgrade note 2024-05-21 16:51:30 +07:00
Andrew Nicols
0964cd5b69
MDL-81125 core: Update upgrade.txt files to document new upgrade notes 2024-05-20 22:26:45 +08:00
Andrew Nicols
b7d029ab69
MDL-81125 core: Add tooling to generate developer upgrade notes
Usage:

    node .grunt/upgradenotes.mjs

      OR

    npm run upgradenote

Arguments can be provided to specify the issue number, component,
message, and type of change.

    node .grunt/upgradenotes.mjs -- \
        -c [component] \
        -i [issue number] \
        -t [type] \
        -m [message]

        OR

    npm run upgradenote -- \
        -c [component] \
        -i [issue number] \
        -t [type] \
        -m [message]

Summary Markdown files can be created using:

    node .grunt/upgradenotes.mjs summary

Weekly release files can be created using:

    node .grunt/upgradenotes.mjs release

Final release files can be created using:
using:
    node .grunt/upgradenotes.mjs release [version]

Generally speaking the integration team will be responsible for updating
the UPGRADING.md notes as part of the weekly integration processes.
2024-05-20 22:26:44 +08:00
Andrew Nicols
a15301b69b
MDL-80275 core: Include autoloader if ABORT_AFTER_CONFIG
This change moves the inclusion of the Moodle class autoloader to above
the ABORT_AFTER_CONFIG handler.
2024-05-17 12:45:44 +08:00
Andrew Nicols
2b64f03e59
MDL-81903 core: Add exception as L2 API 2024-05-16 23:03:36 +08:00