6884 Commits

Author SHA1 Message Date
Sara Arjona
1643b2110e
Merge branch 'MDL-80418-main' of https://github.com/aanabit/moodle 2024-01-22 16:13:46 +01:00
Ferran Recio
f4adbc8a11 MDL-79029 behat: replace deprecated behat steps 2024-01-22 11:12:28 +01:00
Ferran Recio
a15f0a857b MDL-79029 behat: new add activity steps 2024-01-22 11:12:28 +01:00
Jun Pataleta
412db652c7
Merge branch 'MDL-80461-main' of https://github.com/sarjona/moodle 2024-01-22 16:17:21 +08:00
Jun Pataleta
e7a947846d
Merge branch 'MDL-80248-main' of https://github.com/sarjona/moodle 2024-01-22 15:24:12 +08:00
Jun Pataleta
21b39e2f53
Merge branch 'MDL-74238' of https://github.com/paulholden/moodle 2024-01-22 15:03:28 +08:00
Sara Arjona
9e25f21164
MDL-80248 course: Deprecate get/set_section_number()
The methods core_courseformat\base::set_section_number() and
core_courseformat\base:: get_section_number() have been deprecated
and replaced by core_courseformat\base::set_sectionnum() and
core_courseformat\base::get_sectionnum().
The new methods use the null value when all the sections must be
displayed (instead of 0). That way, section 0, can be displayed on
a single page too.
2024-01-19 12:03:37 +01:00
Sara Arjona
800ddf513d
MDL-80248 behat: Fix behat tests 2024-01-19 12:03:36 +01:00
Sara Arjona
e6f75b59a3
MDL-80248 course: Display only content for the General section 2024-01-19 12:03:36 +01:00
Matthias Opitz
76f5232c94 MDL-79988 course: checking for cached empty modnames
Check if empty modnames have been cached and if so retrieve them again.
2024-01-19 09:38:47 +00:00
Mikel Martín
d98c7eda66 MDL-80396 theme: Refactor media helper class dropped in BS5 2024-01-19 10:38:38 +01:00
Sara Arjona
2a708f985a
MDL-80461 courseformat: Use choicedropdown for the format setting
In MDL-79985 a new form element was created to display a new generic
dropdown with extra information like a description or an icon on each
option.

This commits replaces the select for the course format form element in
the Course settings page with this new component.
2024-01-19 09:37:42 +01:00
Sara Arjona
69ee5c3395
MDL-80461 courseformat: Fix tests after replacing topic/week 2024-01-19 08:53:18 +01:00
Sara Arjona
0c71612294
MDL-80461 courseformat: Deprecate unused strings for topics and weeks 2024-01-19 08:53:17 +01:00
Sara Arjona
785d3fd1e7
MDL-80461 courseformat: Replace topics and weeks with section
After UX research, the conclusion is that all formats should use "section"
and not try to use alternative terms such as topic or week.

This commit replaces topic and week references with section. A couple of
considerations:

- Most of the strings in topics and weeks formats have been removed. In that
particular case it's not required to follow the deprecation process because
they will be using the generic ones defined in moodle or courseformat.
- The sectionname will be renamed from "Topic"/"Week" to "New section" in
MDL-80460.
2024-01-19 08:53:16 +01:00
Sara Arjona
ff519c1f65
Merge branch 'MDL-80187-main' of https://github.com/ferranrecio/moodle 2024-01-17 17:33:12 +01:00
Ferran Recio
557099a81e MDL-80187 core_courseformat: create and delete section methods 2024-01-17 10:39:13 +01:00
Ferran Recio
141568c30d MDL-80187 core_courseformat: format action classes 2024-01-17 10:39:12 +01:00
Amaia Anabitarte
4e6d39f539 MDL-80418 core_course: Homogenize titles in modedit 2024-01-15 12:56:16 +01:00
Johnny Tsheke
957edb8ed3 MDL-79519 course: remove null to use the default value. 2024-01-12 20:31:10 -05:00
Paul Holden
b530b1f436
MDL-70058 customfield: reference field element names correctly.
In the course external create/update methods, we must ensure that
the correct form element names are used. Specifically because the
textarea field type uses non-standard name.
2024-01-12 10:29:19 +00:00
Jun Pataleta
d077ba647d
Merge branch 'MDL-80313' of https://github.com/stronk7/moodle 2024-01-11 11:32:40 +08:00
Sara Arjona
502e1a8329
Merge branch 'MDL-71732' of https://github.com/paulholden/moodle 2024-01-10 17:00:02 +01:00
Sara Arjona
53a9613bab
Merge branch 'MDL-80014' of https://github.com/paulholden/moodle 2024-01-10 16:10:08 +01:00
Eloy Lafuente (stronk7)
22831808cd
MDL-80313 behat: remove dupe type attribute
Because of https://github.com/Masterminds/html5-php/issues/242

