Commit Graph

556 Commits

Author SHA1 Message Date
Huong Nguyen 974b18b09e Merge branch 'MDL-85633-500' of https://github.com/lucaboesch/moodle into MOODLE_500_STABLE 2025-10-21 09:47:25 +07:00
Luca Bösch 8c7fd86a7d MDL-85633 course: Move away from YUI navigation.
Co-authored-by: Mikel Martín Corrales <mikel@moodle.com>
2025-10-20 11:25:14 +02:00
Luca Bösch 1003a27252 MDL-85511 course: back button for course management course search. 2025-10-20 08:03:57 +02:00
Mihail Geshoski a0622c21ee Merge branch 'MDL-81514_500_STABLE' of https://github.com/marxjohnson/moodle into MOODLE_500_STABLE 2025-10-15 11:05:39 +08:00
James C 82643aadf9 MDL-83511 course: Add activities by section ID 2025-10-06 12:57:21 +13:00
Mark Johnson 66328d8428 MDL-81514 groups: Add participationonly option to activity group menu
groups_print_activity_menu() and groups_get_activity_group() now include
an additional $participationonly parameter,
which is true by default. This can be set false when we want the user to
be able to select a non-participation group within
an activity, for example if a teacher wants to filter assignment
submissions by non-participation groups. It should never be
used when the menu is displayed to students, as this may allow them to
participate using non-participation groups.

groups_sort_menu_options() now has a $splitparticipation parameter,
which will split non-participation groups out into their own optgroup at
the end of the menu.
2025-09-25 16:40:20 +01:00
Jun Pataleta 8674dac8da MDL-86488 course: Set action menu icon for category actions menu 2025-09-18 17:25:37 +08:00
Luca Bösch 14bf865905 MDL-86280 mod: Do not filter help text in activity chooser.
Co-authored-by: Ferran Recio <ferran@moodle.com>
2025-08-26 18:19:36 +02:00
Huong Nguyen b231e98b91 Merge branch 'MDL-80611-500' of https://github.com/marinaglancy/moodle into MOODLE_500_STABLE 2025-08-21 08:54:51 +07:00
Andrew Nicols bf18273a08 MDL-85897 core: Move all deprecations to emit_deprecation 2025-07-30 13:53:27 +08:00
Huong Nguyen 33a256386d Merge branch 'MDL-85466-500' of https://github.com/lucaboesch/moodle into MOODLE_500_STABLE 2025-06-26 08:22:20 +07:00
Huong Nguyen b76ea1942b Merge branch 'MDL-85644-500' of https://github.com/paulholden/moodle into MOODLE_500_STABLE 2025-06-24 09:20:00 +07:00
Luca Bösch 746dcabe44 MDL-85466 course: space between number and course icon. 2025-06-20 16:47:13 +02:00
Marina Glancy 1ca95eeeb3 MDL-80611 general: do not translate url in help links 2025-06-16 18:09:16 +01:00
Jun Pataleta 571990b7de Merge branch 'MDL-84941-500' of https://github.com/paulholden/moodle into MOODLE_500_STABLE 2025-06-05 12:08:39 +08:00
Paul Holden 5487d418b6 MDL-85644 course: bottom margin for course category listing actions. 2025-06-02 23:03:00 +01:00
Jun Pataleta 0c8e1b6256 MDL-85193 course: Fix restore of backups with missing activity plugins
Show debugging instead of throwing an error when fetching an activity
icon from a missing activity plugin.
2025-05-07 18:10:25 +08:00
Paul Holden 6f14d54be9 MDL-84941 course: fix activity button label on end of section.
Where the button is rendered after all section content, we should
fix the ARIA label attribute to refer to the current section rather
than non-existing subsequent activity.
2025-04-28 11:22:56 +01:00
Jun Pataleta e8146c0831 Merge branch 'MDL-82565-main' of https://github.com/andrewnicols/moodle 2025-03-27 10:45:20 +08:00
Andrew Nicols f23259c49c MDL-82565 core_course: Migrate tag management to route 2025-03-26 21:20:59 +08:00
Andrew Nicols 9137558cd5 MDL-82565 core: Add support for routing of front-end pages
This is the beginning of the end for non-routed pages in Moodle and the
start of SEO-friendly page URLs.

A 'shim' is provided for backwards compatibility.
2025-03-26 21:20:58 +08:00
Andrew Nicols c8e4bbe938 Merge branch 'MDL-84555-main' of https://github.com/ferranrecio/moodle 2025-03-25 10:41:50 +08:00
ferran ec9915b278 MDL-84555 core_course: add activity_icons to completion bulk editors 2025-03-24 16:49:53 +01:00
ferran 9b5018b4a3 MDL-84555 core_course: new activity_icon output class 2025-03-24 16:49:53 +01:00
Andrew Nicols 2c121ab509 Merge branch 'MDL-84674_trim-old-deprecations' of https://github.com/ziegenberg/moodle 2025-03-21 08:15:12 +08:00
Katie Ransom 8c355f1f1c MDL-83840 course: add warning when hiding category 2025-03-18 13:42:59 +00:00
Daniel Ziegenberg 15579eb07f MDL-84674 core: Remove long-deprecated methods
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2025-03-18 10:36:53 +01:00
Jun Pataleta 56183c786e Merge branch 'MDL-81714_main' of https://github.com/marxjohnson/moodle 2025-03-18 12:57:55 +08:00
Mark Johnson b746bcd186 MDL-81714 grades: Make large regrades asynchronous
Currently, large courses can take a long time to perform a full regrade.
This is currently handled with a progress bar to prevent frontend
timeouts while the regrade takes place. However, because it can take so
long a teacher may not want to wait with the page open for several
minutes, particularly if they are performing several operations that
trigger a regrade.

