114747 Commits

Author SHA1 Message Date
Ilya Tregubov
52abd112a9 Merge branch 'MDL-73662' of https://github.com/paulholden/moodle 2024-07-16 09:15:21 +08:00
Paul Holden
e60876ecef
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.
2024-07-15 13:19:25 +01:00
Paul Holden
a3c386af93
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.
2024-07-15 10:42:01 +01:00
Huong Nguyen
6c5d01b512
Merge branch 'MDL-82210-main' of https://github.com/sarjona/moodle 2024-07-15 15:54:35 +07:00
Mihail Geshoski
48866d4746 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.
2024-07-15 16:36:48 +08:00
Ilya Tregubov
de54a993d3 MDL-80744 mod_assign: Add user search. 2024-07-15 16:36:47 +08:00
Ilya Tregubov
8087893fcb MDL-80744 core_grades: Fix grade reports. 2024-07-15 16:36:45 +08:00
Mihail Geshoski
63e341d4d5 MDL-80744 behat: Create steps for the search combo box component 2024-07-15 16:36:45 +08:00
Ilya Tregubov
0e8c086653 MDL-80744 core_course: user selector renderer for actionbar in course 2024-07-15 16:36:43 +08:00
Hieu Nguyen Dang
adea726a9d MDL-81533 Admin: Availability restriction info default change 2024-07-15 14:09:15 +07:00
Andrew Nicols
9b95650f18
MDL-66903 core: Check PHPUNIT_TEST defined before using 2024-07-15 13:46:09 +07:00
Huong Nguyen
fb22b112c4
Merge branch 'MDL-66903-main' of https://github.com/andrewnicols/moodle 2024-07-15 13:21:46 +07:00
Andrew Nicols
0270c90dc0
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.
2024-07-15 13:07:42 +08:00
Andrew Nicols
aa55779ba0
MDL-66903 testing: Helper to load fixture files 2024-07-15 13:07:42 +08:00
Andrew Nicols
25df1ed645
MDL-66903 core: Move core_component to \core\component 2024-07-15 13:07:42 +08:00
Andrew Nicols
406dcd2566
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.
2024-07-15 13:07:36 +08:00
Laurent David
c115b6d699 MDL-82319 core_courseformat: Remove redundant lock icon in section 2024-07-15 06:32:44 +02:00
Andrew Nicols
3c03e9448c
MDL-66903 testing: Fix whitespace 2024-07-15 12:23:05 +08:00
Huong Nguyen
04f8f11d35
MDL-81272 calendar: Improve permission check for separate group mode 2024-07-15 09:29:08 +07:00
Andrew Nicols
2c8acd3462
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.
2024-07-15 10:14:49 +08:00
Paul Holden
9b624edba9
MDL-82444 core: skip environment test on optional plugin extensions. 2024-07-12 13:49:10 +01:00
Paul Holden
0844f9c88a
MDL-82444 filter_tidy: advertise required PHP extension. 2024-07-12 13:34:00 +01:00
Paul Holden
7d030bba77
MDL-73662 mod_quiz: fix initialization arguments to close button.
Co-authored-by: Sergio Rabellino <rabellino@di.unito.it>
2024-07-12 13:18:07 +01:00
Mikel Martín
8d54a86bdb 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
2024-07-12 14:17:10 +02:00
Daniel Ureña
5089744789 MDL-81699 Course: core_course_get_courses_by_field add param sectionid 2024-07-12 11:29:26 +02:00
Daniel Ureña
6534248184 MDL-82002 Media: Video embedding from the app is styled properly. 2024-07-12 11:10:42 +02:00
Sara Arjona
774ea7ca29
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.
2024-07-12 10:59:00 +02:00
Huong Nguyen
fd487cd3f2
weekly release 4.5dev 2024-07-12 08:41:58 +07:00
Huong Nguyen
abcac5bc8f
NOBUG: Add upgrade notes 2024-07-12 08:41:57 +07:00
Huong Nguyen
eaca2203a0
NOBUG: Fixed SVG browser compatibility 2024-07-12 08:41:05 +07:00
Juan Leyva
2a2130e9d7 MDL-78293 core_user: New Web Services to manage private files 2024-07-11 11:54:35 +02:00
Sara Arjona
e3431a56ac
Merge branch 'MDL-80489-main-patch' of https://github.com/HuongNV13/moodle 2024-07-11 10:22:25 +02:00
Huong Nguyen
a0394ce78f
MDL-80489 qtype_ddtos: Update Behat to match language string 2024-07-11 15:15:34 +07:00
Huong Nguyen
e28937ccbc
MDL-80489 qtype_ddtos: Update language string 2024-07-11 11:16:44 +07:00
Huong Nguyen
28f62b717a
Merge branch 'MDL-82245' of https://github.com/paulholden/moodle 2024-07-11 11:13:50 +07:00
Jun Pataleta
a91fc78a90
Merge branch 'MDL-81265-main' of https://github.com/junpataleta/moodle 2024-07-11 12:08:58 +08:00
Andrew Nicols
7d693d70c9
Merge branch 'MDL-78936-main' of https://github.com/HuongNV13/moodle 2024-07-11 11:52:52 +08:00
Jun Pataleta
edafd17fc4
MDL-81265 mod_workshop: Verify "Setup phase" heading with "should exist" 2024-07-11 11:49:20 +08:00
Andrew Nicols
5efe90187d
Merge branch 'MDL-82431' of https://github.com/paulholden/moodle 2024-07-11 11:46:04 +08:00
Jun Pataleta
5597a4eb33
Merge branch 'MDL-82168-main' of https://github.com/junpataleta/moodle 2024-07-11 11:21:21 +08:00
Sara Arjona
e559a3c325
MDL-82168 badges: Fix and improve behat tests 2024-07-11 11:19:34 +08:00
Sara Arjona
8c006300e5
MDL-82168 badges: Move enable/disable badges to modal
Co-authored-by: Ferran Recio <ferran@moodle.com>
2024-07-11 11:19:34 +08:00
Sara Arjona
814753e558
MDL-82168 badges: Add WS to enable/disable badges 2024-07-11 11:19:34 +08:00
Huong Nguyen
2845d8cbde
Merge branch 'MDL-79717' of https://github.com/paulholden/moodle 2024-07-11 09:34:52 +07:00
Huong Nguyen
0ef2fa73ae
Merge branch 'MDL-80489-master' of https://github.com/danghieu1407/moodle 2024-07-11 09:28:56 +07:00
Huong Nguyen
f8f5d77c3f
Merge branch 'MDL-76654-main' of https://github.com/lameze/moodle 2024-07-11 09:19:26 +07:00
Ilya Tregubov
1432af6a2e Merge branch 'MDL-81661-main' of https://github.com/sarjona/moodle 2024-07-11 09:54:05 +08:00
Jun Pataleta
4da240f2a2
MDL-66994 upgrade: Move upgrade step after 4.4.0 release upgrade line 2024-07-11 09:22:12 +08:00
Paul Holden
8413f61260
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.
2024-07-10 19:06:14 +01:00
Paul Holden
9d621f5da1
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.
2024-07-10 17:12:31 +01:00