Primary Perl Modules in Checkin 4.0

activeupdate.pl - daemonizes to run every 5 minutes to clean up expired entries in active_admin and active_labee.

addlabid.pl - prompts user for lab id and adds to database if not already added.

addprgp.pl - prompts user for peripheral group name and adds to database if not already added.

addpr.pl - prompts user for peripheral name and adds to database if not already added.

addroom.pl - prompts user for labroom name and adds to database if not already added.

addstgrp.pl - prompts user for station group name and adds to database if not already added.

addst.pl - prompts user for station name and adds to database if not already added.

adminpop.pl - initiated by admins when they click on a lab machine or peripheral provides options to delete the station, rename it, or checkin or out a user

AllLabs.pl -Verifies user once again, outputs a list of available lab ids and allows all mighty user to access any lab_id, create lab_ids and remove lab_ids

bug-list.pl - prints out webpage with known bug list

cgi-lib.pl - Adapted from cgi-lib.pl by S.E.Brenner@bioc.cam.ac.uk Copyright 1994 Steven E. Brenner. The cgi-lib.pl library has become the de facto standard library for creating Common Gateway Interface (CGI) scripts in the Perl language.

checkinpr.pl - Verifies user once again, checks a patron into a peripheral

checkinst.pl - Verifies user once again, checks a patron into a station

checkoutpr.pl - Verifies user once again, checks a patron out of a peripheral

checkoutst.pl - Verifies user once again, checks a patron out of a station

chkactive.pl - Contains subroutines to examine active databases

cleanlab.pl - checks all patrons out of a specified labroom

data.pl - paths to database and http directories

DB_Access.pl - sets up and controls access to the mySQL database

dbfuncs.pl - Contains subroutines to retrieve specific data from MySQL database

delprgrp.pl - prompts user for peripheral group name, and deletes from db if it exists

delpr.pl - prompts user for peripheral name, and deletes from db if it exists

delroom.pl - prompts user for labroom name, and deletes from db if it exists

delstgrp.pl - prompts user for station group name, and deletes from db if it exists

delst.pl - prompts user for station name, and deletes from db if it exists

downst.pl - marks station as down or up as needed; sends email notification to lab managers

env.pl - prints html header for web pages

error.pl - Subroutineis to output cause of error and log

exception.pl - Provides interface for lab managers to manage their lab's exception list.

genreport.pl - Loads logs into a temporary database table for the coldfusion server to retrieve the data and generate pretty charts

labconfig.pl - Displays lab room configuration to admins. Provides options to edit configuration

labee.pl - this is the main app for the labees. It displays the current lab population as well as options for checking students in and out of lab stations and peripherals. It will force a refresh every 5 minutes.

labfuncs.pl - Contains subroutines to alter labrooms as well as add & delete rooms

labmgmt.pl - Verifies user once again, outputs a list of available lab rooms and allows the user to select. Also provides option to add/remove labrooms.

LDAP_Access.pl and LDAP_Access_Rest.pl - Contains ldap subroutine/requires idno from input/binds as user Checkin to LDAP /retrieves status.. lasttermenrolled.. major.. etc /verifies idno as allowable or not / returns: 1, id number was found and is valid and 0, id number was not found or is invalid /Loads the following global variables: / $firstname : first name associated with $idno / $lastname : last name associated with $idno / $untmajor : most recent major

ldaptest.pl - This is a test module for potential non-UNT-university users of the Checkin 4.0 application. It gives a straightforward test and instructions on testing the LDAP interface capabilities of their Checkin setup.

logging.pl - This file contains subroutines to write to log files

login2.pl - writes access errors to a login log

login.pl - part of the logging in and accessing databases procedures.

logout.pl - logs a record out of active_admin or active_labee

mngadmaccts.pl - Provides interface for lab managers to manage their lab admin accounts

mnglabaccts.pl - Provides interface for lab managers to manage their labroom monitors

movepatst.pl - this is a mini version of labee.pl. It shows all stations in the lab and when the user choses an available station, this file check a patron out of the old station and checks them into the selected station.

onetime.pl - Provides interface for labees and lab admins to add patrons to their onetime list. Also, allows admins to clear their onetime lists or remove single entries

rejection.pl - Provides interface for lab managers to manage their lab's rejection list.

restrictions.pl - Provides interface for lab managers to manage their lab's restrictions.

reverify.pl - verify subroutines for both admins and labees. Accessed every time any element of checkin is accessed, except the login page

test_dbi.pl - list of DBI drivers

verify.pl - get current time

viewlogs.pl - Provides interface for lab managers to view their labrooms logs

waitlist.pl - Provides interface for lab managers and labees to manage their waiting list