Commit graph

396 commits

Author SHA1 Message Date
Sara Arjona
5075be8ecd
Merge branch 'MDL-83562-main-v02' of https://github.com/ferranrecio/moodle 2025-02-01 00:20:37 +08:00
Sara Arjona
70bba6e9b2
Merge branch 'mdl-82679_main_wip' of https://github.com/james-cnz/moodle 2025-02-01 00:20:37 +08:00
ferran
fc35470f25 MDL-83562 core_courseformat: deprecate movehere actions 2025-01-30 13:21:24 +01:00
James C
52e458d91a MDL-82679 course: Prevent collapsable sections conflicting 2025-01-30 22:38:20 +13:00
Huong Nguyen
d6765a4a50
Merge branch 'MDL-79281_main' of https://github.com/cwarwicker/moodle 2025-01-30 11:13:07 +07:00
Sara Arjona
6b4f794a79
Merge branch '83617-fix-grader-report-url-main' of https://github.com/DSI-Universite-Rennes2/moodle 2025-01-29 08:00:41 +01:00
Sara Arjona
e14629243e
Merge branch 'MDL-79907-main' of https://github.com/andrewgos/moodle 2025-01-29 07:46:31 +01:00
Huong Nguyen
bb72db2074
Merge branch 'MDL-82767-main-v03' of https://github.com/ferranrecio/moodle 2025-01-23 11:18:50 +07:00
Huong Nguyen
5fbd4b6555
Merge branch 'MDL-83869-main' of https://github.com/ferranrecio/moodle 2025-01-23 11:15:26 +07:00
Jun Pataleta
2beee5c41e
Merge branch 'MDL-83848-main-v2' of https://github.com/lameze/moodle into MDL-83848-main-test 2025-01-23 12:13:41 +08:00
Huong Nguyen
40fd9b8d22
Merge branch 'main_MDL-82977' of https://github.com/mattporritt/moodle 2025-01-23 09:36:50 +07:00
Simey Lameze
5af7da720b MDL-83848 core: unpin behat/gherkin dependency
This commit reverts 57dc5a7f17297c2a0dcffd47b3aecf5e1c228a713 "MDL-83470 composer: Require behat/gherkin 4.9.0 for now"
unpin behat/gherkin and fix Behat failures because of the update.
2025-01-23 10:31:30 +08:00
Jun Pataleta
de6f1dfe4c
Merge branch 'MDL-83035-main' of https://github.com/lameze/moodle 2025-01-22 21:55:43 +08:00
ferran
46318e53d0 MDL-83869 output: new collapsable section component 2025-01-22 11:36:27 +01:00
ferran
a438da66ca MDL-82767 core_courseformat: deprecate edits in mod.php and view.php
Most edit logic embed directly into course/view.php and course/mod.php
is now redirected to course/format/update.php. This commit add
deprecations messages to the old get params so it can be removed in
Moodle 6.0 for good.
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
Matt Porritt
368114c7cd MDL-82977 AI: Provider instances
Create provider instances for AI povider plugins.
Each provider plugin can now have multiple instances,
allowing for different configurations and models using
the same base provider.
2025-01-22 08:43:13 +11:00
Daniel Ziegenberg
08ca969323
MDL-83035 behat: deprecate admin presets behat steps
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2025-01-21 13:39:42 +01:00
Laurent David
95c780ac2f MDL-83339 course_format: Unify init params for course editor
* Replace all selectors based on ID (getElementById) by querySelector
* Replaces element-id by '#element-id' in the init method
2025-01-21 07:12:04 +01:00
Conn Warwicker
d67a106192
MDL-79281 core_question: Remove 'deleteall' param from edit page.
This removes the setting of the 'deleteall' param to every link
on the question edit page and inserts it into the url based
on if we actually want to delete all versions or not.
2025-01-20 14:22:20 +00:00
Julien Boulen
5aa26f647c MDL-83617 gradereport_grader: Fix URL encoding
When changing the number of grades per page, the redirect url was encoded twice.
2025-01-20 10:45:32 +01:00
Jun Pataleta
d0a31f104a
Merge branch 'MDL-83172-main' of https://github.com/meirzamoodle/moodle 2025-01-15 17:02:12 +08:00
Sara Arjona
8d429bc55b
Merge branch 'MDL-82866-main' of https://github.com/lameze/moodle 2025-01-14 14:22:20 +01:00
Simey Lameze
fc5c0ad3e5 MDL-82866 behat: deprecate the old lp step and class 2025-01-14 19:20:00 +08:00
Sara Arjona
1627aa8e71
Merge branch 'MDL-83527-main-v02' of https://github.com/ferranrecio/moodle 2025-01-14 09:38:54 +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
meirzamoodle
c26cc0e005 MDL-83172 dml: Remove Oracle from LMS 2025-01-13 17:11:55 +07:00
Andrew Nicols
189bf3074f
MDL-83968 core: Move router test classes to correct locations 2025-01-13 14:16:49 +08:00
Sara Arjona
208ea091f0
Merge branch 'MDL-83725-main' of https://github.com/ferranrecio/moodle 2025-01-08 13:46:36 +01:00
ferran
41acfca9a8 MDL-83725 theme: dynamic activity icons colors
Now themes can change the activity purpose colors using only the
$activity-icon-XXXX-bg scss variables. The filter is not computed using
a sass mixin intead of a custom filter.
2025-01-08 11:02:42 +01:00
sarjona
f33f4222b6 Merge branch 'MDL-83917' of https://github.com/pedrojordao/moodle 2025-01-08 07:16:22 +01:00
Huong Nguyen
173e502dd4
Merge branch 'MDL-79122_main' of https://github.com/cwarwicker/moodle 2025-01-08 09:25:44 +07:00
Pedro Jordao
e1688e7094 MDL-83917 core_completion: Create function count_modules_completed
The function returns the number of modules completed by a user and
executes a COUNT aggregate function to avoid running many queries
to obtain this information, aiming to optimize performance.

