Diff for /loncom/debugging_tools/make_slots.pl between versions 1.3 and 1.4

version 1.3, 2005/05/31 21:35:51 version 1.4, 2005/06/04 08:17:32
Line 16  slots can have these parts;: Line 16  slots can have these parts;:
 Required:  Required:
   starttime - unix time that a slot start    starttime - unix time that a slot start
   endtime - unix time that a slot ends    endtime - unix time that a slot ends
       startreserve - unix time that a slot can start being reserved
   
 Optional:  Optional:
   type - either 'preassigned' or 'scheduleable_student'    type - either 'preassigned' or 'schedulable_student'
          (controls whether slotrequest.pm will allow one to select it)           (controls whether slotrequest.pm will allow one to select it)
   ip - comma seperated list of ip address or wildcard ranges or    ip - comma seperated list of ip address or wildcard ranges or
        wilcard hostnames, or [] style range of allowable client IP         wilcard hostnames, or [] style range of allowable client IP
Line 29  Optional: Line 29  Optional:
                 this slot                  this slot
   maxspace - integer (number of people that can schedule this space)    maxspace - integer (number of people that can schedule this space)
              (if unspecfied no limit is used)               (if unspecfied no limit is used)
     symb - arrayref of symbs that can be scheduled to be done in this slot
   
 Possibly Need: (but not yet supported)  Possibly Need: (but not yet supported)
   symb - arrayref of symbs that can be scheduled to be done in this slot  
   uniqperiod - if the user has a reservation that has a uniqpersion    uniqperiod - if the user has a reservation that has a uniqpersion
                that overlaps this dn't allow them to schedule this                 that overlaps this dn't allow them to schedule this
                reservation                 reservation
Line 42  Possibly Need: (but not yet supported) Line 42  Possibly Need: (but not yet supported)
 $db{'slot1'}=  $db{'slot1'}=
     &freeze_escape({      &freeze_escape({
  'type'      => 'preassigned',   'type'      => 'preassigned',
    'startreserve' => &UnixDate("Aug 30th 00:00:00 2004","%s"),
  'starttime' => &UnixDate("Aug 30th 00:00:00 2004","%s"),   'starttime' => &UnixDate("Aug 30th 00:00:00 2004","%s"),
  'endtime'   => &UnixDate("Aug 30th 01:00:00 2004","%s"),   'endtime'   => &UnixDate("Aug 30th 01:00:00 2004","%s"),
  'ip'        => "*albertelli.com",   'ip'        => "*albertelli.com",
Line 50  $db{'slot1'}= Line 51  $db{'slot1'}=
 $db{'slot2'}=  $db{'slot2'}=
     &freeze_escape({      &freeze_escape({
  'type'      => 'preassigned',   'type'      => 'preassigned',
    'startreserve' => &UnixDate("Aug 30th 00:00:00 2006","%s"),
  'starttime' => &UnixDate("Aug 30th 00:00:00 2006","%s"),   'starttime' => &UnixDate("Aug 30th 00:00:00 2006","%s"),
  'endtime'   => &UnixDate("Aug 30th 00:00:00 2006","%s"),   'endtime'   => &UnixDate("Aug 30th 00:00:00 2006","%s"),
  'ip'        => "*albertelli.com",   'ip'        => "*albertelli.com",
Line 59  $db{'slot3'}= Line 61  $db{'slot3'}=
     &freeze_escape({      &freeze_escape({
  'type'      => 'preassigned',   'type'      => 'preassigned',
  'description' => 'slot3',   'description' => 'slot3',
    'startreserve' => &UnixDate("Aug 29th 00:00:00 2004","%s"),
  'starttime' => &UnixDate("Aug 30th 00:00:00 2004","%s"),   'starttime' => &UnixDate("Aug 30th 00:00:00 2004","%s"),
  'endtime'   => &UnixDate("Aug 30th 00:00:00 2006","%s"),   'endtime'   => &UnixDate("Aug 30th 00:00:00 2006","%s"),
         'endtime'   => &UnixDate("Aug 30th 00:00:00 2004","%s"),          'endtime'   => &UnixDate("Aug 30th 00:00:00 2004","%s"),
Line 69  $db{'slot3'}= Line 72  $db{'slot3'}=
 $db{'slot4'}=  $db{'slot4'}=
     &freeze_escape({      &freeze_escape({
  'type'      => 'preassigned',   'type'      => 'preassigned',
    'startreserve' => &UnixDate("Aug 29th 00:00:00 2004","%s"),
  'starttime' => &UnixDate("Aug 30th 00:00:00 2004","%s"),   'starttime' => &UnixDate("Aug 30th 00:00:00 2004","%s"),
  'endtime'   => &UnixDate("Aug 30th 00:00:00 2006","%s"),   'endtime'   => &UnixDate("Aug 30th 00:00:00 2006","%s"),
  'endtime'   => &UnixDate("Aug 30th 00:00:00 2004","%s"),   'endtime'   => &UnixDate("Aug 30th 00:00:00 2004","%s"),
Line 78  $db{'slot4'}= Line 82  $db{'slot4'}=
 $db{'slot5'}=  $db{'slot5'}=
     &freeze_escape({      &freeze_escape({
  'type'      => 'schedulable_student',   'type'      => 'schedulable_student',
  'description' => 'Aug 30th 4 P.M., Room 123 Kedzie',   'description' => undef,#'Aug 30th 4 P.M., Room 123 Kedzie',
  'starttime' => &UnixDate("Aug 30th 00:00:00 2004","%s"),   'startreserve' => &UnixDate("Aug 29th 00:00:00 2004","%s"),
    #'starttime' => &UnixDate("Aug 30th 00:00:00 2004","%s"),
    'starttime' => &UnixDate("Aug 30th 00:00:00 2006","%s"),
  'endtime'   => &UnixDate("Aug 30th 00:00:00 2006","%s"),   'endtime'   => &UnixDate("Aug 30th 00:00:00 2006","%s"),
  'endtime'   => &UnixDate("Aug 30th 00:00:00 2004","%s"),   #'endtime'   => &UnixDate("Aug 30th 00:00:00 2004","%s"),
  'ip'        => "*albertelli.com",   'ip'        => "*albertelli.com",
  'proctor'   => 'testuser@annarbor',   'proctor'   => 'testuser@annarbor',
     });      });
Line 89  $db{'slot6'}= Line 95  $db{'slot6'}=
     &freeze_escape({      &freeze_escape({
  'type'      => 'schedulable_student',   'type'      => 'schedulable_student',
  'description' => 'Aug 31th 4 P.M., Room 222 Computer Center',   'description' => 'Aug 31th 4 P.M., Room 222 Computer Center',
    'startreserve' => &UnixDate("Aug 29th 00:00:00 2004","%s"),
  'starttime' => &UnixDate("Aug 30th 00:00:00 2004","%s"),   'starttime' => &UnixDate("Aug 30th 00:00:00 2004","%s"),
  'endtime'   => &UnixDate("Aug 30th 00:00:00 2006","%s"),   'endtime'   => &UnixDate("Aug 30th 00:00:00 2006","%s"),
  'endtime'   => &UnixDate("Aug 30th 00:00:00 2004","%s"),   #'endtime'   => &UnixDate("Aug 30th 00:00:00 2004","%s"),
  'ip'        => "*albertelli.com",   'ip'        => "*albertelli.com",
  'proctor'   => 'testuser@annarbor',   'proctor'   => 'testuser@annarbor',
     });      });

Removed from v.1.3  
changed lines
  Added in v.1.4


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>