Commit graph

43787 commits

Author SHA1 Message Date
Tim Hunt
ea906bb45c quiz reports MDL-21111 Quiz duration is reported in years if Time Finish is before Time Start
Suppose you have two load-balanced servers with badly-synchronised clocks, and
a student does a really quick quiz attempt.

Then it is possible that quiz_attemtp.timestart is greater than quiz_attemtp.timefinish.
And these columns are unsigned (on MySQL) so timefinish - timestart is compulted as
a number close to 2^64, which is about 42 times the age of the universe.

Do the subtraction in PHP instead. (But we still need to compute a duration columnin PHP
because sometimes we sort on it.)
2010-08-05 12:43:13 +00:00
Tim Hunt
87eeac9071 multianswer question import MDL-11326 make a better question name.
Also fix coding style in this file.
2010-08-05 12:13:27 +00:00
Sam Hemelryk
d0cfbab331 NOBUG: Updating PHP docs for navigation - make_active and override_active_url 2010-08-05 08:17:27 +00:00
Sam Hemelryk
3db7b87807 forum MDL-23671 Fixed defaults for forum maxattachments 2010-08-05 07:40:53 +00:00
Andrew Davis
8e1e3c146d survey MDL-23324 fixed an SQL error for postgres 2010-08-05 06:34:51 +00:00
Andrew Davis
3ce4270a20 survey MDL-23324 reworked the downloading of survey results 2010-08-05 05:39:31 +00:00
Andrew Davis
b83bdae639 survey MDL-23324 refactored some code that had been left behind during prior refactoring 2010-08-05 05:38:15 +00:00
Andrew Davis
d04d8e96fd survey MDL-23324 made survey use user_picture::fields() 2010-08-05 05:36:43 +00:00
Sam Hemelryk
77387297f8 javascript MDL-23430 YUI moodle modules are no longer cached if CFG->cachejs is off 2010-08-05 04:05:28 +00:00
Sam Hemelryk
deaf04c7b7 NOBUG updating PHP docs for lib/navigationlib.php 2010-08-05 02:44:03 +00:00
Sam Hemelryk
b0060fe57b enrolment MDL-23669 Added missing call to $PAGE->set_course from enrol/index.php 2010-08-05 02:24:39 +00:00
Sam Hemelryk
cede87e05b navigation MDL-23670 Added capability and enrollment checks to course generation 2010-08-05 02:22:48 +00:00
Moodle Robot
080b88ce12 Updated the HEAD build version to 20100805 2010-08-05 00:45:23 +00:00
Petr Skoda
6aa9d9527d MDL-23640 fixed borked include, my fault - credit goes to Basil Gohar 2010-08-04 19:54:12 +00:00
Petr Skoda
024a217963 MDL-23638 wrong sting concat in in spellchecker path - credit goes to Basil Gohar 2010-08-04 19:51:49 +00:00
Petr Skoda
6163adcc54 MDL-23666 linking enrol UI instead of role assign at course context 2010-08-04 19:49:23 +00:00
Tim Hunt
90c7912e93 quiz editing MDL-22371 with JS off, clicking add question, then cancel, did not work.
Also, other simpilar issues with other buttons.
And, finally fix the absolute URLs being passed as returnurl. Apache mod_security did not like that.
2010-08-04 19:44:59 +00:00
Tim Hunt
9f87e6aa15 quiz editing: MDL-22263 Editing UI messed up with JavaScript disabled.
Also, other minor layout improvements.
2010-08-04 19:43:26 +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
f23f98dd63 question flags MDL-22643 Manually commenting should not reset the flag state. 2010-08-04 18:56:51 +00:00
Tim Hunt
f6c7f15883 quiz reports MDL-17388 tweak layout so more useful stuff fits on the first page.
In particular, I think you should be able to see at least the top of the table or results without scrolling, if your monitor is not too small.
2010-08-04 18:45:05 +00:00
Tim Hunt
21d4bdb7be base theme MDL-17388 make more efficient use of the full width available in Moodle forms.
I hope this is OK with Patrick M.
2010-08-04 18:36:52 +00:00
Tim Hunt
613aff5053 qtype_truefalse MDL-22658 questions get marked as answered even when an answer has not been selected. 2010-08-04 17:54:55 +00:00
Tim Hunt
a194c2187b weblib MDL-22664 html_to_text should not strip images, it should replace them by their alt text.
Also, an new optional argument to html_to_text to control word-wrapping.
2010-08-04 17:40:01 +00:00
Tim Hunt
5be2373649 quiz editing MDL-23572 Make it possible to delete empty pages of the quiz. 2010-08-04 16:47:57 +00:00
Tim Hunt
eb02301a36 mod_quiz / navigation MDL-20276 further polishing the quiz navigation structure. 2010-08-04 16:31:54 +00:00
Tim Hunt
7383c63398 quiz statistics report NOBUG remove debug code. Sorry. 2010-08-04 16:25:24 +00:00
john St
9e390914a9 Adding new core theme splash MDL-23661 2010-08-04 16:20:46 +00:00
Tim Hunt
ff065f96bc mod quiz + questions MDL-22370 convert JavaScript to YUI3 and modules.
Note, quiz editing JS has not been done yet.
2010-08-04 15:22:04 +00:00
Tim Hunt
24f17d7588 quiz responses report MDL-23377 responses report needs to be fixed in HEAD as well as overview. 2010-08-04 15:05:31 +00:00
john St
18fc799004 CSS fix for MDL-23639 2010-08-04 15:00:43 +00:00
Andreas Grabs
2986ddb431 Numeric answers was print out as string in the detailed xls-sheet 2010-08-04 14:06:27 +00:00
Andreas Grabs
a82633f401 Numeric answers was print out as string in the detailed xls-sheet 2010-08-04 13:53:07 +00:00
Petr Skoda
611b0a0c9b MDL-23628 removed more log_display upgrade leftovers 2010-08-04 09:48:04 +00:00
Petr Skoda
d3da2ae51b fixed typos 2010-08-04 09:45:21 +00:00
Petr Skoda
3ec8f360cf MDL-23628 removed log_display upgrade leftovers 2010-08-04 09:44:25 +00:00
Sam Hemelryk
e5473854a0 form-dateselector MDL-23096 Converted the date selector to a YUI-Moodle module 2010-08-04 09:13:27 +00:00
Aparup Banerjee
ac3d779195 lesson MDL-23525 passed in a missing object to remove notices seen. 2010-08-04 08:52:59 +00:00
Sam Hemelryk
cba87c36ea mod-data MDL-23618 Converted preset page to make use of mforms and new file picker element 2010-08-04 08:23:52 +00:00
Petr Skoda
4ee513460d MDL-23655 fixed yet another PAGE->context issue - let's make system context default PAGE->context in CLI scripts 2010-08-04 07:55:49 +00:00
Petr Skoda
ca74470c8d MDL-23616 extremely messy hack to work around weird course handling resulting in unknown PAGE->context 2010-08-04 07:37:02 +00:00
Dongsheng Cai
44388c41f5 "MDL-23650, removed user quota check in user draft" 2010-08-04 07:32:17 +00:00
Dongsheng Cai
08e7c07b04 "MDL-23606, legacy_filter should return text even courseid is null, all text in user context will be empty" 2010-08-04 07:19:58 +00:00
Dongsheng Cai
563d04175a MDL-23065, fix non js filepicker 2010-08-04 03:57:10 +00:00
Andrew Davis
9b8b9b7379 survey MDL-23324 made use of user_picture::fields() 2010-08-04 03:37:18 +00:00
Aparup Banerjee
ef4ba975f9 lesson MDL-23525 changed attempts retrieval from db to intuitional (code assumes it too) first->last attempt order 2010-08-04 02:26:46 +00:00
Aaron Barnes
c919b26d7e course completion: MDL-2631 Prevent error when no roles are available 2010-08-04 02:21:19 +00:00
Andrew Davis
0e4f7b4f19 themes MDL-23507 made the current week highlighting look a little better with the theme anomoly 2010-08-04 01:42:07 +00:00
Andrew Davis
61b024d2b4 themes MDL-23507 prevented standard theme from not highlighting the current week on the course page 2010-08-04 01:15:18 +00:00
Moodle Robot
5ac2629e8f Updated the HEAD build version to 20100804 2010-08-04 00:45:54 +00:00