Angelia Dela Cruz
8754dc0724
MDL-79321 mod_quiz: Behat to set quiz as interactive with multiple tries
2024-02-13 16:22:16 +08:00
Jun Pataleta
c9c65a1b95
Merge branch 'MDL-80402-main' of https://github.com/andelacruz/moodle
2024-02-13 15:52:16 +08:00
Jun Pataleta
b660a59889
Merge branch 'MDL-80766' of https://github.com/paulholden/moodle
2024-02-13 15:34:38 +08:00
Mathew May
02480eec44
MDL-78944 gradereport_grader: Spurious behat fix
2024-02-13 15:01:23 +08:00
Huong Nguyen
15ae5d9b21
Merge branch 'MDL-80814-main' of https://github.com/aanabit/moodle
2024-02-13 10:18:44 +07:00
Huong Nguyen
b32407f1e9
Merge branch 'MDL-80724-master' of https://github.com/jleyva/moodle
2024-02-13 10:10:58 +07:00
Huong Nguyen
043c829ff1
Merge branch 'MDL-80630_main' of https://github.com/PhilippImhof/moodle
2024-02-13 09:54:53 +07:00
Huong Nguyen
22b0e01c27
Merge branch 'MDL-80869' of https://github.com/paulholden/moodle
2024-02-13 09:54:52 +07:00
Huong Nguyen
2a5ec75849
Merge branch 'MDL-80622-main' of https://github.com/roland04/moodle
2024-02-13 09:54:52 +07:00
Huong Nguyen
06783182ef
Merge branch 'MDL-80541-main' of https://github.com/aanabit/moodle
2024-02-13 09:54:52 +07:00
Huong Nguyen
c5eefd2782
Merge branch 'MDL-80557-main' of https://github.com/aanabit/moodle
2024-02-13 09:54:49 +07:00
Amaia Anabitarte
1ce32e3a60
MDL-80557 courseformat: Change default plugin order
2024-02-13 09:54:18 +07:00
Angelia Dela Cruz
a79c061821
MDL-80402 mod_quiz: Behat for interactive quiz question dependency
2024-02-13 10:33:28 +08:00
Huong Nguyen
7095211898
Merge branch 'MDL-80326-main' of https://github.com/laurentdavid/moodle
2024-02-13 08:55:22 +07:00
AMOS bot
a9e44c45bd
Automatically generated installer lang files
2024-02-13 00:10:30 +00:00
meirzamoodle
d1c27bba15
MDL-78256 lib: Code adjustments to the Zipstream 3.1.0
2024-02-12 16:56:37 +07:00
meirzamoodle
6972e9c83d
MDL-78256 lib: Upgrade Zipstream to 3.1.0
2024-02-12 16:51:02 +07:00
Jun Pataleta
0a0d4b20a7
Merge branch 'MDL-80072-main' of https://github.com/andrewnicols/moodle
2024-02-12 14:31:11 +08:00
Andrew Nicols
f0e46b994f
MDL-80072 core: Whitespace fix
2024-02-12 14:28:56 +08:00
Jun Pataleta
a8a31f648d
Merge branch 'MDL-80072-main' of https://github.com/andrewnicols/moodle
2024-02-12 13:58:05 +08:00
Andrew Nicols
4349a9164e
MDL-80072 editor_tiny: Editor options should not be passed to format_text
2024-02-12 11:11:19 +08:00
Andrew Nicols
3e6437e67c
MDL-80072 core: Mark nocache option to format_text as deprecated
...
This was actually deprecated back in MDL-34347 but never actually
emitted.
2024-02-12 11:11:19 +08:00
Andrew Nicols
85c1dd0077
MDL-80072 core: Deprecate format_text smiley option
...
This was actually deprecated in Moodle 2.0 but did not emit.
2024-02-12 11:11:18 +08:00
Andrew Nicols
d56303aa54
MDL-80072 core: Promote all formatting options to parameters
...
Now that PHP has support for named parameters, and we can use them in
Moodle, we should ditch `$options` arrays and use first-class,
documented, parameters.
Whilst this may seem scary, dumb, overwhelming, please note that you do
not need to supply all args, for example, to change the last parameter
of `format_text` you no longer need to do this:
return \core\container::get(\core\formatting::class)->format_text(
$text,
FORMAT_MOODLE,
$context,
false,
null,
true,
true,
true,
false,
false,
true,
);
Instead you can do:
return \core\container::get(\core\formatting::class)->format_text(
$text,
FORMAT_MOODLE,
$context,
allowid: true,
);
Or better still:
return \core\container::get(\core\formatting::class)->format_text(
text: $text,
format: FORMAT_MOODLE,
context: $context,
allowid: true,
);
This means that we can get defaults in the function signature, improves
our typing, and allows for deprecation and changes to options. It also
sets us up for success in the future.
2024-02-12 11:11:18 +08:00
Andrew Nicols
b353c8e1e2
MDL-80072 core: Improve format_* APIs to improve clarity
2024-02-12 11:11:18 +08:00
Andrew Nicols
fb1d9d65e0
MDL-80072 core: Move format_string cache to class prop
...
This means that the cache will be automatically reset between tests.
2024-02-12 11:11:18 +08:00
Andrew Nicols
d6dc3847f4
MDL-80072 core: Update uses of courseid to format_text
2024-02-12 11:11:17 +08:00
Andrew Nicols
ae80cd739b
MDL-80072 core: Coding Style fixes
2024-02-12 11:11:17 +08:00
Andrew Nicols
e8eb163ff9
MDL-80072 core: Move CFG->filterall to formatter property
2024-02-12 11:11:17 +08:00
Andrew Nicols
35a8e23034
MDL-80072 core: Move CFG->formatstringstriptags to formatter property
2024-02-12 11:11:17 +08:00
Andrew Nicols
f9dc48691d
MDL-80072 core: Move CFG->forceclean to formatter property
2024-02-12 11:11:17 +08:00
Andrew Nicols
6bb0c91a73
MDL-80072 core: Move format_text to core\formatting
2024-02-12 11:11:16 +08:00
Andrew Nicols
37ec9ee8ee
MDL-80072 core: Move format_string to core\formatting
2024-02-12 11:11:16 +08:00
Andrew Nicols
9ed3f83dd2
MDL-80072 core: Add \core\di wrapper to php-di
...
The \core\di class is a Moodle wrapper to php-di which is intended to
allow Moodle to switch to an alternate DI solution in the future if
required. All interaction with the container uses the PSR-11 Container
interfaces, which allows for normalisation of configuration, setting,
and retrieving of DI container-identified classes.
2024-02-12 11:11:16 +08:00
Andrew Nicols
192a7797ab
MDL-80072 core: Add php-di codebase
2024-02-12 11:11:15 +08:00
AMOS bot
ad221f7828
Automatically generated installer lang files
2024-02-12 00:11:24 +00:00
Mikel Martín
e788ed509c
MDL-80622 core_courseformat: Fix activity card drag image
2024-02-09 09:48:49 +01:00
Mikel Martín
0efe999276
MDL-80219 core_courseformat: Add course section and activity new styling
...
- Add border to sections (not in single section page)
- Remove border to activity cards and add single line separators
- Refactor activity and sections styles to fit this new layout
- Remove styles that are not necessary with this new layout
2024-02-09 09:47:03 +01:00
Jun Pataleta
f96df76bfc
Merge branch 'MDL-79788' of https://github.com/paulholden/moodle
2024-02-09 16:46:54 +08:00
Jun Pataleta
aa921c0c7f
Merge branch 'MDL-80874-main' of https://github.com/andrewnicols/moodle
2024-02-09 16:42:50 +08:00
Andrew Nicols
12dcde3fae
MDL-80072 core: Add PSR-11 interfaces
2024-02-09 15:03:57 +08:00
Andrew Nicols
7b72ead9e5
MDL-80874 core: Correct repo name for PR closer
2024-02-09 15:00:56 +08:00
Paul Holden
27ca0daf87
MDL-79788 tag: convert module creation of tags to generators.
...
We don't need to use the tags UI directly for creating tags in module
scenarios, because it's slow and prone to error in case of interface
changes.
2024-02-08 16:31:02 +00:00
Paul Holden
d057af03e9
MDL-79788 tag: convert tag collection page to reportbuilder report.
2024-02-08 16:31:02 +00:00
Paul Holden
d30b526bb7
MDL-80868 question: correct deleted format plugin definitions.
2024-02-08 16:15:29 +00:00
Sara Arjona
328b48ebc5
weekly release 4.4dev
2024-02-08 16:18:06 +01:00
Sara Arjona
de632c0117
NOBUG: Fixed SVG browser compatibility
2024-02-08 16:18:01 +01:00
Paul Holden
d519d7b8b7
MDL-80869 mod_bigbluebuttonbn: ensure test retrieves expected record.
2024-02-08 13:21:44 +00:00
Sara Arjona
f5a9e9478f
Merge branch 'MDL-80544' of https://github.com/paulholden/moodle
2024-02-08 11:27:05 +01:00
Jun Pataleta
66584a81a9
Merge branch 'MDL-78427' of https://github.com/paulholden/moodle
2024-02-08 18:09:04 +08:00