root / pykota / trunk / NEWS @ 1731

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

Increase delay to diminish CPU load

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