24265 Commits

Author SHA1 Message Date
Jun Pataleta
87a9b1c8ba
Merge branch 'MDL-79015-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE 2023-08-24 15:53:14 +08:00
Jun Pataleta
e25d28ff05
Merge branch 'MDL-78941-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE 2023-08-24 13:05:49 +08:00
Angelia Dela Cruz
1b18e3328e MDL-79015 mod_lesson: Behat coverage for lesson with access restriction 2023-08-24 12:53:58 +08:00
Angelia Dela Cruz
60e74092cd MDL-78941 mod_quiz: Behat coverage for student flagging quiz questions 2023-08-24 10:56:00 +08:00
Huong Nguyen
45bd1bfa49
Merge branch 'MDL-78843-401' of https://github.com/lameze/moodle into MOODLE_401_STABLE 2023-08-24 08:58:03 +07:00
Luca Bösch
2baa3bb4a5 MDL-65887 workshop: Recalculate + fill the 'Grade for assessment' column 2023-08-18 08:58:43 +02:00
Andrew Nicols
d6a9f01cc9
Merge branch 'MDL-78684-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE 2023-08-16 22:44:35 +08:00
Jun Pataleta
152acdd72f
Merge branch 'MDL-78505/401' of https://github.com/skodak/moodle into MOODLE_401_STABLE 2023-08-15 22:21:05 +08:00
Petr Skoda
05ffcf0579 MDL-78505 Revert "MDL-32114 form: markdown must be preserved on saving post"
This partially reverts commit 4a31dd69d6d89818f676ece916e573aa894d49d6.
2023-08-15 14:27:07 +02:00
Huong Nguyen
baed2a1aa1
Merge branch 'MDL-71909-m401' of https://github.com/NeillM/moodle into MOODLE_401_STABLE 2023-08-15 16:33:32 +07:00
Simey Lameze
1f43b863f3 MDL-78843 behat: update get_forum_id to search for idnumber or name
This commit also converts manual steps to create discussions on the
Annoucements forum to data generator.
2023-08-10 10:05:16 +08:00
Rajneel Totaram
da05f15e3b MDL-71728 mod_quiz: check if user can access this page 2023-08-09 04:50:21 +00:00
Rodrigo Mady
961c7ef3e0 MDL-78559 mod_chat: Fix chat report loading with TeX filter 2023-08-07 09:55:16 -03:00
Jun Pataleta
d25c0c5448
MDL-78498 mod_forum: Prevent race condition in forum recent activity
* Using the generator to create the forum discussions, the timecreated
of a discussion can be set before the user's last course access which
will prevent forum_print_recent_activity() from including this generated
discussion in the recent activity results. To work around this, generate
the forum discussion 1 second after the current time to make sure that
the user's last course access will always be before the discussion's
creation time.
* This patch also includes some optimisations by:
  - Removing the unnecessary @javascript tag for the
    `Time limit expires` scenario
  - Bringing the discussion generation to each scenario to allow each
    scenario to customise the data passed to the generator like for the
    `Time limit expires` scenario.
  - Navigating directly to the forum instance.
2023-08-03 11:33:32 +08:00
Sara Arjona
ceb153b1c7
Merge branch 'MDL-78460-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-08-02 08:51:13 +02:00
Simey Lameze
33d829716e MDL-78498 behat: add support for private replies
This commit adds support for private replies in the
'the following forum replies exist in course' custom step.
2023-08-01 16:08:10 +08:00
Angelia Dela Cruz
73a08e3ccd MDL-78498 Behat: Use data generators for forum posts and replies
This commit does few things:
* Replace manual forum posts and replies to use data generator.
* It also changes the code to handle social forums.
* Other behat clean-ups and optimization.

Co-authored-by: Simey Lameze <simey@moodle.com>
2023-08-01 16:08:10 +08:00
Angelia Dela Cruz
efb38571e5 MDL-78684 Behat: Replace gradebook navigation to use page resolvers
This commit also does other things such as:
- Replace manual steps to setup gradebook by data generators
- Added support for outcomes and scales page resolvers
- Behat clean up
2023-08-01 15:55:33 +08:00
Neill Magill
612b86e193 MDL-71909 assignfeedback_editpdf: Do not queue conversions when not on
Before this change conversion tasks would be queued for assignments that
did not have the pdf annotation method enabled.

