4649 Commits

Author SHA1 Message Date
toyomoyo
0376cc2fab merged 2006-05-16 08:22:42 +00:00
toyomoyo
82326fc1d3 merged fix for 5513 2006-05-16 07:58:47 +00:00
mark-nielsen
74e3524216 [Merged][BugFix] Bug 5485 - problem with regular expressions with simple analysis 2006-05-16 03:06:28 +00:00
danmarsden
019c47d6c1 Fixes bug 5464 also makes response clearer to students -see:
http://moodle.org/mod/forum/discuss.php?d=45504

also finishes off Bug 662
2006-05-15 23:24:42 +00:00
mjollnir_
0c49258b99 mod/quiz/view No-longer display final grade when quiz settings forbid it.
Changed view.php so that it checked if there were any attempts with
concealed grades before printing the student's overall score.
Credit: Peter Bulmer <peter.bulmer@catalyst.net.nz>
Merged from MOODLE_16_STABLE
2006-05-15 21:52:18 +00:00
skodak
2c3432e684 fixed problem when set both loginhttps and https in wwwroot, closes bug #5507 and #3848; merged from MOODLE_16_STABLE 2006-05-15 21:36:46 +00:00
gustav_delius
91d7ead073 Answers to essay questions are now saved correctly when navigating to another page, fixing bug 4478 2006-05-15 20:42:14 +00:00
mark-nielsen
a1d0b3eb81 [BugFix] Bug 5505 - function lesson_print_tree now checks for teacher editing priv before printing editing icons. Had to change arguments for this function as well which is the edit in view.php.
lesson.php how checks for teacher editing priv for all actions except for continue.  This is just in case the user hacks the URL.
2006-05-15 19:14:22 +00:00
skodak
e7a8d28f57 fixed short php tags; merged from MOODLE_16_STABLE 2006-05-15 15:12:56 +00:00
skodak
3b25960385 better cleaning of post title SC#251 revisited; merged from MOODLE_16_STABLE 2006-05-15 14:48:11 +00:00
skodak
62b504d20b better cleaning of post title SC#251; merged from MOODLE_16_STABLE 2006-05-15 14:32:14 +00:00
toyomoyo
a1e3e9894b merged fix for 5465 2006-05-15 02:03:03 +00:00
gustav_delius
38316f63a5 Removing obsolete defaults 2006-05-13 17:06:32 +00:00
gustav_delius
36be25f6e5 Introduce question_attempts table, closing bug 5468
Fixed incorrect check for whether to update state or insert new one in save_question_session()
Deal with manually graded states correctly during regrading
Increase state sequence number during manual grading
Supplied missing userid to quiz_save_best_grade() during manual grading
2006-05-13 16:57:17 +00:00
gustav_delius
4377c290c0 Updated comments and made sure teacher preview gets restarted when changes are saved, fixing bug 5478 2006-05-13 10:39:15 +00:00
stronk7
fbaea8f354 glossary print view is now valid XHTML.
Merged from MOODLE_16_STABLE
2006-05-07 10:49:28 +00:00
stronk7
0f5f8363d7 Now, when a single forum is restored and no user data was created,
the initial discussion/post is automatically generated. Bug 5418.
(http://moodle.org/bugs/bug.php?op=show&bugid=5418)

Merged from MOODLE_16_STABLE
2006-05-06 16:58:36 +00:00
toyomoyo
78444c8785 merged fix for 4478 2006-05-05 06:44:32 +00:00
toyomoyo
9023bc7f71 merged fix for 5428 2006-05-05 05:15:18 +00:00
stronk7
bdeed966f6 Now more quiz actions are restored properly:
-preview
 -start attempt
 -close attempt
 -continue attempt (too long. See Bug 5419)
Bug 5122
(http://moodle.org/bugs/bug.php?op=show&bugid=5122)
2006-05-03 23:48:28 +00:00
stronk7
6985c78c6b XHTML validation. Bug 5332.
(http://moodle.org/bugs/bug.php?op=show&bugid=5332)

Merged from MOODLE_16_STABLE
2006-05-03 18:22:21 +00:00
thepurpleblob
f6beb499b6 Now includes question/editlib.php
NOTE: This might well be the wrong thing to do and need
backed out, but until I hear otherwise it gets quiz working again!!
2006-05-03 12:27:06 +00:00
moodler
418db328a0 Fixed: Bug #5164 - Assignment email lacks student name 2006-05-03 08:19:53 +00:00
mark-nielsen
432c2219f5 [BugFix] Bug #5396 - Found that the css float was causing the odd problem. Removed extra styles for the button layout and changed the divs around the buttons to spans
Also improved some logic in the button processing for branch tables
2006-05-02 17:05:29 +00:00
gustav_delius
3b62b2ba13 Fixed column names. Thanks Jean-Michel. See bug 5262 2006-05-02 08:37:46 +00:00
moodler
acfc768e3e COnverted from DOS format 2006-05-02 06:00:35 +00:00
martinlanghoff
274f009184 mod/chat - fix another instance where empty $USER->lastIP was affecting us
The original commit was:

mod/chat - use empty value instead of erroring out if $USER->lastIP and getremoteaddr() don't yield any interesting value

Sometimes we can't get any useful IP for the user -- and this may even be a
valid situation. So fudge an empty value -- the DB needs it as the IP field
is NOT NULL.
2006-05-02 05:20:35 +00:00
gbateson
2cea2a74b4 fixed handling of square brackets in JCloze on older PHP sites. Micro-increment version to 2006050200 (v2.1.19) 2006-05-02 05:18:01 +00:00
michaelpenne
02f071d147 lesson_default table had become out of synch with the lesson table. Needed to add new columns.
Updated backup and restore to include the new values

Fixed a bug in restore where it would restore 1 lesson_default per lesson.  Now only stores one per course.

Went through all the backuplib.php, restorelib.php, mysql.sql and postgres7.sql to make sure everything was in synch and being backed up and restored.
2006-05-01 19:02:38 +00:00
urs_hunkler
df74830cfd cleaned and enhanced CSS for quiz 2006-04-30 17:39:58 +00:00
gustav_delius
28a8ec9148 Make sure that the newgraded field always points to a valid state. 2006-04-30 16:23:55 +00:00
stronk7
f84b602b44 Too much restrictive optional_param was producing
some undesired efects with formats. Bug 4858.
(http://moodle.org/bugs/bug.php?op=show&bugid=4858)

Merged from MOODLE_15_STABLE
2006-04-30 10:07:36 +00:00
stronk7
60b5242a53 entrylist format now show the 'send ratings' button. Bug 4915.
(http://moodle.org/bugs/bug.php?op=show&bugid=4915)
2006-04-30 09:41:19 +00:00
mark-nielsen
be1af5b770 Moved the require login and isteacher checks to infront of the form data processing 2006-04-29 07:37:52 +00:00
mark-nielsen
31eb5b5335 [Removed] the Delete user attempts option in the Lesson settings (changes to mod and lib)
[Added] new functionality to report.php to delete individual student attempts
[Fixed] High scores text in view.php when no high scores were recorded needed to be centered
2006-04-29 01:37:50 +00:00
stronk7
e857af01f8 No need to display the iframe because now it's never hidden. 2006-04-28 13:18:49 +00:00
toyomoyo
0327c40abb bug fix for 5303. hope i didn't break anything >_< 2006-04-28 03:18:56 +00:00
gbateson
e5d1941db7 set negative values to 0, on unsigned numeric fields 2006-04-28 02:11:52 +00:00
gbateson
c9441e34ca allow negative score and weighting in hotpot_responses table 2006-04-28 02:06:58 +00:00
gbateson
8955d22ac6 optimization fo the removal of orphan records 2006-04-28 01:37:17 +00:00
gbateson
9f02edcad8 small fix for the removal of orphan records 2006-04-28 01:20:05 +00:00
gbateson
340a5808e9 fix undefined variable $db 2006-04-28 00:59:57 +00:00
gbateson
192e8f6650 remove orphans records, if any, from hotpot tables, reduce size of "score" and "weighting" fields in "hotpot_responses" table, and set default value on ALL string fields in HotPot tables. New version number is 2006042800 (v2.1.18) 2006-04-28 00:56:14 +00:00
mjollnir_
88a6724534 Fixing missing global in quiz pg upgrade 2006-04-27 23:25:06 +00:00
stronk7
81c2aa8051 Checking one table and one column that, uder some servers didn't get
correctly upgraded. Bug 5321. PG need testing!
(http://moodle.org/bugs/bug.php?op=show&bugid=5321)
2006-04-27 22:56:25 +00:00
skodak
d154ed0cf4 fixed bug #4189 - visible not changed 2006-04-27 21:35:02 +00:00
skodak
8f414ab8aa fixed some long standing and some new problems and SC#249, please consider backporting into STABLE 2006-04-27 21:30:18 +00:00
gbateson
55b2126228 force remaining NULL fields into NOT NULL '0'/'' 2006-04-27 21:22:43 +00:00
stronk7
7071d6d908 Deleted a bunch of js code and trying another (the last) way
to resize the iframe properly. Tests at home 100% reliable.
I hope it'll work ok remotely... Depending of results  we'll
decide the final system.
2006-04-27 19:45:00 +00:00
mark-nielsen
718dbada67 [Fix] Notices were being printed in PHP5 for NULL objects. Checking for NULL now before using in multichoice and truefalse questions 2006-04-27 16:48:38 +00:00