root / pykota / trunk / NEWS @ 1731

Revision 1731, 47.6 kB (checked in by jalet, 20 years ago)

Increase delay to diminish CPU load

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