Paul Holden
aaf17fc8b6
MDL-78320 quiz_overview: format group names in overview report.
2023-05-24 16:19:34 +01:00
Andrew Nicols
b28a28ef0f
Merge branch 'MDL-78260_401' of https://github.com/timhunt/moodle into MOODLE_401_STABLE
2023-05-18 11:51:47 +08:00
Tim Hunt
3d023db5b0
MDL-78260 quiz stats: fix View details for random questions
2023-05-17 09:04:49 +01:00
Tim Hunt
efe895f1bb
MDL-75576 quiz/question statistics: don't expire by time
...
Previously, a set of calculated quiz statistics would only 'last' for
15 minutes. Then they would be considered invalid and not used.
Now, computed statistics are kept indefinitely. Instead, when a new
batch of values are computed for a particular set of settings, older numbers
for the same settings are deleted first. Therefore,
question_stats_cleanup_task is no more.
2023-05-15 10:04:34 +01:00
Tim Hunt
a532f407bb
MDL-75576 quiz statistics: don't time-limit the use of cached values
...
This should have been done as part of MDL-74762, but was missed.
2023-05-15 10:04:33 +01:00
Tim Hunt
86932a330b
MDL-75576 quiz statistics: don't compute when a user views the qbank
...
Previously, when users viewed the question bank, if the quiz statistics
had not already been calculated, we would try to compute them there an then.
This could be very, very slow, leading to session lock problems.
Now, we never try to compute the statistics on the fly. Instead, we rely
on the existing \quiz_statistics\task\recalculate scheduled task to do it.
2023-05-15 10:04:33 +01:00
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