root / pykota / trunk / NEWS @ 1740

Revision 1740, 47.8 kB (checked in by jalet, 20 years ago)

If SNMP accounting is possible, pkhint now suggests to use the internal
SNMP handling instead of the external one. No real test is done for now,
though.

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