root / pykota / trunk / NEWS @ 1729

Revision 1729, 47.4 kB (checked in by jalet, 20 years ago)

First try at full SNMP handling from the Python code.

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