114849 Commits

Author SHA1 Message Date
Mikel Martín
b18db24552 MDL-81766 courseformat: Fix delegated section headers display
Section specific page was not prepared to display another sections in
it. Fixed some of its logic to handle other section's headers inside.
2024-07-22 13:34:45 +02:00
Mikel Martín
d77b20b65f MDL-81766 courseformat: Fix last activity dropzone
When using drag and drop with activities and subsection combination, the dropzone
of the last element was incorrectly calculated. Fixed the 'getLastCm()' function.
2024-07-22 13:34:45 +02:00
Mikel Martín
572d45c885 MDL-81766 course: Fix activity name inplace editor selector
Fix name inplace editor for course modules by updating the selector
to a more specific one.
2024-07-22 13:34:45 +02:00
Paul Holden
08f6023657
Merge branch 'MDL-82512' of https://github.com/dravek/moodle into main 2024-07-22 12:31:21 +01:00
Jun Pataleta
0b9660a43f
MDL-82553 behat: Run accessibility tests using WCAG 2.2 success criteria 2024-07-22 14:36:10 +08:00
Jun Pataleta
dc12e44bd4
MDL-82551 core: Set welcome message heading to level 1 2024-07-22 14:20:37 +08:00
Laurent David
4fe100f161 MDL-73232 core_courseformat: Inform user when reaching section max
* Disable the Add new Section button when max has been reached
* It also grays out the (+) button between sections and display a tooltip
* When adding a new section via the (+) button between section
should add a section with the (+) (add) button disabled.
2024-07-22 07:58:54 +02:00
Huong Nguyen
7222619857
Merge branch 'MDL-82476-main' of https://github.com/sarjona/moodle 2024-07-22 10:43:54 +07:00
Huong Nguyen
6559850be1
Merge branch 'MDL-82481' of https://github.com/paulholden/moodle 2024-07-22 10:40:18 +07:00
Huong Nguyen
b8831f566b
Merge branch 'MDL-82193-main' of https://github.com/ericmerrill/moodle 2024-07-22 09:39:15 +07:00
Ilya Tregubov
be60012bf9 Merge branch 'MDL-82499-main' of https://github.com/micaherne/moodle 2024-07-22 09:42:20 +08:00
Ilya Tregubov
41e56064e8 Merge branch 'MDL-70983-main' of https://github.com/sarjona/moodle 2024-07-22 09:36:24 +08:00
Ilya Tregubov
9d6c63136e Merge branch 'MDL-72354-main' of https://github.com/sarjona/moodle 2024-07-22 09:34:28 +08:00
AMOS bot
828e9bd87e Automatically generated installer lang files 2024-07-21 00:07:45 +00:00
Daniel Ziegenberg
c3df4078e8
MDL-77167 javascript: Remove deprecation layer for YUI Events
The deprecation layer was introduced with MDL-70990.

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2024-07-19 17:51:45 +02:00
David Carrillo
730c5413ce
MDL-82512 files: Add Author filter to files Report Builder entity 2024-07-19 17:09:58 +02:00
Paul Holden
26c42bf02d
MDL-58287 courseformat: ensure all format plugins are returned. 2024-07-19 15:21:19 +01:00
David Carrillo
78153dd73a
MDL-82529 cohort: Add custom field filters to Cohorts system report 2024-07-19 15:22:31 +02:00
David Carrillo
5c135b614d
MDL-82529 reportbuilder: Move functions from datasource to base class
- Methods add_columns_from_entity(), add_filters_from_entity() and
report_element_search() have been moved from
\core_reportbuilder\datasource class to \core_reportbuilder\base class
in order to be available also for system reports
2024-07-19 15:22:31 +02:00
Paul Holden
c99c9c1b5a
MDL-82528 courseformat: switch to existing group action icon.
Use a version that already exists in our fontawesome mapping so it
can be consistently styled/overridden.
2024-07-19 12:54:13 +01:00
Sara Arjona
807563a893
Merge branch 'MDL-82510-main' of https://github.com/aanabit/moodle 2024-07-19 13:04:02 +02:00
Sara Arjona
fc59fe647b
Merge branch 'MDL-81119-forced-config' of https://github.com/bwalkerl/moodle 2024-07-19 12:37:07 +02:00
Paul Holden
1796c95b55
MDL-72424 mod_feedback: deprecate old role switching check method.
It doesn't appear to have ever worked. Any conditional code based
on the result of calling this method has also been removed.
2024-07-19 11:18:35 +01:00
Paul Holden
892b68d58c
MDL-80669 reportbuilder: improved reporting of custom/profile fields.
Make the display of both custom and user profile fields consistent in
column callbacks. The defaults for each should be considered when both
rendering the column data and also when aggregating them (specifically
for numeric columns to ensure calculations are accurate).

When such fields are filtered, and they have user defined default
values then we should also take that into account to ensure that the
same values rendered in columns can always be filtered for.

