110098 Commits

Author SHA1 Message Date
Sara Arjona
675569572d
Merge branch 'MDL-78455-master' of https://github.com/andelacruz/moodle 2023-07-13 16:49:58 +02:00
Sara Arjona
79829fb12c
Merge branch 'MDL-78642' of https://github.com/paulholden/moodle 2023-07-13 16:49:58 +02:00
Sara Arjona
075377a996
Merge branch 'MDL-78522-master' of https://github.com/ilyatregubov/moodle 2023-07-13 16:49:58 +02:00
Sara Arjona
2c3f4d3ae9
Merge branch 'MDL-78288-master' of https://github.com/aanabit/moodle 2023-07-13 16:49:56 +02:00
Sara Arjona
65d2f9cddb
Merge branch '76319-gradebook-add-missing-continue-button-master' of https://github.com/DSI-Universite-Rennes2/moodle 2023-07-13 16:49:28 +02:00
Jake Dallimore
f508921418
Merge branch 'MDL-74568-master' of https://github.com/rmady/moodle 2023-07-13 16:49:28 +02:00
Meirza
2eb879360c MDL-77328 qtype_multianswer: Refactor for PHP 8.2 compatibility
This commit addresses compatibility issues in the qtype_multianswer
question type. The following changes were made:

- The usage of the undeclared property $maxmark on subquestions in
  qtype_multianswer was identified as problematic. To resolve this,
  the existing declared property $defaultmark is now being used for
  the same purpose.

By switching to the declared property $defaultmark, compatibility with
PHP 8.2 is ensured and the issue with the undeclared property is
resolved.
2023-07-13 21:03:23 +10:00
Shamim Rezaie
9f00818d00 MDL-77328 qtype_calculated: Refactor for PHP 8.2 compatibility
This commit addresses compatibility issues in the qtype_calculated
question type. The following problems were identified and resolved:

- qtype_calculated was reusing the qtype_numerical_answer class and
  setting two additional properties ($correctanswerlength and
  $correctanswerformat) that were not declared. To resolve this, a new
  class, qtype_calculated_answer, was defined and utilised.
- During grading in qtype_numerical, there were references to an
  undeclared property ($unitisright) used to track calculation details.
  This issue was fixed using a 'replace temp with query' refactoring.

These changes ensure the qtype_calculated question type is compatible
with PHP 8.2 and addresses the identified issues.
2023-07-13 21:03:23 +10:00
Meirza
2b23c8cee2 MDL-77328 qtype_truefalse: Refactor for PHP 8.2 compatibility
This commit addresses the following issues and improvements in the
qtype_truefalse class:

- Added missing class properties:
 - public $truefeedbackformat
 - public $falsefeedbackformat
 - public $showstandardinstruction
- Updated qtype_truefalse_question to include type hinting for better
  IDE support.
2023-07-13 21:03:22 +10:00
Mark Johnson
cc1ae8d5b3 MDL-77745 mod_quiz: Confirm display of question version in behat tests 2023-07-13 11:11:43 +01:00
Mark Johnson
ab8a4dd8cb MDL-77745 core_question: Show question version in info box 2023-07-13 11:11:43 +01:00
Amaia Anabitarte
13857d4af9 MDL-78288 core_course: Fixing collapse/expand all changed behavior 2023-07-13 09:32:20 +02:00
Rajneel Totaram
43a6eaa142 MDL-78704 course: Render unescaped HTML for activity dates 2023-07-13 13:12:38 +12:00
Paul Holden
1125af7857
MDL-78587 course: use tertiary nav selector on participant pages. 2023-07-12 18:26:23 +01:00
Paul Holden
826553d9eb
MDL-78587 behat: page instance resolvers for group overview/groupings. 2023-07-12 18:01:34 +01:00
sam marshall
8df2ac4e98 MDL-78109 core_cache: Remove harmful requirelockingwrite/read options
These cache options are not used in core and would cause a performance
cost without any benefit if ever used. Also they don't work properly.
2023-07-12 15:33:15 +01:00
Paul Holden
58963baba4
MDL-77645 course: ensure active enrolments are considered for drawer.
Otherwise the enrolment index page tries to load the course index
drawer, which doesn't exist at this point and triggers exceptions in
the editor module.

Co-authored-by: Tim Volckmann <tim.volckmann@mastersolution.com>
2023-07-12 14:26:17 +01:00
Amaia Anabitarte
841d552942 MDL-78288 core_course: Hide access restrictions textarea till ready 2023-07-12 14:23:17 +02:00
Amaia Anabitarte
6c1471c755 MDL-78288 core_course: Adding a link to edit availability settings
AMOS BEGIN
  CPY [editsettings,moodle],[editsettings,core_availability]