The change will also prevent queing when the plugin is disabled.
2023-07-26 09:16:48 +01:00
Huong Nguyen
9c47f4e461
Merge branch 'MDL-78525/401' of https://github.com/skodak/moodle into MOODLE_401_STABLE 2023-07-20 09:04:31 +07:00
Shamim Rezaie
d0bef0b899 Merge branch 'MDL-78564-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-07-17 20:36:00 +10:00
Paul Holden
f6583c57c8
MDL-78460 mod_forum: correctly render timed post label information. 2023-07-14 10:15:40 +01:00
Petr Skoda
f25ad012c5 MDL-78525 core: fix word and character counting 2023-07-14 08:44:15 +02:00
Ilya Tregubov
e0dc36f27e
Merge branch 'mdl-7133-401' of https://github.com/juancs/moodle into MOODLE_401_STABLE 2023-07-13 10:31:28 +08:00
Andrew Nicols
b3820bdc44
Merge branch 'MDL-77450-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE 2023-07-13 00:10:14 +08:00
Andrew Nicols
a80a370e0a
Merge branch 'MDL-78676-401' of https://github.com/sarjona/moodle into MOODLE_401_STABLE 2023-07-13 00:06:36 +08:00
Angelia Dela Cruz
9a55a771c1 MDL-77450 Behat: Behat cleanup and optimisation 2023-07-11 14:22:35 +08:00
Ilya Tregubov
5cecf47fd1
Merge branch 'MDL-77690-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE 2023-07-11 09:52:05 +08:00
Juan Segarra Montesinos
031e583402 MDL-71133 mod_assign: Grade decimals missing with marking workflow 2023-07-09 08:12:22 +02:00
Sara Arjona
e8897600a1
MDL-78676 mod_data: Check completion rules properly
The completion_rule_enabled() method was not checking all the fields
and, in some cases, it was returning false (because it was not checking
that "Count of entries" field was enabled).
2023-07-07 18:28:23 +02:00
Ilya Tregubov
ff652d5c2c
Merge branch 'MDL-77375-401' of https://github.com/rezaies/moodle into MOODLE_401_STABLE 2023-07-06 09:21:18 +08:00
Paul Holden
c537169f84
Merge branch 'MDL-78542-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE 2023-07-05 17:13:18 +01:00
Andrew Nicols
2811bedd48
Merge branch 'MDL-78622_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE 2023-07-05 21:56:35 +08:00
Andrew Nicols
17b4837fb6
Merge branch 'MDL-78614-401' of https://github.com/noeldemartin/moodle into MOODLE_401_STABLE 2023-07-05 20:30:42 +08:00
Andrew Nicols
e5f747ffa4
Merge branch 'MDL-78158-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE 2023-07-05 10:24:07 +08:00
Huong Nguyen
28263edd35
Merge branch 'MOODLE_401_MDL-77396' of https://github.com/Dineshdurai/moodle into MOODLE_401_STABLE 2023-07-04 16:15:48 +07:00
Andrew Nicols
daccd01a0e
Merge branch 'MDL-76840_401' of https://github.com/uzimike/moodle into MOODLE_401_STABLE 2023-07-04 13:21:30 +08:00
Angelia Dela Cruz
241a8eb343 MDL-78158 behat: Behat cleanup and optimisation 2023-07-04 08:36:58 +08:00
Sara Arjona
b90771ef97
Merge branch 'MDL-77868-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-07-03 17:29:40 +02:00
Sara Arjona
7cf23d5396
Merge branch 'MDL-76661-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE 2023-07-03 17:26:29 +02:00
Angelia Dela Cruz
0d5b8d1337 MDL-78158 Behat: Use data generators to add blocks 2023-07-03 19:17:35 +08:00
Tim Hunt
bcf0112c36 MDL-78622 quiz: add question query must include contextid
It is logically requried and necessary for the query to use the index
2023-07-03 11:51:19 +01:00
Paul Holden
d88a8851ac
MDL-76661 mod_bigbluebuttonbn: fix meeting attendee role comparison. 2023-07-03 11:41:13 +01:00
Noel De Martin
73fcdb1bf4 MDL-78614 behat: Remove trailing quotes 2023-07-03 11:18:42 +02:00
Shamim Rezaie
2f108b6430 MDL-77375 mod_forum: set boundary of the dropdown
Also removed the unnecessary button role from the <button> element
2023-07-02 00:06:13 +10:00
Shamim Rezaie
ebe8674636 MDL-77375 mod_assign: set overflow constraint boundary of the dropdowns 2023-07-02 00:06:13 +10:00
Paul Holden
315e8dd327
MDL-78564 mod_assign: ensure submission statement is present.
Don't require acceptance of statement, if no such statements exists,
during assignment submission.
2023-06-30 14:20:09 +01:00
Jun Pataleta
14d4f0aed3
MDL-77690 mod_lesson: Lesson accessibility fixes
* Set the heading levels of lesson pages appropriately to avoid skipped
heading issues.
* Add appropriate labels for tertiary navigation select menus.
2023-06-30 17:51:12 +08:00
Jun Pataleta
2f305e5a10
MDL-78542 mod_url: clicktoopen lang string fix
- Improve the grammatical structure of the lang string.
- Remove the mention of "link", for sighted users, it should already
be obvious that it's a link. For screen reader users, screen readers
already announce links. So it would be confusing for them to hear
something like "Click 'Moodle.org, link' link to open resource"
2023-06-30 17:27:32 +08:00
Jun Pataleta
7ffbc23426
MDL-78542 mod_url: Add a help text for URL resource name field
Add a help text explaining that the URL resource's name field will be
used for the link text. Also add basic guidelines about naming links for
the benefit of screen reader users.
2023-06-30 17:27:32 +08:00