Paul Holden [Fri, 9 Feb 2024 13:15:18 +0000 (13:15 +0000)]
MDL-80858 customfield_number: new field type for numeric data.
Provide field type to allow for number type data to be stored and
presented within those components that already support custom fields.
This is especially useful for reporting purposes.
Jun Pataleta [Fri, 26 Jul 2024 05:35:25 +0000 (13:35 +0800)]
weekly release 4.5dev
Jun Pataleta [Fri, 26 Jul 2024 05:35:25 +0000 (13:35 +0800)]
NOBUG: Add upgrade notes
Jun Pataleta [Fri, 26 Jul 2024 05:35:06 +0000 (13:35 +0800)]
NOBUG: Fixed SVG browser compatibility
Jun Pataleta [Fri, 26 Jul 2024 05:35:04 +0000 (13:35 +0800)]
Merge branch 'install_main' of https://git.in.moodle.com/amosbot/moodle-install
Jun Pataleta [Fri, 26 Jul 2024 05:20:53 +0000 (13:20 +0800)]
Merge branch 'MDL-82373-main' of https://github.com/andrewnicols/moodle
Andrew Nicols [Fri, 26 Jul 2024 04:33:30 +0000 (12:33 +0800)]
MDL-82373 core_message: Make message drawer router behat-aware
The drawer router was modifying the DOM in a variety of ways and hiding
content, without any pendingJS checks. As a result, there were cases
where a part of the UI was not visible, but had been rendered and was in
the DOM.
This change wraps the router Go method in a pendingJS call that only
resolves when the router transition completes.
Additionally the lazy load manager had a similar issue.
Huong Nguyen [Thu, 25 Jul 2024 04:08:54 +0000 (11:08 +0700)]
Merge branch 'MDL-81766-main-clr02' of https://github.com/ferranrecio/moodle
Huong Nguyen [Thu, 25 Jul 2024 04:01:56 +0000 (11:01 +0700)]
Merge branch 'MDL-80669' of https://github.com/paulholden/moodle
Huong Nguyen [Thu, 25 Jul 2024 03:48:24 +0000 (10:48 +0700)]
Merge branch 'MDL-82527' of https://github.com/paulholden/moodle
Huong Nguyen [Thu, 25 Jul 2024 03:41:22 +0000 (10:41 +0700)]
Merge branch 'MDL-82530-spelling' of https://github.com/leonstr/moodle
Huong Nguyen [Thu, 25 Jul 2024 03:35:45 +0000 (10:35 +0700)]
Merge branch 'MDL-82328' of https://github.com/paulholden/moodle
Jun Pataleta [Thu, 25 Jul 2024 03:31:53 +0000 (11:31 +0800)]
Merge branch 'MDL-82373-main' of https://github.com/andrewnicols/moodle
Huong Nguyen [Thu, 25 Jul 2024 03:29:23 +0000 (10:29 +0700)]
Merge branch 'MDL-58287' of https://github.com/paulholden/moodle
Jun Pataleta [Thu, 25 Jul 2024 03:02:52 +0000 (11:02 +0800)]
Merge branch 'MDL-77706-main' of https://github.com/andrewnicols/moodle
Huong Nguyen [Thu, 25 Jul 2024 02:20:14 +0000 (09:20 +0700)]
Merge branch 'MDL-73232-main' of https://github.com/laurentdavid/moodle
Huong Nguyen [Thu, 25 Jul 2024 02:17:07 +0000 (09:17 +0700)]
Merge branch 'MDL-82553-main' of https://github.com/junpataleta/moodle
Huong Nguyen [Thu, 25 Jul 2024 02:10:45 +0000 (09:10 +0700)]
Merge branch 'MDL-82225' of https://github.com/paulholden/moodle
Shamim Rezaie [Thu, 25 Jul 2024 02:07:02 +0000 (12:07 +1000)]
Merge branch 'MDL-82540-main' of https://github.com/junpataleta/moodle
Huong Nguyen [Thu, 25 Jul 2024 01:58:19 +0000 (08:58 +0700)]
Merge branch 'MDL-81888-main-v02' of https://github.com/ferranrecio/moodle
Shamim Rezaie [Thu, 25 Jul 2024 01:52:30 +0000 (11:52 +1000)]
Merge branch 'MDL-82551-main' of https://github.com/junpataleta/moodle
Huong Nguyen [Thu, 25 Jul 2024 01:49:45 +0000 (08:49 +0700)]
Merge branch 'MDL-82554-main' of https://github.com/micaherne/moodle
Huong Nguyen [Thu, 25 Jul 2024 01:43:36 +0000 (08:43 +0700)]
Merge branch 'MDL-82451-main' of https://github.com/aanabit/moodle
Huong Nguyen [Thu, 25 Jul 2024 01:36:27 +0000 (08:36 +0700)]
Merge branch 'MDL-82422-main' of https://github.com/andelacruz/moodle
AMOS bot [Thu, 25 Jul 2024 00:08:11 +0000 (00:08 +0000)]
Automatically generated installer lang files
Amaia Anabitarte [Wed, 24 Jul 2024 08:40:07 +0000 (10:40 +0200)]
MDL-82451 course: Switch hide/show icons for section action menu
Jun Pataleta [Wed, 24 Jul 2024 08:57:56 +0000 (16:57 +0800)]
Merge branch 'MDL-81803' of https://github.com/paulholden/moodle
Jun Pataleta [Wed, 24 Jul 2024 07:05:43 +0000 (15:05 +0800)]
Merge branch 'MDL-82289' of https://github.com/paulholden/moodle
Angelia Dela Cruz [Tue, 16 Jul 2024 08:11:59 +0000 (16:11 +0800)]
MDL-82422 mod_workshop: Behat for how strict assessment comparison is
Huong Nguyen [Wed, 24 Jul 2024 05:10:28 +0000 (12:10 +0700)]
Merge branch 'MDL-82466' of https://github.com/paulholden/moodle
Huong Nguyen [Wed, 24 Jul 2024 05:06:54 +0000 (12:06 +0700)]
Merge branch 'MDL-72424' of https://github.com/paulholden/moodle
Huong Nguyen [Wed, 24 Jul 2024 05:04:23 +0000 (12:04 +0700)]
Merge branch 'MDL-82146-main' of https://github.com/aanabit/moodle
Huong Nguyen [Wed, 24 Jul 2024 04:59:48 +0000 (11:59 +0700)]
Merge branch 'MDL-82528' of https://github.com/paulholden/moodle
Huong Nguyen [Wed, 24 Jul 2024 03:49:56 +0000 (10:49 +0700)]
Merge branch 'MDL-70854-main' of https://github.com/junpataleta/moodle
Jun Pataleta [Wed, 24 Jul 2024 02:39:15 +0000 (10:39 +0800)]
MDL-70854 core: Rewrite logic for determining whether to update progress
Rewriting, especially to prevent empty if-blocks.
Jun Pataleta [Wed, 24 Jul 2024 02:27:13 +0000 (10:27 +0800)]
MDL-70854 core: Revert removal of conditions to update progress
The conditions for updating the progress in the progress bar were
mistakenly removed. We need to revert these to ensure proper operation
of the progress bar.
Mikel Martín [Wed, 17 Jul 2024 14:15:37 +0000 (16:15 +0200)]
MDL-81766 mod_subsection: Update behat tests
Update the existing behat tests and add new ones with the new
modification that renders the subsection in the course page.
Mikel Martín [Thu, 11 Jul 2024 11:54:15 +0000 (13:54 +0200)]
MDL-81766 mod_subsection: Display subsection content in activity card
- Replace the standard activity card display with the delegated section
rendering.
- Add and fix related SCSS styles.
Mikel Martín [Thu, 11 Jul 2024 11:32:53 +0000 (13:32 +0200)]
MDL-81766 mod_subsection: Add 'get_delegated_section_info' to manager
Add a new 'get_delegated_section_info' to the manager class so it can be reused.
Mikel Martín [Thu, 11 Jul 2024 11:50:42 +0000 (13:50 +0200)]
MDL-81766 courseformat: Add delegatedsection renderable
Create a new 'delegatedsection' renderable extending the 'section' one
with its own template.
ferranrecio [Fri, 19 Jul 2024 08:23:04 +0000 (10:23 +0200)]
MDL-81766 core_course: fix modchooser section number
Mikel Martín [Tue, 23 Jul 2024 12:35:55 +0000 (14:35 +0200)]
MDL-81766 courseformat: Fix section page actionmmenu update
Jun Pataleta [Tue, 23 Jul 2024 09:59:30 +0000 (17:59 +0800)]
Merge branch 'MDL-70854-main' of https://github.com/junpataleta/moodle
Jun Pataleta [Tue, 23 Jul 2024 09:52:27 +0000 (17:52 +0800)]
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.
Conn Warwicker [Mon, 13 May 2024 10:22:29 +0000 (11:22 +0100)]
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
Michael Aherne [Tue, 23 Jul 2024 08:33:36 +0000 (09:33 +0100)]
MDL-82554 question: Allow null createdby in question_has_capability_on.
Jun Pataleta [Tue, 23 Jul 2024 02:36:57 +0000 (10:36 +0800)]
Merge branch 'MDL-77167_remove-deprecation-layer-for-mdl-70990-yui-events' of https://github.com/ziegenberg/moodle
Paul Holden [Mon, 22 Jul 2024 11:36:40 +0000 (12:36 +0100)]
Merge branch 'MDL-82529' of https://github.com/dravek/moodle into main
Mikel Martín [Mon, 15 Jul 2024 07:58:47 +0000 (09:58 +0200)]
MDL-81766 courseformat: Fix hide addsection in delegated sections
Delegated sections should not render the add new section button at
the bottom of them.
Mikel Martín [Fri, 12 Jul 2024 06:10:51 +0000 (08:10 +0200)]
MDL-81766 courseformat: Fix bulk actions for delegated sections
Disable bulk editing for delegated sections and fix some styles related to it.
Mikel Martín [Thu, 11 Jul 2024 11:46:13 +0000 (13:46 +0200)]
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.
Mikel Martín [Mon, 15 Jul 2024 12:24:27 +0000 (14:24 +0200)]
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.
Mikel Martín [Mon, 15 Jul 2024 12:23:35 +0000 (14:23 +0200)]
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.
Paul Holden [Mon, 22 Jul 2024 11:31:21 +0000 (12:31 +0100)]
Merge branch 'MDL-82512' of https://github.com/dravek/moodle into main
Jun Pataleta [Mon, 22 Jul 2024 06:36:10 +0000 (14:36 +0800)]
MDL-82553 behat: Run accessibility tests using WCAG 2.2 success criteria
Jun Pataleta [Mon, 22 Jul 2024 06:17:47 +0000 (14:17 +0800)]
MDL-82551 core: Set welcome message heading to level 1
Laurent David [Tue, 18 Jun 2024 10:40:42 +0000 (12:40 +0200)]
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.
Huong Nguyen [Mon, 22 Jul 2024 03:43:54 +0000 (10:43 +0700)]
Merge branch 'MDL-82476-main' of https://github.com/sarjona/moodle
Huong Nguyen [Mon, 22 Jul 2024 03:40:18 +0000 (10:40 +0700)]
Merge branch 'MDL-82481' of https://github.com/paulholden/moodle
Huong Nguyen [Mon, 22 Jul 2024 02:39:15 +0000 (09:39 +0700)]
Merge branch 'MDL-82193-main' of https://github.com/ericmerrill/moodle
Ilya Tregubov [Mon, 22 Jul 2024 01:42:20 +0000 (09:42 +0800)]
Merge branch 'MDL-82499-main' of https://github.com/micaherne/moodle
Ilya Tregubov [Mon, 22 Jul 2024 01:36:24 +0000 (09:36 +0800)]
Merge branch 'MDL-70983-main' of https://github.com/sarjona/moodle
Ilya Tregubov [Mon, 22 Jul 2024 01:34:28 +0000 (09:34 +0800)]
Merge branch 'MDL-72354-main' of https://github.com/sarjona/moodle
AMOS bot [Sun, 21 Jul 2024 00:07:45 +0000 (00:07 +0000)]
Automatically generated installer lang files
Daniel Ziegenberg [Fri, 19 Jul 2024 15:51:45 +0000 (17:51 +0200)]
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>
David Carrillo [Fri, 19 Jul 2024 15:09:58 +0000 (17:09 +0200)]
MDL-82512 files: Add Author filter to files Report Builder entity
Paul Holden [Fri, 19 Jul 2024 12:43:13 +0000 (13:43 +0100)]
MDL-58287 courseformat: ensure all format plugins are returned.
David Carrillo [Thu, 18 Jul 2024 14:46:55 +0000 (16:46 +0200)]
MDL-82529 cohort: Add custom field filters to Cohorts system report
David Carrillo [Thu, 18 Jul 2024 14:45:41 +0000 (16:45 +0200)]
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
Paul Holden [Thu, 18 Jul 2024 12:02:40 +0000 (13:02 +0100)]
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.
Sara Arjona [Fri, 19 Jul 2024 11:04:02 +0000 (13:04 +0200)]
Merge branch 'MDL-82510-main' of https://github.com/aanabit/moodle
Sara Arjona [Fri, 19 Jul 2024 10:37:07 +0000 (12:37 +0200)]
Merge branch 'MDL-81119-forced-config' of https://github.com/bwalkerl/moodle
Paul Holden [Fri, 21 Jun 2024 13:47:03 +0000 (14:47 +0100)]
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.
Paul Holden [Sat, 22 Jun 2024 13:33:40 +0000 (14:33 +0100)]
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.
Paul Holden [Mon, 15 Jul 2024 12:44:34 +0000 (13:44 +0100)]
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
Paul Holden [Fri, 12 Jul 2024 17:00:49 +0000 (18:00 +0100)]
MDL-82466 reportbuilder: new format helper for formatting time.
Sara Arjona [Fri, 28 Jun 2024 10:58:35 +0000 (12:58 +0200)]
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.
Jun Pataleta [Fri, 19 Jul 2024 08:24:49 +0000 (16:24 +0800)]
MDL-82540 core: Use an empty check for $CFG->debugdisplay
Sara Arjona [Fri, 14 Jun 2024 14:26:31 +0000 (16:26 +0200)]
MDL-72354 badges: Fix behat tests
Huynh [Mon, 6 Sep 2021 09:37:59 +0000 (16:37 +0700)]
MDL-72354 badges: Show always issuer details when creating badges
Co-author: Huynh Nguyen
Sara Arjona [Tue, 2 Jul 2024 14:56:47 +0000 (16:56 +0200)]
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.
Amaia Anabitarte [Fri, 5 Jul 2024 08:14:51 +0000 (10:14 +0200)]
MDL-82146 report_log: Add subsections to activity filter
Amaia Anabitarte [Fri, 5 Jul 2024 08:14:24 +0000 (10:14 +0200)]
MDL-82146 core_output: Add disabled parameter to select element
Amaia Anabitarte [Thu, 11 Jul 2024 13:38:16 +0000 (15:38 +0200)]
MDL-82510 course: Add new delegated action menu
Benjamin Walker [Mon, 4 Mar 2024 23:49:41 +0000 (09:49 +1000)]
MDL-81119 tool_recyclebin: Stop overriding unrelated forced config
Ilya Tregubov [Fri, 19 Jul 2024 01:30:19 +0000 (09:30 +0800)]
weekly release 4.5dev
Ilya Tregubov [Fri, 19 Jul 2024 01:30:19 +0000 (09:30 +0800)]
NOBUG: Add upgrade notes
Leon Stringer [Thu, 18 Jul 2024 13:49:48 +0000 (14:49 +0100)]
MDL-82530 core: Fix spelling
Paul Holden [Mon, 15 Jul 2024 16:34:54 +0000 (17:34 +0100)]
MDL-82481 customfield_select: return field options pre-formatted.
Paul Holden [Mon, 15 Jul 2024 16:35:57 +0000 (17:35 +0100)]
MDL-82481 reportbuilder: re-use existing method for field options.
Paul Holden [Wed, 17 Jul 2024 12:52:24 +0000 (13:52 +0100)]
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
Huong Nguyen [Thu, 18 Jul 2024 06:04:27 +0000 (13:04 +0700)]
Merge branch 'MDL-82287-main-fix' of https://github.com/lameze/moodle
lameze [Thu, 18 Jul 2024 05:53:17 +0000 (13:53 +0800)]
MDL-82287 phpunit: use the correct component
Jun Pataleta [Thu, 18 Jul 2024 04:51:06 +0000 (12:51 +0800)]
Merge branch 'MDL-82505-main' of https://github.com/HuongNV13/moodle
Jun Pataleta [Thu, 18 Jul 2024 04:48:03 +0000 (12:48 +0800)]
Merge branch 'MDL-75864-main' of https://github.com/meirzamoodle/moodle
Huong Nguyen [Wed, 17 Jul 2024 11:21:49 +0000 (18:21 +0700)]
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
Andrew Nicols [Thu, 18 Jul 2024 03:58:06 +0000 (11:58 +0800)]
Merge branch 'MDL-82309' of https://github.com/paulholden/moodle
Andrew Nicols [Thu, 18 Jul 2024 03:44:42 +0000 (11:44 +0800)]
Merge branch 'MDL-26675-main' of https://github.com/meirzamoodle/moodle
Ilya Tregubov [Thu, 18 Jul 2024 03:37:15 +0000 (11:37 +0800)]
Merge branch 'MDL-82445-main' of https://github.com/andrewnicols/moodle
Andrew Nicols [Thu, 18 Jul 2024 03:29:33 +0000 (11:29 +0800)]
Merge branch 'MDL-81932-main' of https://github.com/safatshahin/moodle