tjhunt
4adab2a4a1
MDL-8682 - followup. When disabling the enter key, don't disable it on links. That is bad for accessibility. Merged from MOODLE_19_STABLE.
2007-12-11 16:23:54 +00:00
tjhunt
d8d9497719
MDL-12540 - Quiz sometimes outputs content before <head> when previewing - breaks HTML strict. Merged from MOODLE_19_STABLE.
2007-12-11 15:04:31 +00:00
stronk7
87c06e6ebd
Using new cross-db sql_isnotempty() function. MDL-12084
2007-12-07 15:58:04 +00:00
skodak
0b5a80a1a5
MDL-7028 rewritten course reset + forum role_unassign cleanup fixes; merged from MOODLE_19_STABLE
2007-11-29 14:43:04 +00:00
tjhunt
99731878ff
MDL-12362 - Don't show scores for incomplete attempts on the quiz view page. Merged from MOODLE_19_STABLE.
2007-11-27 19:18:36 +00:00
scyrma
d417533252
Fix for par of the missing strings, as reported in MDL-12294
2007-11-26 04:10:08 +00:00
skodak
a78890d593
MDL-12133 validate() method tidying up; merged from MOODLE_19_STABLE
2007-11-23 22:15:07 +00:00
skodak
9f7f1a74a0
MDL-12221 custom themes revisited - implemented container concept; merged from MOODLE_19_STABLE
2007-11-23 16:49:51 +00:00
tjhunt
3db14d77ec
MDL-12305 - Don't let the quiz reorder tool put a page break at the start of the quiz. Merged from MOODLE_19_STABLE.
2007-11-21 18:09:11 +00:00
tjhunt
cd6ef0a5bb
MDL-12305 - Quiz reorder tool broken. Merged from MOODLE_19_STABLE.
2007-11-21 18:00:09 +00:00
tjhunt
4932ccc776
Delete commented-out code that was actually not commented out properly, and so caused warnings. Merged from MOODLE_18_STABLE.
2007-11-14 14:48:50 +00:00
fmarier
af5dd7c547
mod/quiz: Revert commit which added the "go back to course" link
2007-11-14 01:13:37 +00:00
fmarier
69b339390a
mod/quiz: Add a link back to the course page after a quiz is completed
2007-11-09 01:17:48 +00:00
tjhunt
1061756d8e
Minor whitespace fixup.
2007-11-07 15:41:20 +00:00
tjhunt
f63a4ff2cc
Eliminate duplicate $Id$ tag. Merged from MOODLE_19_STABLE.
2007-11-07 15:26:37 +00:00
tjhunt
7ca4613b85
Eliminate duplicate $Id$ tag. Merged from MOODLE_19_STABLE.
2007-11-07 15:20:57 +00:00
tjhunt
2b3b36d0af
Eliminate duplicate $Id$ tag. Merged from MOODLE_19_STABLE.
2007-11-07 12:35:33 +00:00
skodak
ced5ee5921
MDL-11966 implemented dategraded and datesubmitted, tweaked altering of grades depending in hidden grades
...
MDL-11974 improved gradebook CSS
2007-11-01 08:25:05 +00:00
tjhunt
8289cdf33a
MDL-10284 - wrong language string used on the quiz view page to inform students of the quiz deadline. I took the opportunity to strip out an unnecessary HTML table, and reviewing uses of the string /quiz(open|close)s?/ found one other inconsistency on the quiz editing form. Merged from MOODLE_18_STABLE.
2007-10-31 17:08:47 +00:00
tjhunt
8de9f89a56
MDL-11624 - /mod/quiz/index.php too dependant on individual course format names. I basically changed it to do the same as the forum module. Merged from MOODLE_18_STABLE.
2007-10-31 16:42:02 +00:00
tjhunt
6c58e1985b
MDL-6376 - fix minor errors in the previous commit.
...
More significantly, this patch changes the '1 Students have made 1 attempts' string.
To start with, this code was being produced in five different places, so I made a function to do the work!. Next, as you can see, it is not gramatical. Also, some people find it confusing, as in MDL-6376.
Therefore, it now just says 'Attempts: 1'.
Merged from MOODLE_19_STABLE.
2007-10-30 19:29:45 +00:00
poltawski
b18921676e
MDL-11124 - Allowed 'There are no [modulename]' translations. This is currently
...
hardcoded and can be discovered through the user interface resonably easily.
Merged from MOODLE_19_STABLE
2007-10-29 10:44:50 +00:00
mattc-catalyst
a979298761
mod/quiz: fixed fatal error in quiz_print_recent_mod_activity()
...
Author: Matt Clarkson <mattc@catalyst.net.nz>
2007-10-25 01:26:17 +00:00
tjhunt
c0fa4bc84c
MDL-11881 - User with question permission but not mod/quiz:manage can get a nasty require_capability error. Merged from MOODLE_19_STABLE.
2007-10-23 16:15:46 +00:00
tjhunt
3bdca85298
MDL-11870 - Notices on the quiz view page if the corresponding grade item was deleted. Merged from MOODLE_18_STABLE.
2007-10-23 07:48:03 +00:00
tjhunt
d309fd0926
MDL-5262 - PHP notice when sorting on R% coloumn in the Item analysis report - I adopted the simple solution of stopping people sorting on that column, since it is the same as sorting on rcount, I think. Merged from MOODLE_19_STABLE.
2007-10-16 21:26:50 +00:00
tjhunt
4f189a8e17
Fix possible notice. Merged from MOODLE_19_STABLE.
2007-10-16 20:52:28 +00:00
tjhunt
76c619ea16
MDL-11791 - Custom corners broken on the quiz view page because I missed a global declaration, and PHP empty was hiding the problem. Merged from MOODLE_19_STABLE.
2007-10-16 20:29:20 +00:00
tjhunt
38e179a4ed
MDL-11741 - Convert core modules to take advantage of recent improvements to build_navigation.
...
This check-in removes about 400 lines of code. I hope I have not screwed anything up. I would be grateful if people could review this change, and keep an eye on the navigation bar in modules.
Any navigation bar bugs you find in the near future, feel free to file them in the tracker and assign them to me. Thanks.
If not to many problems are found, I think I would like to backport this to 1.9 stable, but I am not sure that is a good idea. Opinions to the General Developer Forum please. I am about to start a thread there.
2007-10-12 15:55:49 +00:00
tjhunt
14e66f3beb
MDL-9542 - Show final grades from new gradebook in Quiz UI - with help from Petr. Merged from MOODLE_19_STABLE.
2007-10-11 11:42:49 +00:00
skodak
f2e4a0818a
preparation for 1.9 beta 2 - setting correct requires in mods and plugins
2007-10-10 16:09:17 +00:00
skodak
03cedd6283
MDL-11432 eliminated majority of RecordCount uses, added several missing rs_close() - this should help improve perf on some platforms - Eloy says ;-)
2007-10-10 12:19:27 +00:00
tjhunt
6f3b54c8aa
MDL-9076 - Move the 'Add 3 more overall feedbacks' button inside that group of elements on the quiz settings form.
...
To make this possible, I added an extra argument to the repeat_elements method, which other people may find helpful on other forms.
2007-10-09 15:44:06 +00:00
tjhunt
e2833e8700
MDL-11617 - 'Student may review' heading on quiz settings form is now misleading. I have fixed some lang strings and improved the help. Also, finish off the clarification of how various capabilites affect quiz review that was started in MDL-11580.
2007-10-09 15:19:07 +00:00
skodak
1223d24a73
MDL-11580 support for hidden state modification in gradebook from activities (quiz now only) - part 1
...
the hiding/unhiding should be IMO locked in gradebook UI when activity overrides it
2007-10-04 22:57:14 +00:00
tjhunt
01600b5190
MDL-11580 - refinement to Yu's checkin, including removing the $CFG->openuniversityhacks.
...
Also, reviewing the new code made me realise that the code in mod/quiz/report/overview/report.php was a mess, so I cleaned it up a bit.
2007-10-04 15:57:09 +00:00
toyomoyo
fb72e817d9
MDL-11580, hide quiz grades when user has no grade:viewhidden capability and quiz is still open, need $CFG->openuniversityhacks flag set
2007-10-04 08:22:55 +00:00
skodak
8df73369ce
MDL-11517 reserved word MOD used in table alias in questions backup code
2007-09-29 16:26:13 +00:00
tjhunt
771b1a46f7
MDL-9331 - Problem with the tables on the quiz index page. Merged from MOODLE_18_STABLE.
2007-09-26 20:45:23 +00:00
tjhunt
fba3ea31bc
MDL-8682: Pressing enter when answering a short answer question can submit the wrong one. To fix this, I have disabled the enter key unless the keyboard focus is on a submit button (or inside a text box or HTML editor).
...
MDL-9451: Quiz answers can be lost if user navigates before page reloads. I am not totally sure I have fixed this, but I hope so. I moved the printing of the hidden form field with the list of questions on the page to the end of the form, so no answers will be processed unless the whole form loaded. Note that you could still lose data, but only if the page takes a really long time to load and you answer the first question and click submit before the whole quiz is loaded.
MDL-11463: The quiz uses two different timers, which is silly. I have removed the javascript that was ocasionally used to put a timer in the browser's title bar. Now we only use the one in the page for all cases.
Because MDL-8682 also needed javascript, I renamed timer.js to quiz.js so it could be a library of all the quiz's JavaScript, and started including it properly with require_js.
2007-09-26 18:15:31 +00:00
tjhunt
f59dba8497
MDL-11398 - Random questions sometimes ended up with names different from the cateogry they were actually picking from. Also, the same random questoin could be used in more than one quiz, in which case editing that question would change two quizzes unexpectedly. The fix is:
...
* Don't let the user set the name for random questions.
* Instead force the name to be "Random (catname)" (localised) whever the question is created or saved.
* When a category is renamed, rename all the random questions in it.
* Remove the restriction that Jamie seems to have added in 1.9 that was preventing the category of random questions from being edited.
2007-09-26 16:10:38 +00:00
tjhunt
44888f691a
Add $Id$ tags.
2007-09-26 10:13:23 +00:00
tjhunt
c0ca082d2f
Remove spurious characters from some SQL statements.
2007-09-25 14:39:42 +00:00
stronk7
fcdea90774
Second pass. Modules. Some more default comments are out. MDL-11385
2007-09-24 22:17:05 +00:00
tjhunt
a4faed6925
MDL-10030 - the logic controlling whether students were allowed to see the review screen was wrong.
2007-09-21 16:01:40 +00:00
tjhunt
f0bb0a8738
MDL-10338 - quiz index page does not work in weekscss format. Merged from MOODLE_18_STABLE.
2007-09-21 11:10:37 +00:00
tjhunt
b5a16eb72e
MDL-6376 - Include quizzes on the MyMoodle page. Initial implementation by Stephen Bourget, with refinements by Tim Hunt. The logic for which quizzes are listed is very similar to the lesson module.
2007-09-21 11:05:04 +00:00
tjhunt
e63faf2b50
MDL-10376 - since roles and capabilities came along, the quiz was not very gracious if you were logged in as guest, or really logged in on the server, but using guest access to look a a particular course, or were enrolled in a course, but in a role that did not let you preview or attempt quizzes. This patch should clean up the logic for all these cases.
2007-09-20 15:14:24 +00:00
tjhunt
260812ba06
MDL-10972 - The lang string 'fullname', which is normally used for course fullnames, was being used for a person's full name in some quiz reports. This dual usage is not translatable into all languages. Merged from MOODLE_18_STABLE.
2007-09-19 15:52:27 +00:00
tjhunt
6ef56c991f
MDL-6043 - supplimental - make corse reset function update quiz open and close dates. Thanks to Shamim Rezaei for the implementation, which I edited slightly.
2007-09-19 15:38:14 +00:00