Commit graph

24481 commits

Author SHA1 Message Date
Sara Arjona
987ceb1b69 MDL-78207 forum: Move unread messages to activity badge 2023-06-13 12:09:58 +02:00
Amaia Anabitarte
cb50c71245 MDL-76715 mod_data: Remove data_records when the last field is deleted 2023-06-13 10:52:56 +02:00
Jake Dallimore
d8e7c9d3fe
Merge branch 'MDL-73052-master' of https://github.com/sarjona/moodle 2023-06-13 14:44:25 +08:00
Amaia Anabitarte
f80b1b070b MDL-78310 mod_resource: Change 'Show type' setting default value
Changing 'Show type' admin setting default value to 'Yes'
2023-06-12 17:39:16 +02:00
Paul Holden
3a90d4c837
MDL-77224 mod_h5pactivity: clean up attempt data on activity deletion. 2023-06-11 18:37:03 +01:00
Paul Holden
5ae1b4e5f3
MDL-77993 mod_lesson: ensure report action menu always present. 2023-06-11 18:35:03 +01:00
Paul Holden
4c11da246e
MDL-78018 mod_assign: format group name in grading table. 2023-06-11 15:02:24 +01:00
Paul Holden
7953ded152
MDL-77542 mod_assign: remove duplicate grade heading from grader.
It's already part of the subsequent rendered form.
2023-06-11 15:01:23 +01:00
Paul Holden
c18df79c4f
MDL-78172 mod_forum: ensure group names are correctly formatted. 2023-06-11 15:00:16 +01:00
Sara Arjona
86edd3d142 Merge branch 'MDL-78415-master-enfix' of https://github.com/vmdef/moodle 2023-06-08 20:33:02 +02:00
Helen Foster
06c5a6c883 MDL-78415 lang: Import fixed English strings (en_fix) 2023-06-08 09:59:04 +01:00
Andrew Nicols
9f5d56b7c3
Merge branch 'MDL-75696_master' of https://github.com/marxjohnson/moodle 2023-06-08 12:30:49 +08:00
Jun Pataleta
d1295a8734 Merge branch 'MDL-75898-master' of https://github.com/matthewhilton/moodle 2023-06-08 11:43:18 +08:00
Jun Pataleta
58e76214e4 Merge branch 'MDL-78378-master' of https://github.com/sarjona/moodle 2023-06-07 23:24:41 +08:00
Ferran Recio
4a3f21fee8 MDL-78010 mod_label: improve upgrade performance 2023-06-06 21:31:23 +02:00
Sara Arjona
d3f363541b MDL-73052 page: Fix page description when it has only an image
This is as regression of MDL-72413, when description was moved to a
standard module API.
In some cases, when description has only images, it's was not
displayed.
2023-06-02 08:20:17 +02:00
Sara Arjona
7499e96a33 MDL-78378 survey: Display default introduction when description is empty
This is a regression when the activity pages were redessigned in Moodle
4.0. The default introduction should be displayed when the activity
description is empty.
2023-06-02 08:19:08 +02:00
Simey Lameze
2367bc9ff6 MDL-69231 behat: remaining work for role capability generator
This commit does few things:
* Unify data generators usage to role short name.
* Replace remaining manual steps to use the new data generator.
* Also replaced other manual steps to set config to use data generators.
* Tidy up of some tests, aligning pipes and splitting one line steps into multiple lines.
* Fixes tests to have one Given/When/Then per scenario.
2023-06-02 12:47:27 +08:00
Andrew Nicols
aa2fc4048e MDL-69231 behat: Update tests to use new generator 2023-06-02 12:47:27 +08:00
Andrew Nicols
81dc04b435 Merge branch 'MDL-77564' of https://github.com/timhunt/moodle 2023-06-01 13:00:54 +02:00
Ilya Tregubov
59cd47c02f
Merge branch 'MDL-62859' of https://github.com/paulholden/moodle 2023-06-01 10:12:14 +08:00
Ilya Tregubov
e453be7198
Merge branch 'MDL-75961-master' of https://github.com/lameze/moodle 2023-06-01 09:07:27 +08:00
mkassaei
cc880cabf5 MDL-77564 Quiz display options: Hide or show the grade information
Allow settings to show Max marks and Marks, Max marks only, or hide the grade information completely.
2023-05-31 17:15:29 +01:00
Angelia Dela Cruz
c95ef35b60 MDL-70152 behat: Forum behat generators use UI
Behat cleanup and optimisation
2023-05-29 10:32:20 +08:00
Angelia Dela Cruz
640db57c0e MDL-70152 behat: Forum behat generators use UI
Replace steps that manually add forum and forum post instances
via the UI and use Behat generators. This improves the speed of
Behat test runs.
2023-05-29 10:32:12 +08:00
Andrew Nicols
505940f91e MDL-70152 forum: Create behat data generator
* Convert track_read_posts.feature to use activity and discussion
data generators as exmaple.

