IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 30454


Ignore:
Timestamp:
Feb 1, 2011, 3:02:23 PM (15 years ago)
Author:
eugene
Message:

add burntool state table; set limit on unrestricted diff query; change magic paths to workdir (nebulous)

Location:
trunk/ippMonitor
Files:
1 added
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippMonitor/Makefile.in

    r30453 r30454  
    6161$(DESTWWW)/show_and_delete_image.php \
    6262$(DESTWWW)/scatterPlot.php \
     63$(DESTWWW)/rawBurntoolState.php \
    6364$(DESTWWW)/plotHistogram.php \
    6465$(DESTWWW)/columns_in_db.php \
  • trunk/ippMonitor/def/diffProcessedSkyfile_Images.d

    r27892 r30454  
    1111# IMAGE VAR basename filerule camera class_id
    1212IMAGE JPEG2 $diffSkyfile.path_base PPSUB.OUTPUT.JPEG2 GPC1 NONE
     13
     14# if no query restrictions are supplied, we want to limit the query or it is extremely long running:
     15UNRESTRICTED AND diffRun.diff_id = 0
    1316
    1417# XXX need to get camera from lookup
  • trunk/ippMonitor/def/magicProcessedMasks_Images.d

    r27892 r30454  
    1111ARGS  ARG7 magicRun.magic_id=$magicRun.magic_id
    1212ARGS  ARG7 camera=GPC1
    13 ARGS  ARG7 basename=$magicRun.workdir/$magicRun.exp_id/$magicRun.exp_id.mgc.$magicRun.magic_id.verify/$magicRun.exp_id
     13#ARGS  ARG7 basename=$magicRun.workdir/$magicRun.exp_id/$magicRun.exp_id.mgc.$magicRun.magic_id.verify/$magicRun.exp_id
     14ARGS  ARG7 basename=$magicMask.path_base
    1415
    1516#        field                   size  format  name           show     link to         extras
     
    2526FIELD    magicMask.fault,        5,   %d,     Fault
    2627FIELD    magicRun.workdir,       5,   %s,     Label, none
     28FIELD    magicMask.path_base,    5,   %s,     Label, none
    2729
    2830TAIL PHP insert_image ('MAGIC.ORIGINAL.PNG', 'width=49%');
  • trunk/ippMonitor/raw/ipp.load.dat

    r28451 r30454  
    2323menulink  | menuselect   | link    | New Imfile                   | newImfile.php                   
    2424menulink  | menuselect   | link    | Raw Imfile                   | rawImfile.php                   
     25menutop   | menutop      | plain   |                         |
     26menulink  | menuselect   | link    | Burntool State               | rawBurntoolState.php                         
  • trunk/ippMonitor/raw/ipp.php

    r28688 r30454  
    390390  if ($sortKey == "") {
    391391    if ($_SERVER[REQUEST_METHOD] == 'GET') {
    392       $sortKey = $_GET['rsort'];
     392      $sortVal = $_GET['rsort'];
    393393    } else {
    394       $sortKey = $_POST['rsort'];
     394      $sortVal = $_POST['rsort'];
    395395    }
    396396    if ($sortVal != "") {
     
    529529    $value = $_POST[$htmlkey];
    530530  }
     531  # a search restriction may include an SQL wild-card.  we have to mangle these so that the http
     532  # does not get converted to a special character
     533  $value = preg_replace ('|%|', '%25', $value);
    531534  if ($value != "") {
    532535    if ($line) {
  • trunk/ippMonitor/scripts/generate

    r29485 r30454  
    5858        if ($key eq "FIELD") {
    5959            ($field, $width, $format, $name, $show, $link, $extras) = split (/,\s+/, $value, 7);
    60             if (! $name) { die "table $ARGV[0] missing required elements\n"; }
     60            if (! $name) { die "table $ARGV[0] missing required elements: $value\n"; }
    6161            if ($field =~ m|\S+\s+as\s+\S+|) {
    6262                ($fieldreal) = $field =~ m|\S+\s+as\s+(\S+)|;
Note: See TracChangeset for help on using the changeset viewer.