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
Eric Merrill
c72de81827
MDL-82193 scorm: Don't store header with multiline AICC content
2024-07-12 15:32:48 -04: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
Paul Holden
4a58219cd0
MDL-81803 tool_dataprivacy: observe disabled expiration time.
...
A non-positive integer value should indicate "No time limit".
2024-07-12 11:04:53 +01:00
Paul Holden
07f30058b9
MDL-82225 enrol_cohort: Behat scenario updates for cohort deletion.
2024-07-12 10:58:00 +01:00
Paul Holden
28ffd21d44
MDL-82225 cohort: convert single cohort deletion to JS & AJAX.
2024-07-12 10:58:00 +01: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
ferranrecio
5617445d42
MDL-81888 tool_generator: add cleanup scenario tag
...
The tool_generator creates a testing scenario that can
execute all steps from behat_data_generators (with some
limitations) and admin settings. With the patch the scenario file can
incorporate a cleanup steps to be executed when the manual test is done.
2024-07-12 10:32:54 +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
Sara Arjona
c7a07f2bab
Merge branch 'MDL-82391' of https://github.com/paulholden/moodle
2024-07-10 18:05:46 +02:00
Sara Arjona
82f5cc6829
Merge branch 'MDL-81886-main' of https://github.com/ferranrecio/moodle
2024-07-10 15:20:59 +02:00
Paul Holden
bd0f8a058f
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.
2024-07-10 14:08:49 +01:00
ferranrecio
32e090561b
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.
2024-07-10 12:27:08 +02:00
Ilya Tregubov
fece8de140
Merge branch 'MDL-82323-striptags_error' of https://github.com/leonstr/moodle
2024-07-10 12:18:10 +08:00
Huong Nguyen
81b2398cad
Merge branch 'MDL-82057-main' of https://github.com/sarjona/moodle
2024-07-10 10:15:04 +07:00