This adds a new async flag to grade_regrade_final_grades which is true
by default. Instead of performing the regrade immediately, this queues
an instance of \core\task\regrade_final_grades for the course, which
will be executed in the background.

It is advisable to always leave the async flag set true, except in the
following scenarios:
- Automated tests.
- The regrade_final_grades task which actually wants to do the
calculations immediately.
- When you have performed a check to determine that the regrade process
is unlikely to take a long time, for example there are only a small
number of grade items.
2025-03-14 16:01:04 +00:00
Sara Arjona a4f0254cf2 Merge branch 'MDL-84849' of https://github.com/paulholden/moodle 2025-03-13 13:23:37 +01:00
Sara Arjona 32ad42449f Merge branch '83136-fix-unknowncategory-message-main' of https://github.com/DSI-Universite-Rennes2/moodle 2025-03-13 12:38:35 +01:00
Paul Holden 9c7574a6ec MDL-84849 course: fix category management drag/drop of courses.
Required classes were refactored in BS5 changes in ba30b66e.
2025-03-12 17:34:06 +00:00
Sara Arjona 48455be56a Merge branch 'MDL-78926_final-deprecation-of-core_course-output-activity_information-output-class' of https://github.com/ziegenberg/moodle 2025-03-12 17:48:28 +01:00
Andrew Nicols e7dd68201b Merge branch 'MDL-80173' of https://github.com/paulholden/moodle 2025-03-07 09:03:55 +08:00
Andrew Nicols 035a92fa2c Merge branch 'MDL-84135' of https://github.com/paulholden/moodle 2025-03-06 09:09:06 +08:00
Daniel Ziegenberg 3070ef8161 MDL-78926 course: Removed core_course\output\activity_information
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2025-03-04 20:38:53 +01:00
Jun Pataleta 0ad0c882f2 Merge branch 'MDL-80519-main' of https://github.com/roland04/moodle 2025-02-27 10:22:48 +08:00
Paul Holden 81ce30d0c1 Merge branch 'MDL-84379-main' of https://github.com/laurentdavid/moodle into main 2025-02-25 17:11:35 +00:00
Mikel Martín f9d5238ccb MDL-80519 theme_boost: Fix deprecated BS4 SCSS usages 2025-02-25 13:13:58 +01:00
Paul Holden 18d2b2e679 Merge branch 'MDL-78711_final-removal-of-edit_default_completion' of https://github.com/ziegenberg/moodle into main 2025-02-25 10:59:41 +00:00
Laurent David d0483c0e6c MDL-84379 theme_boost: Fix course management page layout 2025-02-24 06:57:32 +01:00
Julien Boulen 944f992c69 MDL-83136 course: Add missing value on unknowncategory exception message 2025-02-21 09:25:18 +01:00
Sara Arjona f660214f25 Merge branch 'MDL-83872-main-v03' of https://github.com/ferranrecio/moodle 2025-02-19 12:43:19 +01:00
ferran fe377c9dca MDL-83872 course: adding overview tables to course overview
The course overview page can represent a table with the overview
integration implemented by the activity plugins. Each plugin
table is loaded as a fragment to optimize the course overview
loading time.
2025-02-19 12:23:23 +01:00
ferran 6a230a0bca MDL-83872 core_courseformat: prepare completion button for reuse
The current completion button has specific templates only for the course
view page. However, from now on this component may be used in other
places and it needs a main template to be rendered in a standard way.
2025-02-18 18:00:24 +01:00
Paul Holden b45d17ca30 MDL-80173 reportbuilder: remove various Oracle support/workarounds.
"True happiness is to rejoice in the
        <removal of Oracle compatibility>."

Reference: ba1f9cb2, 892b68d5, c63af985, 208adcf3, 9a244403, 3894fa94,
62d22c66, 628541b5, 429508a7.
2025-02-18 13:43:34 +00:00
Sara Arjona 8c7c48d756 Merge branch 'MDL-84208-main' of https://github.com/ferranrecio/moodle 2025-02-18 12:57:26 +01:00
Mikel Martín ba30b66e19 MDL-75669 theme_boost: Fix list-group usages for BS5
- The .list-group-item elements in BS5 require an outer .list-group container.
  Some uses in core were missing the outer group item and need fixing.
2025-02-17 08:13:48 +01:00
Daniel Ziegenberg d7ded40e49 MDL-78711 course: Final deprecation of edit_default_completion()
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2025-02-15 11:56:02 +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