Changeset 165

Show
Ignore:
Timestamp:
Mon Aug 21 20:08:06 2006
Author:
Brian
Message:

Handle change of new table -Next-

Files:

Legend:

Unmodified
Added
Removed
Modified
  • server/trunk/update/test/test_update_server.py

    r125 r165  
    145 145  
    146 146 #    server = xmlrpclib.ServerProxy("http://localhost:8001")  
    147       server = xmlrpclib.ServerProxy("http://192.168.0.6:8001")  
      147     server = xmlrpclib.ServerProxy("http://192.168.0.5:8001")  
    147 147  
    148 148     Test("make sure I can talk to server:")  
  • server/trunk/update/server/ganttpv_update_server.py

    r126 r165  
    43 43  
    44 44 # server location  
    45   server_ip = "192.168.0.6"  
      45 server_ip = "192.168.0.5"  
    45 45 server_port = 8001  
    46 46 # this key is required to add databases to server  
     
    467 467     for tid, t in tables:  
    468 468         if tid[0] == "_": continue  # skip server internal tables  
      469  
      470         if tid == 'Next': continue  # this is the new name, handled via NextID and prep database  
    469 471          
    470 472         alias = None  # identify aliases (thanks for the code Alex!)  
  • server/trunk/update/server/HTML.py

    r125 r165  
    37 37 # 060403 - Brian - fix display of override color  
    38 38 # 060404 - Brian - InPlace editing works  
      39 # 060708 - Brian - comment out xof parm (used in calling Data, decided it was a bad idea)  
    39 40  
    40 41 # Note: The fonts used in this script are larger than in GanttPV. To reduce font size to more closely match GanttPV, change the "font-size" lines in the header strings.  
     
    599 600             # if cn.count("\n"): cn = cn.replace("\n", " ")  
    600 601  
    601               di = Data.GetColumnDate(c, 0, xof=parm_startoffset, xdate=parm_startdate)  
      602             # di = Data.GetColumnDate(c, 0, xof=parm_startoffset, xdate=parm_startdate)  
      603             di = Data.GetColumnDate(c, 0, xdate=parm_startdate)  
    602 604  
    603 605             repi = len(cnreps)  
     
    820 822  
    821 823                 else:  # table name, field name, time period, and record id  
    822                       value, source = Data.GetCellValue(rid, col, of, xof=parm_startoffset, xdate=parm_startdate, source=True)  
      824                     # value, source = Data.GetCellValue(rid, col, of, xof=parm_startoffset, xdate=parm_startdate, source=True)  
      825                     value, source = Data.GetCellValue(rid, col, of, xdate=parm_startdate, source=True)  
    823 826                     if value == None: value = ''  
    824 827                     cl = "non"  
    825 828                     fp.write('<td class="' + cl + '" ' + wid + wrap + ' >')  
    826 829                     if parm_allow_edit and rtable == editTables.get(col) and parm_inplace and col in editColumns:  
    827                           coldate  = Data.DateIndex[Data.GetColumnDate(col, of, xof=parm_startoffset, xdate=parm_startdate)]  
      830                         # coldate  = Data.DateIndex[Data.GetColumnDate(col, of, xof=parm_startoffset, xdate=parm_startdate)]  
      831                         coldate  = Data.DateIndex[Data.GetColumnDate(col, of, xdate=parm_startdate)]  
    828 832                         val = MakeString(value)  
    829 833                         # fp.write(str(coldate) + ' ' + str(EditPeriod(col, coldate)))  
  • server/trunk/update/client/Download Database from Server.py

    r129 r165  
    71 71  
    72 72     normal, aliases, exceptions = result  
      73     if debug: print "normal\n", normal, "aliases\n", aliases, "exceptions\n", exceptions  
    73 74  
    74 75     database = {}