239 Commits

Author SHA1 Message Date
Eloy Lafuente (stronk7)
57ea6753d3 MDL-62361 versions: bump all versions and requires near release
version = 2018051400 release version
requires= 2018050800 current beta+ (week4roll1) version
2018-05-09 02:46:30 +02:00
Shamim Rezaie
28e392a8b6 MDL-61614 Quiz: DB schema changes
Created a new DB table to store tag data for qiuz slots.
2018-04-18 13:07:08 +10:00
Shamim Rezaie
6fc5a830d4 MDL-61380 Quiz: Migrate "random" questions data into quiz_slots
Search for all "random" questions in the qbank and move the configuration data of each one to the quiz slots table.
2018-03-01 11:41:15 +11:00
Shamim Rezaie
b6c38f71e2 MDL-61380 Quiz: quiz_slots schema change
Adding questioncategoryid and includingsubcategories to the quiz_slots table
2018-03-01 11:41:14 +11:00
Eloy Lafuente (stronk7)
ba854606e6 MDL-60764 versions: bump all versions and requires near release
version = 2017111300 release version
requires= 2017110800 current rc2 version
2017-11-10 02:52:53 +01:00
Eloy Lafuente (stronk7)
d989ee1e03 MDL-58853 versions: bump all versions and requires near release
version = 2017051500 release version
requires= 2017050500 current rc1 version
2017-05-09 02:58:28 +02:00
Eloy Lafuente (stronk7)
04649747a4 MDL-57197 versions: bump all versions and requires near release
version = 2016120500 release version
requires= 2016112900 current rc4 version
2016-11-29 22:57:05 +01:00
Dan Poltawski
2d71da6851 Merge branch 'MDL-54802-master' of git://github.com/lameze/moodle 2016-10-03 14:46:43 +01: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
Simey Lameze
981356b23d MDL-54802 mod_quiz: Add validation to require passing grade greater than 0
This commit adds a form validation to prevent the creation of quizzes
using zero or null grade to pass when using require passing grade.
2016-09-22 08:48:11 +08:00
Eloy Lafuente (stronk7)
1abca11e0a MDL-54638 versions: bump all versions and requires near release
version = 2016052300 release version
requires= 2016051900 current rc1 version
2016-05-19 02:16:15 +02:00
Dan Poltawski
b3687410df Merge branch 'MDL-53507' of git://github.com/timhunt/moodle 2016-03-26 09:42:46 +08:00
Juan Leyva
efca239e17 MDL-52767 mod_quiz: New Web Service get_quiz_required_qtypes 2016-03-23 00:57:07 +01:00
Juan Leyva
a79a63619b MDL-52767 mod_quiz: New Web Service get_quiz_access_information 2016-03-23 00:54:41 +01:00
Tim Hunt
0c8a90d7cb MDL-53507 quiz editing: was possible to lose questions
If you dragged a question to the top of the quiz, it could
disappear. Several other cases of dragging questions to the
same place in sequence, but to a different page/section were
also failing, and have been fixed.
2016-03-21 23:14:53 +00:00
Eloy Lafuente (stronk7)
b1871ae68b MDL-53034 mod_quiz: version mini-bump 2016-03-21 23:01:46 +01:00
Eloy Lafuente (stronk7)
3720f100ea Merge branch 'MDL-52888-master' of git://github.com/jleyva/moodle 2016-03-21 22:40:43 +01:00
Eloy Lafuente (stronk7)
7cc45b2e72 Merge branch 'MDL-52868-master' of git://github.com/jleyva/moodle 2016-03-21 22:20:00 +01:00
Dan Poltawski
26f59e5080 Merge branch 'MDL-52863-master' of git://github.com/jleyva/moodle 2016-03-21 17:42:19 +08:00
Dan Poltawski
f6a0594e7e Merge branch 'MDL-52852-master' of git://github.com/jleyva/moodle 2016-03-21 17:27:20 +08:00
Dan Poltawski
121b46e033 Merge branch 'MDL-52830-master' of git://github.com/jleyva/moodle 2016-03-21 17:09:15 +08:00
Dan Poltawski
00a6c59936 MDL-52813 mod_quiz: bump version
Diverge from stable branching
2016-03-21 17:05:05 +08:00
Juan Leyva
3e5c19a0ed MDL-52888 mod_quiz: New Web Service mod_quiz_view_attempt_review 2016-03-18 09:50:06 +01:00
Juan Leyva
d9ef6ae0c2 MDL-52888 mod_quiz: New Web Service mod_quiz_view_attempt_summary 2016-03-18 09:49:29 +01:00
Juan Leyva
899983ee58 MDL-52888 mod_quiz: New Web Service mod_quiz_view_attempt 2016-03-18 09:27:43 +01:00
Juan Leyva
3589b6591a MDL-52868 mod_quiz: New Web Service mod_quiz_get_attempt_review 2016-03-17 17:15:52 +01:00
Juan Leyva
98e6869088 MDL-52863 mod_quiz: New Web Service mod_quiz_process_attempt 2016-03-17 16:49:40 +01:00
Juan Leyva
96d5607cba MDL-52852 mod_quiz: New WS mod_quiz_save_attempt 2016-03-11 16:16:02 +01:00
Juan Leyva
bc9733e710 MDL-52830 mod_quiz: New Web Service mod_quiz_get_attempt_summary 2016-03-11 11:06:50 +01:00
Juan Leyva
bc247b0dee MDL-52813 mod_quiz: New Web Service mod_quiz_get_attempt_data 2016-03-11 11:05:15 +01:00
Juan Leyva
b89544404e MDL-52788 mod_quiz: New Web Service mod_quiz_start_attempt 2016-03-11 10:22:47 +01:00
Juan Leyva
1f67c0b83e MDL-52786 mod_quiz: New WS mod_quiz_get_combined_review_options 2016-03-07 11:46:32 +01:00
Juan Leyva
e73e458170 MDL-52785 mod_quiz: New Web Service mod_quiz_get_user_best_grade 2016-03-04 11:17:39 +01:00
Juan Leyva
c161ecff88 MDL-52670 mod_quiz: New Web Service mod_quiz_get_user_attempts 2016-03-04 09:29:32 +01:00
Juan Leyva
4064dd0ec4 MDL-52669 mod_quiz: New Web Service mod_quiz_view_quiz 2016-02-26 15:45:22 +01:00
Juan Leyva
51e27aac2b MDL-50546 mod_quiz: New WS mod_quiz_get_quizzes_by_courses 2016-02-26 15:42:11 +01:00
Eloy Lafuente (stronk7)
2e144835bb MDL-52059 versions: bump all versions and requires near release
version = planned 2015111600 release version
requires= current 2015111000 rc3 version
2015-11-10 12:33:52 +01:00
Jean-Michel Vedrine
a001c1131e MDL-38230 mod_quiz: Create UI for removing of quiz access rule addons 2015-08-03 08:51:46 +02:00
Eloy Lafuente (stronk7)
26ea380d24 MDL-50102 versions: bump all versions and requires near release
version = planned 2015051100 release version
requires= current 2015050500 rc1 version

