root / pykota / trunk / NEWS @ 1686

Revision 1686, 45.6 kB (checked in by jalet, 20 years ago)

Improved the ESC/P2 analyzer so that more GhostScript? devices are supported

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