tjhunt [Fri, 25 Aug 2006 16:03:54 +0000 (16:03 +0000)]
Convert mod/quiz/view.php to roles, and further tidy up the code flow in there. This touches other files because I had to change a function in locallib that had an $isteacher parameter.
I have not converted the rest of the quiz, and I don't intend to. I am hoping Moodle.com will do it.
I hope this does not introduce any bugs, but view.php is so complicate (at least it is less complicated than it was) and the quiz has so many options, that it is hard to be sure. This needs lots of testing before 1.7 is released.
vyshane [Fri, 25 Aug 2006 02:41:16 +0000 (02:41 +0000)]
Changes to take care of forum upgrade to new roles system. Backed up forums
will also be converted to the new roles system if the backup was made
pre-roles.
vyshane [Fri, 25 Aug 2006 02:37:54 +0000 (02:37 +0000)]
We need the newly created course_module id to be passed to the restore
functions of the modules. We need this now for the forum module to convert
forums backed up in 1.6 to use roles upon restore in 1.7. However, this might
be needed for other modules as well if they need conversion to the roles
system.
tjhunt [Thu, 24 Aug 2006 16:44:15 +0000 (16:44 +0000)]
Renamed column question_sessions->comment at Eloy's request since comment is a DB reserved word.
I have not been able to test this fully, because I cannot assign roles (e.g. Student and Teacher) in 1.7dev at the moment to test a student answering an essay question then a teacher grading it. However, I have tested as much as possible as admin and cannot get any errors.
danmarsden [Thu, 24 Aug 2006 02:08:59 +0000 (02:08 +0000)]
MDL-4493 issue with 405 pages for IIS users - must specify actual page, as the notice function does a post - you cannot use the POST Verb on a directory in IIS.
tjhunt [Wed, 23 Aug 2006 19:04:24 +0000 (19:04 +0000)]
MDL-6338 - Short answer questions with ' in the answer don't work. Merged from MOODLE_16_STABLE.\r\rYet another unpleasant quiz bug caused by the current broken way we do things with addslashes.
toyomoyo [Wed, 23 Aug 2006 06:36:08 +0000 (06:36 +0000)]
various changes - loading capabilities for questions, quiz, hide tab if no assignalbe or no overridable role is found, added some functions and comments in accesslib
tjhunt [Tue, 22 Aug 2006 13:53:39 +0000 (13:53 +0000)]
Reverting toyomoyo's conversion of mod/quiz/view.php to roles because his changes made no sense.
Admittedly, this file is pretty incomprehensible and it is not clear at first what it is trying to do. (Even though it is more comprehensible now than it was a week ago.) I'll to a proper conversion of this file to RnP once I have checked in my other changes there - assuming I can actually get Moodle to work so I can test my changes.
stronk7 [Mon, 21 Aug 2006 12:28:46 +0000 (12:28 +0000)]
Reducing the list of MSSQL reserved words to the efectively
reserved words (the previous list included a lot of words
reserved by SQLXX standars but not by MSSQL)
stronk7 [Mon, 21 Aug 2006 12:04:48 +0000 (12:04 +0000)]
Reducing the list of PG reserved words to the efectively
reserved words (the previous list included a lot of words
reserved by SQLXX standars but not by PG)
vyshane [Mon, 21 Aug 2006 06:56:04 +0000 (06:56 +0000)]
Removed $forum->open, $forum->assesspublic from code. Fixed bug in upgrade
code, changed module config form to accomdate removal of forum.assesspublic
and forum.open.
skodak [Mon, 21 Aug 2006 06:54:00 +0000 (06:54 +0000)]
import of ADODB v4.91 and general cleanup, removed some unused files - see readme_moodle.txt; new session2 code needs a new table, I am going to use the new database functions for that later, for now we are using the old table and old database session code.