Note: On purpose, the course format social wrong version (2015102100)
has been kept unmodified. Looking forward a solution right now.
2015-05-05 17:43:19 +02:00
M Kassaei
5d949702f8 MDL-40988 quiz: ability to break quizzes into sections
The sections are created on the edit quiz page, and then appear in the
navigation panel when the quiz is being attempted to help students find
their way around.

The 'Shuffle questions' setting has been moved from being per-quiz
to being a per-section.

This commit is actually the joint work of Mahmoud Kassaei and Tim Hunt
from The Open University. We could only use one persons name for the
commit and this time Mahmoud gets the credit/blame.
2015-04-05 14:30:53 +01:00
M Kassaei
1700bd4dea MDL-40992 quiz: let students to redo questions within an attempt 2015-03-26 17:46:47 +00:00
Tim Hunt
441d284ada MDL-40990 quiz: option to require prev Q finished before next shown
Further improvements to this code, including resolving edge cases:

* The new feature can only be used when it is possible for the
previous question in the quiz to be complete.

* Also, this new feature cannot be used in combination with shuffle
questions, because that make no sense; nor in combination with
sequential navigation, because to make that work properly would be a lot
of effort. If someone needs that to work later, it should be possible
for them to implement it.

* There were changes in the edit renderer API, to try to make things
more  consistent, and to make it less likely we will need to change
things again in the future. See mod/quiz/upgrade.txt.

