114923 Commits

Author SHA1 Message Date
Mikel Martín
eb4c43b387 MDL-81766 courseformat: Fix section page actionmmenu update 2024-07-23 16:32:59 +02:00
Jun Pataleta
bc5a65e444
Merge branch 'MDL-70854-main' of https://github.com/junpataleta/moodle 2024-07-23 17:59:30 +08:00
Jun Pataleta
42aca7aaf7
MDL-70854 core: Simplify querying of unconfirmed users
- Use $DB->count_records_select() and $DB->get_recordset_select()
instead of using full SQL queries.
- Other fixes:
  - Remove unused variable in progress_bar::update_raw()
  - poll_stored_progress tidy-ups:
    - Use validated parameter.
    - Add return types for the external methods.
2024-07-23 17:58:53 +08:00
Conn Warwicker
b92886ad59
MDL-70854 core: Add stored progress bars.
- Alters existing progress_bar class to support extension
    - Adds stored_progress_bar class as child of progress_bar
    - Adds webservice to poll stored progress
    - Updates database tables
    - Bumps version
    - Adds unit/behat tests
2024-07-23 17:58:53 +08:00
Michael Aherne
35cfdf4927 MDL-82554 question: Allow null createdby in question_has_capability_on. 2024-07-23 10:24:35 +01:00
Simey Lameze
753c247bad MDL-82250 core: add web installer test workflow 2024-07-23 13:32:13 +08:00
Andrew Nicols
f5f883ef04
MDL-82427 core_filters: Deprecate filter.php 2024-07-23 11:33:46 +08:00
Andrew Nicols
8d284e3ce0
MDL-82427 core_filters: Coding style tidyup 2024-07-23 11:33:45 +08:00
Andrew Nicols
01f7456a96
MDL-82427 core_filters: Final deprecation of text_filtering_hash 2024-07-23 11:33:45 +08:00
Andrew Nicols
29e7140e30
MDL-82427 filter_*: Move text filters to autoloaded location
Note: No backwards-compatability layer is included for manual inclusion
of filter.php as this is not a public API.  Inclusion should have always
been through the filter manager, and the filter's own unit tests.
2024-07-23 11:33:42 +08:00
Andrew Nicols
534c3e1821
MDL-82427 core_filters: Support autoloading of filters 2024-07-23 11:33:03 +08:00
Andrew Nicols
fe3b13d51a
MDL-82427 core_filters: Update name of external service class 2024-07-23 11:33:03 +08:00
Andrew Nicols
16456220cd
MDL-82427 core: Update namespace of core_filters classes 2024-07-23 11:33:03 +08:00
Andrew Nicols
ae2f69a898
MDL-82427 core_filters: Move filter classes to autoloading 2024-07-23 11:32:09 +08:00
Jun Pataleta
4cdd0459b4
Merge branch 'MDL-77167_remove-deprecation-layer-for-mdl-70990-yui-events' of https://github.com/ziegenberg/moodle 2024-07-23 10:36:57 +08:00
Shamim Rezaie
eb2b5875ef MDL-80752 mod_assign: Move action menu to the action bar on grading page
Also, move the "Download all submissions" button into the action menu.
2024-07-23 00:12:45 +10:00
Paul Holden
aca7b96e9e
Merge branch 'MDL-82529' of https://github.com/dravek/moodle into main 2024-07-22 12:36:40 +01:00
Mikel Martín
2a01a188a1 MDL-81766 courseformat: Fix hide addsection in delegated sections
Delegated sections should not render the add new section button at
the bottom of them.
2024-07-22 13:34:45 +02:00
Mikel Martín
c51989d649 MDL-81766 courseformat: Fix bulk actions for delegated sections
Disable bulk editing for delegated sections and fix some styles related to it.
2024-07-22 13:34:45 +02:00
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
djarrancotleanu
183af158b7 MDL-82187 core: Add default type for single button in template 2024-07-22 07:04:09 +10: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
Daniel Neis Araujo
92e10322d4 MDL-76242 core_contentbank: Hide/show unlisted content 2024-07-19 12:29:45 -03: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