Commit Graph

3340 Commits

Author SHA1 Message Date
Andrew Nicols 8d5f85017a Merge branch 'MDL-84036-main' of https://github.com/aanabit/moodle 2025-03-06 11:47:47 +08:00
Sara Arjona 01a5feb9b5 Merge branch 'MDL-83888-main-v02' of https://github.com/ferranrecio/moodle 2025-03-05 08:31:28 +01:00
Sara Arjona 17c6b8509a Merge branch 'MDL-84265-main' of https://github.com/andrewnicols/moodle 2025-03-05 08:22:36 +01:00
Andrew Nicols a4b3cf493d Merge branch 'MDL-75875-main' of https://github.com/laurentdavid/moodle 2025-03-05 14:25:26 +08:00
Andrew Nicols d36b08315d Merge branch 'MDL-84692-main' of https://github.com/roland04/moodle 2025-03-05 13:58:18 +08:00
Andrew Nicols 1aeaf278c1 MDL-83282 core: Remove most reference to Atto
Some references can remain, and others should remain until we drop
support for YUI, or Atto is no longer supported in the plugins database.

Note: Some reference to Atto will remain until such a time as it is no
longer possible to support the editor via the plugins database.
2025-03-05 11:35:25 +08:00
Andrew Nicols 61534718fe MDL-84265 core: Remove sqlite support 2025-03-05 10:27:10 +08:00
Andrew Nicols 09b3b76f39 MDL-83282 core: Disable text editors on uninstall 2025-03-05 10:07:39 +08:00
Mikel Martín 11657fe082 MDL-84692 theme_boost: Update .btn-icon class
- Update and improve styles for .btn-icon helper class for consistency.
- Added new $btn-icon-border-radius SCSS variable to cuztomize the btn-icon
border radius.
- Fix and simplify current .btn-icon usages
2025-03-04 10:23:00 +01:00
ferran f92afcee5c MDL-83888 core: add renderer_helper for DI 2025-03-03 13:15:13 +01:00
ferran 9b2f727a3e MDL-83888 core: notice badge renderer method 2025-03-03 13:15:13 +01:00
Sara Arjona d2dc037b0b Merge branch 'MDL-82825_remove-php-enum-library' of https://github.com/ziegenberg/moodle 2025-02-26 13:01:38 +01:00
Jun Pataleta 05a669b3da Merge branch 'MDL-84593-main' of https://github.com/dmitriim/moodle 2025-02-26 16:26:19 +08:00
Sara Arjona 741c072b58 Merge branch 'MDL-83892-main-v02' of https://github.com/ferranrecio/moodle 2025-02-25 12:18:38 +01:00
meirzamoodle b6d04b4882 MDL-84051 core: Call parent function to clear session data in the table 2025-02-25 08:50:35 +07:00
ferran ff05e78de3 MDL-83892 core_course: log course overview events 2025-02-24 15:29:15 +01:00
Laurent David 0803d255d5 MDL-75875 core: Remove Single Button primary parameter
* Final deprecation for the use of a boolean as 'primary' parameter
(4th parameter of the constructor), used before to specify a button
was a primary button. This has been replaced by a wider range of
choices.
2025-02-24 06:49:18 +01:00
Daniel Ziegenberg b2e791a56b MDL-82825 libraries: Remove php-enum library
It was a dependency of zipstream, but is no longer required as this
functionality has been replaced by native PHP functionality.

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2025-02-21 10:11:47 +01:00
Dmitrii Metelkin a71811aac6 MDL-84593 events: remove course_module_instances_list_viewed event 2025-02-20 15:48:30 +11:00
Sara Arjona f660214f25 Merge branch 'MDL-83872-main-v03' of https://github.com/ferranrecio/moodle 2025-02-19 12:43:19 +01:00
Sara Arjona ad89f4c712 Merge branch 'MDL-84300-main' of https://github.com/andrewnicols/moodle 2025-02-19 07:12:27 +01:00
Mikel Martín 04975cd2b2 MDL-75669 theme_boost: Refactor custom form elements to BS5
- .custom-check is now .form-check.
- .custom-check.custom-switch is now .form-check.form-switch.
- .custom-select is now .form-select.
- .custom-file and .form-file have been replaced by custom styles on top of .form-control.
- .custom-range is now .form-range.
- Dropped .input-group-append and .input-group-prepend. You can now just add buttons
  and .input-group-text as direct children of the input groups.
