E.g. https://qa.moodledemo.net/mod/quiz/report.php?id=34&mode=statistics
Tim Hunt
Tim Hunt的帖子
I disagree with some of the things you describe as limitaions:
- Only the student role should have mod/quiz:attempt capability. That is the default. The logic of using this capability to decide who gets the message is correct. (If your role setup is different, I recommend you reveiw it.)
- The content of the message is a language string. Thefore you can customise it using Language customisation.
- The groups thing was just a bug, and I think it got fixed: MDL-84327.
I think that pretty much only leaves making the time-perion customisable. For me, the issue is not just the 2 days, it is the built in assumption what all quizzes with a close date have an open date. I tried to point out that was a false assumption before this got implemented, but I was ignored.
To find all the commits for a particular MDL, you can use a git command like this:
I am going to assume you have a git checkout somewhere. If necessary, do this one-time setup:
git remote add upstream https://github.com/moodle/moodle.git
git fetch upstream
(That URL in the first command comes from the 'Code' button at https://github.com/moodle/moodle/.) Then, when you want to find a particular commit
git fetch upstream
git log --grep MDL-12345 upstream/MOODLE_401_STABLE
(The repeated fetch is just to ensure everythign is up to date.) Here, MDL-12345 is the issue you care about, and MOODLE_401_STABLE is branch you want commits from. Ignore any merge commits (which you could do by adding --no-merges to the command-line, but it can be good to see all the history.)