AMOS END
2023-07-12 14:23:17 +02:00
Amaia Anabitarte
b9a840f638 MDL-78288 behat: New availability info selectors
- Create a new availability info selectors for section and activity data info regions
- Replace css_element by created selectors in the existing behat tests
2023-07-12 14:22:56 +02:00
Amaia Anabitarte
290e6f4c6f MDL-78288 core_course: Adding filter_shown_headers option to forms 2023-07-12 14:22:56 +02:00
Tim Hunt
931a4cbd56 MDL-76996 question bank: fix errors when qbank_statistics is disabled 2023-07-12 11:46:38 +01:00
Ilya Tregubov
8219595f7e
Merge branch 'MDL-72493-master' of https://github.com/mihailges/moodle 2023-07-12 10:05:54 +08:00
Miri Lipson
b8f3b85232 MDL-75115 theme_boost: Fix Bootstrap tooltips in RTL mode 2023-07-12 08:58:56 +07:00
Ilya Tregubov
dc88bd8c8d
Merge branch 'MDL-78216-master-1' of https://github.com/mihailges/moodle 2023-07-12 09:44:21 +08:00
Tim Hunt
744e6f836e MDL-77912 questions: make multi-choice stats calc robust to bad data 2023-07-11 16:57:11 +01:00
raortegar
b914f01316 MDL-75195 core: Added supportemail option to install_database.php 2023-07-11 11:13:03 +02:00
danghieu1407
34bc6214dc MDL-78556 tablelib: flexible_table should support caption tag 2023-07-11 13:40:33 +07:00
Darren Cocco
0f5a9e7680 MDL-72493 mod_quiz: Use question cache when starting attempt.
Replaced custom loading of data and then question object
creation using internal question_bank functionality with
question_bank::load_question.

Removed the call $quizobj->load_questions as it is
redundant.
2023-07-11 13:47:50 +08:00
Angelia Dela Cruz
83a73da1a3 MDL-77450 Behat: Behat cleanup and optimisation 2023-07-11 13:22:02 +08:00
Ilya Tregubov
f809ea7cb7
Merge branch 'MDL-67852_MASTER_NEW' of https://github.com/aydevworks/moodle 2023-07-11 11:11:02 +08:00
Ilya Tregubov
c44ca828af
Merge branch 'MDL-77690-master' of https://github.com/junpataleta/moodle 2023-07-11 09:51:18 +08:00
Ilya Tregubov
ffef7024dc
Merge branch 'MDL-78633-master' of https://github.com/aanabit/moodle 2023-07-11 09:39:21 +08:00
Ilya Tregubov
29591baf30
Merge branch 'MDL-78183-master' of https://github.com/aanabit/moodle 2023-07-11 09:35:04 +08:00
Ilya Tregubov
254fd16dcd
Merge branch 'MDL-75359' of https://github.com/paulholden/moodle 2023-07-11 09:29:20 +08:00
Amaia Anabitarte
b14669a34a MDL-78633 core_course: Improve tertiary navigation in course completion 2023-07-10 15:07:50 +02:00
Sara Arjona
97ed236dee
Merge branch 'MDL-78279-master' of https://github.com/ferranrecio/moodle 2023-07-10 13:37:27 +02:00
Ferran Recio
205cd5a338 MDL-78279 tool_componentlibrary: add dropdown page 2023-07-10 11:41:20 +02:00
Ferran Recio
2fc8a263a8 MDL-78279 output: behats for dropdown components 2023-07-10 11:41:20 +02:00
Ferran Recio
109a97cff3 MDL-78279 output: new status dropdown component
This compoment allow the user to select a status from a user
choice instance. It is rendered as a dropdown menu triggered by
a button.
2023-07-10 11:41:20 +02:00
Ferran Recio
59bda4137d MDL-78279 output: user choice output class
A class to represent a generic user choice. Other output compoments
can use this output to render user choices like selects, modals or
dropdowns.
2023-07-10 11:41:20 +02:00
Ferran Recio
e3645f663b MDL-78279 output: new generic dropdown component 2023-07-10 11:41:19 +02:00
Julien Boulen
966f926813 MDL-76319 gradebook: add continue button after csv grades import error 2023-07-10 10:17:48 +02:00
danghieu1407
ab4cb28883 MDL-76757 Question bank: Can not delete the question completely 2023-07-10 14:30:01 +07:00
Sara Arjona
2fcdfc17c1
Merge branch 'MDL-78648-master' of https://github.com/rmady/moodle 2023-07-10 07:35:19 +02:00
Sara Arjona
e0c1f5059b
Merge branch 'MDL-78031-master' of https://github.com/ilyatregubov/moodle 2023-07-10 07:32:41 +02:00
Andrew Nicols
dff354bb4f
MDL-78673 grade: Switch test to use generators 2023-07-10 11:21:15 +08:00
Andrew Nicols
50944e456c
MDL-78673 grade: Switch to behat navigation steps 2023-07-10 11:21:15 +08:00
Andrew Nicols
28d3fa7ece
MDL-78673 grade: Address random failure due to toast 2023-07-10 11:21:14 +08:00
Andrew Nicols
2b7daa3b28
MDL-78673 behat: Allow plugins to define their expansion of > 2023-07-10 09:52:46 +08:00