Andrew Nicols
530322e2ce
MDL-69918 core: Update uses of legacy form change checker
2021-08-10 23:54:01 +08:00
Shamim Rezaie
d61f18433f
MDL-71410 mod_quiz: Cache user and group overrides
2021-04-27 14:32:26 +10:00
Thong Bui
a8c868822f
MDL-71030 Quiz: Add 'who' made changes in question response history
2021-04-20 09:06:15 +07:00
Víctor Déniz
f72cc98503
Merge branch 'MDL-71128' of git://github.com/paulholden/moodle
2021-04-06 19:41:04 +01:00
sam marshall
5e72715e4f
MDL-71099 Lib: Move new user_fields class from core to core_user
...
This class would belong more appropriately within the 'user' API
(core_user) instead of within the 'core' API, since it is
directly related to user data.
Since the class has only just been added to Moodle, now is a good
time to move it.
2021-03-25 13:47:23 +00:00
Paul Holden
50d3268a6c
MDL-71128 mod_quiz: escape question idnumber on display.
2021-03-16 20:27:14 +00:00
sam marshall
558cc1b85e
MDL-45242 Lib: Replace calls to deprecated functions
...
In all cases changes have been kept to a minimum while not making
the code completely horrible. For example, there are many instances
where it would probably be better to rewrite a query entirely, but
I have not done that (in order to reduce the risk of changes).
2021-03-10 10:57:10 +00:00
Tim Hunt
7d11dcfde2
MDL-68831 quiz overrides: show a summary on the quiz info page
2020-12-16 14:21:45 +00:00
François Moreau
760ed019ee
MDL-45002 mod_quiz: completion option, at least N attempts completed
2020-07-14 15:32:06 -04:00
Adrian Greeve
aa1dcabf4c
Merge branch 'MDL-68733' of https://github.com/timhunt/moodle
2020-05-21 08:37:52 +08:00
Tim Hunt
64207dab65
MDL-67183 questions: get_question & get_behaviour only init if required
...
This reviews all the code code, and sets $requirequestioninitialised
whenever possible in these calls, which should improve performance.
2020-05-19 20:52:07 +01:00
Tim Hunt
89c8a076b2
MDL-68733 quiz editing: behat test for altering random question tags
2020-05-18 23:20:10 +01:00
Bence Molnar
9024289626
MDL-68733 quiz editing: be more careful deleting random question tags
2020-05-18 22:56:33 +01:00
Mikhail Golenkov
8c287a6696
MDL-67540 quiz: Start transaction before selecting existing slots.
...
Co-authored-by: Conn <conn@cmrwarwicker.com>
2020-04-26 10:54:14 +10:00
Tim Hunt
1aacbb72d3
MDL-67832 quiz: fix lots of PHPdoc in attemptlib.php
2020-01-31 19:09:03 +00:00
Tim Hunt
550599e001
MDL-67155 quiz: first attempt_step should record the student's userid
2019-11-07 00:08:49 +00:00
Tim Hunt
c2200bd5dc
MDL-66553 quiz/questions: show idnumber and tags when adding from qbank
2019-10-11 13:59:26 +01:00
Jun Pataleta
844d27b2cd
Merge branch 'MDL-65968-master' of git://github.com/jleyva/moodle
2019-09-24 12:01:10 +08:00
Huong Nguyen
0fd6032ce8
MDL-66633 Quiz: Improve preview user checking
2019-09-19 16:20:42 +02:00
Huong Nguyen
8dc015050e
MDL-66633 quiz: allow to create attempts for different users
...
By adding a new optional param to quiz_prepare_and_start_new_attempt()
it can be used by the surrounding code to create an attempt for anybody
else (different from current $USER)
quiz attempt API should let you create an attempt for a different user
2019-09-18 19:52:09 +02:00
Juan Leyva
dcadc8c54c
MDL-65968 notifications: Use f1 size avatars for Push notifications
2019-09-17 16:29:02 +02:00
Juan Leyva
36fa0ec900
MDL-60680 notifications: Return custom data in notifications
2019-04-25 14:55:18 +02:00
Tim Hunt
cdfee883aa
MDL-63870 quiz: new preview should abandon, not finish, current attempt
2019-01-17 17:55:12 +00:00
Simey Lameze
5c0654d7ff
MDL-63185 mod_quiz: change APIs to handle attempts on behat
...
Thanks to Tim Hunt for all the help.
Part of MDL-62610
2018-09-28 11:07:21 +08:00
Adrian Greeve
5454e72c21
MDL-55188 events: First deprecation of eventslib.php
2018-07-30 09:23:54 +08:00
Luca Bösch
4a73ecc654
MDL-62262 quiz: quiz index page showing wrong dates.
2018-07-06 14:37:07 +02:00
Jake Dallimore
209f6e1eda
Merge branch 'MDL-61407-master' of git://github.com/andrewnicols/moodle
2018-05-04 11:50:26 +08:00
Andrew Nicols
4c729982c7
MDL-61407 mod_quiz: Add initial privacy implementation
2018-05-03 16:14:36 +08:00
Ryan Wyllie
8f0f0a5903
MDL-62149 quiz: include tag ids in random question link
2018-04-30 17:03:03 +08:00
Shamim Rezaie
9da6f4d968
MDL-61614 Quiz: Restore tags for random questions
2018-04-18 13:07:08 +10:00
Shamim Rezaie
66aa172cbb
MDL-61614 Quiz: Maintain slot tags when editing random questions
2018-04-18 13:07:08 +10:00
Shamim Rezaie
d62793fdee
MDL-61614 Quiz: save slot's tags in a table when adding random question
2018-04-18 13:07:08 +10:00
Andrew Nicols
c36eea3d28
Merge branch 'MDL-61033-master' of https://github.com/nashtechdev01/moodle
2018-04-09 10:37:23 +08:00
Simey Lameze
13e2b19838
MDL-61364 core: remove param from question_has_capability_on calls
2018-03-28 08:53:41 +08:00
dinhloc
f4695ec722
MDL-61033 quiz: Editing a quiz while a preview is open
...
Editing a quiz while a preview is open in another browser tab can leads to a cryptic error that is hard to recover from
2018-03-27 10:47:32 +07:00
Shamim Rezaie
76d1f12d15
MDL-61514 Quiz: Add matchbyid arg to quiz_extract_random_question_tags
...
Let the quiz_extract_random_question_tags and quiz_extract_random_question_tag_ids functions
to decide whether they should use tag id to find tags or not.
2018-03-12 03:05:33 +11:00
Shamim Rezaie
2481a022d0
MDL-61514 Quiz: Make sure tag id is int when being saved as json
2018-03-11 19:07:04 +11:00
Shamim Rezaie
2a1c9daccd
MDL-61380 Quiz: build attempt from "random" questions by tag
2018-03-07 05:43:38 +11:00
Shamim Rezaie
6650c66b59
MDL-61380 Questions: Editing configuration of existing random questions
...
Editing "random" questions follows a different procedure than adding them.
This commit takes care of editing a "random" question's configuration.
This commit also introduces mod_quiz\form\randomquestion_form, so mod_quiz
can edit random questions without having to use the form that is inside qtype_random.
2018-03-07 05:32:40 +11:00
Shamim Rezaie
4f964a1ca0
MDL-61380 Quiz,Questions: Adding "random" question by tag
2018-03-07 00:30:32 +11:00
Shamim Rezaie
4fa49cc647
MDL-61380 Quiz: Adding a random question
2018-03-01 11:50:52 +11:00
Eloy Lafuente (stronk7)
496e80e1f5
MDL-52832 quiz: sql fixing couple of incorrect group by uses
2018-02-06 18:30:11 +01:00
Luca Bösch
bcf4a7f076
MDL-52832 quiz: timeclose in activities block looks after overrides.
2018-02-01 22:52:19 +01:00
Ryan Wyllie
9aac9f7074
MDL-60062 quiz: add support for drag drop of calendar events
2017-11-07 01:25:32 +00:00
Tim Hunt
6c73dd9593
MDL-57228 quiz: fix editing when there are one-question sections
...
Fix based on a patch by Joost van der Borg <j.van.der.borg@ssr.nl>.
2017-09-25 12:16:12 +01:00
Darren Cocco
81c53579ac
MDL-58264 quiz: removed additional = symbol
...
Removed superflous = symbol from SQL snippet
2017-03-27 11:07:40 +11:00
Damyon Wiese
663640f5b3
MDL-40759 icons: convert uses of pix_url to pix_icon
...
Also change filepicker to use scaled svgs instead of sets of custom pngs. The svgs are taken from font-awesome.
2017-03-17 15:52:17 +08:00
Amanda Doughty
cc350fd9c8
MDL-47162 core_message: Add course id to message eventdata
2016-10-27 18:11:27 +02:00
Juan Leyva
8a972ab377
MDL-53870 mod_quiz: New settings for quiz attempts in the mobile app
2016-09-28 09:25:18 +01:00
Tim Hunt
d0f8daef12
MDL-55815 quiz review: after close should beat immediately after
...
This only arises in specific situations: student submitted less than 2
mintues before time close, or when a teacher previews after the close
date. However, in those cases, the old behaviour was confusing. Now,
'After the quiz is closed' takes priority.
2016-08-31 12:55:21 +01:00