root / pykota / trunk / NEWS @ 1687

Revision 1687, 45.9 kB (checked in by jalet, 20 years ago)

Introduction of the new 'onaccountererror' configuration directive.
Small fix for software accounter's return code which can't be None anymore.
Make software and hardware accounting code look similar : will be factorized
later.

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