Ilya Tregubov
d28386a29d
Merge branch 'MDL-78025_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-05-02 11:43:30 +08:00
Tim Hunt
384ab12c55
MDL-78025 quiz: fix the quiz_questions_in_use logic
2023-04-26 15:44:54 +01:00
Huong Nguyen
4ec5aac734
MDL-78007 tiny_media: Fix wrong condition for the Tiny Media
...
Including in this commit:
- Switched to Tiny editor in manually_mark_question.feature
2023-04-24 15:59:32 +07:00
Víctor Déniz
1265b0ad84
MDL-77878 lang: Use fixed strings in tests
2023-04-17 09:26:52 +01:00
Helen Foster
2db1ddd290
MDL-77878 lang: Import fixed English strings (en_fix)
2023-04-16 20:54:48 +01:00
Sara Arjona
60954253d4
MDL-75301 quiz: Fix failing behat test
...
I cherry-picked this branch from master (because the current 401
had some conflicts). In master, quiz has been moved to quiz_settings,
so that's why the behat test start failing. Using the proper name
fixes it.
2023-04-06 07:15:57 +02:00
Mark Johnson
0bc265e900
MDL-75301 quiz: Use "always latest" option for question previews
...
This will set the "alwayslatest" option when previewing a question from
the quiz according to the version setting used in the quiz slot.
2023-04-05 12:50:05 +02:00
Tim Hunt
aa9a462a4b
MDL-69551 quiz: start quiz password field should be a passwordunmask
...
This help accessibility and usability
2023-04-04 12:19:49 +01:00
Shamim Rezaie
d50bb07b2b
Merge branch 'MDL-74452_401_STABLE' of https://github.com/marxjohnson/moodle into MOODLE_401_STABLE
2023-03-29 15:27:15 +11:00
Mark Johnson
0d4d201a8c
MDL-74452 quiz: Display an error if all versions are in draft status
2023-03-21 15:25:02 +00:00
Mark Johnson
5a7ad7b284
MDL-75746 mod_quiz: Fix backup and restore of quiz slots
2023-03-14 16:07:46 +00:00
Jun Pataleta
bb61d8392b
Merge branch 'MDL-77559-401-2' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-03-09 15:57:44 +08:00
Andrew Nicols
cd48ae56c7
MDL-77559 js: Rebuild all JS with Node 16
2023-03-09 09:53:19 +08:00
Sara Arjona
6aafa1eea6
Merge branch 'MDL-77464_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-03-08 16:14:47 +01:00
Sara Arjona
6d70b125a8
Merge branch 'MDL-77440_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-03-08 07:23:43 +01:00
Jun Pataleta
3c00ca0bb2
Merge branch 'MDL-77416-401-enfix' of https://github.com/vmdef/moodle into MOODLE_401_STABLE
2023-03-08 08:50:24 +08:00
Tim Hunt
bdcf29ab29
MDL-77464 questions: regrading was losing question_attempt metadata
...
This is very similar to MDL-77090, but at the time, I missed that this
also needed to be handled. (Question metadata is, I think, only used
by the quiz 'Try another question like this one' feature.)
2023-03-07 13:45:04 +00:00
Andrew Nicols
7a5f859f08
Merge branch 'MDL-77094_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-03-07 12:10:18 +08:00
Tim Hunt
99a6ea40ac
MDL-77440 quiz: fix nav error reviewing after redoing a question
2023-03-06 16:12:26 +00:00
Víctor Déniz
98f10149d6
MDL-77416 lang: Use fixed strings in tests
2023-03-03 13:27:01 +00:00
Helen Foster
192bad5ba2
MDL-77416 lang: Import fixed English strings (en_fix)
2023-03-03 13:25:53 +00:00
Jun Pataleta
a377bf30c4
Merge branch 'MDL-75012-401-5' of https://github.com/andrewnicols/moodle into MOODLE_401_STABLE
2023-03-02 12:31:09 +08:00
Andrew Nicols
288620b0b4
MDL-75012 js: Full build of all grunt things
2023-03-02 12:15:25 +08:00
Jun Pataleta
3b9a4c5e69
Merge branch 'MDL-75719-401-4' of https://github.com/ilyatregubov/moodle into MOODLE_401_STABLE
2023-03-02 12:02:29 +08:00
Ilya Tregubov
23915a35ae
MDL-75719 completion: Fix unit tests and Behat tests.
...
Fix tests since we changed behavior of completions (completion
state an UI).
2023-03-02 11:04:08 +08:00
Andrew Nicols
576afc3ba6
Merge branch 'MDL-58945_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-03-01 10:55:38 +08:00
Andrew Nicols
6c97d7ba5b
Merge branch 'MDL-76843_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-02-23 11:52:47 +08:00
Andrew Nicols
f559c0ad59
Merge branch 'MDL-77210_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-02-23 09:22:52 +08:00
Tim Hunt
c4de73821a
MDL-76843 quiz: add test to verify random essay stats now work
2023-02-22 15:07:45 +00:00
Tim Hunt
291d241981
MDL-76843 quiz: fix statistics questions for missing questions
2023-02-22 15:07:40 +00:00
Tim Hunt
32bf205db3
MDL-58945 qbank: showing q text should give option of plain or full
2023-02-22 11:17:52 +00:00
Tim Hunt
bdcc5b7a59
MDL-77210 quiz: fix regrade for attempts with redone questions
2023-02-13 16:58:26 +00:00
Anupama Sarjoshi
7bee650a24
MDL-63608 quiz: Fix Access order when manually grading quizzes
...
Changes done to fix access order of attempts that need manual grading.
Changed button text from 'Save and go to next page' to 'Save and show next' to improve UI.
2023-02-10 17:46:39 +00:00
Andrew Nicols
d3040a763a
Merge branch 'MDL-77057-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE
2023-02-09 10:21:06 +08:00
Andrew Nicols
c4840c6b0c
Merge branch 'MDL-77024_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-02-02 11:52:41 +08:00
Tim Hunt
514b6f13d9
MDL-77094 quiz_statistics: improve efficiency of the recalculate task
...
quiz_settings::create() requires at least 3 DB queries, so the point is
that we can avoid doing that until after we have worked out if we need
to calculate statistics for this quiz.
Also, we order the list of quizzes to consier, to process the ones with
more recent attempts first.
2023-01-31 17:01:53 +00:00
Paul Holden
d78d372a1e
MDL-77057 group: format group names in module override pages.
2023-01-27 11:50:55 +00:00
Tim Hunt
deed4fe251
MDL-77024 quiz: fix metatdata on log events
...
Some had the wrong edulevel or crud
2023-01-25 16:12:37 +00:00
Jun Pataleta
6d90fc7c5b
Merge branch 'MDL-76967-401' of https://github.com/lucaboesch/moodle into MOODLE_401_STABLE
2023-01-25 08:57:16 +08:00
Jun Pataleta
addbbfdaae
Merge branch 'MDL-76639-401' of https://github.com/andelacruz/moodle into MOODLE_401_STABLE
2023-01-24 18:59:29 +08:00
Marina Glancy
2dd7290ccb
MDL-76362 various: Avoid passing nulls to functions that don't allow nulls
...
PHP 8.1 is more strict on the parameter type. Functions such as trim(), strlen(), str_replace(), etc
show notice when null is passed as an argument
2023-01-23 09:16:06 +08:00
Luca Bösch
8bb813e461
MDL-76967 questions: Questions last used line height
2023-01-20 09:57:21 +01:00
Ilya Tregubov
69fbf97923
Merge branch 'MDL-76766-401' of https://github.com/aanabit/moodle into MOODLE_401_STABLE
2023-01-19 11:04:23 +08:00
Angelia Dela Cruz
6bd3f18949
MDL-76639 behat: Add Behat test coverage for quiz with limited attempts
2023-01-13 16:11:22 +08:00
Jun Pataleta
217a32f033
Merge branch 'MDL-76649_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-01-12 12:06:45 +08:00
Jun Pataleta
28ccae3b7a
Merge branch 'MDL-76739-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE
2023-01-12 10:17:37 +08:00
Amaia Anabitarte
959c34de04
MDL-76766 mod_quiz: Allow shuffling quizes with no questions
2023-01-11 11:16:09 +01:00
David Mudrák
acd82d3a86
MDL-76739 lang: Use the fixed strings in the tests, too
2023-01-10 21:15:06 +01:00
Helen Foster
152bbd76c5
MDL-76739 lang: Import fixed English strings (en_fix)
2023-01-10 21:13:14 +01:00
Tim Hunt
d71ada1952
MDL-76649 quiz statistics task: output more useful trace info
...
At the moment, quiz_statistics\task\recalculate gives no useful
information about what it is doing, which makes it hard to investigate
if the task fails. This commit makes it more usefully verbose.
Also, following this change, one instance of this task will not
run for more than one hour at a time.
As part of this commit, I have added a new helper mtrace_exception.
to consistently log exceptions in scheduled tasks. It is sad to
add a new function to moodlelib.php, but that seemed the logical place.
Looking at other tasks, this method is badly needed. Many are just
logging the ->getMessage() which is normaly insufficient for proper
debugging. However, swiching all existing tasks to use the new function
will need to wait for a future MDL.
2023-01-09 13:34:14 +00:00