Co-authored-by: Carlos Castillo <carlos.castillo@moodle.com>
2025-01-07 22:16:46 -03:00
ferran
22935259c1
MDL-82342 core_course: deprecate old course edit webservices
Both core_course_edit_section and core_course_edit_module are not needed
anymore. All course edit actions are now executed as state actions from
core_courseformat_update_course. Also, the core_course_get_module is
fully replaced by the core_courseformat cmitem fragment (including also
any possible JS module).
2024-12-23 11:28:17 +01:00
Sara Arjona
84f561189a
Merge branch 'MDL-82341-main' of https://github.com/ferranrecio/moodle 2024-12-23 11:19:57 +01:00
ferran
751dcbb4b9 MDL-82341 core_course: deprecate yui modules 2024-12-20 12:22:45 +01:00
Huong Nguyen
94b45207e9
Merge branch 'MDL-83516-main-2' of https://github.com/meirzamoodle/moodle 2024-12-19 11:06:23 +07:00
Andrew Nicols
84532b7667
MDL-83705 core: Update subplugins.json relative to plugin 2024-12-19 09:03:00 +07:00
meirzamoodle
508e77a208 MDL-83516 tool_mfa: Improve the factors management table 2024-12-18 10:07:13 +07:00
Jun Pataleta
6120f12c10
Merge branch '79121-normalize-proxy-bypass-main' of https://github.com/DSI-Universite-Rennes2/moodle 2024-12-18 10:56:00 +08:00
Huong Nguyen
28cd1d99e0
Merge branch 'MDL-84000' of https://github.com/paulholden/moodle 2024-12-18 09:03:50 +07:00
Sara Arjona
f2c9419a56
Merge branch 'MDL-71472_deprecate-add_select_with_email' of https://github.com/ziegenberg/moodle 2024-12-17 13:15:54 +01:00
Paul Holden
0fe0fc675c
MDL-84000 reportbuilder: move testcase helper to autoloaded namespace.
Clean up some class imports while we're at it.
2024-12-17 08:19:38 +00:00
Sara Arjona
3dbf243303
Merge branch 'MDL-83361' of https://github.com/paulholden/moodle 2024-12-17 08:00:16 +01:00
Huong Nguyen
eb2be9fede
Merge branch 'MDL-77713' of https://github.com/cwarwicker/moodle 2024-12-17 09:11:56 +07:00
Julien Boulen
67d0069dad MDL-79121 lib: Normalize proxybypass value
This changes prevent the admin to define an incorrect proxybypass value.

Dropped out formats in MDL-74289 are now fixed automatically.
e.g.: "192.168." becomes "192.168.0.0/16" and ".domain.tld" becomes "*.domain.tld".
2024-12-16 15:54:52 +01:00
Huong Nguyen
3cbad54d6a
Merge branch 'MDL-83859_main' of https://github.com/marxjohnson/moodle 2024-12-16 10:46:52 +07:00
Huong Nguyen
860bb57497
Merge branch 'MDL-83703-main' of https://github.com/andrewnicols/moodle 2024-12-16 10:07:57 +07:00
Huong Nguyen
bb3cda8b64
Merge branch 'MDL-75075-master' of https://github.com/NashTechOpenUniversity/moodle 2024-12-16 09:50:12 +07:00