Co-authored-by: Jun Pataleta <jun@moodle.com>
2023-05-29 10:32:11 +08:00
Luca Bösch
eecbead7d9 MDL-78314 quiz: style button fieldset in "Manually grade question". 2023-05-26 15:09:43 +02:00
Jun Pataleta
d1de2ba1a4 Merge branch 'MDL-76065-master' of https://github.com/lameze/moodle 2023-05-25 11:56:54 +08:00
Jun Pataleta
428e604344 Merge branch 'MDL-78320' of https://github.com/paulholden/moodle 2023-05-25 11:48:42 +08:00
Andrew Nicols
5c183a99e7
Merge branch 'MDL-78307-master' of https://github.com/dpalou/moodle 2023-05-25 10:42:19 +08:00
Paul Holden
ca95bee259
MDL-78333 mod_assign: final removal of deprecated log format methods. 2023-05-24 16:41:55 +01:00
Paul Holden
b2dd8a3cbd
MDL-78320 quiz_overview: format group names in overview report. 2023-05-24 16:19:29 +01:00
Dani Palou
53eb03bcc6 MDL-78307 quiz: Fix URL passed to secure_window.init_close_button 2023-05-24 13:10:50 +02:00
Dani Palou
a5a33b8d4a MDL-78307 quiz: Fix contexturl passed to attempt_overdue message 2023-05-24 13:10:50 +02:00
David Mudrák
b407af725f MDL-73464 book: Scroll to chapter top when navigating through the book
When navigating to the next / previous chapter, the chapter should be
the page element that gets the user's attention and focus. Its title
should be displayed at the prominent top page area without the need to
scroll to it all the time.
2023-05-24 14:32:45 +08:00
Simey Lameze
42a01d20e3 MDL-75961 behat: review and enhance mod_imscp tests
This commit makes the following improvements to mod_imscp tests:
* Removes unnecessary @javascript and @_file_upload tags from non-JS tests.
* Removes user/enrol data generation from tests that can be performed as admin.
* Removes "I log out" and other unnecessary steps.
2023-05-24 10:27:41 +08:00
Angelia Dela Cruz
deb4e69f74 MDL-75961 behat: IMSCP behat generators use UI
Replace steps that manually add IMSCP instances via the UI and use
Behat generators. This improves the speed of the Behat test runs.
2023-05-24 10:01:17 +08:00
Simey Lameze
d9cccadcf2 MDL-76065 behat: Review and enhance mod_lti Behat tests
In this commit, the following improvements were made to the mod_lti Behat tests:

* Replaced manual steps with data generators to set completion.
* Eliminated unnecessary user and course enrolments data generation as some tests can be performed as an admin.
* Removed the @javascript tag from non-JS tests.
* Updated the LTI data generator to generate an internal Moodle URL in the toolurl field, enabling the use of XML files.
2023-05-23 12:11:48 +08:00
Angelia Dela Cruz
dca69e002a MDL-76065 behat: LTI behat generators use UI
Replace steps that manually add LTI instances via the UI and use
Behat generators. This improves the speed of the Behat test runs.
2023-05-23 12:11:48 +08:00
Andrew Nicols
97300ca692
MDL-76733 mod_assign: Tidy up availability behat tests
This feature had lots of small issues and it made sense to fix it whilst
investigating a query:

* most of the steps do not require JavaScript
* it uses the UI to set an admin setting, for every scenario:
** only 3-4 of the scenarios actually test that setting
** it is very slow to do it his way when we have a generator step we can use
* we create two assignments in the Background, but each test only uses one of them
* we create the assignments in the Background with a generator, but
  update them to modify various settings in each Scenario using the UI
  when we should just create one assignment for each test and set it up
  correctly for that Scenario
2023-05-23 10:53:44 +08:00
Andrew Nicols
656433d530
MDL-78328 mod_forum: Deprecate forum_print_discussion_header 2023-05-22 22:00:21 +08:00
Paul Holden
c5d1f72dca
MDL-62859 javascript: replace user preference calls with new methods. 2023-05-22 13:51:39 +01:00
Andrew Nicols
dc01f7df8d
Merge branch 'MDL-78260' of https://github.com/timhunt/moodle 2023-05-19 11:40:14 +08:00
Mark Johnson
bdc75b3015 MDL-75696 quiz: Fix restoring pre-4.0 quizzes with random questions
Restoring multiple quizzes from a pre-4.0 backup was broken when
the quizzes shared a random question. This is because after the
first quiz created a set reference in place of the random question,
it deleted the question record so it was not there for the second
quiz to use. This change tracks the IDs of random questions so
they can be deleted at the end.
2023-05-18 15:53:36 +01:00
Mark Johnson
a47ebb50b3 MDL-75696 quiz: Set default value for includingsubcategories on restore 2023-05-18 15:53:36 +01:00
Tim Hunt
9be598a77f MDL-78260 quiz stats: fix View details for random questions 2023-05-17 09:09:13 +01:00
Ilya Tregubov
1ff7767b70
Merge branch 'MDL-78152' of https://github.com/paulholden/moodle 2023-05-17 15:06:45 +08:00
Sara Arjona
36de54c1f8 Merge branch 'MDL-77350-master' of https://github.com/meirzamoodle/moodle 2023-05-17 08:27:26 +02:00
Paul Holden
b5e1330d72
MDL-78253 libraries: upgrade to version 2.3.7 of FPDI. 2023-05-16 17:40:55 +01:00
Jun Pataleta
88495c2f4b Merge branch 'MDL-75576' of https://github.com/timhunt/moodle 2023-05-16 10:02:13 +08:00