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.
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
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
Huong Nguyen [Thu, 18 Jul 2024 03:27:02 +0000 (10:27 +0700)]
Merge branch 'MDL-82192-main' of https://github.com/ericmerrill/moodle
Andrew Nicols [Thu, 18 Jul 2024 03:06:57 +0000 (11:06 +0800)]
Merge branch 'MDL-81272-main' of https://github.com/HuongNV13/moodle
Huong Nguyen [Thu, 18 Jul 2024 03:03:28 +0000 (10:03 +0700)]
MDL-81699 Course: Add upgrade note
Andrew Nicols [Mon, 15 Jul 2024 01:02:37 +0000 (09:02 +0800)]
MDL-82445 filter_tidy: Coding style fixes
Andrew Nicols [Thu, 11 Jul 2024 13:09:19 +0000 (21:09 +0800)]
MDL-82445 filter_tidy: Ensure locale does not change when using Tidy
Andrew Nicols [Fri, 12 Jul 2024 03:24:06 +0000 (11:24 +0800)]
MDL-82445 core: Create locale helper utility
Huong Nguyen [Thu, 18 Jul 2024 02:57:18 +0000 (09:57 +0700)]
Merge branch 'MDL-81699-main' of https://github.com/durenadev/moodle
Huong Nguyen [Thu, 18 Jul 2024 02:47:01 +0000 (09:47 +0700)]
Merge branch 'MDL-82287-main' of https://github.com/andrewnicols/moodle
Ilya Tregubov [Thu, 18 Jul 2024 02:39:32 +0000 (10:39 +0800)]
Merge branch 'MDL-82090' of https://github.com/paulholden/moodle
Ilya Tregubov [Thu, 18 Jul 2024 02:29:08 +0000 (10:29 +0800)]
Merge branch 'MDL-82444' of https://github.com/paulholden/moodle
Huong Nguyen [Thu, 18 Jul 2024 02:19:33 +0000 (09:19 +0700)]
Merge branch 'MDL-82467' of https://github.com/paulholden/moodle
Jun Pataleta [Wed, 17 Jul 2024 16:03:02 +0000 (00:03 +0800)]
Merge branch 'MDL-82066' of https://github.com/paulholden/moodle
Sara Arjona [Wed, 17 Jul 2024 15:11:19 +0000 (17:11 +0200)]
Merge branch 'MDL-82463' of https://github.com/paulholden/moodle
Sara Arjona [Wed, 17 Jul 2024 15:07:47 +0000 (17:07 +0200)]
Merge branch 'MDL-82353-main' of https://github.com/andelacruz/moodle
Sara Arjona [Wed, 17 Jul 2024 15:03:17 +0000 (17:03 +0200)]
Merge branch 'MDL-81683-main' of https://github.com/laurentdavid/moodle
Laurent David [Tue, 18 Jun 2024 05:42:57 +0000 (07:42 +0200)]
MDL-81683 core_courseformat: Adjust Move Activity Modal style
* Use the same style as the course index for the tree/list items
* Fix indentation
Laurent David [Mon, 17 Jun 2024 15:14:03 +0000 (17:14 +0200)]
MDL-81683 core_courseformat: Add subsection to the move activity modal
* Add subsection in the tree hierarchy
* Split the mustache templates to avoid repetitive code
Huong Nguyen [Wed, 17 Jul 2024 07:20:50 +0000 (14:20 +0700)]
Merge branch 'MDL-75025_final-deprecation-of-base_controller-set_copy' of https://github.com/ziegenberg/moodle
Ilya Tregubov [Wed, 17 Jul 2024 02:08:22 +0000 (10:08 +0800)]
MDL-80744 mod_assign: Fix Behat tests.
Jun Pataleta [Wed, 17 Jul 2024 04:44:29 +0000 (12:44 +0800)]
Merge branch 'MDL-81075-main' of https://github.com/cameron1729/moodle
Meirza [Fri, 24 May 2024 03:11:26 +0000 (10:11 +0700)]
MDL-26675 block_rss_client: Add a new feed in the RSS block form
The patch added a couple of things:
- Add a new feed in the RSS block form
- Make the image responsive to the parent container
- Each feed now includes a channel link
Ilya Tregubov [Wed, 17 Jul 2024 03:04:32 +0000 (11:04 +0800)]
Merge branch 'MDL-82002-main' of https://github.com/durenadev/moodle
Glenn Poder [Tue, 12 Mar 2024 22:41:43 +0000 (08:41 +1000)]
MDL-81075 quiz: config option for defaults when creating questions
Angelia Dela Cruz [Wed, 3 Jul 2024 10:15:22 +0000 (18:15 +0800)]
MDL-82353 gradingform: Behat to verify marking guide can be set to draft
Sara Arjona [Tue, 16 Jul 2024 07:23:08 +0000 (09:23 +0200)]
Merge branch 'MDL-81533-master' of https://github.com/danghieu1407/moodle
Sara Arjona [Tue, 16 Jul 2024 05:45:22 +0000 (07:45 +0200)]
Merge branch 'MDL-81819-main' of https://github.com/roland04/moodle
Ilya Tregubov [Tue, 16 Jul 2024 03:47:22 +0000 (11:47 +0800)]
Merge branch 'MDL-78293-master' of https://github.com/jleyva/moodle
Huong Nguyen [Tue, 16 Jul 2024 02:40:41 +0000 (09:40 +0700)]
MDL-67554 tool_oauth2: Added upgrade note
Huong Nguyen [Tue, 16 Jul 2024 02:36:27 +0000 (09:36 +0700)]
Merge branch 'MDL-67554-master' of https://github.com/michael-milette/moodle
Huong Nguyen [Tue, 16 Jul 2024 02:15:57 +0000 (09:15 +0700)]
Merge branch 'MDL-80744-main-1' of https://github.com/ilyatregubov/moodle
Ilya Tregubov [Tue, 16 Jul 2024 01:26:01 +0000 (09:26 +0800)]
Merge branch 'MDL-82282' of https://github.com/paulholden/moodle
Ilya Tregubov [Tue, 16 Jul 2024 01:21:28 +0000 (09:21 +0800)]
Merge branch 'MDL-82319-main' of https://github.com/laurentdavid/moodle
Ilya Tregubov [Tue, 16 Jul 2024 01:15:21 +0000 (09:15 +0800)]
Merge branch 'MDL-73662' of https://github.com/paulholden/moodle
Paul Holden [Mon, 15 Jul 2024 10:58:55 +0000 (11:58 +0100)]
MDL-82467 completion: simplify field SQL for completion columns.
For columns whose values can be represented purely in SQL, we don't
need to/shouldn't select extra data because it confuses the column
output during aggregation for numeric/boolean columns.
Paul Holden [Fri, 12 Jul 2024 16:17:57 +0000 (17:17 +0100)]
MDL-82463 reportbuilder: change non-numeric entity column types.
Where columns were previously of type `TYPE_INTEGER` or `TYPE_FLOAT`
but did not provide numeric data on output, we should change their
type to `TYPE_TEXT` (i.e. the default) to ensure that future work on
numeric aggregation doesn't affect them.
Huong Nguyen [Mon, 15 Jul 2024 08:54:35 +0000 (15:54 +0700)]
Merge branch 'MDL-82210-main' of https://github.com/sarjona/moodle
Mihail Geshoski [Mon, 24 Jun 2024 07:20:17 +0000 (15:20 +0800)]
MDL-80744 core_grades: Deprecate comboboxsearch behat step definitions
The comboboxsearch component now has uses beyond the grade subcomponent
and includes alternative step definitions in behat_general.php. This
change deprecates the redundant behat step definitions related to this
component in behat_grade.php and replaces current usages with the
alternative definitions.
Ilya Tregubov [Wed, 12 Jun 2024 09:12:59 +0000 (17:12 +0800)]
MDL-80744 mod_assign: Add user search.
Ilya Tregubov [Wed, 12 Jun 2024 09:10:21 +0000 (17:10 +0800)]
MDL-80744 core_grades: Fix grade reports.
Mihail Geshoski [Mon, 24 Jun 2024 04:29:32 +0000 (12:29 +0800)]
MDL-80744 behat: Create steps for the search combo box component
Ilya Tregubov [Wed, 12 Jun 2024 02:57:57 +0000 (10:57 +0800)]
MDL-80744 core_course: user selector renderer for actionbar in course
Hieu Nguyen Dang [Mon, 15 Jul 2024 07:09:15 +0000 (14:09 +0700)]
MDL-81533 Admin: Availability restriction info default change
Andrew Nicols [Mon, 15 Jul 2024 06:40:24 +0000 (14:40 +0800)]
MDL-66903 core: Check PHPUNIT_TEST defined before using
Huong Nguyen [Mon, 15 Jul 2024 06:21:46 +0000 (13:21 +0700)]
Merge branch 'MDL-66903-main' of https://github.com/andrewnicols/moodle
Andrew Nicols [Thu, 11 Jul 2024 01:46:29 +0000 (09:46 +0800)]
MDL-66903 core: Introduce \core\component::resetto replace hacks
Traditionally we have done this using reflection and it would be better
to do this in a 'proper' fashion in case we ever need to change how it
works.
Andrew Nicols [Thu, 8 Feb 2024 02:24:17 +0000 (10:24 +0800)]
MDL-66903 testing: Helper to load fixture files
Andrew Nicols [Fri, 5 Jul 2024 01:39:17 +0000 (09:39 +0800)]
MDL-66903 core: Move core_component to \core\component
Andrew Nicols [Tue, 19 Dec 2023 14:59:15 +0000 (22:59 +0800)]
MDL-66903 testing: Add support for a \tests\ namespace during tests
This commit:
- introduces a \tests\ sub-namespace for use in unit tests only
- the path to this the tests/classes directory of the owning parent
- files here are excluded from unit test runs
This is agreed per policy in MDL-80855.
Laurent David [Mon, 8 Jul 2024 10:42:07 +0000 (12:42 +0200)]
MDL-82319 core_courseformat: Remove redundant lock icon in section
Andrew Nicols [Wed, 7 Feb 2024 13:07:05 +0000 (21:07 +0800)]
MDL-66903 testing: Fix whitespace
Huong Nguyen [Mon, 1 Jul 2024 06:42:16 +0000 (13:42 +0700)]
MDL-81272 calendar: Improve permission check for separate group mode
Andrew Nicols [Wed, 7 Feb 2024 13:04:57 +0000 (21:04 +0800)]
MDL-66903 testing: Reset CFG and component after test
This change moves the reset of global test state to the finally section
rather than doing it only if the test passes.
Previously if a test which modifies the `core_component` internals
failed, it would not reset the internal state and impact subsequent
tests.
Paul Holden [Fri, 12 Jul 2024 12:48:28 +0000 (13:48 +0100)]
MDL-82444 core: skip environment test on optional plugin extensions.
Paul Holden [Thu, 11 Jul 2024 10:56:02 +0000 (11:56 +0100)]
MDL-82444 filter_tidy: advertise required PHP extension.
Paul Holden [Thu, 11 Jul 2024 20:09:08 +0000 (21:09 +0100)]
MDL-73662 mod_quiz: fix initialization arguments to close button.
Co-authored-by: Sergio Rabellino <rabellino@di.unito.it>
Mikel Martín [Thu, 20 Jun 2024 07:41:49 +0000 (09:41 +0200)]
MDL-81819 theme_boost: Refactor .close usages for BS5
- Add .btn-close to the Boostratp 5 bridge SCSS file
- Replace .close occurrences with .btn-close
- Fix styles using .close
Daniel Ureña [Thu, 20 Jun 2024 12:35:28 +0000 (14:35 +0200)]
MDL-81699 Course: core_course_get_courses_by_field add param sectionid
Daniel Ureña [Wed, 19 Jun 2024 22:20:25 +0000 (00:20 +0200)]
MDL-82002 Media: Video embedding from the app is styled properly.
Sara Arjona [Tue, 2 Jul 2024 09:54:54 +0000 (11:54 +0200)]
MDL-82210 output: Add support to FontAwesome families
The solid family was chosen by default when Font Awesome was upgraded
from 4 to 6, but FA6 has more families, like regular or brands.
This commit adds only the fa class to the icon when no other family
class is used.
Huong Nguyen [Fri, 12 Jul 2024 01:41:58 +0000 (08:41 +0700)]
weekly release 4.5dev
Huong Nguyen [Fri, 12 Jul 2024 01:41:57 +0000 (08:41 +0700)]
NOBUG: Add upgrade notes
Huong Nguyen [Fri, 12 Jul 2024 01:41:05 +0000 (08:41 +0700)]
NOBUG: Fixed SVG browser compatibility
Juan Leyva [Tue, 23 May 2023 16:31:13 +0000 (18:31 +0200)]
MDL-78293 core_user: New Web Services to manage private files
Sara Arjona [Thu, 11 Jul 2024 08:22:25 +0000 (10:22 +0200)]
Merge branch 'MDL-80489-main-patch' of https://github.com/HuongNV13/moodle
Huong Nguyen [Thu, 11 Jul 2024 08:15:34 +0000 (15:15 +0700)]
MDL-80489 qtype_ddtos: Update Behat to match language string
Huong Nguyen [Thu, 11 Jul 2024 04:16:44 +0000 (11:16 +0700)]
MDL-80489 qtype_ddtos: Update language string
Huong Nguyen [Thu, 11 Jul 2024 04:13:50 +0000 (11:13 +0700)]
Merge branch 'MDL-82245' of https://github.com/paulholden/moodle
Jun Pataleta [Thu, 11 Jul 2024 04:08:58 +0000 (12:08 +0800)]
Merge branch 'MDL-81265-main' of https://github.com/junpataleta/moodle
Andrew Nicols [Thu, 11 Jul 2024 03:52:52 +0000 (11:52 +0800)]
Merge branch 'MDL-78936-main' of https://github.com/HuongNV13/moodle
Jun Pataleta [Thu, 11 Jul 2024 03:49:20 +0000 (11:49 +0800)]
MDL-81265 mod_workshop: Verify "Setup phase" heading with "should exist"
Andrew Nicols [Thu, 11 Jul 2024 03:46:04 +0000 (11:46 +0800)]
Merge branch 'MDL-82431' of https://github.com/paulholden/moodle
Jun Pataleta [Thu, 11 Jul 2024 03:21:21 +0000 (11:21 +0800)]
Merge branch 'MDL-82168-main' of https://github.com/junpataleta/moodle
Sara Arjona [Tue, 18 Jun 2024 15:45:34 +0000 (17:45 +0200)]
MDL-82168 badges: Fix and improve behat tests
Sara Arjona [Tue, 18 Jun 2024 14:52:15 +0000 (16:52 +0200)]
MDL-82168 badges: Move enable/disable badges to modal
Co-authored-by: Ferran Recio <ferran@moodle.com>
Sara Arjona [Tue, 18 Jun 2024 14:51:20 +0000 (16:51 +0200)]
MDL-82168 badges: Add WS to enable/disable badges
Huong Nguyen [Thu, 11 Jul 2024 02:34:52 +0000 (09:34 +0700)]
Merge branch 'MDL-79717' of https://github.com/paulholden/moodle
Huong Nguyen [Thu, 11 Jul 2024 02:28:56 +0000 (09:28 +0700)]
Merge branch 'MDL-80489-master' of https://github.com/danghieu1407/moodle
Huong Nguyen [Thu, 11 Jul 2024 02:19:26 +0000 (09:19 +0700)]
Merge branch 'MDL-76654-main' of https://github.com/lameze/moodle
Ilya Tregubov [Thu, 11 Jul 2024 01:54:05 +0000 (09:54 +0800)]
Merge branch 'MDL-81661-main' of https://github.com/sarjona/moodle
Jun Pataleta [Thu, 11 Jul 2024 01:22:12 +0000 (09:22 +0800)]
MDL-66994 upgrade: Move upgrade step after 4.4.0 release upgrade line
Paul Holden [Wed, 10 Jul 2024 08:09:21 +0000 (09:09 +0100)]
MDL-82431 phpunit: correct unit test filename and classname.
Standardise the same test cases, e.g. make final, covers notation,
static data providers, namespaces, etc.
Once the tests run, a couple of them failed. They required changes
to assertions to make them pass.
Paul Holden [Tue, 9 Jul 2024 15:33:47 +0000 (16:33 +0100)]
MDL-82066 user: define methods for handling default homepage URLs.
Per the previous commit, default homepage configuration (set either
for the site or as a user preference) can now be extended by third
party hook callbacks, in which case a URL is stored.
Sara Arjona [Wed, 10 Jul 2024 16:05:46 +0000 (18:05 +0200)]
Merge branch 'MDL-82391' of https://github.com/paulholden/moodle
Sara Arjona [Wed, 10 Jul 2024 13:20:59 +0000 (15:20 +0200)]
Merge branch 'MDL-81886-main' of https://github.com/ferranrecio/moodle
Paul Holden [Wed, 10 Jul 2024 10:41:31 +0000 (11:41 +0100)]
MDL-79717 phpunit: ensure unique data provider keys in tests.
Duplicate data provider keys were overwriting and/or duplicating
one another, leading to some cases being skipped.
Other "duplicate array key" errors were picked up by `phpcs` in
this dragnet across all tests, which have also been fixed.
ferranrecio [Tue, 7 May 2024 14:45:34 +0000 (16:45 +0200)]
MDL-81886 tool_generator: allow scenario outlines in testing features
The tool_generator creates a testing scenario that can execute
all steps from behat_data_generators (with some limitations).
However, it cannot set any admin settings, which limits the
tool's ability to generate many real test scenarios.
Ilya Tregubov [Wed, 10 Jul 2024 04:18:10 +0000 (12:18 +0800)]
Merge branch 'MDL-82323-striptags_error' of https://github.com/leonstr/moodle
Huong Nguyen [Wed, 10 Jul 2024 03:15:04 +0000 (10:15 +0700)]
Merge branch 'MDL-82057-main' of https://github.com/sarjona/moodle