root / pykota / trunk / NEWS @ 2264

Revision 2264, 63.1 kB (checked in by jerome, 19 years ago)

Improved data dumper : speed and correctness

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