Commit Graph

328 Commits

Author SHA1 Message Date
ferran 488244d12d MDL-84469 core_course: add fallback activity overview 2025-03-10 09:25:24 +01:00
Andrew Nicols 4cfa8f9884 Merge branch 'MDL-84602-main' of https://github.com/ferranrecio/moodle 2025-03-07 09:19:45 +08:00
ferran c85ae796cd MDL-84602 course: allowing chained setters to overview items 2025-03-06 15:46:35 +01:00
ferran 0f4cb86948 MDL-84602 course: adding alert count to overview 2025-03-06 15:46:35 +01:00
Sara Arjona 01a5feb9b5 Merge branch 'MDL-83888-main-v02' of https://github.com/ferranrecio/moodle 2025-03-05 08:31:28 +01:00
ferran d6a8068cd1 MDL-83888 course: grade activity overview item
The course activity overview tablew now shows the grade items for the
activity if the user has grading.
2025-03-04 12:29:16 +01:00
ferran 44dbc5fa54 MDL-80116 core_courseformat: section move final deprecation 2025-03-04 12:06:32 +01:00
Huong Nguyen ba03cfbb1a Merge branch 'MDL-84346-main' of https://github.com/roland04/moodle 2025-02-27 11:16:32 +07:00
Sara Arjona 6125a7893c Merge branch 'MDL-83764-main' of https://github.com/laurentdavid/moodle 2025-02-26 14:53:26 +01:00
ferran fd905bcacc MDL-83892 course: fix section name in single activity format
The course activities overview shows the section name under each
activity. However, this information should not be present when the
course format does not support sections.
2025-02-25 09:41:44 +01:00
ferran ecb96b5089 MDL-83892 core_course: overview page redirection method 2025-02-24 15:29:15 +01:00
Mikel Martín c69e005068 MDL-84346 courseformat: Replace css class for completion buttons 2025-02-24 12:49:25 +01:00
Laurent David 1f7d376ac4 MDL-83764 core_courseformat: Deprecate externservercourse.php feature
* Add deprecation message and testing
2025-02-24 06:49:43 +01:00
Huong Nguyen ccaaf73ec7 Merge branch 'MDL-78489-main' of https://github.com/aanabit/moodle 2025-02-20 09:49:14 +07: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 d94f2acdae MDL-83872 course: adding activity overview base classes
The course overview page allows plugins to implementa an
activity overview integration. This commit adds all the
base classes for the integration, and also the "resources"
integration used by default in all plugins considered
resources like url, file, folder...
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
Amaia Anabitarte 9f86b4a46d MDL-78489 core_courseformat: Final deprecation of availability_info 2025-02-10 17:09:03 +01:00
Laurent David 26d7babbae MDL-83542 core_completion: Add hooks for cm completion
* Add hooks for events that lead to session_cache_reset
2025-02-07 11:52:39 +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
Laurent David 25a963a5d7 MDL-83542 core_course: Add hook for course content update
* Add hooks for course events that lead to session_cache_reset
2025-02-07 11:52:39 +01:00
Huong Nguyen 433ee6ecbc Merge branch 'mdl-83690_main' of https://github.com/james-cnz/moodle 2025-02-05 18:05:39 +01:00
ferran fc35470f25 MDL-83562 core_courseformat: deprecate movehere actions 2025-01-30 13:21:24 +01:00
james-cnz bf06c4b934 MDL-83690 course: Fix course index label links 2025-01-30 11:19:59 +13:00
ferran d91b897549 MDL-82767 mod_qbank: fix delete action url 2025-01-22 10:35:23 +01:00
ferran fec5bf61f4 MDL-82767 core_courseformat: replace old urls by update urls
Now there is course/format/update.php all course actions menus must
point to the new one instead of keep pointing at the course/view.php and
course/mod.php.
2025-01-22 10:35:23 +01:00
ferran 03c530cc9b MDL-82767 core_courseformat: new update.php to execute actions in course
Since Moodle 4.0, most course edit actions can be executed using the
core_courseformat_course_edit webservice using only four parameters
(courseid, ids, targetsectionid and targetcmid). However, some actions
logic is still replicated and embed in course/view.php and
course/mod.php files since the beginning of time. Now the
course/update.php offers a non-ajax way of executing the same actions
and replace the old replicated ways of doing the same.
2025-01-22 10:35:23 +01:00
Sara Arjona 1627aa8e71 Merge branch 'MDL-83527-main-v02' of https://github.com/ferranrecio/moodle 2025-01-14 09:38:54 +01:00
Sara Arjona 7f114bb370 Merge branch 'MDL-83214-main' of https://github.com/aanabit/moodle 2025-01-14 08:26:57 +01:00
ferran 3a8172a26a MDL-83527 core_courseformat: refactor course editor action menus
As part of the course format cleanup epic, all course editor action menu
output classes needs to be refactored to be more mantainable and
reusable. Also, it added notes for the final deprecation of many lines
of code in Moodle 6.0.
2025-01-13 14:49:46 +01:00
Huong Nguyen 7a5fb9bd78 Merge branch 'MDL-82697' of https://github.com/paulholden/moodle 2024-12-19 10:21:08 +07:00
Amaia Anabitarte e1e282a4b1 MDL-83214 core_course: Make is_delegated consistent 2024-12-16 11:07:32 +01:00
Paul Holden 83dc1912dd MDL-82697 courseformat: fix exception arguments for section limit.
Co-authored-by: James C <5689414+james-cnz@users.noreply.github.com>
2024-12-11 17:46:50 +00:00
Mikel Martín a973ea46d7 MDL-81825 core: Replace sr_text() with visually_hidden_text()
In core renderer, replace 'sr_text' method with 'visually_hidden_text' to be
consistent with Bootstrap 5 upgrade.
2024-12-10 14:02:34 +01:00
Huong Nguyen c77fb0e6e0 Merge branch 'MDL-83473_main' of https://github.com/dasistwas/moodle 2024-11-28 13:23:54 +08:00
Huong Nguyen 8fc0a38df0 Merge branch 'mdl-72526_main' of https://github.com/james-cnz/moodle 2024-11-27 10:02:15 +07:00
jacob.viertel@wunderbyte.at 1773124a97 MDL-83473 course: hooks api for external courses 2024-11-26 09:11:45 +01:00
Shamim Rezaie 0af9b5ca7e Merge branch 'MDL-71378_main' of https://github.com/SimonasAdams/moodle 2024-11-25 18:21:18 +11:00
Huong Nguyen 155c4bd1e8 Merge branch 'MDL-82349-main-v03' of https://github.com/ferranrecio/moodle 2024-11-19 09:51:54 +07:00
Simon Adams 776d1e40e4 MDL-71378 mod_qbank: Add question bank management 2024-11-15 15:18:47 +00:00
James C e43c5eaf6b MDL-72526 course: Make course format output stuff protected, not private 2024-11-14 10:03:44 +13:00
ferran b0683da877 MDL-82349 core_courseformat: new get_generic_section_name method
The string "sectionname" was an unnecessary coupling between
formats and other plugins. Now the generic name for a section
should be obtained using $format->get_generic_section_name.
This allow formats to use an alternative string for nameing
sections. This is especially important for rare formats like
the frontpage one that does not have a plugin lang file.
2024-11-12 12:22:25 +01:00
ferranrecio c5133ddc47 MDL-82349 courseformat: add reactivity to frontpage topic 2024-11-12 12:02:16 +01:00
Laurent David fbe420fc26 MDL-83185 core_courseformat: Refresh cache on group change
* When we add users to a group (or remove them), we should refresh
the course index cache so it stays in sync with what the user
can actually see.
2024-11-11 13:17:27 +01:00
ferran 1f7faa941b MDL-83185 core_courseformat: Allow global state cache invalidation 2024-11-11 13:17:26 +01:00
Mikel Martín 89c30cecd8 MDL-82548 courseformat: Fix courseindex cm anchors
In the course index the course modules links had incorrenct "href" (only the anchor) when
being displayed in a page different than course page. This patch regenerates the href for
cms in the course index when needed.
2024-10-01 11:53:52 +02:00
ferranrecio 37ce4e8ece MDL-82845 course: fix subsection navigation nodes 2024-09-19 11:26:28 +02:00
Sara Arjona b163e9c2d0 Merge branch 'MDL-82541-main' of https://github.com/ferranrecio/moodle 2024-09-16 09:38:35 +02:00
ferranrecio 9795add527 MDL-82541 core_courseformat: improve orphan section visualitzation 2024-09-12 16:52:14 +02:00