that duplicate attribute is causing problems. As far as we don't
need it, we proceed to remove leaving only the type=submit that
will make NonJS behat tests (BrowserKit) happy.
2024-01-05 18:57:48 +01:00
Sara Arjona
58285c6afb
Merge branch 'MDL-80186-main' of https://github.com/ferranrecio/moodle 2024-01-02 13:27:27 +01:00
Paul Holden
7298d0762a
MDL-74238 completion: final removal of deprecated navigation methods. 2023-12-21 15:32:05 +00:00
Huong Nguyen
1b106e1c69 Merge branch 'MDL-78940-main' of https://github.com/lameze/moodle 2023-12-21 08:46:50 +07:00
Shamim Rezaie
494064288c Merge branch 'MDL-80318-master' of https://github.com/jleyva/moodle 2023-12-21 01:13:20 +11:00
Ferran Recio
837dc7e852 MDL-80186 course: adding new fields to delegate sections logic 2023-12-20 12:02:51 +01:00
Jun Pataleta
92512426a5
Merge branch 'MDL-79786-main' of https://github.com/rmady/moodle 2023-12-18 13:08:54 +08:00
Simey Lameze
af453412e2 MDL-78940 course: create social forum using event observers
This commit also convert manual steps to create discussions on the
Social forum to use data generators.
2023-12-18 09:16:24 +08:00
Ilya Tregubov
73cfb3b5cd Merge branch 'MDL-72656-main' of https://github.com/sarjona/moodle 2023-12-14 08:56:33 +08:00
Sara Arjona
0c699e9e06
Merge branch 'MDL-74778-main' of https://github.com/roland04/moodle 2023-12-13 17:44:22 +01:00
Paul Holden
bf39fc43b4
MDL-80014 reportbuilder: entity method to retrieve all table aliases. 2023-12-13 10:06:19 +00:00
Sara Arjona
2abd1a212d
Merge branch 'MDL-77572_master' of https://github.com/santoshndev/moodle 2023-12-12 17:58:48 +01:00
Santosh Nagargoje
1c5445c6e6 MDL-77572 Course: Added fix for section,activity visibility capabilities 2023-12-12 22:01:46 +05:30
Sara Arjona
165aa2c318
MDL-72656 course_format: Final deprecation for renderers 2023-12-11 09:00:13 +01:00
Paul Holden
3dec3fb8ce
MDL-79397 reportbuilder: update reports to use auto-generated aliases.
We no longer need to be concerned about the manual setting of entity
table aliases (e.g. to avoid duplication between entities, or for using
a single entity multiple times), as it's handled transparently for us.
2023-12-07 17:19:01 +00:00
Paul Holden
7143cf4cbc
MDL-79397 reportbuilder: update existing entity table definitions. 2023-12-07 17:19:01 +00:00
Huong Nguyen
39a7a380c9 Merge branch 'MDL-79061-main-2' of https://github.com/junpataleta/moodle 2023-12-07 09:52:11 +07:00
Jun Pataleta
d953068659
MDL-79061 course: Create a sr-only mutations logger
* Create SRLogger that extends from the default Logger class. This
logger outputs the feedback to a sr-only ARIA live region to allow
screen readers to announce the feedback from mutations.
* Update the course editor to use the SRLogger.
2023-12-07 10:43:28 +08:00
Ferran Recio
d8c0e1880f
MDL-79061 core: Mechanism for logging mutation feedbacks
* Create a mechanism for logging mutation feedbacks.
* The mutation feedbacks are displayed as a toast by default.
* Apply this logging mechanism on the course homepage to provide
feedback for the results of actions performed on course modules and
course sections.
2023-12-07 10:43:28 +08:00
Huong Nguyen
d7416db402 Merge branch 'MDL-68652-master-1' of https://github.com/ilyatregubov/moodle 2023-12-07 09:31:05 +07:00
Jun Pataleta
030def7a46
Merge branch 'MDL-80079-master' of https://github.com/andrewnicols/moodle 2023-12-06 21:59:47 +08:00
Ilya Tregubov
faae0874ce MDL-68652 mod_forum: Only include gradable users in grading 2023-12-06 21:11:28 +08:00
Sara Arjona
ac573defdd
Merge branch 'MDL-80015-main' of https://github.com/roland04/moodle 2023-12-05 15:51:21 +01:00
Mikel Martín
cc8d4b1358 MDL-74778 course: Final removal of format.js
The format.js files in format weeks and format topic were deprecated
since 4.0.
Removing those files and code occurrences.
2023-12-04 12:40:39 +01:00
Juan Leyva
5b61a10040 MDL-80318 course: Always check provider when using comm API in WS 2023-12-04 12:04:04 +01:00
Jun Pataleta
04bc690557
Merge branch 'MDL-80221-main-enfix' of https://github.com/mudrd8mz/moodle 2023-12-04 16:12:07 +08:00