Updates to Mallard From May 1999


# Patch Date Modules/Programs Affected Servers Updated Comments
1 Wording changes to Mallard grade viewing area 04/03/99 grade_browser.cgi (1.6)
quiz_time_browser.cgi (1.2)
develop

alpha

  • grade_browser.cgi: Rewordings. Calling things "Mallard Quiz Gradebook" now - is this maybe confusing with the course gradebook? Provided link back to grade_browser.cgi as "select other assignments."
  • quiz_time_browser.cgi: Wording changes. Changed header, added link back to grade_browser.cgi.
2 Don't remove .ver files at logout 05/03/99 Authent.pm (1.91) develop

alpha

  • Authent.pm: Don't remove the .ver files at logout. This should prevent some of the error messages people get when they "back" into a quiz (the error messages were harmless, but I want to be SURE this is what was causing them).
3 Added SurveyTypes to the server status admin utilities program 05/04/99 filestatus.cgi (1.11)
compare_servers.cgi (1.4)
develop
  • filestatus.cgi: Added survey types to the display.
  • compare_servers.cgi: Added survey types to the display.
4 Created utility to install tarfiles under courses 05/04/99 $support/install_tar_in_courses (1.1) develop
  • install_tar_in_courses: File to copy a given tarfile into each course directory, explode it (relative to that directory), and then delete it. Used for quickly adding any new files to the course areas that new versions of code might need (such as the various survey directories).
