Commit Graph

347 Commits

Author SHA1 Message Date
Huong Nguyen 616341f6b3 Merge branch 'MDL-85419-500' of https://github.com/sharpchi/moodle into MOODLE_500_STABLE 2025-09-26 08:46:54 +07:00
Mihail Geshoski 7ab3565b4c Merge branch 'mdl-83857_500' of https://github.com/james-cnz/moodle into MOODLE_500_STABLE 2025-09-19 09:54:02 +08:00
Shamim Rezaie fbd05827c9 Merge branch 'MDL-86021-500' of https://github.com/laurentdavid/moodle into MOODLE_500_STABLE 2025-09-19 10:49:34 +10:00
James C f3b9b01401 MDL-83857 course: Use set_sectionid not num 2025-09-19 11:39:35 +12:00
ferran c568d9db64 MDL-86021 core_course: Sort modules in the course listing order
When sections contains submodules, the list of course modules should appear
in the right order (the order displayed in the course page)
2025-09-18 12:24:14 +02:00
Amaia Anabitarte fc84a849d5 MDL-86173 grade: Checking the grade item is gradable 2025-09-17 16:16:56 +02:00
Mark Sharp e0f02aab9e MDL-85419 core_courseformat: Move event trigger to after cm cache purge 2025-09-08 10:01:03 +01:00
Andrew Nicols bf18273a08 MDL-85897 core: Move all deprecations to emit_deprecation 2025-07-30 13:53:27 +08:00
Jake Dallimore 9c31818311 MDL-85341 core: remove unnecessary sesskey from module controlmenu items
This impacts those items using basemodurl:
- edit item
- move item
neither of which need sesskey at this stage as changes aren't being made
yet.
2025-05-02 09:55:37 +08:00
James C 765f2ded25 MDL-83994 course: Respect course_can_delete_section() in AJAX 2025-04-11 12:54:47 +10:00
Jun Pataleta 288bc09ef4 Merge branch 'mdl-84979_main' of https://github.com/james-cnz/moodle 2025-04-02 16:21:33 +08:00
James C 0a6414f91f MDL-84979 course: Correct course format update parameters 2025-03-25 19:17:35 +13:00
Andrew Nicols 56453a8556 Merge branch 'MDL-83469-main' of https://github.com/ferranrecio/moodle 2025-03-25 10:46:57 +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 7eab909866 MDL-84555 core_courseformat: adding icon colors to activities page 2025-03-24 16:49:53 +01:00
Andrew Nicols 3e5795fd8a Merge branch 'MDL-84936' of https://github.com/marinaglancy/moodle 2025-03-21 08:34:30 +08:00
ferran 9428131e56 MDL-83469 core_courseformat: alternative new_module actions
The previous create_module actions uses section number instead of
section id. This produces several bugs when sections are moved around
the course in edit mode. This issue implements a new_module action with
all related mutations and webservices. The new one uses section id
instead of section number.
2025-03-20 18:23:00 +01:00
Marina Glancy b41fa6ceb5 MDL-84936 core_courseformat: fix arguments of deprecated functions 2025-03-19 12:37:18 +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
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