root / pykota / trunk / NEWS @ 1746

Revision 1746, 48.3 kB (checked in by jalet, 20 years ago)

Added internal handling for PJL queries over port tcp/9100. Now waits
for printer being idle before asking, just like with SNMP.

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