5 Delete security cookie when user authents but access is denied at the course level 05/03/99 Authent.pm (1.92)
index.cgi (1.11)
develop
  • Authent.pm: Call $auth_module->logout() if the person authents but then has access denied at the course level. Log this, too. Format the unavailable message better (use "and"). Jump out if not registered BEFORE bothering to check if the course is locked. All changes made to user_authent().
  • index.cgi: Added code at the top to deny access if the course directory is "cgi-bin". With new changes to Authent.pm, server admins were able to run cgi-bin/index.cgi, and they should not be doing so (server admin programs are typed in by name - there's no need to access a "phantom blank Mallard course" by accident). Non-server-admins never reach this page, Authent->user_authent() denies them access before they ever get here.
6 Improve the access level lock-out utility 05/06/99 Authent.pm (1.92)
restrict_access.cgi (1.5)
develop
  • Authent.pm: Show the time the course became unavailable rather than the number of minutes, when displaying the "temporarily unavailable" message. Don't show the student message if a higher one knocked you out. All changes made to user_authent().
  • restrict_access.cgi: Enlarged the message box. Display the current lock-out messages at the top of the page. Display these with the time the lock out happened, rather than the minutes passed since the lock out.
7 Got rid of the problem of having to repair the initial roster immediately after creating a course 05/06/99 create_course.cgi (1.24) develop
  • create_course.cgi: Removed "my" from the initial $mallard = new Authent(); call. This allows Roster->store() to have access to $mallard->{'server_ip'} when writing the initial roster, so that later calls to Roster->verify(), which have access to this already, will match and we won't have to check in the roster initially. All that trouble from one two-letter word!
8 Add ability to change the "passed survey" icon to the course_config page 05/10/99 create_course.cgi (1.6) develop
  • create_course.cgi: Added support for changing the survey completed icon.
9 Fixed current lesson handling and bare surveys on the lessons page 05/14/99 Lessons.pm (1.100)
lesson.cgi (1.18)
develop
  • Lessons.pm: Fixed current lesson handling. Fixed the handling of "bare surveys" not included in lessons.
  • lesson.cgi: Handle the case where the current lesson is a bare survey in a similar manner to the bare quiz (use a Location: header to redirect the page to the survey itself).
10 Fixed edit quiz and edit survey pages so that if you save, go back, and save again, data is preserved as expected 05/14/99 EditQuiz.pm (1.50)
EditSurvey.pm (1.5)
edit_quiz.cgi (1.28)
edit_survey.cgi (1.2)
modify_quiz_list.cgi (1.8)
modify_survey_list.cgi (1.4)
develop
  • EditQuiz.pm: Made the little forms for selecting the quiz to "edit quiz" and "create quiz" use GET (they only send the quiz name to modify) in display_edit_buttons(). Allows the resulting page to have pragma: no-cache on it.
  • EditSurvey.pm: Made the little forms for "edit survey" and "create survey" use GET (they only send the survey name to modify) in display_edit_buttons(). Allows the resulting page to have pragma: no-cache on it.
  • edit_quiz.cgi: Put Pragma: no-cache header on the big edit quiz form page (the page drawn when the action sent in is "edit" or "create").
  • edit_survey.cgi: Put Pragma: no-cache header on the big edit survey form page (the page drawn when the action sent in is "edit" or "create").
  • modify_quiz_list.cgi: Changed the form method on the "try" and "edit" links to GET (as it only sends the quiz name, it should not be truncated) to enable the big edit quiz form to have pragma no-cache headers.
  • modify_survey_list.cgi: Changed the form method on the "try" and "edit" links to GET (as it only sends the survey name, it should not be truncated) to enable the big edit survey form to have pragma no-cache headers.
11 Wording change to grade details page 05/17/99 ShowGrades.pm (1.57) develop
  • ShowGrades.pm: Added question mark after "Reloaded?" in print_grade_detail().
12 Added list of sections with their enrollment to the roster page 05/17/99 enrollment_by_section.cgi (1.1)
roster_home.cgi (1.16)
develop
  • enrollment_by_section.cgi: New file. Displays a simple table with the available sections and the number of students in each.
  • roster_home.cgi: Added a section to display a list of sections and the number of students in each.
13 Fixed cheat bug in M_of_n_choice.pm 05/19/99 Types/M_of_n_choice.pm (1.20) develop
  • Types/M_of_n_choice.pm: Added "my" to $script in cheat() so that cheating will work when trying all versions at once.
14 Improve create a new question version capability 05/19/99 Question.pm (1.78)
edit_question.cgi (1.45)
edit_question_.cgi (1.24)
develop
  • Question.pm: Make the question_chooser thing be GET, so that we can set Pragma: no-cache on resulting pages.
  • edit_question.cgi: Print the edit question form inside the cgi file. Add an extra submit button for saving the changes into a new version. Also allow people to choose which version to import when coming from the "type in the name of an existing file in the create new question form" thing.
  • edit_question_.cgi: Save the changes into a new version if requested. Messages have been changed to reflect the different cases.
15 Fixed bad warnings for non-existent surveys on the lessons page 05/25/99 Lessons.pm (1.101) develop
  • Lessons.pm: If a survey doesn't exist, "next" out of the parse loop as soon as we write the tag to the new lessons.reg, in parse_lessons_html(). Slight changes to survey duedate warnings.
16 Have popup link to show available grade policies on the edit quiz page 05/27/99 EditQuiz.pm (1.51)
EditSurvey.pm (1.9)
grade_policy.cgi (1.9)
survey_policy.cgi (1.4)
develop
  • EditQuiz.pm: Add a popup link to show grade policies on the edit quiz form, in display_structure().
  • EditSurvey.pm: Make the "view available policies" link in display_structure() be a popup window with no menus, location, etc. Resulting page has no links.
  • grade_policy.cgi: Take in a parameter indicating if the window is a popup or not. If it IS, don't print any links and do print a "close window" button at the bottom.
  • survey_policy.cgi: Take in a parameter indicating if the window is a popup or not. If it IS, don't print any links (including the navigation bar) and do print a "close window" button at the bottom.
17 Changed badly named BACK_BUTTON script to CLOSE_BUTTON in Javascript.pm 05/27/99 Javascript.pm (1.10)
show_questions_in_quiz.cgi (1.12)
show_questions_in_survey.cgi (1.2)
develop
  • Javascript.pm: Changed misnamed BACK_BUTTON to CLOSE_BUTTON (the thing actually IS a single "Close Window" button).
  • show_questions_in_quiz.cgi: Changed misnamed BACK_BUTTON to CLOSE_BUTTON (the thing actually IS a single "Close Window" button).
  • show_questions_in_survey.cgi: Changed misnamed BACK_BUTTON to CLOSE_BUTTON (the thing actually IS a single "Close Window" button).

Questions? Comments? General harrassment? Mail it to maiko@wocket.csl.uiuc.edu.