25181 Commits

Author SHA1 Message Date
Andrew Nicols
b05fc42db9
MDL-80005 core: Emit deprecation notices for params
Most params are formally deprecated here. This was originally planned
for MDL-80042, but I realised that having an emit, and final param is a
very useful option going forward.

This patch also moves the is_deprecated(), and related methods to the
\core\deprecated attribute.
2024-01-17 12:19:45 +08:00
Amaia Anabitarte
c40d85da65 MDL-80255 mod_scorm: Remove 'Completed' as default completion 2024-01-16 16:40:26 +01:00
Sara Arjona
583cd6377e
Merge branch 'MDL-80266-main' of https://github.com/andrewnicols/moodle 2024-01-16 07:20:04 +01:00
Andrew Nicols
232e705f60
MDL-80266 mod_forum: Reset subscription caches between behat tests 2024-01-16 13:34:16 +08:00
Paul Holden
2ac0df331c
MDL-72308 mod_forum: update legacy uses of formchangechecker module. 2024-01-15 14:24:17 +00:00
Amaia Anabitarte
4e6d39f539 MDL-80418 core_course: Homogenize titles in modedit 2024-01-15 12:56:16 +01:00
David Carrillo
10d2b5864b
MDL-80325 reportbuilder: Update 'Delete' links to red color
- Update all 'Delete' links on RB system report actions to red color
2024-01-12 15:38:19 +01:00
Mikel Martín
a8b5044920 MDL-80244 theme_boost: Refactor navbar for Bootstrap 5 2024-01-12 08:46:43 +01:00
Paul Holden
bf34adae73
MDL-80575 mod_forum: correct field name for "Notify students" setting. 2024-01-11 11:43:15 +00:00
Huong Nguyen
92f38b9cb5 Merge branch 'MDL-80452-main' of https://github.com/andelacruz/moodle 2024-01-11 10:44:01 +07:00
Jun Pataleta
d077ba647d
Merge branch 'MDL-80313' of https://github.com/stronk7/moodle 2024-01-11 11:32:40 +08:00
Angelia Dela Cruz
e27de1d44d MDL-80452 mod_h5pactivity: Behat for H5Pactivity duplication and delete 2024-01-11 11:17:51 +08:00
Ilya Tregubov
8091b684d9 Merge branch 'MDL-80446' of https://github.com/paulholden/moodle 2024-01-11 10:44:07 +08:00
Paul Holden
3f9277723b
MDL-80499 datafield_date: specify UTC time when editing field content. 2024-01-10 19:23:08 +00:00
Paul Holden
31e671a978
MDL-78621 mod_choice: verify limited responses before showing "full". 2024-01-10 09:47:32 +00:00
Sara Arjona
0293d208f9
Merge branch 'MDL-80340-main' of https://github.com/lameze/moodle 2024-01-10 07:34:57 +01:00
Huong Nguyen
b6378ff84d Merge branch 'MDL-80382-main' of https://github.com/andelacruz/moodle 2024-01-10 10:29:50 +07:00
Simey Lameze
95da5a44a8 MDL-80340 behat: make query to fetch h5p attempts less strict 2024-01-09 16:13:55 +08:00
Angelia Dela Cruz
e8c8dbc54e MDL-80382 behat: Replace "Frist" typos in Behat tests to "First" 2024-01-09 10:44:15 +08:00
Rajneel Totaram
a2bb81a4be MDL-80383 mod_book: Make book content use full width on small screens 2024-01-08 15:36:39 +12:00
Ilya Tregubov
51e52e492d Merge branch 'MDL-69497' of https://github.com/paulholden/moodle 2024-01-08 10:03:47 +08:00
Ilya Tregubov
4179fa2dfc Merge branch 'MDL-79937_fixlessonmatching' of https://github.com/catalystfd/moodle 2024-01-08 09:19:39 +08:00
Eloy Lafuente (stronk7)
8a18dbe064
MDL-80313 mod_forum: Fix a few steps to use :checked pseudo element
Not sure why the [checked=checked] was working ok, but everywhere I
have looked out there show examples about :checked (and :not(:checked)
being the correct way to use CSS Selectors that are converted to working
XPath expressions.

Curiously, it's only for NonJS steps, JS one already were using
another syntax, just [checked].
2024-01-05 18:57:48 +01:00
Laurent David
f0e5726c44 MDL-80289 mod_bigbluebutton: Fix retrieval of meeting via meetingid 2024-01-05 11:14:46 +01:00
Paul Holden
126db72671
MDL-80523 mod_label: correct upgrade step select query parameters. 2024-01-04 15:21:55 +00:00
Sara Arjona
5f9310dc99
Merge branch 'MDL-79307' of https://github.com/paulholden/moodle 2024-01-03 17:18:16 +01:00
Sara Arjona
00b4da1aae
Merge branch 'MDL-76719' of https://github.com/paulholden/moodle 2024-01-03 16:32:33 +01:00
Shamim Rezaie
f11f30375d Merge branch 'MDL-79708-main' of https://github.com/ilyatregubov/moodle 2024-01-03 00:09:17 +11:00
Paul Holden
de04d9cfd9
MDL-80450 mod_resource: observe print intro setting when embedding. 2023-12-21 11:22:13 +00:00
Huong Nguyen
8aa49f153d Merge branch 'MDL-71735-main' of https://github.com/sarjona/moodle 2023-12-21 09:04:59 +07:00
Huong Nguyen
1b106e1c69 Merge branch 'MDL-78940-main' of https://github.com/lameze/moodle 2023-12-21 08:46:50 +07:00
Huong Nguyen
7a9f3ae18b Merge branch 'MDL-80151-main' of https://github.com/lameze/moodle 2023-12-20 15:39:37 +07:00
Jun Pataleta
1165da6349
Merge branch 'MDL-68124-main' of https://github.com/sarjona/moodle 2023-12-20 15:00:51 +08:00
Paul Holden
114605accc
MDL-80446 mod_feedback: stricter selector for getting draggable items.
Ensure we don't also match inner nodes of the label question.
2023-12-19 08:26:47 +00:00
Jun Pataleta
80839957ef
MDL-76723 mod_page: Use external_format_value constructor properly
* 'Content format' is passed to the $default parameter which is
incorrect.
* Also removed passing of VALUE_REQUIRED because it's already the
default value for the $required parameter.
2023-12-19 15:48:07 +08:00
Ilya Tregubov
c28cdf9ca9 Merge branch 'MDL-69541-master_improve_accessibility_of_post_a_copy_to_all_groups_option' of https://github.com/vtos/moodle 2023-12-19 11:37:24 +08:00
Angelia Dela Cruz
dcfd8490b5 MDL-80151 mod_chat: Behat for chat repeat times and past session view 2023-12-18 16:10:15 +08:00
Simey Lameze
2321dc3396 MDL-80151 behat: add calendar step to navigate to specific view 2023-12-18 16:10:11 +08:00
Sara Arjona
9d19157b08
MDL-68124 lesson: Fix random behat error with Oracle
This random error was caused because when reviewing an attempt,
the first pageid to display is calculated based on the timeseen
field in the lesson_attempst table.
In Oracle, sometimes it returned the second pageid (because both
had the same timeseen), so which led to these random failures.

Apart from adding 1-second wait when the attempt is created (to
guarantee the first page is returned properly), a few more
improvements have been also made, like removing manual steps for
setting the lesson activity or adding some extra checks to
confirm the information displayed is expected.
2023-12-18 08:21:18 +01:00
Simey Lameze
af453412e2 MDL-78940 course: create social forum using event observers
This commit also convert manual steps to create discussions on the
Social forum to use data generators.
2023-12-18 09:16:24 +08:00
Paul Holden
58237bb91a
MDL-73545 mod_lesson: final removal of reprecated header button method. 2023-12-15 14:31:37 +00:00
Huong Nguyen
f9b6266eed Merge branch 'MDL-79050-master' of https://github.com/andelacruz/moodle 2023-12-14 09:56:24 +07:00
Sara Arjona
95cd15ea12
Merge branch 'MDL-80360' of https://github.com/paulholden/moodle 2023-12-13 17:05:43 +01:00
Ilya Tregubov
ffe51e3ffa Merge branch 'MDL-80003_master' of https://github.com/PhilippImhof/moodle 2023-12-13 09:21:49 +08:00
Angelia Dela Cruz
174878936a MDL-79050 Behat: Add behat coverage to retake lesson activity 2023-12-12 15:52:52 +08:00
Sara Arjona
2119a5a2e5
MDL-71735 core: Remove deprecated renamed classes
The classes that were renamed in 4.0 have been completely
removed in 4.4.
2023-12-11 09:03:45 +01:00
Ilya Tregubov
b642d2710b MDL-79708 question_bank: Fix legacy filter condition.
build_query_from_filter method expects includesubcategories
to be inside filteroptions array
2023-12-11 11:27:21 +08:00
vtos
b3bd8daeb1 MDL-69541 mod_forum: Post a copy to all groups in quick discussion
When sitting behind the 'Advanced' link in discussion creation, the 'Post a copy to all groups' option is not very much visible
for a discussion creator. There were many proposals within the community to bring this option to the quick discussion creation
form.

The current improvement brings the 'Post a copy to all groups' option back to the quick discussion creation form.

A behat tests was added to cover the feature's behavior.
2023-12-10 13:36:30 +01:00
Paul Holden
bd63b01cca
MDL-80360 mod_assign: fix timemodified assertion in date restore test. 2023-12-08 10:12:21 +00:00
Francis Devine
8380311af6 MDL-79937 mod_lesson: Fix matching pagetype question matching
The addition of text format on the output of the answer responses broke
the matching later when comparing the valid answer against the sent
response, as the answer response was not correspondingly formatted.

I decided to use the un formatted answer response as the key, to keep it
as close as identical to prior behaviour
2023-12-08 09:05:41 +13:00