Tim Hunt
adf7fe2148
MDL-27747 Missing information and errors on the quiz view page. #720
2011-06-07 16:05:17 +01:00
Tim Hunt
25a03faaca
MDL-20636 fix many code-checker issues in mod/quiz.
2011-05-12 00:30:25 +01:00
Tim Hunt
a2ac234956
MDL-20636 Merge remote-tracking branch 'moodle/master' into upgrade
...
Conflicts:
lib/filestorage/file_storage.php
mod/quiz/attemptlib.php
mod/quiz/lib.php
mod/quiz/mod_form.php
mod/quiz/report/overview/overview_table.php
mod/quiz/report/overview/report.php
mod/quiz/report/responses/report.php
mod/quiz/report/responses/responses_table.php
mod/quiz/report/statistics/db/install.xml
mod/quiz/report/statistics/qstats.php
mod/quiz/report/statistics/report.php
mod/quiz/report/statistics/statistics_question_table.php
mod/quiz/report/statistics/statistics_table.php
mod/quiz/report/statistics/version.php
mod/quiz/review.php
mod/quiz/reviewquestion.php
mod/quiz/startattempt.php
mod/quiz/styles.css
mod/quiz/view.php
question/type/essay/questiontype.php
question/type/match/backup/moodle2/backup_qtype_match_plugin.class.php
question/type/match/backup/moodle2/restore_qtype_match_plugin.class.php
question/type/numerical/display.html
question/type/numerical/questiontype.php
question/type/questiontype.php
question/type/random/questiontype.php
question/type/shortanswer/questiontype.php
theme/base/style/question.css
2011-05-11 20:29:49 +01:00
Tim Hunt
78a61cd6d0
MDL-20636 quiz renderers. Some final clean-ups.
2011-05-09 14:22:20 +01:00
Dean Lennard
37015e0cd1
MDL-20636 Convverted html to html::writer and code checked
2011-05-09 12:31:11 +01:00
Dean Lennard
88c7e2a9b6
MDL-20636 Changed guest access and enrollment code checking
2011-05-09 12:31:09 +01:00
Dean Lennard
56cef201da
MDL-20636 Created view object in renderer file
2011-05-09 12:31:07 +01:00
Dean Lennard
3b7efd6d8f
MDL-20636 Added viuew object as class
2011-05-09 12:31:05 +01:00
Dean Lennard
da59992eda
MDL-20636 Made changes to view and renderer sections
2011-05-09 12:31:01 +01:00
Dean Lennard
8d47043fee
MDL-20636 updates to code
2011-05-09 12:30:59 +01:00
Dean Lennard
213d4cff9c
MDL-20636 updates to view/renderer code
2011-05-09 12:30:53 +01:00
Dean Lennard
06eb64b8ba
MDL-20636 added view page to the renderer file
2011-05-09 12:30:51 +01:00
Dean Lennard
13040e1452
MDL-20636 changes made to renderers, attempt and view
2011-05-09 12:30:49 +01:00
Dean Lennard
bcd42560e3
MDL-20636 Updated code to include html writer
2011-05-09 12:30:45 +01:00
sam marshall
6553cda7c9
MDL-26778 Change to completion should immediately affect nav block
...
Includes change so that updating completion resets the cache, and a debugging
warning if any module calls the completion viewed thing after it's already
printed navigation (which will mean navigation obviously doesn't update right
away). All existing modules that currently update after printing navigation
were updated.
2011-04-11 12:40:13 +01:00
Tim Hunt
55ca80edde
MDL-20636 Fix lots of problems found by the new improved codechecker.
2011-04-04 20:11:29 +01:00
Tim Hunt
6d03fd9830
MDL-20636 Fix for Bug 11593 merged from our 1.9 version. #268
2011-03-16 14:34:19 +00:00
Tim Hunt
3c6185e979
MDL-20636 Move restart preview button into the quiz nav block & remove unnecessary titles.
...
Also, remove automatic redirects to the quiz edit page. Show a message and a button instead.
2011-02-25 12:12:09 +00:00
Tim Hunt
2daffca554
MDL-20636 Fix 30 TODOs
2011-02-24 17:47:51 +00:00
Tim Hunt
0ff4bd0877
MDL-20636 Fix new stdClass -> stdClass(), and trailing whitespace.
2011-02-21 18:10:19 +00:00
Tim Hunt
ba6438471b
MDL-20636 Fix top of file boilerplate in mod/quiz.
2011-02-21 16:13:25 +00:00
Tim Hunt
7ee80cab53
MDL-20636 Manual comment popup comment.php now works.
2011-02-09 20:29:59 +00:00
Tim Hunt
48f1784a16
MDL-20636 Quiz view page now works.
2011-02-09 20:18:09 +00:00
Tim Hunt
2cb01c9205
mod_quiz MDL-26178 it let you try to preview a quiz with several empty pages.
...
You should not be allowed to preview an empty quiz, to make it correctly detect this case.
2011-01-29 12:11:10 +00:00
Tim Hunt
29946ad595
quiz 'secure' mode MDL-21085 remove popup-blocker check.
...
It was unnecessary on modern browsers, since they let thought a pop-up if you just clicked on a link, so this check was just causing an annoying and misleading alert.
Since the popupchecker was only used here, and since it was implemented in a way that does not work on all browsers, I just deleted the function. If anyone ever finds that they acutally need this functionality, they can re-implement it in a way that works.
2010-11-02 19:49:09 +00:00
Petr Skoda
eab8ed9fb7
fixed a few spelling errors in /admin/
2010-09-17 10:27:26 +00:00
Tim Hunt
150ce06891
quiz MDL-23711 was testing canattempt before canpreview, which is the wrong way round.
...
Meat that admins saw a Start attempt button, when they should have seen Start preview.
2010-08-11 16:57:34 +00:00
Dongsheng Cai
fe6ce23489
MDL-16094 File storage conversion Quiz and Questions
2010-08-10 09:56:48 +00:00
Aparup Banerjee
59e2121e16
theme MDL-23363 config setting showblocksonmodpages (theme settings) & usages now removed
2010-08-06 06:20:28 +00:00
Tim Hunt
98a31ac119
quiz view NOBUG Table columns did not always line up.
2010-08-04 19:02:45 +00:00
Tim Hunt
e10367a4cf
quiz NOBUG Attempt {$a} was appearing on the view page. Need a new lang string.
2010-08-03 10:55:22 +00:00
Tim Hunt
a49cb927fd
NOBUG more consistent use of URLs for the quiz reports.
2010-07-28 15:08:34 +00:00
Sam Hemelryk
56ed242b51
navigation MDL-20276 Fixed up the navigation for the quiz module and question section as per Tim's recommendation.
...
* Routine navigation through the quiz and question modules
* Fixed navbar through quiz and questions
* Pages headers added throughout
* Added method to turn a navigation node into a tabs array suitable for use with print tabs
2010-05-21 03:15:48 +00:00
Tim Hunt
2b38499d60
MDL-20860 quiz grades that had already been formatted for output were being used in database queries.
...
Which really does not work in locales that use , as a decimal point.
Also, this commit fixes one performance problem in index.php with DB queries in a loop.
2010-05-07 00:08:16 +00:00
David Mudrak
16be897441
MDL-21652 html_table rendering refactored
...
* class html_component does not exist any more
* class html_table rendered via html_writer::table()
* html_table, html_table_row and html_table_cell have public $attributes property to set their CSS classes
* dropped rotateheaders feature, should be added again after more research of possible ways (<svg> is not nice IMHO)
* dropped possibility to define CSS classes for table heading, body and footer - can be easily done and better done using just table class and context
2010-03-20 22:15:54 +00:00
Tim Hunt
990650f94c
quiz: MDL-16478 Allow different open/close dates, etc. for individual students or groups.
...
This was implemented by Matt Petro of the University of Wisconsin - Madison Engineering
School and Math Department. Many thanks. Reviewed by and committed by Tim Hunt.
This adds a new Overrides tab to the UI, with sub-tabs Group overrides and User overrides.
Each of those lists all the overrides that currently exist, and lets you manage them and
create more.
When a quiz is being attempted, the override that applies to the current user is combined
with the current quiz settings loaded from the quiz table (normally called $quiz).
If there are both user and group overrides, then just the specific user override is used (more specific).
If the user is in several groups, then the overrides are combined to give the most permissive set of options.
There is one new database table quiz_overrides, to store the overrides.
2010-03-08 16:01:38 +00:00
Petr Skoda
4aea3cc7cd
MDL-20204 the ultimate fix for our frames (theyare not accessbile, but anyway); instead of adding the target to each element when creating html we use yui to set the target from page footer via JS - this fixes the links and forms in all elements in pages with frametop layout
2010-02-11 13:27:02 +00:00
Petr Skoda
a685593466
MDL-21233 moodle_url improvemewnts, code simplification, more diagnostics; fixed several regressions
2010-01-16 15:39:56 +00:00
Sam Hemelryk
92059c7ee5
mod MDL-21169 Removed update this module button and ensured there was a link in the settings block for it.
2009-12-23 01:57:55 +00:00
Petr Skoda
f44b10ed93
MDL-21139 replace all yui functions/methods with yui2 to make room for yui3
2009-12-16 20:25:14 +00:00
Andrew Davis
496e3ccdd2
quiz MDL-10128 popup checker no longer requests a non-existent file which was causing messages in server logs
2009-12-10 02:29:53 +00:00
Petr Skoda
8319260833
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup
2009-11-04 11:58:30 +00:00
samhemelryk
a09f21d093
quiz MDL-19813 Upgraded deprecated calls and called set_url with pre-generated var
2009-10-16 03:20:38 +00:00
tjhunt
f38f2d474d
quiz: fix debugging notice ->classes = to set_classes.
2009-10-01 10:07:09 +00:00
samhemelryk
2698e9c1ac
mod-quiz MDL-19813 Updated print_header and build_navigation to OUTPUT and PAGE equivalents
2009-09-07 02:11:54 +00:00
nicolasconnault
39e3701904
MDL-19813 upgraded calls to print_table, print_single_button, print_user_picture, print_container* and notice_yesno
2009-08-20 08:45:47 +00:00
nicolasconnault
825116fb22
MDL-19813 Upgraded calls to helpbutton, print_simple_box* and notify
2009-08-18 05:16:08 +00:00
nicolasconnault
3b1d5cc46a
MDL-19813 Converted print_box* to $OUTPUT->box*
2009-08-10 05:00:41 +00:00
nicolasconnault
867847e352
MDL-19813 Converted all print_footer() calls
2009-08-06 14:13:48 +00:00
nicolasconnault
90cd54cb2a
MDL-19813 Migrated calls to print_heading
2009-08-06 08:23:24 +00:00