Changeset 1473 for pykota/trunk

Show
Ignore:
Timestamp:
05/13/04 13:15:29 (21 years ago)
Author:
jalet
Message:

Added hostname field in job history

Location:
pykota/trunk
Files:
1 added
6 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/initscripts/ldap/pykota.schema

    r1455 r1473  
    169169        SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 SINGLE-VALUE ) 
    170170 
     171# pykotaHostName 
     172attributetype ( 1.3.6.1.4.1.16868.1.1.24 NAME 'pykotaHostName' 
     173        DESC 'The host the job is coming from' 
     174        EQUALITY caseIgnoreMatch 
     175        SUBSTR caseIgnoreSubstringsMatch 
     176        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} ) 
     177 
    171178#         
    172179# PyKota Object Classes 
     
    207214        DESC 'An entry in the job history for a printer' 
    208215        MUST ( cn $ pykotaUserName $ pykotaPrinterName $ pykotaJobId ) 
    209         MAY  ( pykotaPrinterPageCounter $ pykotaJobSize $ pykotaAction $ pykotaJobPrice $ pykotaFileName $ pykotaTitle $ pykotaCopies $ pykotaOptions ) ) 
     216        MAY  ( pykotaPrinterPageCounter $ pykotaJobSize $ pykotaAction $ pykotaJobPrice $ pykotaFileName $ pykotaTitle $ pykotaCopies $ pykotaOptions $ pykotaHostName ) ) 
    210217         
    211218# pykotaAccountBalance 
  • pykota/trunk/initscripts/postgresql/pykota-postgresql.sql

    r1257 r1473  
    2020-- 
    2121-- $Log$ 
     22-- Revision 1.9  2004/05/13 11:15:29  jalet 
     23-- Added hostname field in job history 
     24-- 
    2225-- Revision 1.8  2004/01/08 14:10:32  jalet 
    2326-- Copyright year changed. 
     
    118121                        userid INT4, 
    119122                        printerid INT4, 
     123                        hostname TEXT, 
    120124                        pagecounter INT4 DEFAULT 0, 
    121125                        jobsize INT4, 
  • pykota/trunk/initscripts/postgresql/README.postgresql

    r1257 r1473  
    5959  version of PyKota. 
    6060   
     61  * An SQL script to upgrade a 1.18 PyKota Storage DataBase to 
     62    1.19 is included. Launch it this way on the Quota Storage Server : 
     63     
     64        $ psql -U postgres pykota 
     65        pykota=# \i upgrade-to-1.19.sql 
     66        pykota=# \q 
     67        $ 
     68         
     69    This script adds a field to the print job history. The field that 
     70    is added is : hostname 
     71     
    6172  * An SQL script to upgrade a pre-1.16 PyKota Storage DataBase to 
    6273    1.16 is included. Launch it this way on the Quota Storage Server : 
  • pykota/trunk/initscripts/README

    r1257 r1473  
    4545============================================================================= 
    4646     
     47  * upgrade-to-1.19.sql :   
     48   
     49    This file upgrades the PostgreSQL Quota Storage Database schema 
     50    from versions before 1.19alpha7 to version 1.19alpha7 and above. 
     51    NEVER USE IT IF YOU ALREADY RUN 1.19alpha7 OR ABOVE ! 
     52     
    4753  * upgrade-to-1.16.sql :   
    4854   
  • pykota/trunk/NEWS

    r1471 r1473  
    2222PyKota NEWS : 
    2323 
     24    - 1.19alpha7 : 
     25      
     26        - Database schema change (both LDAP and PostgreSQL) to 
     27          allow storage of the job-originating-hostname attribute. 
     28          An SQL upgrade script is present. The code is not yet 
     29          capable of setting/retrieving this attribute. Support 
     30          for this functionnality will be added in the future. 
     31           
    2432    - 1.19alpha6 : 
    2533     
  • pykota/trunk/pykota/version.py

    r1463 r1473  
    2222# 
    2323 
    24 __version__ = "1.19alpha6_unofficial" 
     24__version__ = "1.19alpha7_unofficial" 
    2525 
    2626__doc__ = """PyKota : a complete Printing Quota Solution for CUPS and LPRng."""