* As part of this change, the styling of the Edit quiz page was tweaked
to make slighly more efficient use of the horizontal space, and to be
more symmetrical.
2015-03-17 17:16:22 +00:00
Eloy Lafuente (stronk7)
de881693f7 MDL-48021 bump: Bump all versions to planned release
This bumps all versions to planned 2.8 release
(2014111000) version and all the dependencies to
current 2.8rc1 (2014110400)
2014-11-04 17:52:35 +01:00
Tim Hunt
1c2e05c060 MDL-47691 quiz: only warn re overdue attempts if a Q has been answered
If a quiz is set to have a grace period when time has expired, we only
email studnets to warn them about their overdue attempt if they have put
in an answer to at least one question that is worth some marks.
2014-10-20 12:11:10 +01:00
Colin Chambers
e1a2d0d92d MDL-43089 quiz: improved interface for building quizzes
This commit is actually the joint work of Mahmoud Kassaei, Colin
Chambers and Tim Hunt from The Open University. We could only use one
persons name for the commit, and this time Colin gets the credit/blame.

The goal of this work was to increase usability, and also clean up
the page enough that it will be possible to add new features in future.

Display of mod/quiz/edit.php is now entirely generated by
mod_quiz\output\edit_renderer. This uses a helper class
mod_quiz\structure to provide details of the structure of the quiz, and
mod_quiz\repaginate to alter that structure. (Acutally, there are still
some modification methods on mod_quiz\structure. Expect that to be
cleaned up in future.)

The new code uses much more ajax, and there are new scripts
mod/quiz/edit_rest.php and mod/quiz/repaginate.php to handle this.
(Again, don't be surprised if those two scripts get merged in future.)
Also questionbank.ajax.php (which may, in future, be made more generic,
and moved into the core question bank code.)

Most of the new JavaScript code has intentionally copied the way things
are done when editing activities on the course page.

As a result of this, mod/quiz/editlib.php is now much shorter than it
was. (In future, expect the remaining code in here to move into
mod/quiz/classes.)
2014-10-02 17:22:23 +01:00
Ray Morris
db3686d546 MDL-37993 Quiz: completion upon all passing grade or attempts exhausted
This patch adds completion options to Quiz similar to what is available in scorm.
One can have the quiz marked complete when either a passing grade is achieved or
all attempts are used up. This will allow a quiz to complete when the user "passes
or fails".  (Where "fail" means "using up all attempts without passing".)
2014-07-14 10:14:27 -05:00
Eloy Lafuente (stronk7)
538bf99ece MDL-45486 Bump all versions to planned release
This bumps all versions to planned 2.7 release
(2014051200) version and all the dependencies to
current 2.7rc2 (2014050800)
2014-05-09 02:12:28 +02:00
Dan Poltawski
a59b2e18d8 Merge branch '44180-27' of git://github.com/samhemelryk/moodle 2014-03-05 12:47:17 +08:00
Sam Hemelryk
01773a6d00 MDL-44180 mod_quiz: unified @package use 2014-03-03 08:37:06 +13:00
Tim Hunt
ccba5b8805 MDL-43749 normalise quiz database structure.
The sequence of questions that made up a quiz used to be stored as a
comma-separated list in quiz.questions. Now the same information is
stored in the rows in the quiz_slots table. This is not just 'better' in
a database design sense, but it allows for the future changes we will
need as we enhance the quiz in the MDL-40987 epic.

Having changed the database structure, all the rest of the code needs to
be changed to account for it, and that is done here.

Note that there are not many unit tests for the changed bit. That is
because as part of MDL-40987 we will be changing the code further, and
we will add unit tests then.
2014-03-02 10:00:40 +01:00