root / pykota / trunk / NEWS @ 1723

Revision 1723, 47.1 kB (checked in by jalet, 20 years ago)

waitprinter.sh rewritten from scratch to wait for printer status
stabilization. New version contributed by Christian Andreetta and
Paolo Nobili.

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