IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 26862


Ignore:
Timestamp:
Feb 10, 2010, 4:00:56 PM (16 years ago)
Author:
eugene
Message:

updates from trunk

Location:
branches/eam_branches/20091201/ippMonitor
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20091201/ippMonitor/def/autocode.php

    r21137 r26862  
    2323echo "<form action=\"$FILE\" method=\"POST\">\n";
    2424
     25$restricted = 0;
     26
    2527// define restrictiosn to the queries
    2628// ** TABLE RESTRICTIONS **
     29
     30if ($restricted == 0) {
     31  if ("$UNRESTRICTED" != "none") {
     32    $WHERE = "$WHERE $UNRESTRICTED";
     33  }
     34}
    2735
    2836// get the result table count
  • branches/eam_branches/20091201/ippMonitor/def/magicProcessedMasks.d

    r24674 r26862  
    1313FIELD    magicRun.inverse,       5,   %s,     Inverse
    1414FIELD    magicRun.state,         5,   %s,     State
    15 FIELD    magicMask.streaks,      5,   %d,     Fault
     15FIELD    magicMask.streaks,      5,   %d,     Streaks
    1616FIELD    magicMask.fault,        5,   %s,     Fault
  • branches/eam_branches/20091201/ippMonitor/def/warpStageSkyfileInputs.d

    r24867 r26862  
    1111WHERE chipProcessedImfile.chip_id = chipRun.chip_id
    1212WHERE chipProcessedImfile.class_id = warpSkyCellMap.class_id
     13
     14# if no query restrictions are supplied, we want to limit the query or it is extremely long running:
     15UNRESTRICTED AND warpRun.warp_id = 0
    1316
    1417ARGS  ARG1  rawImfile.exp_id=$rawExp.exp_id
  • branches/eam_branches/20091201/ippMonitor/raw/ipp.php

    r26821 r26862  
    430430  }
    431431  if ($value == "") { return $where; }
     432
     433  global $restricted;
     434  $restricted = 1;
     435
    432436  if ($where) {
    433437    $where = $where . " AND";
  • branches/eam_branches/20091201/ippMonitor/scripts/generate

    r26820 r26862  
    2828    &init_key ("STYLE");
    2929    &init_key ("MODE");
     30    &init_key ("UNRESTRICTED");
    3031    &init_key ("TABLE");
    3132    &init_key ("TITLE");
     
    121122    &check_key ("STYLE", "ipp.css");
    122123    &check_key ("MODE", "basic");
     124    &check_key ("UNRESTRICTED", "none");
    123125    &check_key ("TABLE", "");
    124126    &check_key ("TITLE", "");
Note: See TracChangeset for help on using the changeset viewer.