root / pykota / trunk / NEWS @ 1729

Revision 1729, 47.4 kB (checked in by jalet, 20 years ago)

First try at full SNMP handling from the Python code.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
RevLine 
[797]1# $Id$
2
3PyKota - Print Quota for CUPS
4
[1257]5(c) 2003-2004 Jerome Alet <alet@librelogiciel.com>
[873]6This program is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 2 of the License, or
9(at your option) any later version.
[797]10
[873]11This program is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14GNU General Public License for more details.
[797]15
[873]16You should have received a copy of the GNU General Public License
17along with this program; if not, write to the Free Software
18Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
19
[797]20============================================================
21
22PyKota NEWS :
23
[1729]24    - 1.20alpha13 :
25     
26        - Hardware accounter now accepts the special
27          'snmp' value, meaning ALL is done from main code
28          without launching any subprocess.
29          You need the http://pysnmp.sf.net Python module
30          for this to work (tested with v3.4.2)
31         
[1723]32    - 1.20alpha12 :
33   
34        - waitprinter.sh rewritten from scratch to wait
35          for printer status stabilization.
36       
[1717]37    - 1.20alpha11 :
38   
39        - Generic data dumper 'dumpykota' introduced.
40          Works only with PostgreSQL backend for now.
41         
[1713]42    - 1.20alpha10 :
43   
44        - Added fix for incorrect job's size computation when
45          hardware accounting fails.
46         
[1705]47    - 1.20alpha9 :
48   
49        - Small fixes wrt subprocesses.
50       
[1701]51    - 1.20alpha8 :
52   
53        - Added full support of PCL3 : HP Deskjet printers are now
54          supported.
55       
[1699]56    - 1.20alpha7 :
57   
58        - First draft of PCL3GUI (Deskjet 640C for example) analyzer.
59          Needs more work, but no documentation is available.
60       
[1692]61    - 1.20alpha6 :
62     
[1697]63        - Improved mailandpopup.sh script.
64       
[1696]65        - Small fixes for LPRng.
[1695]66       
[1694]67        - Now exports PYKOTAPRINTERHOSTNAME for network printers'
68          hostname or IP address. Set to 'localhost' when not
69          meaningful.
70         
[1693]71        - Fixed issue with how mod_auth_ldap Apache modules
72          fills the REMOTE_USER environment variable.
73         
[1692]74        - Fixed a bug in LDAP user deletion code.
75       
[1687]76    - 1.20alpha5 :
77     
78        - Introduces the new configuration directive 'onaccountererror'
79          to specify what must be done whenever the software or
80          hardware accounter fails. Allowed values are 'continue' and
81          'stop' (default).
82         
83        - Minor fix in software accounter for a recently introduced
84          problem.
85         
[1686]86    - 1.20alpha4 :
87   
88        - Added support for more ghostscript devices in ESC/P2
89          analyzer : stcolor, st800, escp, escpc are now supported.
90         
[1680]91    - 1.20alpha3 :
92       
[1683]93        - Small improvement in PostScript parser to avoid being
94          fooled by a change in number of copies :
95          The user can't ask for 200 copies of page 1 and 1 copy
96          of page 2 to fool PyKota anymore :
97          this would have been accounted for as 1 copy only, but
98          now the maximum value seen is used.
99         
[1681]100        - Relax checks for PCL5 header to accomodate some strange
101          printer drivers.
102         
[1680]103        - Now hardware accounting method works like software
104          accounting method wrt the subprocess' output.
105         
[1681]106        - Hardware and Software accounting stop the print queue 
107          when the accounting subprocess didn't work. This will
108          be configurable in the near future.
109         
[1676]110    - 1.20alpha2 :
111   
[1678]112        - Now software accounting method reads accounter's
113          answer until a line with a single integer is
114          obtained or until all of its output has been read.
115          This should fix the problem some people have
116          when strange locale related messages are sent
117          when running subprocesses (Solaris only ?).
118         
[1676]119        - First version of ESC/P2 analyzer. Seems to work
120          ok at least with 'epson', 'epsonc', 'eps9mid'
121          and 'esp9high' ghostscript devices. Needs more
122          work to correctly analyze other devices.
123       
[1665]124    - 1.20alpha1 :
125   
[1675]126        - Fixed problem with number of copies in PCLXL parser.
127       
[1674]128        - Fixed problem with number of copies in PCL5 parser,
129          when number of copies was set outside of and before first
130          page.
131       
[1673]132        - Added workaround for number of copies directly set in
133          PostScript code.
134         
[1671]135        - Added german translation.
136       
[1665]137        - Fixed problem on first print for user group quota when
138          "enforcement: strict" is used.
139       
140        - Fixed interpolation problem in french translation.
141       
[1664]142    - 1.19 :
143   
144        - Updated existing translations.   
145       
146        - Added final Thai and Greek translations.
147       
148        - Minor last minute bug fixes.
149       
[1629]150    - 1.19beta :
151   
152        - LPRng support for both software and hardware accounting seems
153          to be OK.
154         
155        - Translation files fixed because of fuzzy matching problem. 
156       
[1639]157        - Fixed path to Swedish translation: 'sv' instead of 'se'.
[1633]158       
[1639]159        - Added first draft of Thai translation.
160       
161        - Fixed some minor bugs with Pychecker.
162       
[1622]163    - 1.19alpha35 :
164   
165        - Generic PDL analyzer now supports Binary PostScript documents
166          in addition to DSC compliant ones.
167       
[1611]168    - 1.19alpha34 :
169   
170        - LPRng support : software accounting seems to work fine,
171          but hardware accounting doesn't work yet.
172   
[1605]173    - 1.19alpha33 :
174   
175        - pykosd now accepts command line arguments. Enjoy !
176          NB : due to a bug in xosd, you need xosd version 2.2.8
177          or higher if you don't use the default C locale.
178         
[1600]179    - 1.19alpha32 :
180   
[1604]181        - Early (not working) version of the LPRng support rewrite.
[1600]182       
[1604]183        - Saner default configuration file.
184       
[1599]185    - 1.19alpha31 :
186   
187        - Fixed a double Python2.1 incompatibility with newer versions,
188          which prevented the PCL5 and the PCLXL parsers to work with
189          this older version of Python.
190         
[1592]191    - 1.19alpha30 :
192   
[1595]193        - Introduction of preliminary version of the pykosd command
194       
[1593]195        - Usernames, Groupnames and Printernames can now contain
196          ANY character, expected '/' and '@'.
197       
[1592]198        - Integrated most of the Debian work from Sergio
199          Gonz�z Gonz�z
200         
[1584]201    - 1.19alpha29 :
202   
[1591]203        - PCLXL parser should now correctly handle number of
204          copies set for each page.
205         
[1588]206        - Added testsuite for generic PDL analyzer.
207       
208        - Typo fixed in PCLXL parser.
209       
[1584]210        - Correctly dispatches error messages depending on the
211          situation : tools which can be run interactively will
212          ALWAYS output their logs to stderr, excepted for
213          their DEBUG messages, for which the "logger:"
214          directive as set in pykota.conf will be honored.
215          Tools which can't be run interactively will ALWAYS
216          honor the "logger:" directive as set in pykota.conf
217         
[1575]218    - 1.19alpha28 :
219   
[1582]220        - The description field for printers can now be set,
221          and is displayed in reports.
222         
223        - Fixed a small problem in SQL backend code.
224         
[1578]225        - Improved pkhint
226       
[1575]227        - First working PCL6 (aka PCLXL) parser !
228          Doesn't handle copies yet.
229       
[1570]230    - 1.19alpha27 :
231   
[1573]232        - Additionnal 10% speed increase in PCL5 parser for GhostScript
233          generated files (untested yet with other PCL files).
234         
[1572]235        - Reintroduced the use of mmap in PCL5 parser : this speedups
236          PCL5 parsing by almost 4 times.
237          This 4x with the 3x below give us in fact a twelvefold increase
238          in performance for PCL5 parsing !
239         
[1570]240        - The Python accelerator Psyco is now used if available
241          in the generic PDL parser : it speedups PCL5 parsing by
[1572]242          almost three times automagically.
[1570]243         
[1564]244    - 1.19alpha26 :
245   
246        - Fixed PCL5 parser according to the sources of rastertohp.
247       
[1566]248        - Fixed number of copies handling in PCL5 parser : the number
249          of copies could vary from page to page.
[1568]250         
251        - Added more debug information to PCLXL parser. 
[1566]252       
[1556]253    - 1.19alpha25 :
254   
[1558]255        - Added new "description" field to printers in both
[1556]256          PostgreSQL and LDAP. No code to handle this yet.
257         
[1558]258        - Reversed the fix for power save mode in printers : 
[1557]259          no paper or tray open would have caused people to
260          be undercharged.
261         
[1558]262        - Preliminary version of MySQL initialization script.
263         
[1552]264    - 1.19alpha24 :
265   
266        - Native PDF parsing code now works perfectly with
267          Python 2.1 and above, and is way faster than before.
268          GhostScript is not used anymore to convert PDF to PS,
269          because PDF is parsed directly.
270         
[1545]271    - 1.19alpha23 :
272   
[1549]273        - Fixed waitprinter.sh wrt PowerSave mode and some
274          printers. Thanks to Ryan Suarez.
275       
[1550]276        - Smart PDL analyzer now recognizes PDF too : two
277          PDF parsing methods are used : a native one which
278          is very fast but requires Python 2.3 or above, and
279          a slower one which uses Ghostscript. PyKota detects
280          automatically which method to use depending on your
281          version of Python.
[1547]282       
[1546]283        - All tracebacks now include PyKota's version number.
[1545]284         
[1542]285    - 1.19alpha22 :
286   
[1544]287        - Ensures that the file pointer for job's data is
288          reset to the start of the job's datas after the
289          job's size pre-computation phase.
290         
[1543]291        - Improved PostScript detection code for bad drivers
292          which don't correctly switch languages between PJL
293          and PS.
294       
[1542]295        - Even better debugging code.
296       
[1541]297    - 1.19alpha21 :
298   
[1542]299        - Additionnal check.
[1541]300       
[1536]301    - 1.19alpha20 :
302   
303        - More complete logging messages wrt accounters.
304       
[1539]305        - Now catches early failures occuring when the configuration
306          files are parsed.
307       
[1526]308    - 1.19alpha19 :
309   
310        - Fixed over-verbose exits when displaying help
311          or version.
[1527]312         
313        - Extended some PATH in the shell scripts 
[1532]314       
315        - Deleting an user now also deletes his payments history.
316       
317        - Doesn't explicitely ignore SIGCHLD anymore. This seems to
318          cause problems.
[1500]319
[1522]320    - 1.19alpha18 :
321   
322        - History of payments is now stored in the database, and
323          updated each time an user's balance is modified with
324          edpykota --balance. This history represents each time
325          the user was given some positive or negative credit,
326          but doesn't reflect price paid for jobs, which appear
327          in the jobs history instead.
328         
[1524]329        - Jobs history web reports now include the job's size in
330          bytes. Also columns were reordered to render the report
331          more easily readable.
332         
[1517]333    - 1.19alpha17 :
334   
335        - Mysterious bug (program exited unexpectedly without leaving
336          any log message) which occured once in a while when
337          cancelling jobs should be fixed now.
338         
339        - New 'crashrecipient' directive. Disabled by 
340          default. See sample configuration file to see how
341          to activate it. It is suggested that you activate it.
342         
343        - New PYKOTAJOBSIZEBYTES environment variable exported, 
[1519]344          which contains the job's size in bytes. Empty jobs
[1521]345          are now denied. This value is now stored in the job
346          history (but not yet displayed from the web interface)
[1517]347         
[1521]348        - Preliminary work on payments storage : the PostgreSQL 
349          and LDAP schemas should be OK now, but no code is written
350          yet to support this functionnality.
351         
[1502]352    - 1.19alpha16 :
353   
[1510]354        - the newuser and newgroup LDAP specific directives now accept
355          a second parameter to attach(), "fail" or "warn". If no entry
356          is found to attach PyKota attributes to, and "fail" was used,
357          then action is aborted and program exits in error. If "warn"
358          is used, a new entry is created but a warning message is logged.
359         
[1502]360        - The job's originating hostname is now stored in the database,
361          and exported as PYKOTAJOBORIGINATINGHOSTNAME in the environment.
362       
[1500]363    - 1.19alpha15 :
364   
365        - The old pykota filter is now removed. This means that
366          currently PyKota doesn't support LPRng anymore, but
367          LPRng support will be re-added, improved, in the near future.
368         
[1495]369    - 1.19alpha14 :
370   
[1499]371        - PYKOTAPRECOMPUTEDJOBSIZE and PYKOTAPRECOMPUTEDJOBPRICE
372          are now exported as environment variables.
373         
[1498]374        - Heavy CPU usage is now completely fixed it seems, by
375          introducing some 0.01 second sleeping when nothing to do.
376         
[1497]377        - Pre-computation of the job's size is now only
378          done when enforcement is "STRICT", this saves
379          CPU for people who don't want to use this new
380          feature.
381         
[1495]382        - New 'enforcement' directive which accepts either
383          STRICT or LAXIST. See sample configuration file
384          for details.
385         
[1494]386    - 1.19alpha13 :
387   
388        - Get back to an old version of the polling loop which
389          worked fine, but non-optimally. Will be optimized
390          as time permits.
391         
[1492]392    - 1.19alpha12 :
393   
394        - Job's size is now precomputed unconditionnally using
395          the generic PDL analyzer.
396          NB : This value is not yet used to pre-allow/deny the
397          job.
398       
[1490]399    - 1.19alpha11 :
400   
401        - The pykota filter is now completely deprecated and
402          can't be used anymore. LPRng users MUST download
403          an older version of PyKota. CUPS users MUST use
404          cupspykota. Better support for LPRng will come
405          in the near future.
406         
[1483]407    - 1.19alpha10 :
408   
[1488]409        - pykotme now uses generic PDL Analyzer directly instead
410          of spawning a new process.
411         
[1487]412        - Improvements to generic PDL Analyzer.
413       
[1485]414        - 25% Speedup in PCL parser. Getting more of the Python version
415          will probably be difficult, since the completely table driven
416          parser I wrote is slower than the original algorithm. Then,
417          the original algorithm is still used for now.
418          Probable that more speed could be achieved using mmap, at the
419          expense of severe memory consumption.
420       
[1483]421        - configuration simplifications : the "accounter" directive's
422          'hardware' arguments now accepts what was in the "requester"
423          directive as it's content. The "requester" directive is not
424          supported anymore. See sample configuration file for details.
425       
[1478]426    - 1.19alpha9 :
427       
[1482]428        - pkpgcounter is now just a wrapper around the PDLAnalyzer class
429       
[1480]430        - pykotaOptions LDAP attribute now accepts non-ascii characters
431          too.
432         
[1478]433        - First try at cupspykota main loop rewrite
434       
[1475]435    - 1.19alpha8 :
436   
437        - 'querying' accounting method is now called 'hardware'
438       
439        - 'external' accounting method is now called 'software'
440       
441        - 'stupid' accounting method doesn't exist anymore
442       
443        - 'snmp' requester doesn't exist anymore
444       
445        - code simplifications in external requester
446       
[1473]447    - 1.19alpha7 :
448     
449        - Database schema change (both LDAP and PostgreSQL) to
450          allow storage of the job-originating-hostname attribute.
451          An SQL upgrade script is present. The code is not yet
452          capable of setting/retrieving this attribute. Support
453          for this functionnality will be added in the future.
454         
[1463]455    - 1.19alpha6 :
456   
[1471]457        - problems connecting to SMTP servers are now catched.
458       
[1463]459        - pykotme now uses pkpgcounter to compute the size of the
460          job. This modification adds PCL5 and soon PCLXL (PCL6)
461          support. You can now get quotes for PCL in addition to
462          PostScript.
463         
[1464]464        - pkpgcounter now includes first try at PCLXL parser. 
465          It is currently disabled until it's finished.
466         
[1451]467    - 1.19alpha5 :
468   
[1458]469        - cupspykota polling loop fix for MacOSX (at least)
470       
[1459]471        - logging subsystem now logs PID too, to ease diagnosing
472          problems under heavy load.
473         
[1456]474        - pkpgcounter enhancements.
475       
[1453]476        - pkprinters --skipexisting now tells pkprinters to not
477          modify existing printers when --add is used.
478          pkprinters logs a warning message whenever --add is
479          used and a printer already exists.
[1451]480         
[1455]481        - LDAP schema now allows accented chars in pykotaFileName
482          and pykotaTitle attributes.
483       
[1447]484    - 1.19alpha4 :
485   
486        - a bad copy&paste prevented pkpgcounter to work at all, this
487          is now fixed.
488         
[1451]489        - improved PCL support in pkpgcounter, with the use of
490          HP PCL/PJL Reference Set
491          PCL5 Printer Language Technical Quick Reference Guide
[1449]492       
493        - pkpgcounter now uses mmap to speed things up : duration
[1450]494          is halved with the sample 87 pages PCL document I use for
495          testing.
[1448]496         
[1437]497    - 1.19alpha3 :
498   
499        - pkprinters now accepts the --list command line argument
500          to list informations about printers.
501         
[1430]502    - 1.19alpha2 :
503   
504        - pkpgcounter is now included as a smart external
505          accounter which can handle both PostScript and PCL.
506         
[1417]507    - 1.19alpha1 :
508   
[1421]509        - PYKOTALIMITBY environment variable is now exported too.
510       
[1417]511        - Inclusion of Michele Baldessari's work on autotools.
512       
[1415]513    - 1.18 :
514   
515        - Improved documentation
516       
[1411]517    - 1.18beta2 :
518     
519        - Fix for raw jobs with cupspykota
520       
[1404]521    - 1.18beta :
522   
[1405]523        - Small fix for new waitprinter.sh script
524       
[1404]525        - Better tracebacks on error conditions
526       
527        - Improved translations
528       
529        - Improved documentation
530       
[1396]531    - 1.18alpha15 :
[1398]532
533        - waitprinter.sh replaced by a new and possibly faster
[1404]534          and more powerful one.
[1396]535   
536        - Names can now begin with a digit.
537       
[1398]538        - Stability improvement for quotas set on printers groups.
[1396]539       
[1381]540    - 1.18alpha14 :
541   
[1384]542        - Catches more (all ?) problems with SMTP servers instead
543          of breaking.
544         
[1381]545        - Italian translation added.
546       
[1376]547    - 1.18alpha13 :
548   
549        - Pre and Post hooks are now available in the pykota
550          filter as well.
551         
552        - The pykota filter doesn't check last user's quota
[1377]553          anymore when delayed hardware accounting is used :
554          this will be done anyway the next time the last
555          user will print again. This saves some database
556          queries which are unneeded.
[1376]557       
[1372]558    - 1.18alpha12 :
559   
[1376]560        - Pre and Post hooks to external commands with many
[1372]561          many environment variables available are useable
562          from the cupspykota backend.
563          See sample configuration file for details and help.
564         
[1368]565    - 1.18alpha11 :
566   
567        - Hopefully final fix wrt groups (users and printers)
568       
[1365]569    - 1.18alpha10 :
570   
571        - Fixed nested printer groups accounting.
572       
573        - Fixed user groups + printer groups problem.
574       
[1360]575    - 1.18alpha9 :
576   
[1363]577        - Fix for LDAP problem when job price was 0.
578       
[1362]579        - Fix for empty user groups with LDAP.
580       
[1360]581        - Preliminary version of the snmpprinterstatus command added.
582       
[1358]583    - 1.18alpha8 :
584   
585        - Don't retrieve data when not needed.
586          This avoids many database queries.
587       
[1356]588    - 1.18alpha7 :
589   
590        - New experimental ldapcache directive to improve
591          LDAP caching.
592         
[1353]593    - 1.18alpha6 :
594       
595        - New configuration directive added : maildomain
596          to specify the domain to send mail to when user
597          email address is not set in PyKota database.
598         
599        - More complete email message headers. 
600         
[1351]601    - 1.18alpha5 :
602   
603        - Debian packaging specific files, contributed by
604          Peter Hawkins are now included in the project's tree.
605         
606        - Preliminary work on future low-level LDAP caching to speed
607          up modifications (at least).
608         
[1338]609    - 1.18alpha4 :
610   
[1345]611        - Applied some of the modifications suggested by
612          Peter Hawkins, for better Debian integration.
613          Most notably cupspykota, pykota, and the shell
614          scripts are now installed into /usr/share/pykota
615          instead of into /usr/bin
616          BEWARE : double check that your symbolic link
617          to cupspykota is correct, and that your pykota.conf
618          file use correct path for the shell scripts like
619          waitprinter.sh and al.
620         
[1338]621        - pkhint command added, to help in configuring correct
622          accounting method for PyKota.
623         
[1336]624    - 1.18alpha3 :
625   
626        - Fixed a rare bug in cupspykota backend which gave
627          incorrect "CUPS backend died abnormally" messages.
628       
[1330]629    - 1.18alpha2 :
630   
631        - Added the pkprinters command line tool to manage printers
632          exclusively.
633       
[1328]634    - 1.18alpha1 :
635   
636        - Preliminary work on Relationnal Database Independance.
637       
638        - Sample report made from OpenOffice.org added as PDF and SXC.
639       
[1323]640    - 1.17 :
641   
642        - Finalized release.
643       
[1321]644    - 1.17alpha2 :
645   
646        - Fix stupid software accounting bug in the CUPS backend.
647       
[1318]648    - 1.17alpha1 :
649   
650        - User/Group deletion code in edpykota rewritten.
651       
[1308]652    - 1.16 :
653   
654        - Preliminary documentation on how to use OpenOffice.org
655          to create personnalized reports for PyKota + PostgreSQL.
656         
657        - Spanish installation guide for CUPS+PyKota+PostgreSQL
658          added to the documentation. Doesn't yet document v1.16
659          though.
660       
661        - Portuguese Portuguese translation replaces Brasilian
662          Portuguese Translation. Brasilian portuguese
663          translation is still available under the 'br' locale.
664       
[1301]665    - 1.16beta3 :
666   
667        - Swedish translation added.
668       
669        - Small fix in documentation.
670       
[1291]671    - 1.16beta2 :
672   
673        - Small fix for job cancelling code while job already
674          printing in CUPS backend.
[1293]675         
676        - Big fix wrt printing policies for unknown users. 
[1291]677       
[1287]678    - 1.16beta1 :
679   
680        - Manpages upgraded.
681       
[1285]682    - 1.16alpha26 :
683   
684        - Job price is now computed like this :
685       
686          SUM((NbPages * PricePerPage) + PricePerJob)
687         
688          For current printer and all the printers groups it is
[1286]689          a member of, if any.
[1285]690         
691          This may be difficult to grasp, but offers unprecedented
692          flexibility.
693         
[1284]694    - 1.16alpha25 :
695   
696        - Email address can be set at user creation time,
697          using the following syntax :
698         
699            $ edpykota --add username/email@yourdomain.com
700       
[1271]701    - 1.16alpha24 :
702   
[1274]703        - CGI script now can show the printing history.
704       
[1272]705        - Bug wrt number of copies should be fixed.
706       
[1271]707        - Major code refactoring => It is now possible to
708          automatically add printers on first print.
709       
[1269]710    - 1.16alpha23 :
711   
[1270]712        - Fixed potential accuracy problem if a user printed on
713          several printers at the very same time.
[1269]714       
[1258]715    - 1.16alpha22 :
716   
717        - edpykota now allows adding printers to printer groups
718       
[1248]719    - 1.16alpha21 :
720   
721        - Allows the dot in user and printer names.
722       
[1249]723        - Printer groups are now cached too.
724       
[1240]725    - 1.16alpha20 :
726   
727        - Fixed several small bugs with the help of PyChecker.
728       
729    - 1.16alpha19 :
730     
731        - Fixed a bug in PostgreSQL backend's code.
732       
733    - 1.16alpha18 :
734   
735        - Initial code for printer groups support. Printer groups have
736          to be added with external tools like psql or gq for example.
737          Printer groups seems to work fine with users. Untested with user
738          groups for now.
739
740        - Several minor visual problems fixed in reports.
741       
742        - Fixed a bug in LDAP date handling.
743       
744        - Fix for LDAP problem with some combination of OpenLDAP + Python-LDAP
745          + some particular settings.
746         
747        - mailandpopup.sh shell script added. See sample configuration file
748          for details.
749       
750        - Several environment variables are now exported when executing
751          external commands (accounters, requesters, mailers) :
752           
753            PYKOTAUSERNAME => user who is printing
754            PYKOTAPRINTERNAME => printer on which the job is being sent
755            PYKOTATITLE => Job's title
756            PYKOTAFILENAME => Job's filename
757            PYKOTACOPIES => number of copies asked
758            PYKOTAOPTIONS => print command options (-o with CUPS)
759         
[1239]760    - 1.16alpha17 :
[1227]761   
[1239]762        - Added portugues translation.
763       
764        - Major code refactoring in accounters.
765       
766    - 1.16alpha16 :
767   
[1235]768        - Code refactoring, and addition of a real HTML reporter, to
769          have nice looking and useful web based reports (in the future).
770       
[1227]771        - Added utolower configuration option to convert all usernames
772          to lowercase during printing.
773         
[1226]774    - 1.15alpha15 :
775   
776        - Now includes the papwaitprinter.sh shell script to wait for
777          AppleTalk enabled printers.
778         
[1221]779    - 1.16alpha14 :
780   
781        - Now printing on a printer not defined in the Quota Storage,
782          results in the job being cancelled or stopped, depending
783          on the printing system.
784         
[1212]785    - 1.16alpha13 :
786   
787        - Small bugfix wrt Python v2.1
788       
[1215]789        - If username is an empty string, user root is assumed.
[1220]790       
791        - 'postgresql' is not recognized anymore as a storage backend,
792          you have to use 'pgstorage' instead. 'postgresql' used to
793          be supported for compatibility with very old PyKota versions,
794          this is not the case anymore.
[1212]795         
[1203]796    - 1.16alpha12 :
797   
798        - Job price added to job history, to keep accounting correct
799          if a printer price per page or per job is modified and the
800          history is not reset : the history would have given a false
801          amount of money charged before the printer's prices were
802          modified, this addition solves the problem.
803         
[1200]804    - 1.16alpha11 :
805   
806        - Some preliminary modifications to the database structure for
807          PostgreSQL and OpenLDAP. A script to upgrade a PostgreSQL
808          database is now provided. LDAP attributes now support
809          eq, pres and sub indexes.
810         
811        - Job history now contains additional informations : 
812          number of copies, filename, title and print options.
813         
[1194]814    - 1.16alpha10 :
[1196]815       
816        - Some modifications done to external policy handling.
817          See sample configuration file for details.
[1194]818   
819        - Spanish translation added.
820       
[1192]821    - 1.16alpha9 :
822   
823        - mailto can be set to external(...) to warn users above
824          quota with any command of your choice (e.g. linpopup).
825          Several parameters are available, see sample configuration
826          file for details.
827         
[1189]828    - 1.16alpha8 :
829   
[1191]830        - Now cupspykota transmits SIGTERMS to the original 
831          backend when the user deletes a job being processed.
832         
[1189]833        - The documentation is now licensed under the terms of the
834          GNU GPL too.
835         
[1185]836    - 1.16alpha7 :
837   
838        - The CUPS backend is now fully functionnal (it seems).
839       
840        - From now on, the use of the pykota filter with CUPS
841          is deprecated. The pykota filter still has to be
842          used with LPRng though.
843       
[1179]844    - 1.16alpha6 :
845   
846        - Bug fixed : when edpykota was used to add a printer
847          with no user or group name, a bad user/group name "*" was
848          added to the database.
849         
[1178]850    - 1.16alpha5 :
851   
852        - New CUPS backend supports device enumeration !
853          This means that NO manual CUPS configuration has to
854          be done. All can now be done from CUPS web interface.
855       
[1177]856    - 1.16alpha4 :
857   
858        - New CUPS backend added.
859       
[1175]860    - 1.16alpha3 :
861       
862        - Minimal FAQ document added.
863       
[1172]864    - 1.16alpha2 :
865   
866        - CGI script now partially supports browser's language preference
867       
[1170]868    - 1.16alpha1 :
869   
870        - Ensures that the LDAP connection is really closed at end.
871       
872        - More complete error messages in case of LDAP operation failure.
873       
[1168]874    - 1.15 :
875     
876        - Documentation improved.
877       
[1156]878    - 1.15beta :
879   
880        - Command line tools now accept multiple printer
881          names or wildcards, separated with commas.
882         
[1152]883    - 1.15alpha9 :
884   
885        - External policy can be used to auto-add unknown users
886          and any other interesting things you may want to do.
887          WARNING : You can't auto-add printers for now.
888          They have to be created manually before.
889          Look at sample configuration file for examples.
890         
[1149]891    - 1.15alpha8 :
892   
893        - Job history can be disabled if needed.
894          This feature may be useful for people who use the LDAP
895          backend and don't want their LDAP tree to grow out of
896          control.
897       
[1138]898    - 1.15alpha7 :
899   
900        - More work done on caching wrt groups.
901       
[1135]902    - 1.15alpha6 :
903   
904        - Performance bottleneck with LDAP solved.
905       
[1130]906    - 1.15alpha5 :
907   
908        - Caching mechanism for all database queries.
909
[1123]910    - 1.15alpha4 :
911   
912        - Problem with Python 2.3 fixed. Needs some definitive
913          modification.
914         
[1121]915    - 1.15alpha3 :
916   
917        - CGI script now tries to restrict view when the
918          REMOTE_USER environment variable is set. This allows
919          people to protect its use with .htaccess files.
920          When unprotected, or if REMOTE_USER is 'root', then
921          unrestricted access is granted.
[1122]922          NB : REMOTE_USER is automatically set by the web server
923          (e.g. Apache) when a page with restricted access is viewed.
[1121]924         
[1116]925    - 1.15alpha2 :
926   
927        - Better detection of LPRng.
928       
929        - Outputs a warning if printing system is unknown.
930       
[1115]931    - 1.15alpha1 :
932   
933        - Bug fix in SQL code.
934       
[1113]935    - 1.14 :
936   
937        - The PostgreSQL database connection is now always closed before
938          exit. The LDAP database connection too, but it didn't suffer
939          from the problem anyway, AFAICT.
940       
[1111]941    - 1.14beta2 :
942   
943        - An LDAP-specific configuration field was introduced, usermail.
944          Use it to specify which LDAP attribute contains a valid email
945          address for the user. See sample configuration file for
946          details.
947       
[1105]948    - 1.14beta :
949   
950        - Two new LDAP-specific configuration fields were introduced,
951          newuser and newgroup. Use them to specify if you want to add
952          quota information to existing entries or elsewhere.
953          See sample configuration file for details.
954         
[1099]955    - 1.14alpha9 :
956   
957        - Documentation improved.
958       
959        - pykotme now also prints the user's account balance value
960          if the user is registered in the Quota Storage and his
961          limiting factor is "balance".
962         
[1095]963    - 1.14alpha8 :
964   
965        - bin/waitprinter.sh is now included to wait for
966          SNMP enabled printers to be idle again before
967          asking for their internal page counter.
968          See sample configuration file for details.
969         
[1089]970    - 1.14alpha7 :
971   
972        - edpykota now doesn't check if the user/group is above
973          quota. The check is only done at print time. This
974          prevents the sending of email messages when creating
975          user quotas if quota is already reached at creation
976          time.
977         
[1087]978    - 1.14alpha6 :
979   
980        - Configuration file split and moved to /etc/pykota/pykota.conf
981          and /etc/pykota/pykotadmin.conf to prevent simple users to
982          have Read/Write access to the Quota Database.
983          Don't forget to :
984         
985                $ chmod 640 /etc/pykota/pykotadmin.conf
986               
987        - storageuser and storageuserpw configuration fields reintroduced
988          for the same reason.
989         
990        - Code cleaning for future implementation of email addresses
991          support in the PostgreSQL and LDAP backends.
992         
[1085]993    - 1.14alpha5 :
994       
995        - Big bug fixed when changing the prices for a printer
996       
[1082]997    - 1.14alpha4 :
998   
999        - When adding an user, the user itself and its account balance
1000          are now added in the same LDAP entry. Before they were added
1001          as two different LDAP entries.
1002         
[1079]1003    - 1.14alpha3 :
1004   
1005        - Email field added to PostgreSQL database. An upgrade script
1006          is included in initscripts/postgresql.
1007       
[1078]1008    - 1.14alpha2 :
1009   
1010        - Typo fixed when using the --prototype option to edpykota
1011       
[1077]1012    - 1.14alpha1 :
1013   
1014        - Poor man's treshold included : users with a low account
1015          balance (below 1.0 by default, configurable) are sent
1016          a warning message.
1017         
1018        - All warning messages to users are now configurable. 
1019          NB : Warning messages to the administrator are not.
1020       
[1068]1021    - 1.13 :
1022   
[1072]1023        - Some small fixes wrt group handling.
1024       
[1068]1025        - The whole module code was passed through PyChecker and
1026          several small code inconsistencies were fixed,
1027          as well as a bug in the groups code.
1028         
[1067]1029    - 1.13alpha1 :
1030   
1031        - Bug fix wrt LDAP.
1032       
[1065]1033    - 1.12 :
1034   
1035        - More complete test added in edpykota.
1036       
[1062]1037    - 1.12alpha2 :
1038   
1039        - The previous bug fix was incomplete. This is corrected.
1040       
[1061]1041    - 1.12alpha1 :
1042   
1043        - Small bug fix.
1044       
[1057]1045    - 1.11 :
1046   
1047        - Now includes the pykotme command line tool, to produce
1048          printing quotes for users.
1049         
[1056]1050    - 1.10 :
1051   
1052        - Bug fixed wrt quota reports when print limiting is by
1053          account balance.
1054         
[1052]1055    - 1.09 :
1056   
1057        - Translations finalized.
1058       
1059        - Manpages updated.
1060       
1061        - Installation documentation improved wrt LDAP support.
1062       
[1049]1063    - 1.09beta2 :
1064   
1065        - The CGI script for quota reports works again, and
1066          is much more powerful.
1067       
[1043]1068    - 1.09beta :
1069   
1070        - edpykota finalized
1071       
[1041]1072    - 1.09alpha2 :
1073   
1074        - LDAP schema modified a bit. Please upgrade.
1075       
1076        - LDAP backend works !
1077       
1078        - repykota and warnpykota allow the root user to pass
1079          users or groups names on the command line. Users
1080          and groups names may contain wildcards.
1081         
1082        - repykota and warnpykota only reports or warns the
1083          current user when launched by non-root users.
1084         
1085        - Minor bug fixes. 
1086   
[1029]1087    - 1.09alpha1 :
1088   
1089        - More work on LDAP storage backend. Many options
1090          were added to /etc/pykota.conf to give some
1091          hints to the LDAP storage backend.
[1044]1092         
1093        - Severe database access optimizations were done by
1094          rewriting most of the Quota Storage backends drivers.
[1029]1095     
[1027]1096    - 1.08 :
1097   
1098        - Major bug fix wrt LPRng support for remote jobs.
[1029]1099       
[1027]1100        - Major bug fix wrt increase/decrease account balances.
1101       
[1021]1102    - 1.08alpha8 :
1103   
1104        - Code refactoring.
[1029]1105       
[1021]1106        - A single user/password pair is used to connect
1107          to the database backend. The storageuser configuration
1108          field, and its associated passwords storageuserpw, are
1109          not used anymore.
[1029]1110         
[1022]1111        - You can now set PyKota in debug mode, see sample configuration 
1112          file for details.
1113          WARNING : only Quota Storage backend queries are logged in
1114          debug mode, for now.
[1021]1115       
[1019]1116    - 1.08alpha7 :
1117   
1118        - Very latest LDAP schema.
[1029]1119       
[1019]1120        - Code enhancement wrt easy pluggability of PyKota attributes
1121          and object classes into an existing LDAP directory.
1122       
[1017]1123    - 1.08alpha6 :
1124   
1125        - Minor bug corrections
[1029]1126       
[1017]1127        - More work on LDAP : new schema
1128       
[1016]1129    - 1.08alpha5 :
1130   
[1017]1131        - More good work on LDAP storage.
1132          repykota now works reasonably well with the sample LDAP directory.
[1016]1133       
[1014]1134    - 1.08alpha4 :
1135   
1136        - LDAP schema included.
1137          THIS IS JUST FOR PEOPLE TO DISCUSS ABOUT THIS.
1138          LDAP SUPPORT DOESN'T WORK YET, AND THE SCHEMA
1139          MAY CHANGE IN THE FUTURE. PLEASE TELL US
1140          WHAT YOU THINK ABOUT THIS SCHEMA ON THE
1141          MAILING LIST.
1142         
[1000]1143    - 1.08alpha3 :
1144   
1145        - External accounting methods were partly rewritten :
1146         
1147          - No more "broken pipe" should happen.
1148         
1149          - They now take care of the number of copies
1150            This may be unneeded though, if the postscript
1151            file already does this, because this would
1152            overcharge users (number of copies counted
1153            two times). NEEDS MORE TESTING.
1154           
1155          - The sample configuration file now contains 
1156            an external accounting method example which should
1157            work with all DSC compliant Postscript files.
1158           
1159        - Some small bugs were fixed.   
1160       
[998]1161    - 1.08alpha2 :
1162   
1163        - Now works with net-snmp v5.0 and above.
1164          It already worked, but the sample configuration
[1000]1165          file didn't contain appropriate values...
[998]1166       
[991]1167    - 1.07 : Release of the Shame !
1168   
1169        - The external accounting methods driver was left out of
1170          the CVS tree. Nobody could use it since it wasn't included !
1171         
[989]1172    - 1.06 :
1173   
1174        - Severe bug fixed : if you had a printer in
1175          power saving state which couldn't answer immediately,
1176          a bug was triggered.
1177          It was caused by a bad copy/paste which
1178          forgot to import a Python module at run time.
1179         
[980]1180    - 1.05 :
1181   
1182        - External accounters are finally available !
1183          This means that you can plug any page accounting
1184          method you like by setting the appropriate
1185          'accounter' field in /etc/pykota.conf
1186          See the sample conf/pykota.conf.sample to
1187          learn how to do.
1188         
1189          NB : Both 'external' and 'stupid' accounting methods
1190               account a job size just before *this* job is
1191               sent to the printer.
1192               The original 'querying' method accounts a job
1193               size just before *the next* job is sent to
1194               the printer.
1195       
[976]1196    - 1.05alpha3 :
1197   
1198        - A 'stupid' and unreliable accounting method was
1199          implemented to serve as an example on how to
1200          do this sort of things. This method only counts
1201          the 'showpage' statements in the input data.
1202          See sample configuration file for details.
1203          Pluggable accounting methods work, but I advise
1204          you TO NOT USE THIS ONE WHICH IS JUST AN EXAMPLE.
1205          It is not reliable enough to be used.
[978]1206          Use the 'querying' accounting method instead.
[976]1207         
[973]1208    - 1.05alpha2 :
1209   
1210        - Pluggable accounting methods.
1211       
[975]1212        - Better error handling.
1213       
[962]1214    - 1.05alpha1 :
1215   
[969]1216        - SECURITY file added to help improve PyKota's security.
1217       
[962]1218        - Extracting the printer's internal page counter is now
1219          tried several times, waiting several seconds between
1220          two tries. This lets the time to warm up for some printers
1221          which don't answer when they are sleeping (my Apple
1222          LaserWriter 16/600 PS is in this case, maybe others too)
1223         
[970]1224        - Small display bug fixed in repykota
1225         
[960]1226    - 1.04 :
[956]1227   
1228        - Default print policy for users/groups unknown from
1229          the print quota system is now DENY instead of ALLOW,
1230          since ALLOW can generate inaccurate results
1231          (incorrect job sizes charged to the wrong persons)
1232         
[954]1233        - LPRng support works !
1234       
[953]1235        - A bug was introduced some time ago wrt printers' default
1236          policy for unknown users. It is now corrected.
1237       
[950]1238        - repykota now displays prices per job and per page for each
1239          printer, if they are defined.
1240         
[947]1241        - Minor display bug fixed in repykota.
1242       
1243        - Problem when running repykota with an empty database was fixed.
1244       
[942]1245    - 1.03 :
1246   
1247        - Upgrade script included for earlier versions.
1248          Please look inside the initscripts subdirectory.
[965]1249          THE DATABASE SCHEMA HAS CHANGED, PLEASE UPGRADE.
[942]1250         
[932]1251        - repykota now reports account balances too.
[929]1252       
[932]1253        - PyKota now has a nice logo, see the logos
1254          subdirectory.
1255       
[936]1256        - Manual pages were finally updated.
1257       
[927]1258        - Group quotas seem to work now !
1259       
[910]1260        - The new database schema allows to keep an history of all
1261          jobs as well as charge users per page and/or per job,
1262          and track users' account balance.
1263         
[917]1264        - edpykota now accepts much more command line options to 
1265          use the new functionnalities. See edpykota --help for
1266          details.
1267         
[885]1268        - The installation script now allows to install the sample
1269          configuration file during first installation.
[892]1270         
1271        - More group quota code works, but still not finished. 
[885]1272       
[894]1273        - The CGI script displays a link to PyKota's website.
1274       
[899]1275        - The job history is now kept, this will allow per-period
1276          reports in the future.
[900]1277         
1278        - After having modified the quota for an user with edpykota,
1279          a quota check is done to eventually warn the user/admin about
1280          a quota which is too low to print.
1281         
[901]1282        - A workaround is provided for HP Printers : their internal
1283          page counter is only saved to NVRAM in a 10 increment, so
1284          if you switch them off and then on, the reported page counter
1285          may be lower than the real number of pages printed.
1286          See http://web.mit.edu/source/third/lprng/doc/LPRng-HOWTO-15.html
[909]1287          We unconditionnally set the last job's page count to
1288          abs(int((10 - abs(lastcounter(snmp) - lastcounter(storage)) / 2))
1289          in this case.
[908]1290          For a more accurate accounting, never switch your HP printers
1291          off.
[901]1292         
1293        - A fix is provided for printers which only have a volatile 
1294          page counter (reset to 0 every time you switch the printer on)
[908]1295          This should allow PyKota to work reasonably fine with HP Laserjet
1296          4L/5L/6L, not perfect, but better than nothing.
[901]1297          See http://web.mit.edu/source/third/lprng/doc/LPRng-HOWTO-15.html
[908]1298          For a more accurate accounting, never switch your HP printers
[925]1299          off. This is untested, please report any problem.
[901]1300         
[907]1301        - A bug was fixed when edpykota --add was used with users who already
1302          had a quota on the specified printer.
1303         
[913]1304        - A small display bug in repykota was introduced in preliminary
1305          1.03 versions, and fixed later on.
[915]1306         
1307        - Some minor bugs which happened in rare situations were fixed.
[913]1308       
[919]1309        - Support for AppleTalk printers was added, see sample configuration
1310          file for details.
[925]1311         
1312        - Users and group printing can now be controlled (limited) either by 
1313          print quota or by account balance.
[919]1314       
[877]1315    - 1.02 :
[859]1316   
[871]1317        - The installation script now checks for software availability
1318          and in case a software is missing asks the user if he
1319          wants to continue with the installation or abort it.
1320         
[872]1321        - The configuration file pykota.conf is now expected to be
1322          found in /etc instead of in /etc/cups
1323          The installation script prompts the user to see if he
1324          wants to move an old configuration file to the new location
1325          if needed.
1326         
[859]1327        - Improved documentation.
1328       
1329        - You can now set the tcp/ip port on which the Quota Storage
1330          Server is listening, see sample configuration file for details.
1331       
[872]1332        - Better general error handling.
[859]1333       
[875]1334        - Upgrade script for pre 1.01 PostgreSQL database schema is now
1335          included as well.
1336       
[852]1337    - 1.01 :
1338   
1339        - The configuration file now accepts an option   
1340          to choose the recipient(s) of the email messages :
1341         
1342            - DevNull means no one will receive them.
1343            - User means only the user will receive them.
1344            - Admin means only the admin will receive them.
1345            - Both means the User and the Admin will receive them.
1346           
[853]1347        - The configuration file now uses hard-coded default values
1348          when an option is not set. See sample configuration file
1349          for details.
1350         
[852]1351        - Manual pages are included since 1.00, but I forgot to   
1352          add this information to this file.
1353         
[855]1354        - Redistribution terms for the official package have 
1355          softened and are now fully GPL compatible :
1356          unrestricted modification is now allowed even for
1357          the version number.
1358         
[846]1359    - 1.00 :
1360   
1361        - edpykota now accepts a --noquota option. This
1362          disable quota checking while still doing page
1363          accounting. This is really useful for people
1364          who don't want to limit their users but want
1365          to know how much pages they print.
1366         
1367        - Some untested scripts were added to retrieve
1368          the life time page counter of non-SNMP printers.
1369         
1370        - Every directory now has a specific README file. 
1371       
[833]1372    - 0.99 :
1373   
1374        - Under some circumstances while the user wasn't allowed
1375          to print, he didn't receive any email message. It is
1376          now fixed.
1377         
1378        - When an user wasn't allowed to print, the quota for
[835]1379          the previous user wasn't updated. This is now fixed.
[833]1380         
[827]1381    - 0.98 :
1382   
1383        - Correctly handle the case where the printer is switched off.
1384       
[828]1385        - Small bug wrt syslog fixed.
1386       
[819]1387    - 0.97 :
1388   
1389        - edpykota accepts wildcards on its command line for users/groups too
1390          if the --add option is not set, e.g. :
1391         
1392              $ edpykota --printer lp --softlimit 50 --hardlimit 100 "jer*"
1393             
[821]1394        - If no user name is passed at all, then a default wildcard of "*"
[819]1395          which means apply the command on ALL users for this printer is used.
1396         
1397        - Small bug fixes.
1398       
[803]1399    - 0.96 :
1400
[808]1401        - Options requester, policy, admin, adminmail and gracedelay can now
[807]1402          be set either globally or per printer. The printer option has
1403          priority if both are defined.
[803]1404
[807]1405        - More powerful configuration parser.
1406       
1407        - If all options are defined globally, there's no need to
1408          define a section for each printer in the configuration
1409          file anymore. Just define a [global] section and it's ok.
[803]1410
[797]1411    - 0.95 :
1412
[798]1413        - External requesters for printers finally added.
[797]1414
1415        - Full internationalization (english and french are supported)
1416 
1417        - More complete quota usage report
1418
1419        - CGI script to access to the quota usage report
1420
1421        - Several bugs fixed.
1422
1423
1424    - 0.9 :
1425
1426        - First public version
Note: See TracBrowser for help on using the browser.