root / pykota / trunk / NEWS @ 1687

Revision 1687, 45.9 kB (checked in by jalet, 20 years ago)

Introduction of the new 'onaccountererror' configuration directive.
Small fix for software accounter's return code which can't be None anymore.
Make software and hardware accounting code look similar : will be factorized
later.

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