2025-02-14 10:58:36 +01:00
Mikel Martín 2aa19cb088 MDL-75669 theme_boost: Refactor dropdowns positioning classes
- Replace .dropdown-menu-[left|right] with .dropdown-menu-[start|end].
2025-02-14 09:10:33 +01:00
Jun Pataleta ec36a7b4be Merge branch 'MDL-83542-main' of https://github.com/laurentdavid/moodle 2025-02-13 11:47:38 +08:00
Huong Nguyen 444fd9a783 Merge branch 'MDL-83645' of https://github.com/paulholden/moodle 2025-02-13 10:42:29 +07:00
Andrew Nicols 3f3d8394fe MDL-84300 core: Support nested templates in routed API 2025-02-11 09:32:50 +08:00
Andrew Nicols ec2d5ba0c2 MDL-84300 router: Path params should be aware of unlimited captures
Where a path contains an unlimited parameter, designated by `{name:.*}`
or `{name:.*?}` it may be empty and therefore cannot be required.
2025-02-11 09:32:45 +08:00
ferran 802920fd4c MDL-83872 core: creating button and text_align properties
This issue creates a couple of enum to style buttons and text
alignments. Enums can be used by output classes to limit the
types of values accepted by using strict types.
2025-02-08 11:36:01 +01:00
Laurent David e9ad127b79 MDL-83542 core: Add hooks for user switching
* Add hooks for events that lead to session_cache_reset
2025-02-07 11:52:39 +01:00
Huong Nguyen c66b1a467c Merge branch 'MDL-83757-main' of https://github.com/andrewnicols/moodle 2025-02-06 10:51:57 +07:00
Jun Pataleta 5bb4758f77 Merge branch 'MDL-83753-main' of https://github.com/djarran/moodle 2025-02-05 18:05:40 +01:00
Sara Arjona d8dbb53c36 Merge branch 'MDL-67683-main' of https://github.com/junpataleta/moodle 2025-02-05 18:05:40 +01:00
Andrew Nicols e17dd3bf62 MDL-83757 core: Force DI to use global DB instead of scoped 2025-02-05 20:35:25 +08:00
Huong Nguyen 83a027b132 Merge branch 'MDL-83822-main' of https://github.com/PhMemmel/moodle 2025-02-04 09:30:25 +07:00
Jun Pataleta 4e2a7af970 MDL-67683 output: Make block regions unique
Unique labels for the block regions:
* `side-pre` blocks - "Blocks"
* `side-post` blocks - "Supplementary blocks"
* `content` blocks - "Main content blocks"

Blocks in the main content region (div role="main") should not also be
in an <aside> as it is a top-level landmark.
2025-02-03 15:54:50 +08:00
Jun Pataleta e671b1ff0b MDL-67683 blocks: Do not assign a complementary role for blocks
Blocks are contained in an <aside> which has a default ARIA role of
"complementary", a top-level landmark. So assigning a "complementary"
role for block instances is not needed. As blocks are already in a
<section> tag which has a default role of "region", there's no need
to override the ARIA role, unless specified by the block plugin.

Read more at:
https://www.w3.org/WAI/ARIA/apg/practices/landmark-regions/
2025-02-03 15:54:49 +08:00
ferran f6698b7567 MDL-83871 course: activity overview page
The old activities block will be fully replaced by a new course
activities overview page in the course secondary navigation. This
commit has the initial implementation of the page.
2025-01-31 15:21:48 +01:00
Andrew Nicols 2d9c877f58 MDL-79843 core: Fully reset the component cache for some tests 2025-01-29 14:39:50 +08:00
Sara Arjona 54ed733f98 Merge branch 'MDL-73700_remove-all-the-old-php-version-checks-from-core' of https://github.com/ziegenberg/moodle 2025-01-28 19:43:36 +01:00
Daniel Ziegenberg 224a7d2aac MDL-73700 core: remove old PHP version check
As MDL-73016 set the minimum supported PHP version for Moodle 4.4 and up
to PHP 8.1 we can now safely remove this check. It was introduced with
MDL-75945  because a new signature was introduced to ImagePolygon
functions from PHP 8.1 with the previous signature deprecated in 8.1.

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2025-01-28 18:57:52 +01:00
Amaia Anabitarte 1ccec343f4 MDL-84036 core: Finally remove deprecated external functions 2025-01-28 12:11:27 +01:00
Huong Nguyen 474231d1a4 Merge branch 'MDL-83079-main' of https://github.com/HuongNV13/moodle 2025-01-28 17:04:08 +07:00
Frederik Milling Pytlick d8f1d2aa95 MDL-83079 core: Make signal handlers run during non CLI scripts 2025-01-28 16:45:59 +07:00
Jake Dallimore 17eb4af339 MDL-79843 core_task: changes to support deprecated plugin types
This ensures:
- existing adhoc tasks will run and be cleared from the queue
- new adhoc tasks cannot be scheduled
- scheduled tasks cannot be listed or fetched via scheduling
Given the nature of the task API, since all tasks are just objects,
a manually created task can still be run via its ::execute() method.
2025-01-28 14:42:19 +08:00
Jake Dallimore 6031b7cb60 MDL-79843 core: support deprecated plugin types in plugin_manager APIs
This change:
- Adds param to plugin_manager::get_plugins() to permit return of
plugininfo for deprecated/deleted plugins, defaulting to false for
b/c.
- ensures plugininfo represents the deprecation state, via:
-- base::is_deprecated() and
-- base::is_deleted()
- ensures plugin_manager supports deprecated/deleted plugins in the
following APIs:
-- plugin_manager::get_present_plugins()
-- plugin_manager::get_installed_plugins()
-- plugin_manager::get_plugin_info()
-- plugin_manager::get_plugintype_root()
-- plugin_manager::can_uninstall_plugin()
-- plugin_manager::get_uninstall_url()

The above changes facilitate listing/reporting on deprecated or deleted
plugins in install, upgrade or site admin views.
2025-01-28 14:42:19 +08:00
Jake Dallimore 6b1a63189b MDL-79843 core: add plugintype deprecation support to core component
By default, for backward-compatibility, these plugin types and plugins
are not returned from existing APIs.
2025-01-28 14:42:19 +08:00
Huong Nguyen 5fbd4b6555 Merge branch 'MDL-83869-main' of https://github.com/ferranrecio/moodle 2025-01-23 11:15:26 +07:00
Huong Nguyen 8ad2dc02a1 Merge branch 'MDL-83751' of https://github.com/paulholden/moodle 2025-01-23 10:48:16 +07:00
Huong Nguyen 40fd9b8d22 Merge branch 'main_MDL-82977' of https://github.com/mattporritt/moodle 2025-01-23 09:36:50 +07:00
ferran 46318e53d0 MDL-83869 output: new collapsable section component 2025-01-22 11:36:27 +01:00