During this change, I've updated some of the variables to improve
readability and future maintainability of these classes. Annoyingly
there are a non-zero number of changes just for Oracle support.
2024-07-19 10:48:12 +01:00
Paul Holden
c10610d035
MDL-82466 completion: format time duration in report entity columns.
Where the previous output was simple count of days, switch to using
the new format helper to return a time duration.

AMOS BEGIN
 CPY [daystakingcourse,core_course],[daystakingcourse,core_completion]
AMOS END
2024-07-19 10:34:00 +01:00
Paul Holden
8426610258
MDL-82466 reportbuilder: new format helper for formatting time. 2024-07-19 10:33:57 +01:00
Sara Arjona
b2f66d477b
MDL-70983 badges: Remove OBv1.0 support
The only backpack implementing OBv1.0 was Mozilla Backpack. It closed
in 2019 and their badges were moved to https://backpack.openbadges.org/
by Badgr.
However, as Badgr is supporting OBv2.0 too, it makes no sense keep OBv1.0
implementation in Moodle: it has caused some issues and over-complicates
current code.
2024-07-19 10:39:38 +02:00
Jun Pataleta
9a8cc133d5
MDL-82540 core: Use an empty check for $CFG->debugdisplay 2024-07-19 16:24:49 +08:00
Sara Arjona
1a74342bf4
MDL-72354 badges: Fix behat tests 2024-07-19 09:41:38 +02:00
Huynh
879901ef24
MDL-72354 badges: Show always issuer details when creating badges
Co-author: Huynh Nguyen
2024-07-19 09:41:38 +02:00
Sara Arjona
088cba3844
MDL-82476 theme: Remove non-SVG icons
Most of the PNG/JPG/GIF icons in the pix folder are redundant if an SVG
file is available, so they have been removed to simplify maintenance.

This commit removes all redundant icons from the pix/ folder. Additional
redundant icons in the icons/ folder will be addressed separately while
reviewing the FontAwesome icons and their SVG versions.
2024-07-19 09:39:38 +02:00
Amaia Anabitarte
8596d3cd7c MDL-82146 report_log: Add subsections to activity filter 2024-07-19 08:38:12 +02:00
Amaia Anabitarte
ec050bbee7 MDL-82146 core_output: Add disabled parameter to select element 2024-07-19 08:38:12 +02:00
Amaia Anabitarte
ff6edc2e9f MDL-82510 course: Add new delegated action menu 2024-07-19 08:27:10 +02:00
Benjamin Walker
476cf5a282 MDL-81119 tool_recyclebin: Stop overriding unrelated forced config 2024-07-19 14:37:19 +10:00
Ilya Tregubov
554a790bf0 weekly release 4.5dev 2024-07-19 09:30:19 +08:00
Ilya Tregubov
fdfdd02639 NOBUG: Add upgrade notes 2024-07-19 09:30:19 +08:00
Leon Stringer
617013e13c MDL-82530 core: Fix spelling 2024-07-18 14:49:48 +01:00
Paul Holden
e8410c844e
MDL-82481 customfield_select: return field options pre-formatted. 2024-07-18 14:03:16 +01:00
Paul Holden
c2d73d6e53
MDL-82481 reportbuilder: re-use existing method for field options. 2024-07-18 14:03:16 +01:00
Paul Holden
83db25c330
MDL-82527 h5p: improve editor Behat scenarios for embedding content.
* Move the shared drag fixture out of the Atto plugin;
* Switch to using faster generators for populating private files;
* Clarify required fields for private files generator
2024-07-18 09:15:51 +01:00
Huong Nguyen
7d5a31992a
Merge branch 'MDL-82287-main-fix' of https://github.com/lameze/moodle 2024-07-18 13:04:27 +07:00
lameze
d04a05b98f MDL-82287 phpunit: use the correct component 2024-07-18 13:53:17 +08:00
Jun Pataleta
cb8208ca77
Merge branch 'MDL-82505-main' of https://github.com/HuongNV13/moodle 2024-07-18 12:51:06 +08:00
Jun Pataleta
5b68ba9eee
Merge branch 'MDL-75864-main' of https://github.com/meirzamoodle/moodle 2024-07-18 12:48:03 +08:00
Huong Nguyen
c124b23784
MDL-82505 calendar: more precise matching of calendar day partial
The partial name selector points to the parent element,
but the Javascript code monitors the child element.
We need to make it consistent
2024-07-18 11:38:13 +07:00
Andrew Nicols
13bf6748f7
Merge branch 'MDL-82309' of https://github.com/paulholden/moodle 2024-07-18 11:58:06 +08:00
Andrew Nicols
ac308a0cdf
Merge branch 'MDL-26675-main' of https://github.com/meirzamoodle/moodle 2024-07-18 11:44:42 +08:00
Ilya Tregubov
acbcb83a7c Merge branch 'MDL-82445-main' of https://github.com/andrewnicols/moodle 2024-07-18 11:37:15 +08:00
Andrew Nicols
d96e7816d1
Merge branch 'MDL-81932-main' of https://github.com/safatshahin/moodle 2024-07-18 11:29:33 +08:00