root / pykota / trunk / NEWS @ 2235

Revision 2232, 62.3 kB (checked in by jerome, 20 years ago)

Improved stability in pykotme and pykotme.cgi
Now uses real userid instead of effective userid in pykotme and pykosd,
to allow user root to check his own account instead of user pykota's one
(since we drop priviledges early).
Better setup instructions for pykotme.cgi

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