Tim Hunt
3b23ff6fec
MDL-76810 redirect handling: ensure return URLs are properly sanitised
2023-01-11 11:42:28 +08:00
Andrew Nicols
6f1c9d3b53
Merge branch 'MDL-76614' of https://github.com/timhunt/moodle
2023-01-11 10:32:42 +08:00
Marina Glancy
b1c97381b4
MDL-76356 various: avoid implicit conversion to int
...
PHP before version 8.1 automatically converted to int if the function
parameter (or array key) is expected to be int. PHP 8.1 shows notice in
this case
2023-01-10 15:27:11 +01:00
Tim Hunt
a9f8547599
MDL-76614 quiz: rename quiz => mod_quiz\quiz_settings
2023-01-06 14:35:54 +00:00
Tim Hunt
ae6a1c0391
MDL-76614 quiz: clean up the quiz_attempt class
2023-01-06 14:35:52 +00:00
Tim Hunt
5682c8c70e
MDL-76614 quiz: move class quiz_attempt => mod_quiz\quiz_attempt
...
I thought about renaming the class to just plain attempt, but I
acutally think quiz_attempt makes it clearer what this is. Also
not changing the name massively reduces the pain for everyone
updating their code (including me right now!)
2023-01-06 14:35:51 +00:00
Sara Arjona
4759dbe119
Merge branch 'MDL-76308-master' of https://github.com/BruceGoodGuy/moodle
2023-01-03 14:12:53 +01:00
Paul Holden
cd2fc29712
Merge branch 'MDL-53137-master' of https://github.com/lucisgit/moodle
2023-01-03 12:14:30 +00:00
Sara Arjona
ac023fbfb2
Merge branch 'MDL-76106-master' of https://github.com/NashTechOpenUniversity/moodle
2023-01-02 13:07:34 +01:00
Ilya Tregubov
e93d2b0cbe
Merge branch 'MDL-76399' of https://github.com/paulholden/moodle
2022-12-29 09:40:51 +07:00
Tony Butler
2970988674
MDL-53137 qtype_numerical: Swap geo tolerance limits for -ve answers
2022-12-22 15:31:12 +00:00
Paul Holden
a48f53ec1c
Merge branch 'MDL-75965-master' of https://github.com/HuongNV13/moodle
2022-12-22 12:24:57 +07:00
Huong Nguyen
fc7ecd4c73
MDL-75965 question_multichoice: Misalignment of feedback icons
2022-12-21 13:39:24 +07:00
Paul Holden
5be3686da6
Merge branch 'MDL-72906' of https://github.com/tdjones/moodle
2022-12-19 10:23:03 +00:00
Paul Holden
5185558105
MDL-76399 question: switch to appropriate Behat step for selects.
2022-12-16 13:08:56 +00:00
Paul Holden
d73a92ca4a
Merge branch 'MDL-76026' of https://github.com/AnupamaSarjoshi/moodle
2022-12-16 09:53:40 +00:00
Tim Hunt
8cbc6acb17
MDL-74923 quiz: move report base classes to local folder
2022-12-14 22:38:11 +00:00
Anupama Sarjoshi
89287ec744
MDL-76026 Question bank: Fix errors related to categories renaming
...
This part of the code in 'question_category_object.php' 'update_category' method was used before Moodle 4.0 version for renaming
the random questions in an updated category. For Moodle 4.0 and later versions, it is unnecessary as the details of
random questions are no more stored in 'question' table but in 'question_set_references' table.
The method call move_question_set_references handles the same.
2022-12-13 18:16:52 +00:00
hieuvu
0f5c8f020d
MDL-76106 qtype_ddmarker: fix the missing maker issue.
...
We will not calculate old maker position again and using old data.
This will make sure the position of makers is correct
when the background image is smaller than dropzone.
2022-12-12 20:32:43 +07:00
Khoa Nguyen Dang
315efa2db2
MDL-76308 Question\D&D: The draggable area is slim characters to select
2022-12-12 14:02:56 +07:00
Trevor Jones
c49806941c
MDL-72906 Quiz: Prevent scrollbar on multichoice
...
Remove negative margin from the "clear my choice" anchor.
With the negative margin, when the containing box height is calculated
the anchor's hidden style overflows beyond the boundary and triggers
the overflow:auto to add a scroll bar.
2022-12-07 10:24:34 -07:00
Anupama Sarjoshi
9e77d14a7b
MDL-76550 Quiz and qbank: Fix display of Category and question names
2022-12-05 11:48:43 +00:00
hieuvu
ff342087da
MDL-76106 qtype_ddmarker: Improve loading consistency.
...
Wait for the image to load completely before running the js.
2022-12-02 16:14:23 +07:00
Ilya Tregubov
05535e38df
Merge branch 'MDL-76497-master' of https://github.com/junpataleta/moodle
2022-12-01 08:56:09 +03:00
Marina Glancy
a800e7e62f
MDL-74853 various: add second parameter to htmlentities functions
...
Default value of the $flag argument changed in PHP 8.1 from ENT_COMPAT to ENT_QUOTES | ENT_SUBSTITUTE
To ensure consistent behavior across different PHP version the second parameter is now required for the functions:
htmlspecialchars(), htmlentities(), htmlspecialchars_decode(), html_entity_decode() and get_html_translation_table()
2022-11-28 16:12:20 +01:00
Jun Pataleta
c6ab792ddf
MDL-76497 upgrade: add the 4.1.0 separation line to all upgrade scripts
2022-11-28 14:43:04 +08:00
Jun Pataleta
00bae8b8a4
MDL-76403 versions: bump all versions and requires near release
2022-11-23 09:45:23 +08:00
Helen Foster
ae2f8cfa67
MDL-76105 lang: Import fixed English strings (en_fix)
2022-11-17 09:44:35 +00:00
Paul Holden
6c5d2f0e54
MDL-76267 qbank_viewquestionname: access check for inplace editable.
2022-11-16 11:54:42 +08:00
Andrew Nicols
7e6d32d7c2
Merge branch 'MDL-76112-master' of https://github.com/marinaglancy/moodle
2022-11-16 10:07:49 +08:00
Jun Pataleta
0b2cff48ed
Merge branch 'master_MDL-72957-modifiedby-41' of https://github.com/catalyst/moodle-MDL-72752
2022-11-11 11:39:58 +08:00
Safat Shahin
8940b3ee65
MDL-72957 qbank_viewcreator: modified by column
...
This commit will implement modified by column for
the question bank instance.
2022-11-11 13:52:21 +11:00
Sara Arjona
1aba368aa9
Merge branch 'master_MDL-75874' of https://github.com/matheusot/moodle
2022-11-10 16:22:11 +01:00
Jun Pataleta
8013961452
Merge branch 'master_MDL-75126-allow-multiple-bulk-action-41' of https://github.com/catalyst/moodle-MDL-72752
2022-11-10 22:09:12 +08:00
Matheus Rodrigues
caf6b655e6
MDL-75874 aiken_html: correctly display HTML chars for Aiken questions
...
Updates the Aiken Format class to process answers correctly, enabling
support for special HTML characteres such as <, >, and &.
Co-authored-by: Leticia Luz <leticia.adrielli.luz@gmail.com>
2022-11-10 09:56:52 -03:00
Safat Shahin
cf7d6131ad
MDL-75126 core_question: Deprecate get_bulk_action_key
...
This commit will deprecate get_bulk_action_key and move
the implementation in the get_key method entirely by
making this an absract method.
2022-11-10 23:41:03 +11:00
Safat Shahin
c3245f6f52
MDL-75126 core_question: Allow multiple bulk action from qbank plugins
...
This commit implements the bulk action api to allow multiple bulk
actions from the qbank plugins instead of one. Any qbank plugin
wants to implement bulk action can now define an array of bulk
actions as a plugin feature.
2022-11-10 00:34:48 +11:00
Sara Arjona
15ea80e12d
Merge branch 'MDL-76169-master' of https://github.com/andrewnicols/moodle
2022-11-04 12:06:38 +03:00
Andrew Nicols
723f33031b
Merge branch 'MDL-74035-master' of https://github.com/andrewnicols/moodle
2022-11-04 12:06:38 +03:00
Sara Arjona
add46e3112
Merge branch 'MDL-76169-master' of https://github.com/andrewnicols/moodle
2022-11-04 12:06:36 +03:00
Andrew Nicols
92d17a73b5
MDL-76169 question: Use correct action menu step
2022-11-04 15:51:22 +08:00
Safat Shahin
8c13965658
MDL-74035 qbank_viewquestionname: In place editing
...
This commit will implement in place editing for the
qbank view where users with permission can edit the
title of the questions from the quesion bank view.
2022-11-04 12:03:42 +08:00
Andrew Nicols
bcbdb8764a
MDL-76169 question: General behat fixes
...
Whilst amending these tests I discovered some other minor fixes to be
made.
2022-11-03 21:39:15 +08:00
Andrew Nicols
8ffbaad330
MDL-76169 question: Use action menu steps consistently
2022-11-03 21:39:15 +08:00
Andrew Nicols
3d70f457cb
MDL-76169 mod_quiz: Add quiz question bank behat resolver
2022-11-03 21:39:15 +08:00
Shamim Rezaie
8ddc2a5fed
Merge branch 'master_MDL-75306-lastused-41' of https://github.com/catalyst/moodle-MDL-72752
2022-11-02 12:57:09 +11:00
Andrew Nicols
d396af9393
MDL-76120 behat: Swap click on select option to set field
...
Recent versions of Marionette do not like to click on the option
element so we must always use the set field option.
2022-10-28 20:53:22 +08:00
Marina Glancy
a34b4ebdc3
MDL-76112 various: can not pss null as 3rd param to preg_split
...
This produces notices in PHP 8.1
2022-10-28 10:51:20 +02:00
Safat Shahin
9c89fba92a
MDL-75306 qbank_usage: Last used column
...
This commit will implement Last used column
and filterable object.
2022-10-28 10:21:09 +11:00
Jake Dallimore
08f2f2dc72
Merge branch 'MDL-75727' of https://github.com/timhunt/moodle
2022-10-25 11:55:45 +08:00