Changeset 1330
- Timestamp:
- 02/04/04 12:17:00 (21 years ago)
- Location:
- pykota/trunk
- Files:
-
- 2 added
- 24 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/man/edpykota.1
r1323 r1330 1 1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.33. 2 .TH EDPYKOTA "1" " January 2004" "C@LL - Conseil Internet & Logiciels Libres" "User Commands"2 .TH EDPYKOTA "1" "February 2004" "C@LL - Conseil Internet & Logiciels Libres" "User Commands" 3 3 .SH NAME 4 edpykota \- manual page for edpykota 1.1 7_unofficial4 edpykota \- manual page for edpykota 1.18alpha2_unofficial 5 5 .SH DESCRIPTION 6 edpykota v1.1 6beta1_unofficial (c) 2003-2004 C@LL - Conseil Internet & Logiciels Libres6 edpykota v1.18alpha2_unofficial (c) 2003-2004 C@LL - Conseil Internet & Logiciels Libres 7 7 A Print Quota editor for PyKota. 8 8 .PP -
pykota/trunk/man/genman.sh
r1287 r1330 14 14 # $Id$ 15 15 # 16 for prog in edpykota pykotme repykota warnpykota ; do16 for prog in edpykota pykotme repykota warnpykota pkprinters ; do 17 17 help2man --section=1 --manual "User Commands" --source="C@LL - Conseil Internet & Logiciels Libres" --output=$prog.1 --no-info $prog ; 18 18 done -
pykota/trunk/MANIFEST.in
r1307 r1330 1 include README FAQ COPYING LICENSE TODO NEWS CREDITS SECURITY MANIFEST.in clean.sh bin/cupspykota bin/pykota bin/edpykota bin/warnpykota bin/repykota bin/pykotme bin/ waitprinter.sh bin/papwaitprinter.sh bin/mailandpopup.sh bin/README1 include README FAQ COPYING LICENSE TODO NEWS CREDITS SECURITY MANIFEST.in clean.sh bin/cupspykota bin/pykota bin/edpykota bin/warnpykota bin/repykota bin/pykotme bin/pkprinters bin/waitprinter.sh bin/papwaitprinter.sh bin/mailandpopup.sh bin/README 2 2 recursive-include po README *.po *.mo *.pot 3 3 recursive-include man README *.sh *.1 -
pykota/trunk/man/pykotme.1
r1323 r1330 1 1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.33. 2 .TH PYKOTME "1" " January 2004" "C@LL - Conseil Internet & Logiciels Libres" "User Commands"2 .TH PYKOTME "1" "February 2004" "C@LL - Conseil Internet & Logiciels Libres" "User Commands" 3 3 .SH NAME 4 pykotme \- manual page for pykotme 1.1 7_unofficial4 pykotme \- manual page for pykotme 1.18alpha2_unofficial 5 5 .SH DESCRIPTION 6 pykotme v1.1 6beta1_unofficial (c) 2003-2004 C@LL - Conseil Internet & Logiciels Libres6 pykotme v1.18alpha2_unofficial (c) 2003-2004 C@LL - Conseil Internet & Logiciels Libres 7 7 .PP 8 8 Gives print quotes to users. -
pykota/trunk/man/repykota.1
r1323 r1330 1 1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.33. 2 .TH REPYKOTA "1" " January 2004" "C@LL - Conseil Internet & Logiciels Libres" "User Commands"2 .TH REPYKOTA "1" "February 2004" "C@LL - Conseil Internet & Logiciels Libres" "User Commands" 3 3 .SH NAME 4 repykota \- manual page for repykota 1.1 7_unofficial4 repykota \- manual page for repykota 1.18alpha2_unofficial 5 5 .SH DESCRIPTION 6 repykota v1.1 6beta1_unofficial (c) 2003-2004 C@LL - Conseil Internet & Logiciels Libres6 repykota v1.18alpha2_unofficial (c) 2003-2004 C@LL - Conseil Internet & Logiciels Libres 7 7 .PP 8 8 Generates print quota reports. -
pykota/trunk/man/warnpykota.1
r1323 r1330 1 1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.33. 2 .TH WARNPYKOTA "1" " January 2004" "C@LL - Conseil Internet & Logiciels Libres" "User Commands"2 .TH WARNPYKOTA "1" "February 2004" "C@LL - Conseil Internet & Logiciels Libres" "User Commands" 3 3 .SH NAME 4 warnpykota \- manual page for warnpykota 1.1 7_unofficial4 warnpykota \- manual page for warnpykota 1.18alpha2_unofficial 5 5 .SH DESCRIPTION 6 warnpykota v1.1 6beta1_unofficial (c) 2003-2004 C@LL - Conseil Internet & Logiciels Libres6 warnpykota v1.18alpha2_unofficial (c) 2003-2004 C@LL - Conseil Internet & Logiciels Libres 7 7 .PP 8 8 Sends mail to users over print quota. -
pykota/trunk/NEWS
r1328 r1330 22 22 PyKota NEWS : 23 23 24 - 1.18alpha2 : 25 26 - Added the pkprinters command line tool to manage printers 27 exclusively. 28 24 29 - 1.18alpha1 : 25 30 -
pykota/trunk/po/br/pykota.po
r1307 r1330 84 84 msgstr "Voce deve informar usuario ou grupo na linha de comando" 85 85 86 msgid "You have to pass printer names on the command line" 87 msgstr "Voce deve informar impressora na linha de comando" 88 86 89 #, python-format 87 90 msgid "Prototype %s not found in Quota Storage for printer %s." -
pykota/trunk/po/en/pykota.po
r1295 r1330 88 88 msgstr "" 89 89 90 msgid "You have to pass printer names on the command line" 91 msgstr "" 92 90 93 #, python-format 91 94 msgid "Prototype %s not found in Quota Storage for printer %s." -
pykota/trunk/po/es/pykota.po
r1295 r1330 86 86 "Usted tiene que pasar nombres de usuarios o grupos en la l�a de comandos" 87 87 88 msgid "You have to pass printer names on the command line" 89 msgstr "Usted tiene que pasar nombres de impresoras en la l�a de comandos" 90 88 91 #, python-format 89 92 msgid "Prototype %s not found in Quota Storage for printer %s." -
pykota/trunk/po/fr/pykota.po
r1295 r1330 91 91 "commande" 92 92 93 msgid "You have to pass printer names on the command line" 94 msgstr "Vous devez passer des noms d'imprimantes sur la ligne de commande" 95 93 96 #, python-format 94 97 msgid "Prototype %s not found in Quota Storage for printer %s." -
pykota/trunk/po/pt/pykota.po
r1307 r1330 84 84 msgstr "�Obrigat� a utiliza� de nomes de utilizador ou grupo na linha de comando" 85 85 86 msgid "You have to pass printer names on the command line" 87 msgstr "�Obrigat� a utiliza� de nomes de impressora na linha de comando" 88 86 89 #, python-format 87 90 msgid "Prototype %s not found in Quota Storage for printer %s." -
pykota/trunk/po/pykota.pot
r1295 r1330 88 88 msgstr "" 89 89 90 msgid "You have to pass printer names on the command line" 91 msgstr "" 92 90 93 #, python-format 91 94 msgid "Prototype %s not found in Quota Storage for printer %s." -
pykota/trunk/po/se/pykota.po
r1299 r1330 88 88 msgstr "Du m�e skicka med anv�are- eller gruppnamn p�ommandoraden" 89 89 90 msgid "You have to pass printer names on the command line" 91 msgstr "Du m�e skicka med skrivarnamn p�ommandoraden" 92 90 93 #, python-format 91 94 msgid "Prototype %s not found in Quota Storage for printer %s." -
pykota/trunk/pykota/storage.py
r1285 r1330 22 22 # 23 23 # $Log$ 24 # Revision 1.39 2004/02/04 11:16:59 jalet 25 # pkprinters command line tool added. 26 # 24 27 # Revision 1.38 2004/01/12 22:43:40 jalet 25 28 # New formula to compute a job's price … … 272 275 self.PricePerJob = float(priceperjob) 273 276 self.parent.writePrinterPrices(self) 277 278 def delete(self) : 279 """Deletes a printer from the Quota Storage.""" 280 self.parent.beginTransaction() 281 try : 282 self.parent.deletePrinter(self) 283 except PyKotaStorageError, msg : 284 self.parent.rollbackTransaction() 285 raise PyKotaStorageError, msg 286 else : 287 self.parent.commitTransaction() 274 288 275 289 class StorageUserPQuota(StorageObject) : -
pykota/trunk/pykota/storages/ldapstorage.py
r1320 r1330 22 22 # 23 23 # $Log$ 24 # Revision 1.50 2004/02/04 11:17:00 jalet 25 # pkprinters command line tool added. 26 # 24 27 # Revision 1.49 2004/01/29 22:35:45 jalet 25 28 # Small fix from Matt. … … 974 977 else : 975 978 self.doDelete(group.ident) 976 979 980 def deletePrinter(self, printer) : 981 """Completely deletes an user from the Quota Storage.""" 982 result = self.doSearch("(&(objectClass=pykotaLastJob)(pykotaPrinterName=%s))" % printer.Name, base=self.info["lastjobbase"]) 983 for (ident, fields) in result : 984 self.doDelete(ident) 985 result = self.doSearch("(&(objectClass=pykotaJob)(pykotaPrinterName=%s))" % printer.Name, base=self.info["jobbase"]) 986 for (ident, fields) in result : 987 self.doDelete(ident) 988 result = self.doSearch("(&(objectClass=pykotaGroupPQuota)(pykotaPrinterName=%s))" % printer.Name, base=self.info["groupquotabase"]) 989 for (ident, fields) in result : 990 self.doDelete(ident) 991 result = self.doSearch("(&(objectClass=pykotaUserPQuota)(pykotaPrinterName=%s))" % printer.Name, base=self.info["userquotabase"]) 992 for (ident, fields) in result : 993 self.doDelete(ident) 994 for parent in self.getParentPrinters(printer) : 995 parent.uniqueMember.remove(printer.ident) 996 fields = { 997 "uniqueMember" : parent.uniqueMember, 998 } 999 self.doModify(parent.ident, fields) 1000 self.doDelete(printer.ident) -
pykota/trunk/pykota/storages/sql.py
r1327 r1330 22 22 # 23 23 # $Log$ 24 # Revision 1.35 2004/02/04 11:17:00 jalet 25 # pkprinters command line tool added. 26 # 24 27 # Revision 1.34 2004/02/02 22:44:16 jalet 25 28 # Preliminary work on Relationnal Database Independance via DB-API 2.0 … … 408 411 ] : 409 412 self.doModify(q) 410 413 414 def deletePrinter(self, printer) : 415 """Completely deletes a printer from the Quota Storage.""" 416 for q in [ 417 "DELETE FROM printergroupsmembers WHERE groupid=%s OR printerid=%s" % (self.doQuote(printer.ident), self.doQuote(printer.ident)), 418 "DELETE FROM jobhistory WHERE printerid=%s" % self.doQuote(printer.ident), 419 "DELETE FROM grouppquota WHERE printerid=%s" % self.doQuote(printer.ident), 420 "DELETE FROM userpquota WHERE printerid=%s" % self.doQuote(printer.ident), 421 "DELETE FROM printers WHERE id=%s" % self.doQuote(printer.ident), 422 ] : 423 self.doModify(q) 424 -
pykota/trunk/pykota/version.py
r1325 r1330 22 22 # 23 23 24 __version__ = "1.18alpha 1_unofficial"24 __version__ = "1.18alpha2_unofficial" 25 25 26 26 __doc__ = """PyKota : a complete Printing Quota Solution for CUPS and LPRng.""" -
pykota/trunk/setup.py
r1307 r1330 24 24 # 25 25 # $Log$ 26 # Revision 1.33 2004/02/04 11:16:59 jalet 27 # pkprinters command line tool added. 28 # 26 29 # Revision 1.32 2004/01/18 20:52:50 jalet 27 30 # Portuguese portuguese translation replaces brasilian portuguese one, which … … 380 383 url = "http://www.librelogiciel.com/software/", 381 384 packages = [ "pykota", "pykota.storages", "pykota.requesters", "pykota.loggers", "pykota.accounters", "pykota.reporters" ], 382 scripts = [ "bin/cupspykota", "bin/pykota", "bin/edpykota", "bin/repykota", "bin/warnpykota", "bin/pykotme", "bin/ waitprinter.sh", "bin/papwaitprinter.sh", "bin/mailandpopup.sh", "contributed/pagecount.pl" ],385 scripts = [ "bin/cupspykota", "bin/pykota", "bin/edpykota", "bin/repykota", "bin/warnpykota", "bin/pykotme", "bin/pkprinters", "bin/waitprinter.sh", "bin/papwaitprinter.sh", "bin/mailandpopup.sh", "contributed/pagecount.pl" ], 383 386 data_files = data_files) 384 387